diff options
author | Sean Christopherson <seanjc@google.com> | 2022-12-19 23:04:16 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-23 18:16:09 +0100 |
commit | 53800f88d414525d3fdc5c84629faa0b6bc35b3b (patch) | |
tree | 2bff3028ec0302026c5b9c81c661eb0e1a0f4872 /arch/x86/kvm/i8259.c | |
parent | KVM: x86: Sanity check inputs to kvm_handle_memory_failure() (diff) | |
download | linux-53800f88d414525d3fdc5c84629faa0b6bc35b3b.tar.xz linux-53800f88d414525d3fdc5c84629faa0b6bc35b3b.zip |
KVM: selftests: Zero out valid_bank_mask for "all" case in Hyper-V IPI test
Zero out the valid_bank_mask when using the fast variant of
HVCALL_SEND_IPI_EX to send IPIs to all vCPUs. KVM requires the "var_cnt"
and "valid_bank_mask" inputs to be consistent even when targeting all
vCPUs. See commit bd1ba5732bb9 ("KVM: x86: Get the number of Hyper-V
sparse banks from the VARHEAD field").
Fixes: 998489245d84 ("KVM: selftests: Hyper-V PV IPI selftest")
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221219220416.395329-1-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/i8259.c')
0 files changed, 0 insertions, 0 deletions