qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Is there a way to bind -redir to a specific host interface?
@ 2009-04-24 21:27 Rob Landley
  2009-04-26 17:00 ` [Qemu-devel] " Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Landley @ 2009-04-24 21:27 UTC (permalink / raw)
  To: qemu-devel

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...

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Qemu-devel] Re: Is there a way to bind -redir to a specific host interface?
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2009-04-26 17:00 UTC (permalink / raw)
  To: Rob Landley; +Cc: qemu-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-26 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Qemu-devel] " Jan Kiszka

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).