KVM: x86: reset RVI upon system reset
authorWei Wang <wei.w.wang@intel.com>
Wed, 5 Nov 2014 02:53:43 +0000 (10:53 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 Nov 2014 14:44:00 +0000 (15:44 +0100)
commit4114c27d450bef228be9c7b0c40a888e18a3a636
tree4bc1ec2876070095e191cab210fd2896fdd5ccdf
parenta2ae9df7c991eca6c1ee6f42dbb18701a64175c3
KVM: x86: reset RVI upon system reset

A bug was reported as follows: when running Windows 7 32-bit guests on qemu-kvm,
sometimes the guests run into blue screen during reboot. The problem was that a
guest's RVI was not cleared when it rebooted. This patch has fixed the problem.

Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Signed-off-by: Yang Zhang <yang.z.zhang@intel.com>
Tested-by: Rongrong Liu <rongrongx.liu@intel.com>, Da Chun <ngugc@qq.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/vmx.c