]> git.baikalelectronics.ru Git - kernel.git/commit
nVMX: Advertise PML to L1 hypervisor
authorBandan Das <bsd@redhat.com>
Fri, 5 May 2017 19:25:15 +0000 (15:25 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 9 May 2017 09:54:29 +0000 (11:54 +0200)
commit8dd7a6d8a318b8d9daf12c93ce4e6e413b1a91fa
tree81ea5c8b20ef9c876ceca664b763730f9c7f0b4a
parentf733c8bf41d0eb3559ac2ca0f1defa7977cba830
nVMX: Advertise PML to L1 hypervisor

Advertise the PML bit in vmcs12 but don't try to enable
it in hardware when running L2 since L0 is emulating it. Also,
preserve L0's settings for PML since it may still
want to log writes.

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c