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 --- target-i386/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-i386') diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c index dade145807..04ba8d5152 100644 --- a/target-i386/cpuid.c +++ b/target-i386/cpuid.c @@ -965,7 +965,7 @@ void x86_cpudef_setup(void) x86_defs = &builtin_x86_defs[i]; } #if !defined(CONFIG_USER_ONLY) - qemu_opts_foreach(&qemu_cpudef_opts, cpudef_register, NULL, 0); + qemu_opts_foreach(qemu_find_opts("cpudef"), cpudef_register, NULL, 0); #endif } -- cgit v1.2.3