diff options
author | Liu, Jinsong <jinsong.liu@intel.com> | 2011-09-25 16:10:48 +0800 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-10-03 13:53:14 -0300 |
commit | bfc2455ddbb41148494a084d15777e6bed7533c3 (patch) | |
tree | 4f60ef4b70896fa8353c11e715c96bad6c403aa1 /target-i386/machine.c | |
parent | d11cf8cc80d946dfc9a23597cd9a0bb1c487cfa7 (diff) | |
download | qemu-bfc2455ddbb41148494a084d15777e6bed7533c3.zip qemu-bfc2455ddbb41148494a084d15777e6bed7533c3.tar.gz qemu-bfc2455ddbb41148494a084d15777e6bed7533c3.tar.bz2 |
kvm: support TSC deadline MSR
KVM add emulation of lapic tsc deadline timer for guest.
This patch is co-operation work at qemu side.
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'target-i386/machine.c')
-rw-r--r-- | target-i386/machine.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/machine.c b/target-i386/machine.c index 9aca8e0..25fa97d 100644 --- a/target-i386/machine.c +++ b/target-i386/machine.c @@ -410,6 +410,7 @@ static const VMStateDescription vmstate_cpu = { VMSTATE_UINT64_V(xcr0, CPUState, 12), VMSTATE_UINT64_V(xstate_bv, CPUState, 12), VMSTATE_YMMH_REGS_VARS(ymmh_regs, CPUState, CPU_NB_REGS, 12), + VMSTATE_UINT64_V(tsc_deadline, CPUState, 13), VMSTATE_END_OF_LIST() /* The above list is not sorted /wrt version numbers, watch out! */ }, |