diff options
author | Alexander Graf | 2012-06-03 09:45:01 +0200 |
---|---|---|
committer | Jan Kiszka | 2012-07-09 17:38:13 +0200 |
commit | b412eb61bfd400ad70afe11ac3a5fb2931124804 (patch) | |
tree | ec26aa65bc9e099f2c0328e6209e45d2cb14b173 /hw/spapr_pci.h | |
parent | slirp: Enforce host-side user of smb share (diff) | |
download | qemu-b412eb61bfd400ad70afe11ac3a5fb2931124804.tar.gz qemu-b412eb61bfd400ad70afe11ac3a5fb2931124804.tar.xz qemu-b412eb61bfd400ad70afe11ac3a5fb2931124804.zip |
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 <wilde@intevation.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'hw/spapr_pci.h')
0 files changed, 0 insertions, 0 deletions