On 16/12/2016 16:10, Radim Krčmář wrote: > + bool ret = irqchip_kernel(kvm) || irqchip_split(kvm); bool ret = (kvm->arch.irqchip_mode != KVM_IRQCHIP_NONE); :) Paolo > > - ret = (vpic != NULL); > - ret |= irqchip_split(kvm); > - > - /* Read vpic before kvm->irq_routing. */ > + /* Matches with wmb after initializing kvm->irq_routing. */ > smp_rmb(); -- 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