]> 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)
commit071b001db2adb2a4fb8f5393fe732fb2cb9373c8
tree81ea5c8b20ef9c876ceca664b763730f9c7f0b4a
parent662ce88150726160b4161d7387c46b99902eca0a
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