]> Git Repo - linux.git/commit
KVM: x86: Update APICv on APIC reset
authorJan H. Schönherr <[email protected]>
Wed, 25 Oct 2017 14:43:27 +0000 (16:43 +0200)
committerPaolo Bonzini <[email protected]>
Thu, 2 Nov 2017 17:28:13 +0000 (18:28 +0100)
commit4191db26b714e077e6faddd82d575ae4a8ae7d63
tree1c52d376e8fa871dd37d24a4264c9e68ae382c44
parenta4888486c5d755118a3c8a30416d7e0febdfb298
KVM: x86: Update APICv on APIC reset

In kvm_apic_set_state() we update the hardware virtualized APIC after
the full APIC state has been overwritten. Do the same, when the full
APIC state has been reset in kvm_lapic_reset().

This updates some hardware state that was previously forgotten, as
far as I can tell. Also, this allows removing some APIC-related reset
code from vmx_vcpu_reset().

Signed-off-by: Jan H. Schönherr <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/kvm/lapic.c
arch/x86/kvm/vmx.c
This page took 0.071436 seconds and 4 git commands to generate.