« Previous | Next » 

Revision b412eb61

IDb412eb61bfd400ad70afe11ac3a5fb2931124804

Added by Alexander Graf almost 12 years ago

slirp: add 'cmd:' target for guestfwd

When using guestfwd=, Qemu only connects the virtual server's TCP port
to a single chardev. This is useless in most cases, as we usually want
to have more than a single connection from the guest to the outside world.

This patch adds a new cmd: target to guestfwd= that allows for execution
of a command on every TCP connection. This leverages the same code as
the -smb parameter, just that here the command is user defined.

Reported-by: Sascha Wilde <>
Signed-off-by: Alexander Graf <>
Signed-off-by: Jan Kiszka <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences