[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] ui/spice: support websockets ports
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] ui/spice: support websockets ports |
Date: |
Thu, 01 Nov 2012 14:23:19 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121026 Thunderbird/10.0.10 |
On 10/19/12 13:52, Alon Levy wrote:
> Signed-off-by: Alon Levy <address@hidden>
> ---
> 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
- Re: [Qemu-devel] [PATCH] ui/spice: support websockets ports,
Gerd Hoffmann <=