From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: hot plug memory in guest Date: Sun, 15 Aug 2010 14:51:42 +0300 Message-ID: <4C67D4CE.9070303@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: "Gu, Zhongshu" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:37546 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932179Ab0HOQQx (ORCPT ); Sun, 15 Aug 2010 12:16:53 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 08/10/2010 05:53 PM, Gu, Zhongshu wrote: > Hi all: > I want to dynamically register memory into the linux guest > during runtime. I will compile linux kernel with sparse memory model > support. Does kvm support that kind of function? I am not sure how > linux detect physical memory and how does memslot mapped to physical > memory? Through mc146818? Memory hotplug is not yet supported. Have a look at the balloon driver for similar functionality. -- error compiling committee.c: too many arguments to function