All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Vincenzo Maffione <v.maffione@gmail.com>
Cc: qemu-devel@nongnu.org, qemu-trivial@nongnu.org, pbonzini@redhat.com
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] qemu-options.hx: add missing id=chr0 chardev argument in vhost-user example
Date: Tue, 21 Feb 2017 10:07:13 +0100	[thread overview]
Message-ID: <87efyrnc8u.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <20170220164509.27868-1-v.maffione@gmail.com> (Vincenzo Maffione's message of "Mon, 20 Feb 2017 17:45:09 +0100")

Vincenzo Maffione <v.maffione@gmail.com> writes:

> In the vhost-user example, a chardev with id chr0 is referenced by the
> vhost-user net backend, but the id is not specified in the chardev option.
>
> Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com>
> ---
>  qemu-options.hx | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 5633d3914f..ed22fc479a 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -2127,7 +2127,7 @@ Example:
>  @example
>  qemu -m 512 -object memory-backend-file,id=mem,size=512M,mem-path=/hugetlbfs,share=on \
>       -numa node,memdev=mem \
> -     -chardev socket,path=/path/to/socket \
> +     -chardev socket,id=chr0,path=/path/to/socket \
>       -netdev type=vhost-user,id=net0,chardev=chr0 \
>       -device virtio-net-pci,netdev=net0
>  @end example

Reviewed-by: Markus Armbruster <armbru@redhat.com>

Aside: a test that extracts its test cases out of qemu-options.hx and
verifies they at least don't make startup fail would be nice.  Bit-sized
task only if you have a really big jaw, I'm afraid.


WARNING: multiple messages have this Message-ID (diff)
From: Markus Armbruster <armbru@redhat.com>
To: Vincenzo Maffione <v.maffione@gmail.com>
Cc: qemu-devel@nongnu.org, qemu-trivial@nongnu.org, pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH] qemu-options.hx: add missing id=chr0 chardev argument in vhost-user example
Date: Tue, 21 Feb 2017 10:07:13 +0100	[thread overview]
Message-ID: <87efyrnc8u.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <20170220164509.27868-1-v.maffione@gmail.com> (Vincenzo Maffione's message of "Mon, 20 Feb 2017 17:45:09 +0100")

Vincenzo Maffione <v.maffione@gmail.com> writes:

> In the vhost-user example, a chardev with id chr0 is referenced by the
> vhost-user net backend, but the id is not specified in the chardev option.
>
> Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com>
> ---
>  qemu-options.hx | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 5633d3914f..ed22fc479a 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -2127,7 +2127,7 @@ Example:
>  @example
>  qemu -m 512 -object memory-backend-file,id=mem,size=512M,mem-path=/hugetlbfs,share=on \
>       -numa node,memdev=mem \
> -     -chardev socket,path=/path/to/socket \
> +     -chardev socket,id=chr0,path=/path/to/socket \
>       -netdev type=vhost-user,id=net0,chardev=chr0 \
>       -device virtio-net-pci,netdev=net0
>  @end example

Reviewed-by: Markus Armbruster <armbru@redhat.com>

Aside: a test that extracts its test cases out of qemu-options.hx and
verifies they at least don't make startup fail would be nice.  Bit-sized
task only if you have a really big jaw, I'm afraid.

  reply	other threads:[~2017-02-21  9:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-20 16:45 [Qemu-trivial] [PATCH] qemu-options.hx: add missing id=chr0 chardev argument in vhost-user example Vincenzo Maffione
2017-02-20 16:45 ` [Qemu-devel] " Vincenzo Maffione
2017-02-21  9:07 ` Markus Armbruster [this message]
2017-02-21  9:07   ` Markus Armbruster
2017-02-21 10:06 ` [Qemu-trivial] " Michael Tokarev
2017-02-21 10:06   ` [Qemu-devel] " Michael Tokarev

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=87efyrnc8u.fsf@dusky.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=v.maffione@gmail.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.