[libvirt] Re: [PATCH 0/5] kvm/qemu vs libvirtd restarts

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

 



Hi,
attached is a new version of the "let kvm/qemu survive libvirt restart"
patches. Since we have the VIR_DOMAIN_XML_INACTIVE changes already
applied we now only need to persist the monitor path, pid and current
domain state (running, paused, ...).
Cheers,
 -- Guido

Pathes:
  write pid file into stateDir
  daemonize qemu processes
  add XML parsing for vm status file
  save domain status during vm creation and remove it on shutdown.
  read saved vm status on libvirtd startup

 src/domain_conf.c                                  |   36 ++-
 src/domain_conf.h                                  |    6 +
 src/libvirt_sym.version.in                         |    3 +
 src/qemu_conf.c                                    |  198 +++++++++++++++
 src/qemu_conf.h                                    |   18 ++
 src/qemu_driver.c                                  |  262 ++++++++++++++++++--
 src/util.c                                         |   20 ++-
 src/util.h                                         |    2 +
 .../qemuxml2argv-hostdev-usb-address.args          |    2 +-
 tests/qemuxml2argvtest.c                           |    2 +
 10 files changed, 514 insertions(+), 35 deletions(-)

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