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 via email to