]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Fix SVM VMCB reset
authorZachary Amsden <zamsden@redhat.com>
Fri, 20 Aug 2010 08:07:18 +0000 (22:07 -1000)
committerAvi Kivity <avi@redhat.com>
Mon, 11 Oct 2010 10:36:07 +0000 (12:36 +0200)
commit5e519802d58eee0bcbf7c3e92a5a48ece1d7c82a
tree92188d827e4c5f32a2bf68ba88d5bbb9a7870b01
parent43c1eb908259c2afba685d1ae48498185c4f6713
KVM: x86: Fix SVM VMCB reset

On reset, VMCB TSC should be set to zero.  Instead, code was setting
tsc_offset to zero, which passes through the underlying TSC.

Signed-off-by: Zachary Amsden <zamsden@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/svm.c