From: Eric Blake <eblake@redhat.com>
To: "Denis V. Lunev" <den@openvz.org>, qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Stefan Hajnoczi <stefanha@redhat.com>,
Kevin Wolf <kwolf@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 4/4] trace: enable trace events in qemu-img
Date: Tue, 31 May 2016 06:50:04 -0600 [thread overview]
Message-ID: <574D887C.7010806@redhat.com> (raw)
In-Reply-To: <1464689222-1513-1-git-send-email-den@openvz.org>
[-- Attachment #1: Type: text/plain, Size: 1731 bytes --]
On 05/31/2016 04:07 AM, Denis V. Lunev wrote:
> The command will work this way:
> qemu-img create --trace qcow2* -f qcow2 1.img 64G
>
> Signed-off-by: Denis V. Lunev <den@openvz.org>
> Suggested by: Daniel P. Berrange <berrange@redhat.com>
> CC: Eric Blake <eblake@redhat.com>
> CC: Paolo Bonzini <pbonzini@redhat.com>
> CC: Stefan Hajnoczi <stefanha@redhat.com>
> CC: Kevin Wolf <kwolf@redhat.com>
> ---
> qemu-img.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 96 insertions(+), 1 deletion(-)
Missing man page additions.
> @@ -155,7 +157,12 @@ static void QEMU_NORETURN help(void)
> "Parameters to compare subcommand:\n"
> " '-f' first image format\n"
> " '-F' second image format\n"
> - " '-s' run in Strict mode - fail on different image size or sector allocation\n";
> + " '-s' run in Strict mode - fail on different image size or sector allocation\n"
> + "\n"
> + "General purpose options:\n"
> + " -R, --trace [[enable=]<pattern>][,events=<file>][,file=<file>]\n"
> + " specify tracing options\n"
> + " see qemu(1) man page for full description\n";
Why -R? Because -T is already in use by rebase and compare? I'd almost
rather have _just_ --trace with no short option, than to pick yet
another letter, but you might want to wait for other opinions first.
I'd list general parameters before sub-command parameters. I'd also
update the synopsis:
qemu-img [general options] command [command options]
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2016-05-31 12:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-31 10:07 [Qemu-devel] [PATCH 4/4] trace: enable trace events in qemu-img Denis V. Lunev
2016-05-31 12:50 ` Eric Blake [this message]
2016-05-31 12:55 ` Denis V. Lunev
2016-05-31 13:23 ` Daniel P. Berrange
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=574D887C.7010806@redhat.com \
--to=eblake@redhat.com \
--cc=den@openvz.org \
--cc=kwolf@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.