~vcs-imports/qemu/git

  • Committer: aliguori
  • Date: 2008-11-11 20:54:09 UTC
  • Revision ID: git-v1:f07b6003b6cebaa5404d702ad8aca181580e4d6c
sockets: switch over tcp/telnet/unix serial line to new helper functions (Gerd Hoffman)

This switches the tcp, telnet and unix socket support for character
devices (serial/parallel, ...) to the new socket helpers.  Thereby they
gain IPv6 support and also get ability to search for a free tcp port.
Syntax is the same as for vnc, using a to= option, like this:

        -serial tcp:localhost:5000,to=5099,server

This will check the 5000 -> 5099 port range (inclusive) for a free tcp
port.  Likewise you can get auto-allocated unix sockets by specifying an
empty path:

        -serial unix:,server

qemu will create a randomly named socket in $TMPDIR then.

tcp also got new "ipv4" and "ipv6" options to make qemu try only the
specified internet protocol version.

You can use the "info chardev" command added by the first patch in this
series to figure the tcp port / unix socket actually allocated.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5697 c046a42c-6fe2-441c-8c8c-71466251a162
Filename Latest Rev Last Changed Committer Comment Size
..
cpu.h 5657 16 years ago aurel32 target-ppc: convert most SPE integer instructions 58.5 KB Diff Download File
exec.h 5143 16 years ago aurel32 ppc: cleanup register types - use target_ulong fo 3.4 KB Diff Download File
helper.c 5489 16 years ago aurel32 target-ppc: Convert XER accesses to TCG Define XE 95.8 KB Diff Download File
helper.h 5657 16 years ago aurel32 target-ppc: convert most SPE integer instructions 1 KB Diff Download File
helper_regs.h 5489 16 years ago aurel32 target-ppc: Convert XER accesses to TCG Define XE 3.4 KB Diff Download File
machine.c 4316 16 years ago aurel32 remove target ifdefs from vl.c (Glauber Costa) 418 bytes Diff Download File
mfrom_table.c 3163 17 years ago ths find -type f | xargs sed -i 's/[\t ]$//g' # on mos 3.2 KB Diff Download File
mfrom_table_gen.c 3167 17 years ago ths find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, 652 bytes Diff Download File
op.c 5657 16 years ago aurel32 target-ppc: convert most SPE integer instructions 25.5 KB Diff Download File
op_helper.c 5657 16 years ago aurel32 target-ppc: convert most SPE integer instructions 68.9 KB Diff Download File
op_helper.h 5580 16 years ago aurel32 target-ppc: convert 405 MAC instructions to TCG S 8.5 KB Diff Download File
op_helper_mem.h 4036 16 years ago aurel32 Use float32/64 instead of float/double The patch 10.9 KB Diff Download File
op_mem.h 5482 16 years ago aurel32 ppc: convert integer load/store to TCG Signed-off 33 KB Diff Download File
op_mem_access.h 3709 17 years ago j_mayer Add new sane low-level memory accessors for PowerP 3.9 KB Diff Download File
STATUS 3428 17 years ago j_mayer Update PowerPC emulation status file. git-svn-id 10.5 KB Diff Download File
translate.c 5657 16 years ago aurel32 target-ppc: convert most SPE integer instructions 269 KB Diff Download File
translate_init.c 5489 16 years ago aurel32 target-ppc: Convert XER accesses to TCG Define XE 403 KB Diff Download File