KVM: x86: Clear CR2 on VCPU reset
authorNadav Amit <namit@cs.technion.ac.il>
Thu, 2 Apr 2015 00:10:38 +0000 (03:10 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Apr 2015 08:47:03 +0000 (10:47 +0200)
commit1119022c71fb11826041787cf0ebffc1a1b0ba5b
treec47bd1006d137b9063fe2b204be305f0379d5933
parentae561edeb421fbc24f97df7af8607c14009c16b2
KVM: x86: Clear CR2 on VCPU reset

CR2 is not cleared as it should after reset.  See Intel SDM table named "IA-32
Processor States Following Power-up, Reset, or INIT".

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Message-Id: <1427933438-12782-5-git-send-email-namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c