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

Re: [Xen-devel] ballon driver interaction with native page allocator.

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] ballon driver interaction with native page allocator.
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Thu, 7 Jun 2007 20:36:26 +0100
Cc: Tej Parkash <tejparkash.d@xxxxxxxxx>
Delivery-date: Thu, 07 Jun 2007 12:34:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2bd9ebfa0706062158i65d934a1k78022fbc699f1237@xxxxxxxxxxxxxx>
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: <2bd9ebfa0706062158i65d934a1k78022fbc699f1237@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
> if Balloon driver is not present in the guest OS then how xen control
> the memory of the that Guest OS

It can't; Xen depends on guest OS co-operation in order to resize the guest's 
physical memory footprint.

> or there is some other mechanism also with which the guest OS page
> allocator can inftate or deflate the balloon.

The balloon can be controlled from outside Xen using xm mem-set.  It can also 
be controlled within the guest by echoing something into a special file.  If 
there's no balloon driver, there's no way to change the memory footprint (as 
of 3.1 the balloon driver can work in HVM, though).

Other hypervisors / virtual machine software is able to page guest memory out 
to disk in order to vary the machine RAM allocation used by each guest; Xen 
doesn't do this.

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

<Prev in Thread] Current Thread [Next in Thread>