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)
commitc95ba92afb238ac565c68968fc72e38ca8d1b6e8
tree7cacb2e2eb778adb8b292acfb0b3f29d48a30760
parentdccbfcf52cebb8963246eba5b177b77f26b34da0
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