diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-08-20 13:52:01 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-08-22 17:11:06 -0500 |
commit | 3329f07b7a8b919d4a5641611beb0671a2c381a2 (patch) | |
tree | ded5ec633b46ede61c76e65b8e2c28e633388edd /hw/pci-hotplug.c | |
parent | dfe795e71fcbf4f766353f2e76fe227b342fc605 (diff) | |
download | qemu-3329f07b7a8b919d4a5641611beb0671a2c381a2.zip qemu-3329f07b7a8b919d4a5641611beb0671a2c381a2.tar.gz qemu-3329f07b7a8b919d4a5641611beb0671a2c381a2.tar.bz2 |
QemuOpts: make most qemu_*_opts static
Switch tree to lookup-by-name using qemu_find_opts().
Also hook up virtfs options so qemu_find_opts works for them too.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci-hotplug.c')
-rw-r--r-- | hw/pci-hotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c index c38f47f..6a5e3b8 100644 --- a/hw/pci-hotplug.c +++ b/hw/pci-hotplug.c @@ -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; } |