mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
41fe852487
commit v9.10.0-129-g8b93d78c83 (first appearing in libvirt-10.0.0) was
supposed to allow forcing a PCI hostdev to be bound to a particular
driver by adding <driver model='blah'/> to the XML for the
device. Unfortunately, a single line was missed during the final
changes to the patch prior to pushing, and the result was that the
driver model could be set to *anything* and it would be accepted but
just ignored.
This patch adds the missing line, which will set the stubDriverName
field of the virPCIDevice object from the hostdev object as the
virPCIDevice is being created. This ends up being used by
virPCIDeviceBindToStub() as the driver that it binds the device to.
Fixes:
|
||
---|---|---|
.. | ||
domain_cgroup.c | ||
domain_cgroup.h | ||
domain_driver.c | ||
domain_driver.h | ||
domain_interface.c | ||
domain_interface.h | ||
meson.build | ||
virclosecallbacks.c | ||
virclosecallbacks.h | ||
virhostdev.c | ||
virhostdev.h |