]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
trace: move qemu_trace_opts to trace/control.c
authorDenis V. Lunev <den@openvz.org>
Fri, 17 Jun 2016 14:44:10 +0000 (17:44 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 28 Jun 2016 20:14:12 +0000 (21:14 +0100)
commite9e0bb2af2248eabafb54402e3127f9f8a8690f5
treec3d12e495c54d54b3006eff6435c031933114216
parenteeb2b8f78d614e0245c978d0da8beaba49a89f2e
trace: move qemu_trace_opts to trace/control.c

The patch also creates trace_opt_parse() helper in trace/control.c to reuse
this code in next patches for qemu-nbd and qemu-io.

The patch also makes trace_init_events() static, as this call is not used
outside the module anymore.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1466174654-30130-4-git-send-email-den@openvz.org
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Stefan Hajnoczi <stefanha@redhat.com>
CC: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
trace/control.c
trace/control.h
vl.c