]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Implement domain state reason
authorJiri Denemark <jdenemar@redhat.com>
Wed, 4 May 2011 09:07:01 +0000 (11:07 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 16 May 2011 11:36:08 +0000 (13:36 +0200)
commitb046c55d400f9908fbc452fbf9898e8f09ab36fa
tree8e8d78cb73dc4dd842cc5077ec07742dbdc16c68
parent26d94012f6f69ecf75dc7e04003dfd4ece1e84fd
Implement domain state reason

Only in drivers which use virDomainObj, drivers that query hypervisor
for domain status need to be updated separately in case their hypervisor
supports this functionality.

The reason is also saved into domain state XML so if a domain is not
running (i.e., no state XML exists) the reason will be lost by libvirtd
restart. I think this is an acceptable limitation.
15 files changed:
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/libxl/libxl_driver.c
src/lxc/lxc_driver.c
src/openvz/openvz_conf.c
src/openvz/openvz_driver.c
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/qemu/qemu_process.c
src/qemu/qemu_process.h
src/test/test_driver.c
src/uml/uml_driver.c
src/vmware/vmware_conf.c
src/vmware/vmware_driver.c