[PATCH 0/3] Fix hotplug of unassigned hostdevs

Michal Privoznik posted 3 patches 2 years, 2 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1643112560.git.mprivozn@redhat.com
There is a newer version of this series
src/conf/domain_validate.c | 45 ++++++++++++++++++++++++++++++++++++++
src/qemu/qemu_hotplug.c    | 20 ++++++++++++++---
2 files changed, 62 insertions(+), 3 deletions(-)
[PATCH 0/3] Fix hotplug of unassigned hostdevs
Posted by Michal Privoznik 2 years, 2 months ago
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