]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: copy only necessary parts of the control area on vmrun/vmexit
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 7 Aug 2009 09:49:31 +0000 (11:49 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:23 +0000 (08:33 +0300)
commit96bd837b43d291cf8ce576a27752d6701dd42427
treec4d559e7cf3f0ac74773835c6be50d2f8d48b9d8
parentfb61d84e1f8be6d229fcf8626897610d431f07ae
KVM: SVM: copy only necessary parts of the control area on vmrun/vmexit

The vmcb control area contains more then 800 bytes of reserved fields
which are unnecessarily copied. Fix this by introducing a copy
function which only copies the relevant part and saves time.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c