[PATCH v2 00/12] Introduce virDomainDetachDeviceAlias

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

 



v2 of:

https://www.redhat.com/archives/libvir-list/2018-May/msg01530.html

diff to v1:
- The semantic is changed a bit. Now it's "send request" only, and users
have to listen for DEVICE_DELETED event. They would have to do that
anyway.
- Couple of more fixes related to asynchronous behaviour

Michal Privoznik (12):
  Introduce virDomainDetachDeviceAlias API
  remote: Implement virDomainDetachDeviceAlias
  virsh: Expose virDomainDetachDeviceAlias
  qemuDomainRemoveChrDevice: Release device address
  qemuDomainDetachShmemDevice: Don't release shmem address twice
  qemuDomainDetachWatchdog: Don't release watchdog address twice
  qemu_hotplug: Use more gotos in qemuDomainDetach*Device
  qemuDomainDetachDeviceLiveAndConfig: Don't use driver->caps directly
  qemuDomainDetachDeviceLiveAndConfig: Avoid overwriting @ret
  qemu_hotplug: Allow asynchronous detach
  qemu: Implement virDomainDetachDeviceAlias
  news: Document new API introduction

 docs/news.xml                    |   8 ++
 include/libvirt/libvirt-domain.h |   3 +
 src/driver-hypervisor.h          |   6 +
 src/libvirt-domain.c             |  53 ++++++++
 src/libvirt_public.syms          |   5 +
 src/qemu/qemu_driver.c           | 162 +++++++++++++++++++----
 src/qemu/qemu_hotplug.c          | 278 +++++++++++++++++++++++++--------------
 src/qemu/qemu_hotplug.h          |  33 +++--
 src/remote/remote_driver.c       |   1 +
 src/remote/remote_protocol.x     |  16 ++-
 src/remote_protocol-structs      |   6 +
 tests/qemuhotplugtest.c          |  13 +-
 tools/virsh-domain.c             |  72 ++++++++++
 tools/virsh.pod                  |  12 ++
 14 files changed, 525 insertions(+), 143 deletions(-)

-- 
2.16.1

--
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