mirror of https://gitee.com/openkylin/qemu.git
kvm: Enable in-kernel irqchip support by default
As MSI is now fully supported by KVM (/wrt available features in upstream), we can finally enable the in-kernel irqchip by default. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
4a3adebb18
commit
a24b9106fa
|
@ -1099,7 +1099,7 @@ static int kvm_irqchip_create(KVMState *s)
|
||||||
|
|
||||||
if (QTAILQ_EMPTY(&list->head) ||
|
if (QTAILQ_EMPTY(&list->head) ||
|
||||||
!qemu_opt_get_bool(QTAILQ_FIRST(&list->head),
|
!qemu_opt_get_bool(QTAILQ_FIRST(&list->head),
|
||||||
"kernel_irqchip", false) ||
|
"kernel_irqchip", true) ||
|
||||||
!kvm_check_extension(s, KVM_CAP_IRQCHIP)) {
|
!kvm_check_extension(s, KVM_CAP_IRQCHIP)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue