[libvirt] [PATCH 0/4][RFC] Drop media update support in virDomainAttachDevice*

Han Han hhan at redhat.com
Wed Jan 15 08:24:54 UTC 2020


https://bugzilla.redhat.com/show_bug.cgi?id=1788793

Before virDomainUpdateDeviceFlags, virDomainAttachDevice* were used for
media update. Now we have introduced virDomainUpdateDeviceFlags for 9
years(since commit 46a2ea3689) but keep that compatibility of
virDomainAttachDevice* until now.

I think it is time to remove the compatibility since it doesn't work as
well as virDomainUpdateDeviceFlags on disk xml validation.

I wonder if any uplayer software relying on this compatibility...

My git repo: https://github.com/qiankehan/libvirt/tree/attach-device-nocdrom

Han Han (4):
  virsh.rst: Mention media update is not supported in
    attach-{disk,device}
  libvirt: Remove comments of media update in virDomainAttachDeviceFlags
  qemu: Drop support of media update in live disk attach API
  libxl: Drop cdrom media update support in live disk attch APIs

 docs/manpages/virsh.rst  | 14 +++++++-------
 src/libvirt-domain.c     |  4 ----
 src/libxl/libxl_driver.c |  6 ++++--
 src/qemu/qemu_hotplug.c  | 12 ++++--------
 4 files changed, 15 insertions(+), 21 deletions(-)

-- 
2.24.0.rc1




More information about the libvir-list mailing list