diff options
author | Marcel Apfelbaum <marcel@redhat.com> | 2015-02-04 17:43:51 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-03-11 18:16:17 +0100 |
commit | b16565b396dbbb4c99899dbea599b22f4e0658d6 (patch) | |
tree | b56656a9f350799aae7ac0edf3f04fb88cfa8383 /kvm-all.c | |
parent | 446f16a6906e9d05aa9ce0dde727d4f731a89298 (diff) |
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 'kvm-all.c')
-rw-r--r-- | kvm-all.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1598,7 +1598,7 @@ static int kvm_init(MachineState *ms) kvm_resamplefds_allowed = (kvm_check_extension(s, KVM_CAP_IRQFD_RESAMPLE) > 0); - ret = kvm_arch_init(s); + ret = kvm_arch_init(ms, s); if (ret < 0) { goto err; } |