aboutsummaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcel@redhat.com>2015-02-04 17:43:51 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-03-11 18:16:17 +0100
commitb16565b396dbbb4c99899dbea599b22f4e0658d6 (patch)
treeb56656a9f350799aae7ac0edf3f04fb88cfa8383 /target-arm
parent446f16a6906e9d05aa9ce0dde727d4f731a89298 (diff)
downloadqemu-b16565b396dbbb4c99899dbea599b22f4e0658d6.zip
qemu-b16565b396dbbb4c99899dbea599b22f4e0658d6.tar.gz
qemu-b16565b396dbbb4c99899dbea599b22f4e0658d6.tar.bz2
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-arm')
-rw-r--r--target-arm/kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/kvm.c b/target-arm/kvm.c
index 23cefe9..72c1fa1 100644
--- a/target-arm/kvm.c
+++ b/target-arm/kvm.c
@@ -150,7 +150,7 @@ static const TypeInfo host_arm_cpu_type_info = {
.class_size = sizeof(ARMHostCPUClass),
};
-int kvm_arch_init(KVMState *s)
+int kvm_arch_init(MachineState *ms, KVMState *s)
{
/* For ARM interrupt delivery is always asynchronous,
* whether we are using an in-kernel VGIC or not.