qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Amos Kong <akong@redhat.com>
Cc: djasa@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] spice: return unspecified address according to protocol
Date: Mon, 12 May 2014 11:34:18 +0200	[thread overview]
Message-ID: <1399887258.12413.6.camel@nilsson.home.kraxel.org> (raw)
In-Reply-To: <1399653553-5978-1-git-send-email-akong@redhat.com>

  Hi,

>      info->has_host = true;
> -    info->host = g_strdup(addr ? addr : "*");
> +    info->host = g_strdup(addr ? addr : (qemu_opt_get_bool(opts,
> +                                                           "ipv6", 0)
> +                                         ? "::" : "0.0.0.0"));

"ipv6" means "force ipv6".  If the option is not present spice-server
might still listen on ipv6, and qemu can't easily figure whenever that
is the case or not.

cheers,
  Gerd

  reply	other threads:[~2014-05-12  9:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-09 16:39 [Qemu-devel] [PATCH] spice: return unspecified address according to protocol Amos Kong
2014-05-12  9:34 ` Gerd Hoffmann [this message]
2014-05-12 10:06   ` Amos Kong
2014-05-12 12:38     ` Markus Armbruster

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=1399887258.12413.6.camel@nilsson.home.kraxel.org \
    --to=kraxel@redhat.com \
    --cc=akong@redhat.com \
    --cc=djasa@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).