diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-01-07 16:55:24 +0300 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:30:23 -0600 |
commit | 41ca3c20ddc260c8e3227a6c440fe390f9116062 (patch) | |
tree | 38999e14b3ef8210c2d53379ef282b72f8966ff2 /qemu-io.c | |
parent | 30a9c0012e7b9f3924a12741c1af788f4a0778df (diff) | |
download | hqemu-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |