diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2015-06-05 20:57:41 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2015-06-16 01:01:10 -0300 |
commit | b6ac069532218027f2991cba01d7a72a200688b0 (patch) | |
tree | 20fe5cec8209421ed53c1e74b905e94e1057c6b9 /Documentation/x86 | |
parent | d4a4f75cd8f29cd9464a5a32e9224a91571d6649 (diff) | |
download | lwn-b6ac069532218027f2991cba01d7a72a200688b0.tar.gz lwn-b6ac069532218027f2991cba01d7a72a200688b0.zip |
KVM: x86: fix lapic.timer_mode on restore
lapic.timer_mode was not properly initialized after migration, which
broke few useful things, like login, by making every sleep eternal.
Fix this by calling apic_update_lvtt in kvm_apic_post_state_restore.
There are other slowpaths that update lvtt, so this patch makes sure
something similar doesn't happen again by calling apic_update_lvtt
after every modification.
Cc: stable@vger.kernel.org
Fixes: f30ebc312ca9 ("KVM: x86: optimize some accesses to LVTT and SPIV")
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'Documentation/x86')
0 files changed, 0 insertions, 0 deletions