• Paolo Bonzini's avatar
    Merge tag 'kvm-x86-generic-6.11' of https://github.com/kvm-x86/linux into HEAD · 86014c1e
    Paolo Bonzini authored
    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
    86014c1e
kvm_host.h 45.1 KB