KVM: SVM: Don't save/restore host cr2
authorAvi Kivity <avi@redhat.com>
Tue, 16 Jun 2009 09:36:33 +0000 (12:36 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:58 +0000 (08:32 +0300)
commitb3dbf89e676e47ef3b10802f9aba5a8e04aba132
tree22c22abc46306ab9d4d9f49f94a37da6a73685d1
parentd3edefc0035669e8817d1d5c32ef03e882477323
KVM: SVM: Don't save/restore host cr2

The host never reads cr2 in process context, so are free to clobber it.  The
vmx code does this, so we can safely remove the save/restore code.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c