summaryrefslogtreecommitdiffstats
path: root/target-mips
diff options
context:
space:
mode:
authorMarcel Apfelbaum2015-02-04 16:43:51 +0100
committerMichael S. Tsirkin2015-03-11 18:16:17 +0100
commitb16565b396dbbb4c99899dbea599b22f4e0658d6 (patch)
treeb56656a9f350799aae7ac0edf3f04fb88cfa8383 /target-mips
parentmachine: query kernel-irqchip property (diff)
downloadqemu-b16565b396dbbb4c99899dbea599b22f4e0658d6.tar.gz
qemu-b16565b396dbbb4c99899dbea599b22f4e0658d6.tar.xz
qemu-b16565b396dbbb4c99899dbea599b22f4e0658d6.zip
kvm: add machine state to kvm_arch_init
Needed to query machine's properties. Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-mips')
-rw-r--r--target-mips/kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/kvm.c b/target-mips/kvm.c
index b68191c88e..4d1f7ead81 100644
--- a/target-mips/kvm.c
+++ b/target-mips/kvm.c
@@ -40,7 +40,7 @@ unsigned long kvm_arch_vcpu_id(CPUState *cs)
return cs->cpu_index;
}
-int kvm_arch_init(KVMState *s)
+int kvm_arch_init(MachineState *ms, KVMState *s)
{
/* MIPS has 128 signals */
kvm_set_sigmask_len(s, 16);