From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: memory hotplug for guests? Date: Thu, 05 Apr 2007 17:31:17 +0300 Message-ID: <46150835.80700@qumranet.com> References: <4613886F.5070408@wpkg.org> <4614EE12.7060702@qumranet.com> <64F9B87B6B770947A9F8391472E032160B31944E@ehost011-8.exch011.intermedia.net> <200704051617.18936.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: <200704051617.18936.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: > On Thursday 05 April 2007, Dor Laor wrote: > >> Currently the only memory-over-commit mechanism is the balloon. >> In the future we will add all the wise spectrum of host demand pages, >> shared pages, etc. >> > > Ok, just as another hint: you should definitely take a look at > pfault_interrupt() in arch/s390/mm/fault.c, which manages notifications > about host memory manangement, so that the guest can put a task to > sleep that accesses a page on the host block device, instead of suspending > the entire guest, while waiting for the page to come back. > It's a lot simpler than I would have guessed... this could be quite easily ported to kvm, once we have guest swap. > arch/s390/mm/extmem.c has another very interesting concept, though the > hcall interfaces used there are not as flexible as they should be in > kvm. It's basically about mapping host files into the guest real address > space, e.g. for shared memory between guests. > This, too, is interesting, though it means guest apps need to be written to take advantage of it. -- 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