]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vmware: detect when a domain was shut down from the inside
authorJean-Baptiste Rouault <jean-baptiste.rouault@diateam.net>
Mon, 2 Apr 2012 13:59:32 +0000 (15:59 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 4 Jul 2012 09:41:13 +0000 (11:41 +0200)
commitfe04138ea0ecf85ab4f7b378cddb1eecceedddbb
tree93a705fb7611cb0a39d36e544eb022944bc4db6a
parentd59e10338d97bd7e842c83551067aa26d685bdc9
vmware: detect when a domain was shut down from the inside

This patch adds an internal function vmwareUpdateVMStatus to
update the real state of the domain. This function is used in
various places in the driver, in particular to detect when
the domain has been shut down by the user with the "halt"
command.
src/vmware/vmware_driver.c