diff options
author | Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> | 2013-08-06 14:55:41 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-08-14 13:12:35 +0200 |
commit | 92b75202e5e8790905f9441ccaea2456cc4621a5 (patch) | |
tree | c683864840122de1b5490a70bcffd29bfd6af683 /arch/x86/xen | |
parent | 1e20eb8557cdabf76473b09572be8aa8a2bb9bc0 (diff) | |
download | linux-92b75202e5e8790905f9441ccaea2456cc4621a5.tar.bz2 |
kvm: Paravirtual ticketlocks support for linux guests running on KVM hypervisor
During smp_boot_cpus paravirtualied KVM guest detects if the hypervisor has
required feature (KVM_FEATURE_PV_UNHALT) to support pv-ticketlocks. If so,
support for pv-ticketlocks is registered via pv_lock_ops.
Use KVM_HC_KICK_CPU hypercall to wakeup waiting/halted vcpu.
Signed-off-by: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20130810193849.GA25260@linux.vnet.ibm.com
Signed-off-by: Suzuki Poulose <suzuki@in.ibm.com>
[Raghu: check_zero race fix, enum for kvm_contention_stat, jumplabel related changes,
addition of safe_halt for irq enabled case, bailout spinning in nmi case(Gleb)]
Signed-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Acked-by: Gleb Natapov <gleb@redhat.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/xen')
0 files changed, 0 insertions, 0 deletions