On 04/20/2017 11:00 AM, Clif Houck wrote:
> Hi virt-tools,
> 
> I've been playing around with vfio and GPU pass-through for a while now, and 
> I've noticed that the Virtual Machine Manager UI makes it a bit difficult to 
> configure a VM properly to use GPU pass-through, and by extension PCI 
> pass-through. 
> 
> For instance, I don't see a way to pass a multi-function PCI device with 
> "multifunction='on'" or make sure that functions on the same host PCI device 
> get mapped to the same guest PCI device. At least not with VMM. 
> 

Like Chen Hanxiao said, a checkbox for multifunction=on sounds doable. Can you
give example XML about what you mean for the second part? If it just means
setting the hostdev <address> values to match the same values that the device
uses on the host, maybe that could be another checkbox like, 'Use host PCI
address as the guest address' or something like that.

> Would VMM maintainers be interested in patches aimed towards making GPU 
> pass-through easier to accomplish from within VMM? May not be able to make it 
> fool-proof, but hopefully a bit easier at least.
> 
Patches definitely welcome, as long as it's not wading into qemu commandline
passthrough stuff

- Cole

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to