aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-11-13 10:56:53 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-12-17 19:32:46 +0100
commit11bc4a13d1f4b07dafbd1dda4d4bf0fdd7ad65f2 (patch)
treeb95f12b235e15e62380e5b8d50bfc33c06b4a85e /vl.c
parent4376c40dedb22530738eeb104a603e94ed03f719 (diff)
downloadqemu-11bc4a13d1f4b07dafbd1dda4d4bf0fdd7ad65f2.zip
qemu-11bc4a13d1f4b07dafbd1dda4d4bf0fdd7ad65f2.tar.gz
qemu-11bc4a13d1f4b07dafbd1dda4d4bf0fdd7ad65f2.tar.bz2
kvm: convert "-machine kernel_irqchip" to an accelerator property
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 8c6fcda..4034c23 100644
--- a/vl.c
+++ b/vl.c
@@ -2514,7 +2514,8 @@ static int machine_set_property(void *opaque,
object_register_sugar_prop(ACCEL_CLASS_NAME("xen"), qom_name, value);
return 0;
}
- if (g_str_equal(qom_name, "kvm-shadow-mem")) {
+ if (g_str_equal(qom_name, "kvm-shadow-mem") ||
+ g_str_equal(qom_name, "kernel-irqchip")) {
object_register_sugar_prop(ACCEL_CLASS_NAME("kvm"), qom_name, value);
return 0;
}