[libvirt] [PATCHv2 06/13] snapshot: test domainsnapshot indentation

Hai Dong Li haidongl at linux.vnet.ibm.com
Thu Oct 20 07:23:30 UTC 2011


On 09/30/2011 12:22 AM, Eric Blake wrote:
> diff --git a/tests/domainsnapshotxml2xmlout/all_parameters.xml b/tests/domainsnapshotxml2xmlout/all_parameters.xml
> index ed4a600..eb2ee85 100644
> --- a/tests/domainsnapshotxml2xmlout/all_parameters.xml
> +++ b/tests/domainsnapshotxml2xmlout/all_parameters.xml
> @@ -1,10 +1,10 @@
>   <domainsnapshot>
>     <name>my snap name</name>
>     <description>!@#$%^</description>
> +<state>running</state>
I failed to see why this line is moved here.
The definition of struct _virDomainSnapshotDef shows that the member 
state is after the member creationTime. Could you please let me know the 
sorting order?
>     <parent>
>       <name>earlier_snap</name>
>     </parent>
> -<state>running</state>
>     <creationTime>1272917631</creationTime>
>     <domain>
>       <uuid>9d37b878-a7cc-9f9a-b78f-49b3abad25a8</uuid>




More information about the libvir-list mailing list