]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
kvm: i386: fix LAPIC TSC deadline timer save/restore
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 19 Aug 2013 17:13:42 +0000 (14:13 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 Aug 2013 16:38:44 +0000 (18:38 +0200)
commit7477cd3897082d2650d520a4e9aa7f8affa3dd5d
tree8e3c2ddaf88c5ace0768006d5383de0109770d5e
parent7dc52526850849e8e0fe56ced809d0798481a2f6
kvm: i386: fix LAPIC TSC deadline timer save/restore

The configuration of the timer represented by MSR_IA32_TSCDEADLINE depends on:

- APIC LVT Timer register.
- TSC value.

Change the order to respect the dependency.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386/kvm.c