Re: [libvirt] [PATCH] vmware: detect when a domain was shut down from the inside

2012-03-13 Thread Jean-Baptiste Rouault
On Friday 03 February 2012 09:42:29 Matthias Bolte wrote: You changed all lifecycle functions not to rely on possible stale information, but you missed to update the cached state information in the virDomainObj list resulting in virsh list giving wrong output and possibly listing VMs as

Re: [libvirt] [PATCH] vmware: detect when a domain was shut down from the inside

2012-02-03 Thread Matthias Bolte
2012/2/1 Jean-Baptiste Rouault jean-baptiste.roua...@diateam.net: This patch adds an internal function vmwareGetVMStatus to get 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

Re: [libvirt] [PATCH] vmware: detect when a domain was shut down from the inside

2012-02-02 Thread Daniel Veillard
On Wed, Feb 01, 2012 at 02:29:37PM +0100, Jean-Baptiste Rouault wrote: This patch adds an internal function vmwareGetVMStatus to get 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

[libvirt] [PATCH] vmware: detect when a domain was shut down from the inside

2012-02-01 Thread Jean-Baptiste Rouault
This patch adds an internal function vmwareGetVMStatus to get 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 | 83