Skip to content
Commit b7e31be3 authored by Radim Krčmář's avatar Radim Krčmář
Browse files

KVM: x86: fix vcpu initialization with userspace lapic



Moving the code around broke this rare configuration.
Use this opportunity to finally call lapic reset from vcpu reset.

Reported-by: default avatar <syzbot+fb7a33a4b6c35007a72b@syzkaller.appspotmail.com>
Suggested-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Fixes: 0b2e9904 ("KVM: x86: move LAPIC initialization after VMCS creation")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
parent 518e7b94
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment