Re: [PATCH] esx: Make sure dumpxml outputs proper ID for active domains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/8/20 Eric Blake <eblake@xxxxxxxxxx>:
> On 08/20/2010 01:07 PM, Matthias Bolte wrote:
>> ---
>>  src/esx/esx_driver.c |   13 +++++++++++--
>>  1 files changed, 11 insertions(+), 2 deletions(-)
>>
>> diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c
>
> ACK.
>
>> @@ -2693,6 +2698,10 @@ esxDomainDumpXML(virDomainPtr domain, int flags)
>>                               priv->primary->productVersion);
>>
>>      if (def != NULL) {
>> +        if (powerState != esxVI_VirtualMachinePowerState_PoweredOff) {
>> +            def->id = id;
>> +        }
>> +
>>          xml = virDomainDefFormat(def, flags);
>>      }
>>
>

Thanks, pushed.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]