<div dir="ltr"><div><div>Hi Alex,<br><br></div>Yeah it seems you're right, the qemu command has "-device vfio-pci,host=01:00.0,id=hostdev2,bus=pci.0,addr=0x2", so it seems it is using vfio-pci.Thanks for the information.<br><br></div><div>One more quick question: I'm using SeaBIOS for my VM. My GPU doesn't support UEFI Secure/Fast booting. Can I use a GPU like this with OVMF and more importantly, is there any performance difference using OVMF over SeaBios? Thanks alot,<br></div><div>sarnex<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 21, 2016 at 11:36 AM, Alex Williamson <span dir="ltr"><<a href="mailto:alex.williamson@redhat.com" target="_blank">alex.williamson@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Sun, Feb 21, 2016 at 9:06 AM, Nick Sarnie <span dir="ltr"><<a href="mailto:commendsarnex@gmail.com" target="_blank">commendsarnex@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Sorry, I'm not sure if I'm using legacy device assignment. My script is stop xdm, echo "0000:01:00.0" > /sys/bus/pci/drivers/radeon/unbind echo "0000:01:00.1" > /sys/bus/pci/drivers/radeon/unbind and then start xdm. I use virt-manager with libvirt, and I added the gpu to the VM with PCI Host Device under Add Hardware. Is this what you're talking about?<br></div></div></div></blockquote><div><br></div></span><div>Somehow I doubt that both function 0 and 1 are bound to the radeon driver, but if you're not crafting your own QEMU command line or specifying a driver for the hostdev entries in your XML, then you're probably using vfio.  You can verify by looking at the libvirt log for the VM (/var/log/libvirt/qemu/$domain.log) for either vfio-pci or pci-assign devices. </div></div></div></div>
</blockquote></div><br></div>