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