summaryrefslogtreecommitdiffstats
path: root/qemu-io.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-01-07 16:55:24 +0300
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:30:23 -0600
commit41ca3c20ddc260c8e3227a6c440fe390f9116062 (patch)
tree38999e14b3ef8210c2d53379ef282b72f8966ff2 /qemu-io.c
parent30a9c0012e7b9f3924a12741c1af788f4a0778df (diff)
downloadhqemu-41ca3c20ddc260c8e3227a6c440fe390f9116062.zip
hqemu-41ca3c20ddc260c8e3227a6c440fe390f9116062.tar.gz
trace: split trace_init_file out of trace_init_backends
This is cleaner, and improves error reporting with -daemonize. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Message-id: 1452174932-28657-4-git-send-email-den@openvz.org Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-io.c')
-rw-r--r--qemu-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-io.c b/qemu-io.c
index 1c11d57..83c48f4 100644
--- a/qemu-io.c
+++ b/qemu-io.c
@@ -435,7 +435,7 @@ int main(int argc, char **argv)
}
break;
case 'T':
- if (!trace_init_backends(optarg)) {
+ if (!trace_init_backends()) {
exit(1); /* error message will have been printed */
}
break;
OpenPOWER on IntegriCloud