KVM: SVM: implement enhanced INVLPG intercept
authorAndre Przywara <andre.przywara@amd.com>
Tue, 21 Dec 2010 10:12:06 +0000 (11:12 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:31:05 +0000 (11:31 +0200)
commitdf4f3108562dc6f6ae6648f2698df7f4c9acf52d
tree6a2b0889c5f232cf74e0bfca0b133cdb8a081566
parentcae3797a4639898f339fad57c7e12d270ec91a6c
KVM: SVM: implement enhanced INVLPG intercept

When the DecodeAssist feature is available, the linear address
is provided in the VMCB on INVLPG intercepts. Use it directly to
avoid any decoding and emulation.
This is only useful for shadow paging, though.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/svm.c