diff options
author | Srivatsa Vaddagiri <[email protected]> | 2013-08-06 14:55:41 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-08-14 13:12:35 +0200 |
commit | 92b75202e5e8790905f9441ccaea2456cc4621a5 (patch) | |
tree | c683864840122de1b5490a70bcffd29bfd6af683 /lib/memory-notifier-error-inject.c | |
parent | 1e20eb8557cdabf76473b09572be8aa8a2bb9bc0 (diff) |
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 <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Suzuki Poulose <[email protected]>
[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 <[email protected]>
Acked-by: Gleb Natapov <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions