1. 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
  2. 06 5月, 2017 1 次提交
    • 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
  3. 05 5月, 2017 7 次提交
    • 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
    • S
      Merge remote-tracking branch 'quintela/tags/migration/20170504' into staging · 4aee86c6
      Stefan Hajnoczi 提交于
      migration/next for 20170504
      
      # gpg: Signature made Thu 04 May 2017 10:35:41 AM BST
      # gpg:                using RSA key 0xF487EF185872D723
      # gpg: Good signature from "Juan Quintela <quintela@redhat.com>"
      # gpg:                 aka "Juan Quintela <quintela@trasno.org>"
      # Primary key fingerprint: 1899 FF8E DEBF 58CC EE03  4B82 F487 EF18 5872 D723
      
      * quintela/tags/migration/20170504:
        migration: Extra tracing
        migration: Move postcopy-ram.h to migration/
        monitor: Move hmp_info_snapshots from savevm.c to hmp.c
        monitor: Move hmp_delvm from savevm.c to hmp.c
        monitor: Move hmp_savevm from savevm.c to hmp.c
        monitor: Move hmp_loadvm from monitor.c to hmp.c
        monitor: Remove monitor parameter from save_vmstate
        migration: to_dst_file at that point is NULL
        migration: setup bi-directional I/O channel for exec: protocol
        ram: Split dirty bitmap by RAMBlock
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      4aee86c6
    • S
      Merge remote-tracking branch 'kraxel/tags/pull-audio-20170504-1' into staging · bc56fd3a
      Stefan Hajnoczi 提交于
      audio: cleanups, bugfixes (memory leaks).
      
      # gpg: Signature made Thu 04 May 2017 08:16:50 AM BST
      # gpg:                using RSA key 0x4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * kraxel/tags/pull-audio-20170504-1: (30 commits)
        audio: Use ARRAY_SIZE from qemu/osdep.h
        audio: un-export OPLResetChip
        audio: Remove unused typedefs
        audio: UpdateHandler is not used anymore
        audio: IRQHandler is not used anymore
        audio: OPLSetUpdateHandler is not used anywhere
        audio: OPLSetIRQHandler is not used anywhere
        audio: GUSsample is int16_t
        audio: GUSword is uint16_t
        audio: GUSword is uint16_t
        audio: remove GUSchar
        audio: GUSbyte is uint8_t
        audio: Remove unused fields
        audio: Remove type field
        audio: Remove Unused OPL_TYPE_*
        audio: Unfold OPLSAMPLE
        audio: Remove INT32
        audio: remove INT16
        audio: Remove INT8
        audio: remove UINT32
        ...
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      bc56fd3a
    • S
      Merge remote-tracking branch 'kraxel/tags/pull-input-20170504-1' into staging · dd76c10f
      Stefan Hajnoczi 提交于
      input: limit kbd queue depth
      input: don't queue delay if paused
      input: Add trace event for empty keyboard queue
      
      # gpg: Signature made Thu 04 May 2017 06:48:37 AM BST
      # gpg:                using RSA key 0x4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * kraxel/tags/pull-input-20170504-1:
        input: Add trace event for empty keyboard queue
        input: don't queue delay if paused
        input: limit kbd queue depth
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      dd76c10f
    • S
      Merge remote-tracking branch 'shorne/tags/pull-or-20170504' into staging · 317134bb
      Stefan Hajnoczi 提交于
      Openrisc Features and Fixes for qemu 2.10
      
      # gpg: Signature made Thu 04 May 2017 01:41:45 AM BST
      # gpg:                using RSA key 0xC3B31C2D5E6627E4
      # gpg: Good signature from "Stafford Horne <shorne@gmail.com>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: D9C4 7354 AEF8 6C10 3A25  EFF1 C3B3 1C2D 5E66 27E4
      
      * shorne/tags/pull-or-20170504:
        target/openrisc: Support non-busy idle state using PMR SPR
        target/openrisc: Remove duplicate features property
        target/openrisc: Implement full vmstate serialization
        migration: Add VMSTATE_STRUCT_2DARRAY()
        target/openrisc: implement shadow registers
        migration: Add VMSTATE_UINTTL_2DARRAY()
        target/openrisc: add numcores and coreid support
        target/openrisc: Fixes for memory debugging
        target/openrisc: Implement EPH bit
        target/openrisc: Implement EVBAR register
        MAINTAINERS: Add myself as openrisc maintainer
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      317134bb
    • S
      Merge remote-tracking branch 'awilliam/tags/vfio-updates-20170503.0' into staging · 4f3652b3
      Stefan Hajnoczi 提交于
      VFIO fixes 2017-05-03
      
       - Enable 8-byte memory region accesses (Jose Ricardo Ziviani)
       - Fix vfio-pci error message (Dong Jia Shi)
      
      # gpg: Signature made Wed 03 May 2017 10:28:55 PM BST
      # gpg:                using RSA key 0x239B9B6E3BB08B22
      # gpg: Good signature from "Alex Williamson <alex.williamson@redhat.com>"
      # gpg:                 aka "Alex Williamson <alex@shazbot.org>"
      # gpg:                 aka "Alex Williamson <alwillia@redhat.com>"
      # gpg:                 aka "Alex Williamson <alex.l.williamson@gmail.com>"
      # Primary key fingerprint: 42F6 C04E 540B D1A9 9E7B  8A90 239B 9B6E 3BB0 8B22
      
      * awilliam/tags/vfio-updates-20170503.0:
        vfio/pci: Fix incorrect error message
        vfio: enable 8-byte reads/writes to vfio
        vfio: Set MemoryRegionOps:max_access_size and min_access_size
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      4f3652b3
    • S
      Merge remote-tracking branch 'cohuck/tags/s390x-20170502' into staging · 4f225f34
      Stefan Hajnoczi 提交于
      More s390x patches, this time boot related:
      - LOADPARM machine property, exposed to the guest via SCLP and
        diagnose 308
      - Use LOADPARM in the s390-ccw bios to select a boot entry
      - Fix a crash in the ipl device code when a virtio-scsi-pci device
        has been specified
      
      # gpg: Signature made Tue 02 May 2017 02:29:26 PM 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-20170502:
        hw/s390x/ipl: Fix crash with virtio-scsi-pci device
        pc-bios/s390-ccw.img: update image
        pc-bios/s390-ccw: add boot entry selection to El Torito routine
        pc-bios/s390-ccw: add boot entry selection for ECKD DASD
        pc-bios/s390-ccw: provide entry selection on LOADPARM for SCSI disk
        pc-bios/s390-ccw: provide a function to interpret LOADPARM value
        pc-bios/s390-ccw: get LOADPARM stored in SCP Read Info
        pc-bios/s390-ccw: Make ebcdic/ascii conversion public
        util/qemu-config: Add loadparm to qemu machine_opts
        hw/s390x/sclp: update LOADPARM in SCP Info
        hw/s390x/ipl: enable LOADPARM in IPIB for a boot device
        hw/s390x: provide loadparm property for the machine
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      4f225f34
  4. 04 5月, 2017 29 次提交