Re: [question]Why libvirt bind all devices with same vendor id and device id to vfio-pci driver, and only unbind devices used by VMs to original driver?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 9 Oct 2017 09:28:27 +0000
"Wuzongyong (Euler Dept)" <cordius.wu@xxxxxxxxxx> wrote:

> Hi,
> 
> As the title says, I thought that it's a bit unreasonable and inconsistent  to unbind devices assigned to VMs to original driver
> and leave other devices binding to vfio-pci driver.
> Why not to bind devices we need to vfio-pci driver instead of bind all devices with same type to vfio-pci driver?
> Or, we may can rebind devices unused with same type to original driver.


Because that's the way the kernel's new_id interface works, any
matching device without a driver will probe the new_id driver.  For a
new enough kernel and libvirt, the driver_override interface should be
used instead, which will only bind the target device.  Thanks,

Alex

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux