]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/pci-hotplug.c
QemuOpts: make most qemu_*_opts static
[mirror_qemu.git] / hw / pci-hotplug.c
index c38f47fbf1db2bc896dfa8b1da0dac49fa8a998e..6a5e3b883b5229d24430900ea33e53a982da5f24 100644 (file)
@@ -51,7 +51,7 @@ static PCIDevice *qemu_pci_hot_add_nic(Monitor *mon,
         return NULL;
     }
 
-    opts = qemu_opts_parse(&qemu_net_opts, opts_str ? opts_str : "", 0);
+    opts = qemu_opts_parse(qemu_find_opts("net"), opts_str ? opts_str : "", 0);
     if (!opts) {
         return NULL;
     }