[PATCH 0/3] Fix hotplug of unassigned hostdevs

Michal Privoznik mprivozn at redhat.com
Tue Jan 25 12:13:18 UTC 2022


Honestly, I don't understand the reasoning behind <address
type='unassigned'/> (esp. when the device is not accessible to the guest
anyway). We offer virNodeDeviceDettach() and virNodeDeviceReAttach().

But apparently there are some issues with hotplug/hotunplug of hostdevs
with such type of address.

Michal Prívozník (3):
  domain_validate: Refuse VIR_DOMAIN_DEVICE_ADDRESS_TYPE_UNASSIGNED
  qemuDomainAttachHostPCIDevice: Handle hostevs with unassigned type of
    address
  qemuDomainDetachDeviceLive: Handle hostevs with unassigned type of
    address

 src/conf/domain_validate.c | 45 ++++++++++++++++++++++++++++++++++++++
 src/qemu/qemu_hotplug.c    | 20 ++++++++++++++---
 2 files changed, 62 insertions(+), 3 deletions(-)

-- 
2.34.1




More information about the libvir-list mailing list