Re: [PATCH 02/26] KVM: PPC: Convert MSR to shared page

2010-06-27 Thread Alexander Graf
Am 27.06.2010 um 11:50 schrieb Avi Kivity : On 06/27/2010 12:38 PM, Alexander Graf wrote: Am 27.06.2010 um 10:16 schrieb Avi Kivity : On 06/26/2010 02:24 AM, Alexander Graf wrote: One of the most obvious registers to share with the guest directly is the MSR. The MSR contains the "interrup

Re: [PATCH 02/26] KVM: PPC: Convert MSR to shared page

2010-06-27 Thread Avi Kivity
On 06/27/2010 12:38 PM, Alexander Graf wrote: Am 27.06.2010 um 10:16 schrieb Avi Kivity : On 06/26/2010 02:24 AM, Alexander Graf wrote: One of the most obvious registers to share with the guest directly is the MSR. The MSR contains the "interrupts enabled" flag which the guest has to toggle

Re: [PATCH 02/26] KVM: PPC: Convert MSR to shared page

2010-06-27 Thread Alexander Graf
Am 27.06.2010 um 10:16 schrieb Avi Kivity : On 06/26/2010 02:24 AM, Alexander Graf wrote: One of the most obvious registers to share with the guest directly is the MSR. The MSR contains the "interrupts enabled" flag which the guest has to toggle in critical sections. So in order to bring

Re: [PATCH 02/26] KVM: PPC: Convert MSR to shared page

2010-06-27 Thread Avi Kivity
On 06/26/2010 02:24 AM, Alexander Graf wrote: One of the most obvious registers to share with the guest directly is the MSR. The MSR contains the "interrupts enabled" flag which the guest has to toggle in critical sections. So in order to bring the overhead of interrupt en- and disabling down, l

[PATCH 02/26] KVM: PPC: Convert MSR to shared page

2010-06-25 Thread Alexander Graf
One of the most obvious registers to share with the guest directly is the MSR. The MSR contains the "interrupts enabled" flag which the guest has to toggle in critical sections. So in order to bring the overhead of interrupt en- and disabling down, let's put msr into the shared page. Keep in mind