From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dushyant Bansal Date: Wed, 02 Mar 2011 16:46:01 +0000 Subject: Re: Patching instructions with PV versions Message-Id: <4D6E7179.10109@cse.iitd.ac.in> List-Id: References: <4D68EC7D.3040100@cse.iitd.ac.in> In-Reply-To: <4D68EC7D.3040100@cse.iitd.ac.in> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org On Monday 28 February 2011 07:43 PM, Sethi Varun-B16395 wrote: > Hi Dushyant, > Please refer to the magic page section of the following document: > linux/Documentation/kvm/ppc-pv.txt > Thanks, now I do have a better understanding. > Regards > Varun > ________________________________________ > From: kvm-ppc-owner@vger.kernel.org [kvm-ppc-owner@vger.kernel.org] on behalf of Dushyant Bansal [cs5070214@cse.iitd.ac.in] > Sent: Saturday, February 26, 2011 5:35 PM > To: kvm-ppc@vger.kernel.org > Subject: Patching instructions with PV versions > > Hi, > I understand that in order to improve performance by reducing vm > exits, kvm uses one shared page between kvm and guest. Now, guest can > map this page and access its fields using load, store instructions. > Then, it patches instructions with their paravirtualized versions > (inside kvm_use_magic_page). I have a few questions. > Is patching, by default enabled for every guest? > When is this patching done? Does it target only guest kernel code? > > Thanks, > Dushyant > -- > To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > -- > To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >