commit | 0624fca9512d08cbd9b5d098d904c840d3432404 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Oct 01 16:07:18 2018 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Oct 17 00:29:43 2018 +0200 |
tree | 092315d8e862efd777f189040e9dec59d5d6a4b3 | |
parent | 4fef0f491347785dfd4cca206b80f75c4ec2dc9f [diff] |
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: Peng Hao <penghao122@sina.com.cn> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>