Re: [PATCH 4/5 V5] Add generic stubs for kvm stop check functions

From: Avi Kivity
Date: Wed Dec 07 2011 - 09:36:41 EST


On 12/05/2011 10:19 PM, Eric B Munson wrote:
>
> diff --git a/include/asm-generic/kvm_para.h b/include/asm-generic/kvm_para.h
> new file mode 100644
> index 0000000..177e1eb
> --- /dev/null
> +++ b/include/asm-generic/kvm_para.h
> @@ -0,0 +1,14 @@
> +#ifndef _ASM_GENERIC_KVM_PARA_H
> +#define _ASM_GENERIC_KVM_PARA_H
> +
> +
> +/*
> + * This function is used by architectures that support kvm to avoid issuing
> + * false soft lockup messages.
> + */
> +static inline bool kvm_check_and_clear_guest_paused(int cpu)
> +{
> + return false;
> +}
> +
> +#endif

Please fold into patch 2.

What about arch/{ia64,s390,powerpc}/include/asm/kvm_para.h?

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/