On 19/11/19 12:56, Thomas Huth wrote: >> - if (machine_kernel_irqchip_split(machine)) { >> + if (kvm_enabled() && kvm_kernel_irqchip_split()) { >> error_setg(errp, "kernel_irqchip split mode not supported on >> pseries"); >> return; >> } > Any reason for the additional kvm_enabled() here? I think it should also > be ok without that? > > Apart from that question, patch looks fine to me.
It won't compile without that, kvm_kernel_irqchip_split() is defined in accel/kvm/kvm-all.c. Paolo