]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Introduce internal QEMU monitor APIs for drive + device hotadd
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 26 Jan 2010 15:34:46 +0000 (15:34 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 2 Feb 2010 16:31:42 +0000 (16:31 +0000)
commit5ec6cf7fb87082b623f29ff873c9f0654a43b0c9
tree3150e946a6322e7cde4b975aeef2f99f7d878a74
parent96c8608dc5d2c3dedd2326754f7d21470d7efc8c
Introduce internal QEMU monitor APIs for drive + device hotadd

The way QEMU is started has been changed to use '-device' and
the new style '-drive' syntax. This needs to be mirrored in
the hotplug code, requiring addition of two new APIs.

* src/qemu/qemu_monitor.h, src/qemu/qemu_monitor.c: Define APIs
  qemuMonitorAddDevice() and qemuMonitorAddDrive()
* src/qemu/qemu_monitor_json.c, src/qemu/qemu_monitor_json.h,
  src/qemu/qemu_monitor_text.c, src/qemu/qemu_monitor_text.h:
  Implement the new monitor APIs
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
src/qemu/qemu_monitor_text.c
src/qemu/qemu_monitor_text.h