[Libvirt-cim] [PATCH] Fix logic that determines memory only or memory terminal snapshot

Dan Smith danms at us.ibm.com
Thu Aug 7 13:51:29 UTC 2008


JF> -        ctx->restore = (type != VIR_VSSS_SNAPSHOT_MEM);
JF> +        ctx->restore = (type != VIR_VSSS_SNAPSHOT_MEMT);

The amount of time it took me to mentally process this change tells me
that this should be made a little clearer in the code at some point.

But, the fix is good.  Thanks!

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080807/fa621b71/attachment.sig>


More information about the Libvirt-cim mailing list