[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] HVM and network interfaces passthrought (without hardware pci passthrought)

Passing through the device without IOMMU may be impossible, but you can pass just the network from Dom0 and have Dom0 ignore that interface afterwards.  This is easily done using bridge-utils.

In Dom0, identify the network name (such as eth0, eth1, wlan0, etc) and open up the /etc/network/interfaces in a text editor or vi, then add a record like this:

auto xenbr1
iface eth1 inet manual
iface xenbr1 inet manual
bridge_ports eth1

auto xenbr1 creates our bridge, setting the inet to manual tells Dom0 not to do anything but what we configure (in this case, nothing but bridge) with that interface.

You would then connect your HVM configuration to the "xenbr1" bridge you created.

I can't speak to the security of this method, but it works.

On Sat, Aug 11, 2012 at 2:27 PM, Lukas Laukamp <lukas@xxxxxxxxxx> wrote:
Am 11.08.2012 19:57, schrieb cedivad:

I would like to know if there is a way to "passthrought" the network
interfaces that are phisically connected to dom0, eg, an additional pci card
connected to the mb.

I only understand a little about bridging, routing etc.

Thank you a lot.

View this message in context: http://xen.1045712.n5.nabble.com/HVM-and-network-interfaces-passthrought-without-hardware-pci-passthrought-tp5710637.html
Sent from the Xen - User mailing list archive at Nabble.com.

Xen-users mailing list


so you can not Passtrough PCI Devices to a HVM guest without an IOMMU because Direct Memory Access (DMA) is managed with physical addresses. What you could do is passtrough a USB device with a few contraints. For this look on this page: http://wiki.xen.org/xenwiki/XenUSBPassthrough

When you don't have an IOMMU you only can passtrough PCI devices to a PV DomU so a Linux, BSD or Solaris.

For giving an answer if it also would be possible to solve your problem with other methods it would be helpful to know, which specific problem you have.

Best Regards

Xen-users mailing list

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.