From: Alon Levy <alevy@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] ui/spice: support websockets ports
Date: Thu, 1 Nov 2012 09:26:48 -0400 (EDT) [thread overview]
Message-ID: <846964650.25379532.1351776408680.JavaMail.root@redhat.com> (raw)
In-Reply-To: <509277C7.6000301@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?
No, It doesn't work well enough, and I don't have time to fix it.
>
> > --- a/roms/openbios
> > +++ b/roms/openbios
> > @@ -1 +1 @@
> > -Subproject commit f095c858136896d236931357b8d597f407286f71
> > +Subproject commit d1d2787f87167edf487a60e61b9168514d5a7434
>
> Hmm?
Yes, my bad.
>
> > 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.
OK.
>
> cheers.
> Gerd
>
>
prev parent reply other threads:[~2012-11-01 13:26 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
2012-11-01 13:26 ` Alon Levy [this message]
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=846964650.25379532.1351776408680.JavaMail.root@redhat.com \
--to=alevy@redhat.com \
--cc=kraxel@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).