From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: memory hotplug for guests? Date: Thu, 05 Apr 2007 15:39:46 +0300 Message-ID: <4614EE12.7060702@qumranet.com> References: <4613886F.5070408@wpkg.org> <20070405101608.GB8025@osiris.boeblingen.de.ibm.com> <64F9B87B6B770947A9F8391472E032160B319410@ehost011-8.exch011.intermedia.net> <200704051428.17198.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Arnd Bergmann Return-path: In-Reply-To: <200704051428.17198.arnd-r2nGTMty4D4@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Arnd Bergmann wrote: > > Another driver you might want to look at is the Xen balloon driver: > http://81.161.245.2/lxr/http/source/linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c > > The s390 driver is probably a better example though. One thing the > Xen one got wrong is that its interface requires you do an hcall in > order to get back a page that you gave up to the host. Er, that's what we do :) > On s390, it > simply maps the host empty_zero_page as COW into the guest like > the initial memory, so you get a new page back with the regular > method whenever you write to the guest real page. > This has the advantage of surviving a guest reboot, but the disadvantage of not allowing the host to nack the request. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV