diff options
author | Lluís <xscript@gmx.net> | 2011-08-31 20:31:03 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-09-01 10:34:53 +0100 |
commit | e4858974ec36afd8a6b3a9e2b0ad8f357f28efc7 (patch) | |
tree | ceb7f2b2cdff3c511e1807e65eb862b82cfac16c /qemu-config.c | |
parent | edb47ec498a5c00607e8d428668d5141822a9eac (diff) |
trace: avoid conditional code compilation during option parsing
A default implementation for backend-specific routines is provided in
"trace/default.c", which backends can override by setting "trace_default=no" in
"configure".
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Diffstat (limited to 'qemu-config.c')
-rw-r--r-- | qemu-config.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/qemu-config.c b/qemu-config.c index b64edc9730..4f3465d384 100644 --- a/qemu-config.c +++ b/qemu-config.c @@ -303,7 +303,6 @@ static QemuOptsList qemu_mon_opts = { }, }; -#ifdef CONFIG_TRACE_SIMPLE static QemuOptsList qemu_trace_opts = { .name = "trace", .implied_opt_name = "trace", @@ -316,7 +315,6 @@ static QemuOptsList qemu_trace_opts = { { /* end of list */ } }, }; -#endif static QemuOptsList qemu_cpudef_opts = { .name = "cpudef", @@ -517,9 +515,7 @@ static QemuOptsList *vm_config_groups[32] = { &qemu_global_opts, &qemu_mon_opts, &qemu_cpudef_opts, -#ifdef CONFIG_TRACE_SIMPLE &qemu_trace_opts, -#endif &qemu_option_rom_opts, &qemu_machine_opts, &qemu_boot_opts, |