diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2018-10-01 16:07:18 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-10-17 00:29:43 +0200 |
| commit | 0624fca9512d08cbd9b5d098d904c840d3432404 (patch) | |
| tree | 092315d8e862efd777f189040e9dec59d5d6a4b3 /arch/x86/kvm/hyperv.c | |
| parent | 4fef0f491347785dfd4cca206b80f75c4ec2dc9f (diff) | |
| download | linux-0624fca9512d08cbd9b5d098d904c840d3432404.tar.gz linux-0624fca9512d08cbd9b5d098d904c840d3432404.tar.bz2 linux-0624fca9512d08cbd9b5d098d904c840d3432404.zip | |
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>
Diffstat (limited to 'arch/x86/kvm/hyperv.c')
0 files changed, 0 insertions, 0 deletions
