1. 11 5月, 2017 4 次提交
  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