]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Merge remote-tracking branch 'elmarco/tags/chr-tests-pull-request' into staging
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 5 May 2017 16:04:07 +0000 (17:04 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 5 May 2017 16:07:55 +0000 (17:07 +0100)
# gpg: Signature made Thu 04 May 2017 12:42:10 PM BST
# gpg:                using RSA key 0xDAE8E10975969CE5
# gpg: Good signature from "Marc-AndrĂ© Lureau <marcandre.lureau@redhat.com>"
# gpg:                 aka "Marc-AndrĂ© Lureau <marcandre.lureau@gmail.com>"
# Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5

* elmarco/tags/chr-tests-pull-request: (21 commits)
  tests: add /char/console test
  tests: add /char/udp test
  tests: add /char/socket test
  tests: add /char/file test
  tests: add /char/pipe test
  tests: add alias check in /char/ringbuf
  char-udp: flush as much buffer as possible
  char-socket: add 'connected' property
  char-socket: add 'addr' property
  char-socket: update local address after listen
  char-socket: introduce update_disconnected_filename()
  char: useless NULL check
  char: remove chardevs list
  char: remove qemu_chardev_add
  char: use /chardevs container instead of chardevs list
  vl: add todo note about root container cleanup
  char: add a /chardevs container
  container: don't leak container reference
  xen: use a better chardev type check
  mux: simplfy muxes_realize_done
  ...

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
1  2 
chardev/char-socket.c
chardev/char.c
include/sysemu/char.h
vl.c

index 175fb8c3ec264231e3638e66732ce1db4b5e0772,0118252002779737b8aa5e02a21cdf48285849cf..9d5f062c624df4123edcf208e9149add3de0376b
@@@ -908,11 -883,10 +916,10 @@@ static void qmp_chardev_open_socket(Cha
      /* be isn't opened until we get a connection */
      *be_opened = false;
  
-     chr->filename = SocketAddress_to_str("disconnected:",
-                                          addr, is_listen, is_telnet);
+     update_disconnected_filename(s);
  
      if (is_listen) {
 -        if (is_telnet) {
 +        if (is_telnet || is_tn3270) {
              s->do_telnetopt = 1;
          }
      } else if (reconnect > 0) {
diff --cc chardev/char.c
Simple merge
Simple merge
diff --cc vl.c
Simple merge