Re: [ 045/180] KVM: Ensure all vcpus are consistent with in-kernelirqchip settings

From: Ben Hutchings
Date: Thu Oct 04 2012 - 13:35:10 EST


On Tue, Oct 02, 2012 at 12:52:42AM +0200, Willy Tarreau wrote:
> 2.6.32-longterm review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Avi Kivity <avi@xxxxxxxxxx>
>
> commit 3e515705a1f46beb1c942bb8043c16f8ac7b1e9e upstream
[...]
> --- a/arch/ia64/kvm/kvm-ia64.c
> +++ b/arch/ia64/kvm/kvm-ia64.c
> @@ -1185,6 +1185,11 @@ out:
>
> #define PALE_RESET_ENTRY 0x80000000ffffffb0UL
>
> +bool kvm_vcpu_compatible(struct kvm_vcpu *vcpu)
> +{
> + return irqchip_in_kernel(vcpu->kcm) == (vcpu->arch.apic != NULL);
> +}
> +
[...]

Fails to build; fixed by commit 8281715b4109b5ee26032ff7b77c0d575c4150f7.

Ben.

--
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus
--
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/