[PATCH v9 5/5] KVM: arm/arm64: add irqfd support
Paolo Bonzini
pbonzini at redhat.com
Thu Mar 5 03:27:42 PST 2015
On 05/03/2015 11:53, Marc Zyngier wrote:
> > +#ifdef CONFIG_HAVE_KVM_IRQFD
> > + case KVM_CAP_IRQFD:
> > + r = vgic_present;
> > + break;
> > +#endif
>
> Nitpick: we have "select HAVE_KVM_IRQFD", so we can lose the #ifdef-ery.
Alternatively, I've just posted a patch to move the KVM_CAP_IRQFD case
to common code.
vgic_present probably should be replaced by
IS_ENABLED(CONFIG_KVM_ARM_VGIC). I've sent a patch for this.
Paolo
More information about the linux-arm-kernel
mailing list