qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Don Slutz <dslutz@verizon.com>
To: arei.gonglei@huawei.com, qemu-devel@nongnu.org
Cc: kraxel@redhat.com, dslutz@verizon.com, peter.huangpeng@huawei.com
Subject: Re: [Qemu-devel] [PATCH v2 1/3] vnc: fix qemu crash when not configure vnc option
Date: Fri, 30 Jan 2015 08:18:44 -0500	[thread overview]
Message-ID: <54CB84B4.7030008@terremark.com> (raw)
In-Reply-To: <1422584076-5728-2-git-send-email-arei.gonglei@huawei.com>

On 01/29/15 21:14, arei.gonglei@huawei.com wrote:
> From: Gonglei <arei.gonglei@huawei.com>
> 
> Add missing vnc options: to, ipv4, ipv6 and fix
> qemu crash.
> 
> Reproducer:
> $ x86_64-softmmu/qemu-system-x86_64
> qemu-system-x86_64: Invalid parameter 'to'
> Segmentation fault (core dumped)
> 
> BTW the patch fix the below bug:
> https://bugs.launchpad.net/qemu/+bug/1414222
> 
> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
> ---

Looks good,

Reviewed-by: Don Slutz <dslutz@verizon.com>

   -Don Slutz

>  ui/vnc.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/ui/vnc.c b/ui/vnc.c
> index a742c90..08b8b24 100644
> --- a/ui/vnc.c
> +++ b/ui/vnc.c
> @@ -3276,6 +3276,15 @@ static QemuOptsList qemu_vnc_opts = {
>              .name = "connections",
>              .type = QEMU_OPT_NUMBER,
>          },{
> +            .name = "to",
> +            .type = QEMU_OPT_NUMBER,
> +        },{
> +            .name = "ipv4",
> +            .type = QEMU_OPT_BOOL,
> +        },{
> +            .name = "ipv6",
> +            .type = QEMU_OPT_BOOL,
> +        },{
>              .name = "password",
>              .type = QEMU_OPT_BOOL,
>          },{
> 

  reply	other threads:[~2015-01-30 13:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-30  2:14 [Qemu-devel] [PATCH v2 0/3] fix qemu crash about vnc arei.gonglei
2015-01-30  2:14 ` [Qemu-devel] [PATCH v2 1/3] vnc: fix qemu crash when not configure vnc option arei.gonglei
2015-01-30 13:18   ` Don Slutz [this message]
2015-01-30  2:14 ` [Qemu-devel] [PATCH v2 2/3] vnc: correct missing property about vnc_display arei.gonglei
2015-01-30  2:14 ` [Qemu-devel] [PATCH v2 3/3] vnc: using bool type instead of int for QEMU_OPT_BOOL arei.gonglei
2015-02-05 10:19 ` [Qemu-devel] [PATCH v2 0/3] fix qemu crash about vnc Stefano Stabellini
2015-02-05 12:35   ` Gonglei
2015-02-09  8:33     ` Gerd Hoffmann
2015-02-09  8:47       ` Gonglei
2015-02-10 10:14 ` Gerd Hoffmann

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=54CB84B4.7030008@terremark.com \
    --to=dslutz@verizon.com \
    --cc=arei.gonglei@huawei.com \
    --cc=kraxel@redhat.com \
    --cc=peter.huangpeng@huawei.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).