qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Miroslav Rezanina <mrezanin@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v4] Man page: Add -global description
Date: Mon, 26 Mar 2012 15:07:49 -0500	[thread overview]
Message-ID: <4F70CC95.2010102@codemonkey.ws> (raw)
In-Reply-To: <20120321124654.GA1146@lws.brq.redhat.com>

On 03/21/2012 07:46 AM, Miroslav Rezanina wrote:
> There's only TODO information in qemu man page for -global option. This is a basic description of this option with simple example.
>
> Signed-off-by: Miroslav Rezanina<mrezanin@redhat.com>

Applied.  Thanks.

Regards,

Anthony Liguori

>
> v4:
>   - break long line
>
> v3:
>   - add use case description
>   - use prop instead of property
>
> v2:
>   - Use better value in example
> Patch:
> --
> diff --git a/qemu-options.hx b/qemu-options.hx
> index daefce3..662f571 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -288,13 +288,21 @@ TODO
>   ETEXI
>
>   DEF("global", HAS_ARG, QEMU_OPTION_global,
> -    "-global driver.property=value\n"
> +    "-global driver.prop=value\n"
>       "                set a global default for a driver property\n",
>       QEMU_ARCH_ALL)
>   STEXI
> -@item -global
> +@item -global @var{driver}.@var{prop}=@var{value}
>   @findex -global
> -TODO
> +Set default value of @var{driver}'s property @var{prop} to @var{value}, e.g.:
> +
> +@example
> +qemu -global ide-drive.physical_block_size=4096 -drive file=file,if=ide,index=0,media=disk
> +@end example
> +
> +In particular, you can use this to set driver properties for devices which are
> +created automatically by the machine model. To create a device which is not
> +created automatically and set properties on it, use -@option{device}.
>   ETEXI
>
>   DEF("mtdblock", HAS_ARG, QEMU_OPTION_mtdblock,
>
>

      parent reply	other threads:[~2012-03-26 20:07 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e75eb36d-b680-4cb5-bf90-f95c2273f47c@zmail17.collab.prod.int.phx2.redhat.com>
2012-03-13 18:09 ` [Qemu-devel] Man page: Add -global description Miroslav Rezanina
2012-03-14  7:42   ` Paolo Bonzini
2012-03-14  7:54     ` Miroslav Rezanina
2012-03-14  8:53   ` [Qemu-devel] [PATCH v2] " Miroslav Rezanina
2012-03-14 18:09     ` Markus Armbruster
2012-03-14 18:21     ` Peter Maydell
2012-03-14 19:23       ` Anthony Liguori
2012-03-15  7:50         ` Markus Armbruster
2012-03-16  9:24         ` Gerd Hoffmann
2012-03-19 17:13           ` Paolo Bonzini
2012-03-15  8:35       ` Miroslav Rezanina
2012-03-15 15:57     ` [Qemu-devel] [PATCH v3] " Miroslav Rezanina
2012-03-21 12:25       ` Markus Armbruster
2012-03-21 12:46       ` [Qemu-devel] [PATCH v4] " Miroslav Rezanina
2012-03-21 17:05         ` Markus Armbruster
2012-03-26 20:07         ` Anthony Liguori [this message]

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=4F70CC95.2010102@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=mrezanin@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).