[libvirt] [PATCH v1 0/8] Chardev hotplug

Michal Privoznik mprivozn at redhat.com
Mon May 6 15:34:31 UTC 2013


The first round. For some reasons, I am still unable to hotplug any king of
chardev. For instance:

    <console type='pty'>
      <source path='/dev/pts/4'/>
      <target port='0'/>
    </console>

Doesn't work. On the other hand, any domain with such device coldpluged refuse
to start anyway :)

Michal Privoznik (8):
  domain_conf: Introduce chardev hotplug helpers
  qemu: Implement chardev hotplug on config level
  qemu_monitor_json: Move InetSocketAddress build to a separate function
  qemu_monitor: Introduce qemuMonitorAttachCharDev
  qemu_monitor: Introduce qemuMonitorDetachCharDev
  qemu_command: Honour chardev alias assignment with a function
  qemu: Introduce qemuBuildChrDeviceStr
  qemu: Implement chardev hotplug on live level

 src/conf/domain_conf.c       | 174 +++++++++++++++++++++++++++-
 src/conf/domain_conf.h       |  11 ++
 src/libvirt_private.syms     |   4 +
 src/qemu/qemu_command.c      | 262 +++++++++++++++++++++++++++++++++++--------
 src/qemu/qemu_command.h      |  14 ++-
 src/qemu/qemu_driver.c       |  43 ++++++-
 src/qemu/qemu_hotplug.c      |  97 ++++++++++++++++
 src/qemu/qemu_hotplug.h      |   6 +
 src/qemu/qemu_monitor.c      |  41 +++++++
 src/qemu/qemu_monitor.h      |   5 +
 src/qemu/qemu_monitor_json.c | 261 +++++++++++++++++++++++++++++++++++++++---
 src/qemu/qemu_monitor_json.h |   5 +
 12 files changed, 850 insertions(+), 73 deletions(-)

-- 
1.8.1.5




More information about the libvir-list mailing list