On Mon, Oct 04, 2010 at 05:56:29PM +0200, Gleb Natapov wrote: > Enable async PF in a guest if async PF capability is discovered. > > Signed-off-by: Gleb Natapov <gleb@xxxxxxxxxx> > --- > Documentation/kernel-parameters.txt | 3 + > arch/x86/include/asm/kvm_para.h | 5 ++ > arch/x86/kernel/kvm.c | 92 +++++++++++++++++++++++++++++++++++ > 3 files changed, 100 insertions(+), 0 deletions(-) > > +static int __cpuinit kvm_cpu_notify(struct notifier_block *self, > + unsigned long action, void *hcpu) > +{ > + int cpu = (unsigned long)hcpu; > + switch (action) { > + case CPU_ONLINE: > + case CPU_DOWN_FAILED: > + case CPU_ONLINE_FROZEN: > + smp_call_function_single(cpu, kvm_guest_cpu_notify, NULL, 0); wait parameter should probably be 1. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html