qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Rob Landley <rob@landley.net>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Is there a way to bind -redir to a specific host interface?
Date: Sun, 26 Apr 2009 19:00:49 +0200	[thread overview]
Message-ID: <49F49341.2060305@web.de> (raw)
In-Reply-To: <200904241627.38384.rob@landley.net>

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

Rob Landley wrote:
> I want to -redir a port from 127.0.0.1 on the host into qemu without also 
> binding to that port on the host's the external interface.  Is there a way to 
> specify this?
> 
> I checked qemu --help but I can't figure out the syntax for specifying which 
> host address to bind to, and wandering through the source code I can't see 
> where this information is provided to slirp/socket.c:solisten() either...

Also when looking at the code, at slirp_redir()'s arguments, I cannot
find such a feature. But I'm about to refactor this interfaces and will
keep your requirement in mind. It makes some sense to add this.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

      reply	other threads:[~2009-04-26 17:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-24 21:27 [Qemu-devel] Is there a way to bind -redir to a specific host interface? Rob Landley
2009-04-26 17:00 ` Jan Kiszka [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=49F49341.2060305@web.de \
    --to=jan.kiszka@web.de \
    --cc=qemu-devel@nongnu.org \
    --cc=rob@landley.net \
    /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).