From 3329f07b7a8b919d4a5641611beb0671a2c381a2 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 20 Aug 2010 13:52:01 +0200 Subject: 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 Signed-off-by: Anthony Liguori --- hw/usb-net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/usb-net.c') diff --git a/hw/usb-net.c b/hw/usb-net.c index a43bd17..70f9263 100644 --- a/hw/usb-net.c +++ b/hw/usb-net.c @@ -1472,7 +1472,7 @@ static USBDevice *usb_net_init(const char *cmdline) QemuOpts *opts; int idx; - opts = qemu_opts_parse(&qemu_net_opts, cmdline, 0); + opts = qemu_opts_parse(qemu_find_opts("net"), cmdline, 0); if (!opts) { return NULL; } -- cgit v1.1