<div dir="ltr"><div>For your quick  question is there answer. I ask litle bit same in this thread. <a href="https://www.redhat.com/archives/vfio-users/2016-February/msg00033.html">https://www.redhat.com/archives/vfio-users/2016-February/msg00033.html</a><br><br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-21 17:45 GMT+01:00 Nick Sarnie <span dir="ltr"><<a href="mailto:commendsarnex@gmail.com" target="_blank">commendsarnex@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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=""><div class="h5"><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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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>
</div></div><br>_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
<br></blockquote></div><br></div></div></div></div>