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)
commit58877679fd393d3ef71aa383031ac7817561463d
tree92188d827e4c5f32a2bf68ba88d5bbb9a7870b01
parent85a331881dd52a93e7d4c57bcaf5486cc8718465
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