]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: nVMX: fix nested tsc scaling
authorPeter Feiner <pfeiner@google.com>
Wed, 17 Aug 2016 16:36:47 +0000 (09:36 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Aug 2016 10:19:09 +0000 (12:19 +0200)
commit609b349ea5ab44d81a84c52e86d766c3b466156b
tree7cacb2e2eb778adb8b292acfb0b3f29d48a30760
parent3baf1e71492b461d71cffff111b84043eb28fd19
kvm: nVMX: fix nested tsc scaling

When the host supported TSC scaling, L2 would use a TSC multiplier of
0, which causes a VM entry failure. Now L2's TSC uses the same
multiplier as L1.

Signed-off-by: Peter Feiner <pfeiner@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c