From 06a1e0c197ec631a2a3e47a803c52609a8405f69 Mon Sep 17 00:00:00 2001 From: "Denis V. Lunev" Date: Fri, 17 Jun 2016 17:44:14 +0300 Subject: trace: enable tracing in qemu-img The command will work this way: qemu-img --trace "qcow2*" create -f qcow2 1.img 64G [Quote "qcow2*" to protect against shell globbing as suggested by Eric Blake . --Stefan] Signed-off-by: Denis V. Lunev Reviewed-by: Eric Blake Reviewed-by: Stefan Hajnoczi Message-id: 1466174654-30130-8-git-send-email-den@openvz.org Suggested by: Daniel P. Berrange Reviewed-by: Eric Blake Reviewed-by: Stefan Hajnoczi CC: Paolo Bonzini CC: Kevin Wolf Signed-off-by: Stefan Hajnoczi --- qemu-img.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qemu-img.texi') diff --git a/qemu-img.texi b/qemu-img.texi index f1b874d804..449a19c710 100644 --- a/qemu-img.texi +++ b/qemu-img.texi @@ -22,6 +22,9 @@ Standard options: Display this help and exit @item -V, --version Display version information and exit +@item -T, --trace [[enable=]@var{pattern}][,events=@var{file}][,file=@var{file}] +@findex --trace +@include qemu-option-trace.texi @end table The following commands are supported: -- cgit v1.2.3