From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Marc-André Lureau" <marcandre.lureau@gmail.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Anthony Liguori" <aliguori@amazon.com>
Subject: [Qemu-devel] [PULL 4/6] spice: do not require TCP ports
Date: Tue, 16 Dec 2014 15:13:35 +0100 [thread overview]
Message-ID: <1418739217-6561-5-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1418739217-6561-1-git-send-email-kraxel@redhat.com>
From: Marc-André Lureau <marcandre.lureau@gmail.com>
It is possible to use Spice server without TCP port. On local VM,
qemu (and libvirt) can add new clients thanks to QMP add_client command.
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
ui/spice-core.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/ui/spice-core.c b/ui/spice-core.c
index 6467fa4..e8d4bae 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
@@ -661,10 +661,6 @@ void qemu_spice_init(void)
}
port = qemu_opt_get_number(opts, "port", 0);
tls_port = qemu_opt_get_number(opts, "tls-port", 0);
- if (!port && !tls_port) {
- error_report("neither port nor tls-port specified for spice");
- exit(1);
- }
if (port < 0 || port > 65535) {
error_report("spice port is out of range");
exit(1);
--
1.8.3.1
next prev parent reply other threads:[~2014-12-16 14:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-16 14:13 [Qemu-devel] [PULL 0/6] spice patch queue Gerd Hoffmann
2014-12-16 14:13 ` [Qemu-devel] [PULL 1/6] spice: use bottom half instead of refresh timer for cursor updates Gerd Hoffmann
2014-12-16 14:13 ` [Qemu-devel] [PULL 2/6] spice: reduce refresh rate in native mode Gerd Hoffmann
2014-12-16 14:13 ` [Qemu-devel] [PULL 3/6] spice: rework mirror allocation, add no-resize fast path Gerd Hoffmann
2014-12-16 14:13 ` Gerd Hoffmann [this message]
2014-12-16 14:13 ` [Qemu-devel] [PULL 5/6] spice: remove spice-experimental.h include Gerd Hoffmann
2014-12-16 14:13 ` [Qemu-devel] [PULL 6/6] spice: fix memory leak Gerd Hoffmann
2014-12-17 16:23 ` [Qemu-devel] [PULL 0/6] spice patch queue Peter Maydell
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=1418739217-6561-5-git-send-email-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=aliguori@amazon.com \
--cc=marcandre.lureau@gmail.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).