From: Shaohua Li Subject: Re: [RFC 0/8]KVM: swap out guest pages Date: Tue, 24 Jul 2007 10:00:55 +0800 Message-ID: <1185242455.24201.30.camel@sli10-conroe.sh.intel.com> References: <1185173489.2645.64.camel@sli10-conroe.sh.intel.com> <46A4829C.9080104@qumranet.com> <20070723122510.GA3674@infradead.org> <46A49F30.5010206@qumranet.com> <20070723123443.GB3674@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel , lkml To: Christoph Hellwig Return-path: In-Reply-To: <20070723123443.GB3674-wEGCiKHe2LqWVfeAwA7xHQ@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 On Mon, 2007-07-23 at 20:34 +0800, Christoph Hellwig wrote: > On Mon, Jul 23, 2007 at 03:29:36PM +0300, Avi Kivity wrote: > > >Actually it requires lots of deep down VM internals symbols that'll > never > > >get exported. > > > > > > > > > > What's "it" here? kvm-specific address space or generic vmas. > > The patches in this thread. > > > Generic vmas will be more intrusive AFAICT. > > People use intrusive differently. Doing big changes to core code is > not > a problem if we actually get a proper interface. Just exporting core > function without other changes and then writing code in modules that > pokes into internals is much much worse. The patch follows the same way shm swap out pages. The only difference is kvm is a module but shm not. why kvm can't use the symbols shm used? Sure, it's possible to write guest memory to a file so not use the symbols, if you really hate this, I'll consider the alternative method. Thanks, Shaohua ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/