* Patching instructions with PV versions
@ 2011-02-26 12:17 Dushyant Bansal
2011-02-28 14:13 ` Sethi Varun-B16395
2011-03-02 16:46 ` Dushyant Bansal
0 siblings, 2 replies; 3+ messages in thread
From: Dushyant Bansal @ 2011-02-26 12:17 UTC (permalink / raw)
To: kvm-ppc
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
^ permalink raw reply [flat|nested] 3+ messages in thread* RE: Patching instructions with PV versions
2011-02-26 12:17 Patching instructions with PV versions Dushyant Bansal
@ 2011-02-28 14:13 ` Sethi Varun-B16395
2011-03-02 16:46 ` Dushyant Bansal
1 sibling, 0 replies; 3+ messages in thread
From: Sethi Varun-B16395 @ 2011-02-28 14:13 UTC (permalink / raw)
To: kvm-ppc
Hi Dushyant,
Please refer to the magic page section of the following document:
linux/Documentation/kvm/ppc-pv.txt
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Patching instructions with PV versions
2011-02-26 12:17 Patching instructions with PV versions Dushyant Bansal
2011-02-28 14:13 ` Sethi Varun-B16395
@ 2011-03-02 16:46 ` Dushyant Bansal
1 sibling, 0 replies; 3+ messages in thread
From: Dushyant Bansal @ 2011-03-02 16:46 UTC (permalink / raw)
To: kvm-ppc
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-02 16:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-26 12:17 Patching instructions with PV versions Dushyant Bansal
2011-02-28 14:13 ` Sethi Varun-B16395
2011-03-02 16:46 ` Dushyant Bansal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox