Re: [PATCH] kvm: cleanup CR8 handling

2010-12-21 Thread Avi Kivity
On 12/21/2010 12:07 PM, Andre Przywara wrote: Avi Kivity wrote: On 12/08/2010 01:27 PM, Andre Przywara wrote: The handling of CR8 writes in KVM is currently somewhat cumbersome. This patch makes it look like the other CR register handlers and fixes a possible issue in VMX, where the RIP would b

Re: [PATCH] kvm: cleanup CR8 handling

2010-12-21 Thread Andre Przywara
Avi Kivity wrote: On 12/08/2010 01:27 PM, Andre Przywara wrote: The handling of CR8 writes in KVM is currently somewhat cumbersome. This patch makes it look like the other CR register handlers and fixes a possible issue in VMX, where the RIP would be incremented despite an injected #GP. unsig

Re: [PATCH] kvm: cleanup CR8 handling

2010-12-13 Thread Avi Kivity
On 12/08/2010 01:27 PM, Andre Przywara wrote: The handling of CR8 writes in KVM is currently somewhat cumbersome. This patch makes it look like the other CR register handlers and fixes a possible issue in VMX, where the RIP would be incremented despite an injected #GP. unsigned long kvm_get_cr

[PATCH] kvm: cleanup CR8 handling

2010-12-08 Thread Andre Przywara
The handling of CR8 writes in KVM is currently somewhat cumbersome. This patch makes it look like the other CR register handlers and fixes a possible issue in VMX, where the RIP would be incremented despite an injected #GP. Signed-off-by: Andre Przywara --- arch/x86/include/asm/kvm_host.h |2