aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorXiaoyao Li <xiaoyao.li@intel.com>2019-12-28 18:43:26 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-07 12:08:39 +0100
commitd1972be13fd7125ca86a6aaf2690539cf9196ea1 (patch)
treec405927f8d6242173e45de6cfc75e5c5fe7f7d72 /include/hw
parent8f54bbd0b4d9218e7c56a3a9c572b70943579e22 (diff)
downloadqemu-d1972be13fd7125ca86a6aaf2690539cf9196ea1.zip
qemu-d1972be13fd7125ca86a6aaf2690539cf9196ea1.tar.gz
qemu-d1972be13fd7125ca86a6aaf2690539cf9196ea1.tar.bz2
accel/kvm: Make "kernel_irqchip" default on
Commit 11bc4a13d1f4 ("kvm: convert "-machine kernel_irqchip" to an accelerator property") moves kernel_irqchip property from "-machine" to "-accel kvm", but it forgets to set the default value of kernel_irqchip_allowed and kernel_irqchip_split. Also cleaning up the three useless members (kernel_irqchip_allowed, kernel_irqchip_required, kernel_irqchip_split) in struct MachineState. Fixes: 11bc4a13d1f4 ("kvm: convert "-machine kernel_irqchip" to an accelerator property") Reported-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Message-Id: <20191228104326.21732-1-xiaoyao.li@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/boards.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h
index 61f8bb8..fb1b43d 100644
--- a/include/hw/boards.h
+++ b/include/hw/boards.h
@@ -271,9 +271,6 @@ struct MachineState {
/*< public >*/
- bool kernel_irqchip_allowed;
- bool kernel_irqchip_required;
- bool kernel_irqchip_split;
char *dtb;
char *dumpdtb;
int phandle_start;