[libvirt] Question about pci-passthrough
Shradha Shah
sshah at solarflare.com
Thu Jul 26 15:53:03 UTC 2012
Hello All,
I had a question about pci-passthrough using hostdev mode in Libvirt.
When I assign hostdev->parent.type = VIR_DOMAIN_DEVICE_NET, the hostdev is passed into the guest and acts as a network device.
When I assign hostdev->parent.type = VIR_DOMAIN_DEVICE_NONE, the hostdev is passed into the guest and acts as a PCI Host device.
Please can someone point me to the part of code in libvirt where this decision is made based on hostdev->parent.type?
--
Many Thanks,
Regards,
Shradha Shah
More information about the libvir-list
mailing list