[PATCH v3 0/5] KVM: X86: Cleanups on dest_mode and headers

Peter Xu
2019-12-02T20:13:21Z

v3:
- address all the comments from both Vitaly and Sean
- since at it, added patches:
"KVM: X86: Fix kvm_bitmap_or_dest_vcpus() to use irq shorthand"
"KVM: X86: Drop KVM_APIC_SHORT_MASK and KVM_APIC_DEST_MASK"

Each patch explains itself.

Please have a look, thanks.

Peter Xu (5):
KVM: X86: Fix kvm_bitmap_or_dest_vcpus() to use irq shorthand
KVM: X86: Move irrelevant declarations out of ioapic.h
KVM: X86: Use APIC_DEST_* macros properly in kvm_lapic_irq.dest_mode
KVM: X86: Drop KVM_APIC_SHORT_MASK and KVM_APIC_DEST_MASK
KVM: X86: Fix callers of kvm_apic_match_dest() to use correct macros

arch/x86/include/asm/kvm_host.h | 5 +++++
arch/x86/kvm/hyperv.c | 1 +
arch/x86/kvm/ioapic.c | 19 ++++++++++++-------
arch/x86/kvm/ioapic.h | 6 ------
arch/x86/kvm/irq.h | 3 +++
arch/x86/kvm/irq_comm.c | 10 ++++++----
arch/x86/kvm/lapic.c | 5 +----
arch/x86/kvm/lapic.h | 7 ++++---
arch/x86/kvm/svm.c | 4 ++--
arch/x86/kvm/x86.c | 2 +-
10 files changed, 35 insertions(+), 27 deletions(-)

--
2.21.0