]> git.proxmox.com Git - mirror_qemu.git/blobdiff - numa.c
blockjob: avoid recursive AioContext locking
[mirror_qemu.git] / numa.c
diff --git a/numa.c b/numa.c
index 9f56be960fb381c4d35a29c7a2e193cbf7a6404c..e01cb547a21227421fdd02cd98d76b468c99de97 100644 (file)
--- a/numa.c
+++ b/numa.c
@@ -228,8 +228,8 @@ static int parse_numa(void *opaque, QemuOpts *opts, Error **errp)
     }
 
     switch (object->type) {
-    case NUMA_OPTIONS_KIND_NODE:
-        numa_node_parse(object->u.node.data, opts, &err);
+    case NUMA_OPTIONS_TYPE_NODE:
+        numa_node_parse(&object->u.node, opts, &err);
         if (err) {
             goto end;
         }