]> Git Repo - linux.git/commit
KVM: x86/xen: Add KVM_XEN_VCPU_ATTR_TYPE_VCPU_ID
authorDavid Woodhouse <[email protected]>
Thu, 3 Mar 2022 15:41:21 +0000 (15:41 +0000)
committerPaolo Bonzini <[email protected]>
Sat, 2 Apr 2022 09:41:15 +0000 (05:41 -0400)
commit942c2490c23f2800ad8143f5eb84a79b859aa743
treeca5d2624cf345ecf7b1cfff7d119b68528f2fc4b
parent0ec6c5c5bb6585320a2e51a316c2fd381fdec836
KVM: x86/xen: Add KVM_XEN_VCPU_ATTR_TYPE_VCPU_ID

In order to intercept hypercalls such as VCPUOP_set_singleshot_timer, we
need to be aware of the Xen CPU numbering.

This looks a lot like the Hyper-V handling of vpidx, for obvious reasons.

Signed-off-by: David Woodhouse <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-Id: <20220303154127[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c
arch/x86/kvm/xen.c
arch/x86/kvm/xen.h
include/uapi/linux/kvm.h
This page took 0.095875 seconds and 4 git commands to generate.