]> git.proxmox.com Git - mirror_qemu.git/blobdiff - memory.c
accel: Replace current_machine->accelerator by current_accel() wrapper
[mirror_qemu.git] / memory.c
index d7b9bb6951f4f8654209ac1bed4fb7cd3f344e91..854798791ebcdf9586ca59e8c03f16499fd8f680 100644 (file)
--- a/memory.c
+++ b/memory.c
@@ -3104,7 +3104,7 @@ void mtree_info(bool flatview, bool dispatch_tree, bool owner)
         };
         GArray *fv_address_spaces;
         GHashTable *views = g_hash_table_new(g_direct_hash, g_direct_equal);
-        AccelClass *ac = ACCEL_GET_CLASS(current_machine->accelerator);
+        AccelClass *ac = ACCEL_GET_CLASS(current_accel());
 
         if (ac->has_memory) {
             fvi.ac = ac;