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

Re: [Xen-devel] [PATCH] tools: Handle failed xc_get_hvm_param in domain save



George Dunlap writes ("[Xen-devel] [PATCH] tools: Handle failed 
xc_get_hvm_param in domain save"):
> The domain save code will read an HVM param, and if it's not zero,
> make an entry for it.  However, if the hypercall fails for any reason,
> the data may not be written, and the value for the previous parameter
> may be written in the save file as the parameter that failed.

Thanks, I'm applying this.

But: what an unpleasantly formulaic section of code!

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.