KVM: x86: fix CR8 handling
authorAndre Przywara <andre.przywara@amd.com>
Tue, 21 Dec 2010 10:12:00 +0000 (11:12 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:30:58 +0000 (11:30 +0200)
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 <andre.przywara@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found