]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge tag 'kvm-x86-generic-6.11' of https://github.com/kvm-x86/linux into HEAD
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Jul 2024 13:51:36 +0000 (09:51 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Jul 2024 13:51:36 +0000 (09:51 -0400)
commit86014c1e20fa1b5d5c6968f37fdd2f1b6c94d519
treeef455cd218aa2009e04dd5a73e7d55dfa8ac009e
parentf4501e8bc88db2548b37afe100506358f1bf7504
parent25bc6af60f6121071ab4aa924a24cf6011125614
Merge tag 'kvm-x86-generic-6.11' of https://github.com/kvm-x86/linux into HEAD

KVM generic changes for 6.11

 - Enable halt poll shrinking by default, as Intel found it to be a clear win.

 - Setup empty IRQ routing when creating a VM to avoid having to synchronize
   SRCU when creating a split IRQCHIP on x86.

 - Rework the sched_in/out() paths to replace kvm_arch_sched_in() with a flag
   that arch code can use for hooking both sched_in() and sched_out().

 - Take the vCPU @id as an "unsigned long" instead of "u32" to avoid
   truncating a bogus value from userspace, e.g. to help userspace detect bugs.

 - Mark a vCPU as preempted if and only if it's scheduled out while in the
   KVM_RUN loop, e.g. to avoid marking it preempted and thus writing guest
   memory when retrieving guest state during live migration blackout.

 - A few minor cleanups
16 files changed:
Documentation/virt/kvm/api.rst
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/arm.c
arch/loongarch/include/asm/kvm_host.h
arch/loongarch/kvm/vcpu.c
arch/riscv/kvm/vcpu.c
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/kvm-s390.c
arch/x86/include/asm/kvm-x86-ops.h
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm/svm.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h
include/uapi/linux/kvm.h
virt/kvm/kvm_main.c