All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Alon Levy <alevy@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] ui/spice: support websockets ports
Date: Thu, 01 Nov 2012 14:23:19 +0100	[thread overview]
Message-ID: <509277C7.6000301@redhat.com> (raw)
In-Reply-To: <1350647521-1704-1-git-send-email-alevy@redhat.com>

On 10/19/12 13:52, Alon Levy wrote:
> Signed-off-by: Alon Levy <alevy@redhat.com>
> ---
> Spice package is not yet available, I assumed it will be the next version, 0.12.1, for the added API spice_server_set_ws_ports. Patches are on spice-devel and git is at http://cgit.freedesktop.org/~alon/spice master branch (db5817a059d640fb4ca21740e1362fc6c3e98765)

What is the state of this? Committed to spice-server meanwhile?

> --- a/roms/openbios
> +++ b/roms/openbios
> @@ -1 +1 @@
> -Subproject commit f095c858136896d236931357b8d597f407286f71
> +Subproject commit d1d2787f87167edf487a60e61b9168514d5a7434

Hmm?

> diff --git a/ui/spice-core.c b/ui/spice-core.c
> index 5147365..190b14d 100644
> --- a/ui/spice-core.c
> +++ b/ui/spice-core.c
> @@ -542,6 +542,14 @@ static void vm_change_state_handler(void *opaque, int running,
>      }
>  }
>  
> +static void validate_port(int port, const char *port_name)
> +{
> +    if (port < 0 || port > 65535) {
> +        error_report("spice %s is out of range", port_name);
> +        exit(1);
> +    }
> +}

That should go as separate patch.

cheers.
  Gerd

  reply	other threads:[~2012-11-01 13:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-19 11:52 [Qemu-devel] [PATCH] ui/spice: support websockets ports Alon Levy
2012-11-01 13:23 ` Gerd Hoffmann [this message]
2012-11-01 13:26   ` Alon Levy

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=509277C7.6000301@redhat.com \
    --to=kraxel@redhat.com \
    --cc=alevy@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 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.