1. 11 5月, 2017 1 次提交
  2. 10 5月, 2017 1 次提交
    • S
      Merge remote-tracking branch 'armbru/tags/pull-qapi-2017-05-04-v3' into staging · 76d20ea0
      Stefan Hajnoczi 提交于
      QAPI patches for 2017-05-04
      
      # gpg: Signature made Tue 09 May 2017 03:16:12 AM EDT
      # gpg:                using RSA key 0x3870B400EB918653
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>"
      # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653
      
      * armbru/tags/pull-qapi-2017-05-04-v3: (28 commits)
        qmp-shell: improve help
        qmp-shell: don't show version greeting if unavailable
        qmp-shell: Cope with query-commands error
        qmp-shell: add -N option to skip negotiate
        qmp-shell: add persistent command history
        qobject-input-visitor: Catch misuse of end_struct vs. end_list
        qapi: Document intended use of @name within alternate visits
        qobject-input-visitor: Document full_name_nth()
        qmp: Improve QMP dispatch error messages
        sockets: Delete unused helper socket_address_crumple()
        sockets: Limit SocketAddressLegacy to external interfaces
        sockets: Rename SocketAddressFlat to SocketAddress
        sockets: Rename SocketAddress to SocketAddressLegacy
        qapi: New QAPI_CLONE_MEMBERS()
        sockets: Prepare inet_parse() for flattened SocketAddress
        sockets: Prepare vsock_parse() for flattened SocketAddress
        test-qga: Actually test 0xff sync bytes
        fdc-test: Avoid deprecated 'change' command
        QemuOpts: Simplify qemu_opts_to_qdict()
        block: Simplify bdrv_append_temp_snapshot() logic
        ...
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      76d20ea0
  3. 09 5月, 2017 32 次提交
  4. 08 5月, 2017 3 次提交
    • S
      Merge tag 'tracing-pull-request' into staging · 32543dbb
      Stefan Hajnoczi 提交于
      # gpg: Signature made Mon 08 May 2017 09:39:00 AM EDT
      # gpg:                using RSA key 0x9CA4ABB381AB73C8
      # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
      # gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>"
      # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8
      
      * tag 'tracing-pull-request':
        trace: disallow more than 10 arguments per trace event
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      32543dbb
    • D
      trace: disallow more than 10 arguments per trace event · f3fddaf6
      Daniel P. Berrange 提交于
      The UST trace backend can only cope with upto 10 arguments. To ensure we
      don't exceed the limit when UST is not compiled in, disallow more than
      10 arguments upfront.
      
      This prevents the case where:
      
        commit 0fc8aec7
        Author: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
        Date:   Tue Apr 18 10:20:20 2017 +0800
      
          COLO-compare: Optimize tcp compare trace event
      
          Optimize two trace events as one, adjust print format make
          it easy to read. rename trace_colo_compare_pkt_info_src/dst
          to trace_colo_compare_tcp_info.
      
      regressed the fix done in
      
        commit 2dfe5113
        Author: Alex Bennée <alex.bennee@linaro.org>
        Date:   Fri Oct 28 14:25:59 2016 +0100
      
          net: split colo_compare_pkt_info into two trace events
      
          It seems there is a limit to the number of arguments a UST trace event
          can take and at 11 the previous trace command broke the build. Split the
          trace into a src pkt and dst pkt trace to fix this.
      Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
          Message-id: 20161028132559.8324-1-alex.bennee@linaro.org
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      
      Now we get an immediate fail even when UST is disabled:
      
        GEN     net/trace.h
      Traceback (most recent call last):
        File "/home/berrange/src/virt/qemu/scripts/tracetool.py", line 154, in <module>
          main(sys.argv)
        File "/home/berrange/src/virt/qemu/scripts/tracetool.py", line 145, in main
          events.extend(tracetool.read_events(fh))
        File "/home/berrange/src/virt/qemu/scripts/tracetool/__init__.py", line 307, in read_events
          event = Event.build(line)
        File "/home/berrange/src/virt/qemu/scripts/tracetool/__init__.py", line 244, in build
          event = Event(name, props, fmt, args)
        File "/home/berrange/src/virt/qemu/scripts/tracetool/__init__.py", line 196, in __init__
          "argument count" % name)
      ValueError: Event 'colo_compare_tcp_info' has more than maximum permitted argument count
      Makefile:96: recipe for target 'net/trace.h-timestamp' failed
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Message-id: 20170426153900.21066-1-berrange@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      f3fddaf6
    • D
      gdbstub: implement remote debugging protocol escapes for command receive · 4bf43122
      Doug Gale 提交于
      - decode escape sequences
      - decompress run-length encoding escape sequences
      - report command parsing problems to output when debug output is enabled
      - reject packet checksums that are not valid hex digits
      - compute the checksum based on the packet stream, not based on the
        decoded packet
      
      Tested with GDB and QtCreator integrated debugger on SMP QEMU instance.
      Works for me.
      Signed-off-by: NDoug Gale <doug16k@gmail.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      4bf43122
  5. 06 5月, 2017 2 次提交
    • A
      tcg/mips: fix field extraction opcode · 2f5a5f57
      Aurelien Jarno 提交于
      The "msb" argument should correspond to (len - 1).
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      2f5a5f57
    • S
      Merge remote-tracking branch 'elmarco/tags/chr-tests-pull-request' into staging · dd1559bb
      Stefan Hajnoczi 提交于
      # 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: NStefan Hajnoczi <stefanha@redhat.com>
      dd1559bb
  6. 05 5月, 2017 1 次提交
    • S
      Merge remote-tracking branch 'cohuck/tags/s390x-3270-20170504' into staging · f03f9f0c
      Stefan Hajnoczi 提交于
      Basic support for using channel-attached 3270 'green-screen'
      devices via tn3270. Actual handling of the data stream is
      delegated to x3270; more info at http://wiki.qemu.org/Features/3270
      
      # gpg: Signature made Thu 04 May 2017 11:36:51 AM BST
      # gpg:                using RSA key 0xDECF6B93C6F02FAF
      # gpg: Good signature from "Cornelia Huck <conny@cornelia-huck.de>"
      # gpg:                 aka "Cornelia Huck <cohuck@kernel.org>"
      # gpg:                 aka "Cornelia Huck <cornelia.huck@de.ibm.com>"
      # gpg:                 aka "Cornelia Huck <huckc@linux.vnet.ibm.com>"
      # Primary key fingerprint: C3D0 D66D C362 4FF6 A8C0  18CE DECF 6B93 C6F0 2FAF
      
      * cohuck/tags/s390x-3270-20170504:
        s390x/3270: Mark non-migratable and enable the device
        s390x/3270: Detect for continued presence of a 3270 client
        s390x/3270: Add the TCP socket events handler for 3270
        s390x/3270: 3270 data stream handling
        s390x/3270: Add emulated terminal3270 device
        s390x/3270: Add abstract emulated ccw-attached 3270 device
        s390x/css: Add an algorithm to find a free chpid
        chardev: Basic support for TN3270
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      f03f9f0c