[libvirt] [PATCH] Update ID after stopping a domain
Matthias Bolte
matthias.bolte at googlemail.com
Fri Jul 30 20:58:33 UTC 2010
2010/7/30 Eric Blake <eblake at redhat.com>:
> On 07/30/2010 12:03 PM, Matthias Bolte wrote:
>> ---
>> src/esx/esx_driver.c | 1 +
>> src/openvz/openvz_driver.c | 1 +
>> src/phyp/phyp_driver.c | 2 ++
>> src/vbox/vbox_tmpl.c | 1 +
>> src/xenapi/xenapi_driver.c | 1 +
>> 5 files changed, 6 insertions(+), 0 deletions(-)
>>
>> diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c
>> index 964a3a5..913420c 100644
>> --- a/src/esx/esx_driver.c
>> +++ b/src/esx/esx_driver.c
>> @@ -1620,6 +1620,7 @@ esxDomainDestroy(virDomainPtr domain)
>> goto cleanup;
>> }
>>
>> + domain->id = -1;
>> result = 0;
>
> ACK.
>
Thanks, pushed.
Matthias
More information about the libvir-list
mailing list