Hi Dushyant, Please refer to the magic page section of the following document: linux/Documentation/kvm/ppc-pv.txt
Regards Varun ________________________________________ From: kvm-ppc-ow...@vger.kernel.org [kvm-ppc-ow...@vger.kernel.org] on behalf of Dushyant Bansal [cs5070...@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 majord...@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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html