Re: [GIT PULL] KVM: x86: Xen changes for 6.7

From: Paolo Bonzini
Date: Tue Oct 31 2023 - 10:23:13 EST


On Fri, Oct 27, 2023 at 10:49 PM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
>
> Read the tag, I couldn't figure out how to summarize this one without simply
> regurgitating the tag :-)
>
> The following changes since commit 5804c19b80bf625c6a9925317f845e497434d6d3:
>
> Merge tag 'kvm-riscv-fixes-6.6-1' of https://github.com/kvm-riscv/linux into HEAD (2023-09-23 05:35:55 -0400)
>
> are available in the Git repository at:
>
> https://github.com/kvm-x86/linux.git tags/kvm-x86-xen-6.7
>
> for you to fetch changes up to 409f2e92a27a210fc768c5569851b4a419e6a232:
>
> KVM: x86/xen: ignore the VCPU_SSHOTTMR_future flag (2023-10-04 15:22:58 -0700)

Pulled, thanks.

Paolo

>
> ----------------------------------------------------------------
> KVM x86 Xen changes for 6.7:
>
> - Omit "struct kvm_vcpu_xen" entirely when CONFIG_KVM_XEN=n.
>
> - Use the fast path directly from the timer callback when delivering Xen timer
> events. Avoid the problematic races with using the fast path by ensuring
> the hrtimer isn't running when (re)starting the timer or saving the timer
> information (for userspace).
>
> - Follow the lead of upstream Xen and ignore the VCPU_SSHOTTMR_future flag.
>
> ----------------------------------------------------------------
> David Woodhouse (1):
> KVM: x86/xen: Use fast path for Xen timer delivery
>
> Paul Durrant (1):
> KVM: x86/xen: ignore the VCPU_SSHOTTMR_future flag
>
> Peng Hao (1):
> KVM: X86: Reduce size of kvm_vcpu_arch structure when CONFIG_KVM_XEN=n
>
> arch/x86/include/asm/kvm_host.h | 5 +++-
> arch/x86/kvm/cpuid.c | 2 ++
> arch/x86/kvm/x86.c | 2 ++
> arch/x86/kvm/xen.c | 55 +++++++++++++++++++++++++++++++++++++----
> 4 files changed, 58 insertions(+), 6 deletions(-)
>