<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><br><br></div>Thanks,<br></div>sarnex<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 20, 2016 at 7:24 PM, 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"><span class="">On Sat, 20 Feb 2016 18:47:29 -0500<br>
Nick Sarnie <<a href="mailto:commendsarnex@gmail.com">commendsarnex@gmail.com</a>> wrote:<br>
<br>
> Hi guys,<br>
> When i want to do gpu-passthrough, i just unbind my GPU from radeon, and<br>
> then pass it to qemu. I don't bind it to vfio-pci or any driver and it<br>
> works fine. Is there any downside or performance loss to doing it this way?<br>
<br>
</span>Does this mean you're using the pci-assign driver with qemu?  If so, be<br>
advised that legacy KVM device assignment is deprecated upstream, so it<br>
will likely go away at some point and it mostly unsupported already.<br>
Generally it's advised to avoid host drivers because they don't like<br>
releasing devices and things like Xorg get unhappy as well.  If you<br>
have a usage model that allows you to release the device, go for it,<br>
but you probably want to migrate away from legacy KVM device<br>
assignment.<br>
</blockquote></div><br></div>