]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vbox: handle 'saved' state of VMs
authorRyota Ozaki <ozaki.ryota@gmail.com>
Mon, 14 Oct 2013 16:19:42 +0000 (01:19 +0900)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 15 Oct 2013 11:03:29 +0000 (12:03 +0100)
commite06d23fd6537554e2db220d66fbb6930f8a91398
treeaa4fbd6ac6e8d8d73322c69510823b4eddaa088e
parentb98654fafdd434848d5846f185ad4daedfec63d7
vbox: handle 'saved' state of VMs

VirtualBox has 'saved' state for VMs saved by the hypervisor.
However, the state is treated as VIR_DOMAIN_NOSTATE by the vbox
driver, resulting that virsh shows 'no state' for saved VMs.

The fix treats the state as VIR_DOMAIN_SHUTOFF as same as
other domains such as qemu.

Signed-off-by: Ryota Ozaki <ozaki.ryota@gmail.com>
src/vbox/vbox_tmpl.c