Re: [PATCH 11/24] Implement VMPTRST

2010-06-16 Thread Gleb Natapov
On Mon, Jun 14, 2010 at 12:15:10PM +0300, Avi Kivity wrote: On 06/13/2010 03:28 PM, Nadav Har'El wrote: This patch implements the VMPTRST instruction. Signed-off-by: Nadav Har'Eln...@il.ibm.com --- --- .before/arch/x86/kvm/x86.c 2010-06-13 15:01:29.0 +0300 +++

Re: [PATCH 11/24] Implement VMPTRST

2010-06-16 Thread Nadav Har'El
On Wed, Jun 16, 2010, Gleb Natapov wrote about Re: [PATCH 11/24] Implement VMPTRST: On Mon, Jun 14, 2010 at 12:15:10PM +0300, Avi Kivity wrote: write_guest_virt_system() is used by writes which need to ignore the cpl, for example when a cpl 3 instruction loads a segment, the processor

Re: [PATCH 11/24] Implement VMPTRST

2010-06-14 Thread Avi Kivity
On 06/13/2010 03:28 PM, Nadav Har'El wrote: This patch implements the VMPTRST instruction. Signed-off-by: Nadav Har'Eln...@il.ibm.com --- --- .before/arch/x86/kvm/x86.c 2010-06-13 15:01:29.0 +0300 +++ .after/arch/x86/kvm/x86.c 2010-06-13 15:01:29.0 +0300 @@ -3301,7 +3301,7 @@

[PATCH 11/24] Implement VMPTRST

2010-06-13 Thread Nadav Har'El
This patch implements the VMPTRST instruction. Signed-off-by: Nadav Har'El n...@il.ibm.com --- --- .before/arch/x86/kvm/x86.c 2010-06-13 15:01:29.0 +0300 +++ .after/arch/x86/kvm/x86.c 2010-06-13 15:01:29.0 +0300 @@ -3301,7 +3301,7 @@ static int kvm_read_guest_virt_system(gv