]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: nVMX: initialize PML fields in vmcs02
authorLadi Prosek <lprosek@redhat.com>
Tue, 4 Apr 2017 12:18:53 +0000 (14:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 May 2017 12:08:25 +0000 (14:08 +0200)
commit22e025bc1af900e4ac8b2bea9772cead23d402a1
tree2a4e1394d44d9a528e0a4fa0acf01105ecb72e34
parent4897ec5ece6c0ac1138a0546df7705865b44b1fa
KVM: nVMX: initialize PML fields in vmcs02

commit 1fb883bb827ee8efc1cc9ea0154f953f8a219d38 upstream.

L2 was running with uninitialized PML fields which led to incomplete
dirty bitmap logging. This manifested as all kinds of subtle erratic
behavior of the nested guest.

Fixes: 843e4330573c ("KVM: VMX: Add PML support in VMX")
Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/vmx.c