From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dushyant Bansal Date: Sat, 26 Feb 2011 12:17:17 +0000 Subject: Patching instructions with PV versions Message-Id: <4D68EC7D.3040100@cse.iitd.ac.in> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org 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