From: David Barrett <dbarrett@quinthar.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Is there a reason -redir binds to INADDR_ANY?
Date: Tue, 15 Jul 2008 15:50:10 -0700 [thread overview]
Message-ID: <487D29A2.5010306@quinthar.com> (raw)
I'm using qemu on a server with multiple ips/interfaces and I'd like to
use -redir to bind a specific host ip:port to a specific guest ip:port.
However, -redir doesn't allow specifying a host ip, and instead just
binds to INADDR_ANY on the host system. (in slirp/socket.c/solisten())
Is there a particular reason for this limitation? Is there any interest
in a patch to allow specific host interface binding?
It seems a straightforward change, through the most obvious choice for a
new -redir syntax might create backwards compatibility problems. It's
currently:
-redir [tcp|udp]:host-port:[guest-host]:guest-port
And the most obvious change would be something like:
-redir [tcp|udp]:[host-host]:host-port:[guest-host]:guest-port
Granted, the parser could choose the first syntax if only three colons
are found, and the second if four are found... but that's not very pretty.
Incidentally, is there a rough timeline or estimate for the next formal
release of qemu? I'm not super eager to deviate from the mainline for
long, nor adopt unstable code prematurely.
Thanks!
-david
reply other threads:[~2008-07-15 22:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=487D29A2.5010306@quinthar.com \
--to=dbarrett@quinthar.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.