KVM: SVM: optimize nested #vmexit
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 7 Aug 2009 09:49:29 +0000 (11:49 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:23 +0000 (08:33 +0300)
commit33740e4009b7d287538f68f614eb3542df3597e4
tree2196949617d94613070f7ae812f41278a392b83a
parent2af9194d1b683f91ae956afff9afb0b52a241371
KVM: SVM: optimize nested #vmexit

It is more efficient to copy only the relevant parts of the vmcb back to
the nested vmcb when we emulate an vmexit.

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