Skip to content

KVM: x86: Spring cleaning, part 2

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Applied to kvm-x86 misc, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9KVM: x86: Move the "APIC attention" macros from kvm_host.h => lapic.carch/x86/include/asm/kvm_host.h arch/x86/kvm/lapic.c+10 -102 replies
2/9KVM: x86/mmu: Annotate tdp_enabled as being read-mostlyarch/x86/kvm/mmu.h arch/x86/kvm/mmu/mmu.c+4 -41 reply
3/9KVM: x86: Pluralize the macro guard name for msrs.harch/x86/kvm/msrs.h+2 -21 reply
4/9KVM: x86: Move CR and DR macro definitions from kvm_host.h => regs.harch/x86/include/asm/kvm_host.h arch/x86/kvm/regs.h+38 -401 reply
5/9KVM: x86: Move KVM_GUESTDBG_VALID_MASK from kvm_host.h => x86.carch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+9 -91 reply
6/9KVM: x86: Add static asserts to document connection b/w TSS structs and macrosarch/x86/kvm/tss.h+7 -01 reply
7/9KVM: x86: Move KVM's arbitrary task switch reason enums to x86.harch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.h+6 -71 reply
8/9KVM: x86: Move "struct kvm_apic_map" definition from kvm_host.h => lapic.harch/x86/include/asm/kvm_host.h arch/x86/kvm/lapic.h+35 -331 reply
9/9KVM: x86: Move "struct kvm_vcpu_hv" and all children from kvm_host.h => hyperv.harch/x86/include/asm/kvm_host.h arch/x86/kvm/hyperv.h+92 -891 reply

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchKai Huang
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] KVM: x86: Spring cleaning, part 2

A few more cleanups that I wasn't able to get out in time to catch kvm/next (almost all of these are the result of code review feedback). The main theme is again trimming down x86's kvm_host.h.

Sean Christopherson (9):
KVM: x86: Move the "APIC attention" macros from kvm_host.h => lapic.c
KVM: x86/mmu: Annotate tdp_enabled as being read-mostly
KVM: x86: Pluralize the macro guard name for msrs.h
KVM: x86: Move CR and DR macro definitions from kvm_host.h => regs.h
KVM: x86: Move KVM_GUESTDBG_VALID_MASK from kvm_host.h => x86.c
KVM: x86: Add static asserts to document connection b/w TSS structs
and macros
KVM: x86: Move KVM's arbitrary task switch reason enums to x86.h
KVM: x86: Move "struct kvm_apic_map" definition from kvm_host.h =>
lapic.h
KVM: x86: Move "struct kvm_vcpu_hv" and all children from kvm_host.h

    => hyperv.h
 arch/x86/include/asm/kvm_host.h | 192 +-------------------------------
 arch/x86/kvm/hyperv.h           |  90 +++++++++++++++
 arch/x86/kvm/lapic.c            |  10 ++
 arch/x86/kvm/lapic.h            |  33 ++++++
 arch/x86/kvm/mmu.h              |   6 +-
 arch/x86/kvm/mmu/mmu.c          |   2 +-
 arch/x86/kvm/msrs.h             |   4 +-
 arch/x86/kvm/regs.h             |  38 +++++++
 arch/x86/kvm/tss.h              |   7 ++
 arch/x86/kvm/x86.c              |   9 ++
 arch/x86/kvm/x86.h              |   6 +
 11 files changed, 203 insertions(+), 194 deletions(-)

base-commit: a204badd8432f93b7e862e7dac6db0fe3d65f370

Signature · 1 line
2.55.0.rc0.799.gd6f94ed593-goog