diff options
author | Marcel Apfelbaum | 2015-02-04 16:43:51 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2015-03-11 18:16:17 +0100 |
commit | b16565b396dbbb4c99899dbea599b22f4e0658d6 (patch) | |
tree | b56656a9f350799aae7ac0edf3f04fb88cfa8383 /target-i386 | |
parent | machine: query kernel-irqchip property (diff) | |
download | qemu-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-i386')
-rw-r--r-- | target-i386/kvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 40d6a14c85..ce554e4665 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -840,7 +840,7 @@ static int kvm_get_supported_msrs(KVMState *s) return ret; } -int kvm_arch_init(KVMState *s) +int kvm_arch_init(MachineState *ms, KVMState *s) { uint64_t identity_base = 0xfffbc000; uint64_t shadow_mem; |