Skip to content
Commit 0624fca9 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

kvm/x86: return meaningful value from KVM_SIGNAL_MSI



If kvm_apic_map_get_dest_lapic() finds a disabled LAPIC,
it will return with bitmap==0 and (*r == -1) will be returned to
userspace.

QEMU may then record "KVM: injection failed, MSI lost
(Operation not permitted)" in its log, which is quite puzzling.

Reported-by: default avatarPeng Hao <penghao122@sina.com.cn>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 4fef0f49
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