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

[Xen-devel] Re: [PATCH 7/7] libxenlight resend: get state for one domain



On Wed, Dec 02, 2009 at 06:03:37PM +0000, Andres Lagar-Cavilla wrote:
> Simple function to get the dominfo state of a single domain.
> 
> Signed-off-by: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx>

the function is buggy. you need to check that you got the right domain before
returning the domaininfo. the hypercall returns the first domain from the domid
given. i.e. if domid is not available, domid+n might be returned.

-- 
Vincent

_______________________________________________
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®.