[libvirt] [PATCH] [RFC] xen-xm: Generate UUID if not specified

Jim Fehlig jfehlig at suse.com
Fri Aug 3 22:19:00 UTC 2012


Eric Blake wrote:
> On 08/03/2012 03:32 PM, Jim Fehlig wrote:
>   
>> I received a bug report about 'virsh domxml-from-native xen-xm' failing
>> when the xm configuration does not contain a UUID.  IMO, this is a bit
>> harsh since UUID is not even required when defining a domain.
>>     
>
> Agreed.
>
>   
>> I first took the approach of skipping the parsing of UUID when it is not
>> specified in the xm config, but that results in a UUID of all zeros,
>> which is the dom0 UUID from the xen tools perspective.
>>
>> I'd like to hear what other folks think about the attached patch, which
>> generates a UUID if it is not specified in the xm config.
>>     
>
> Makes sense to me; you have my:
>
> ACK.
>   

Thanks Eric, pushed now.

Regards,
Jim




More information about the libvir-list mailing list