WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Anthony Liguori" <aliguori@xxxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH][RFC] to fix xm list memory reporting
From: "McAfee, Tommie M" <Tommie.McAfee@xxxxxxxxxx>
Date: Mon, 16 Oct 2006 15:55:27 -0400
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 16 Oct 2006 12:56:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C1532784.263C%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbtgFhRlr/iwllzEdur5gANk04WTAD28NTt
Thread-topic: [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