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

[Xen-devel] RE: [PATCH][RFC] to fix xm list memory reporting



patch updated to use domain_getinfo.

The balloon driver's write to xenstore is now a means of notification that the 
requested allocation has finished and that it is time to update 
self.info['memory'] using domain_getinfo.  



Tommie McAfee
Xen-Testing 



-----Original Message-----
From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx]
Sent: Wed 10/11/2006 5:58 PM
To: Anthony Liguori; McAfee, Tommie M
Cc: xen-devel
Subject: Re: [Xen-devel] Re: [PATCH][RFC] to fix xm list memory reporting
 

On 11/10/06 10:34 pm, "Anthony Liguori" <aliguori@xxxxxxxxxx> wrote:

> However, this patch concerns me in another way.  You're relying on the
> guest to report how much memory it has?  What prevents a guest from
> lying and claiming it has less memory than it really does?  Forget about
> lying, what about buggy guests?
> 
> Isn't this info available from the hypervisor?

Yes, from the getdomaininfo domctl.

 -- Keir




Attachment: xm_list.patch
Description: xm_list.patch

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