]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/vmx.c
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)
commit03efce6f935f89f90a98997ceea514aeff47b6dc
tree81ea5c8b20ef9c876ceca664b763730f9c7f0b4a
parentc5f983f6e8455bbff8b6b39f3ad470317fcd808e
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