1. 27 9月, 2016 17 次提交
  2. 24 9月, 2016 13 次提交
  3. 23 9月, 2016 10 次提交
    • I
      target-i386: turn off CPU.l3-cache only for 2.7 and older machine types · 152fcbec
      Igor Mammedov 提交于
      commit (14c985cf target-i386: present virtual L3 cache info for vcpus)
      misplaced compat property putting it in new 2.8 machine type
      which would effectively to disable feature until 2.9 is released.
      Intent of commit probably should be to disable feature for 2.7
      and older while allowing not yet released 2.8 to have feature
      enabled by default.
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: NIgor Mammedov <imammedo@redhat.com>
      Reviewed-by: NMarcel Apfelbaum <marcel@redhat.com>
      Reviewed-by: NEduardo Habkost <ehabkost@redhat.com>
      152fcbec
    • I
      pc: clean up COMPAT macro chaining · 2e091032
      Igor Mammedov 提交于
      Since commit
       bacc344c ("machine: add properties to compat_props incrementaly")
      there is no need to chain per machine type compat macro.
      
      Clean up places where it was done anyway so it will be
      consistent and won't confuse contributors during addtion
      of new machine types.
      Signed-off-by: NIgor Mammedov <imammedo@redhat.com>
      Reviewed-by: NEduardo Habkost <ehabkost@redhat.com>
      2e091032
    • P
      virtio: add check for descriptor's mapped address · 973e7170
      Prasad J Pandit 提交于
      virtio back end uses set of buffers to facilitate I/O operations.
      If its size is too large, 'cpu_physical_memory_map' could return
      a null address. This would result in a null dereference while
      un-mapping descriptors. Add check to avoid it.
      Reported-by: NQinghao Tang <luodalongde@gmail.com>
      Signed-off-by: NPrasad J Pandit <pjp@fedoraproject.org>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      973e7170
    • M
      tests: add /vhost-user/flags-mismatch test · 9294d76c
      Marc-André Lureau 提交于
      Check that qemu disconnects the backend that doesn't have the previously
      acked features.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      9294d76c
    • M
      tests: add a simple /vhost-user/multiqueue test · ed0a8d92
      Marc-André Lureau 提交于
      This test just checks that 2 virtio-net queues can be setup over
      vhost-user and waits for them to be started.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      ed0a8d92
    • M
      tests: add /vhost-user/connect-fail test · 5d443f5a
      Marc-André Lureau 提交于
      Check early connection failure and resume.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      5d443f5a
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · 3b71ec85
      Peter Maydell 提交于
      Block layer patches
      
      # gpg: Signature made Fri 23 Sep 2016 12:59:46 BST
      # gpg:                using RSA key 0x7F09B272C88F2FD6
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
      # Primary key fingerprint: DC3D EB15 9A9A F95D 3D74  56FE 7F09 B272 C88F 2FD6
      
      * remotes/kevin/tags/for-upstream: (33 commits)
        block: Remove BB interface from blockdev-add/del
        qemu-iotests/141: Avoid blockdev-add with id
        block: Avoid printing NULL string in error messages
        qemu-iotests/139: Avoid blockdev-add with id
        qemu-iotests/124: Avoid blockdev-add with id
        qemu-iotests/118: Avoid blockdev-add with id
        qemu-iotests/117: Avoid blockdev-add with id
        qemu-iotests/087: Avoid blockdev-add with id
        qemu-iotests/081: Avoid blockdev-add with id
        qemu-iotests/071: Avoid blockdev-add with id
        qemu-iotests/067: Avoid blockdev-add with id
        qemu-iotests/041: Avoid blockdev-add with id
        qemu-iotests/118: Test media change with qdev name
        block: Accept device model name for block_set_io_throttle
        block: Accept device model name for blockdev-change-medium
        block: Accept device model name for eject
        block: Accept device model name for x-blockdev-remove-medium
        block: Accept device model name for x-blockdev-insert-medium
        block: Accept device model name for blockdev-open/close-tray
        qdev-monitor: Add blk_by_qdev_id()
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      3b71ec85
    • P
      Merge remote-tracking branch 'remotes/lalrae/tags/mips-20160923' into staging · eaff9c43
      Peter Maydell 提交于
      MIPS patches 2016-09-23
      
      Changes:
      * 24KEc CPU definition
      * SYNC instructions make use of tcg memory barrier ops
      * various MIPS linux-user bug fixes
      
      # gpg: Signature made Fri 23 Sep 2016 08:09:08 BST
      # gpg:                using RSA key 0x52118E3C0B29DA6B
      # gpg: Good signature from "Leon Alrae <leon.alrae@imgtec.com>"
      # Primary key fingerprint: 8DD3 2F98 5495 9D66 35D4  4FC0 5211 8E3C 0B29 DA6B
      
      * remotes/lalrae/tags/mips-20160923:
        linux-user: Add missing Mips syscalls items in strace.list
        linux-user: Add missing TARGET_EDQUOT error code for Mips
        linux-user: Fix certain argument alignment cases for Mips64
        linux-user: Fix structure target_semid64_ds definition for Mips
        linux-user: Fix structure target_flock definition for Mips
        linux-user: Fix TARGET_F_GETOWN definition for Mips
        linux-user: Fix TARGET_SIOCATMARK definition for Mips
        target-mips: generate fences
        target-mips: add 24KEc CPU definition
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      eaff9c43
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.8-20160923' into staging · c229472a
      Peter Maydell 提交于
      ppc patch queue 2016-09-23
      
      This pull request supersedes ppc-for-2.8-20160922.  There was a clang
      build error in that, and I've also added one extra patch in the new pull.
      
      Included in this set of ppc and spapr patches are:
          * TCG implementations for more POWER9 instructions
          * Some preliminary XICS fixes in preparataion for the pnv machine type
          * A significant ADB (Macintosh kbd/mouse) cleanup
          * Some conversions to use trace instead of debug macros
          * Fixes to correctly handle global TLB flush synchronization in
            TCG.  This is already a bug, but it will have much more impact
            when we get MTTCG
          * Add more qtest testcases for Power
          * Some MAINTAINERS updates
          * Assorted bugfixes
          * Add the basics of NUMA associativity to the spapr PCI host bridge
      
      This touches some test files and monitor.c which are technically
      outside the ppc code, but coming through this tree because the changes
      are primarily of interest to ppc.
      
      # gpg: Signature made Fri 23 Sep 2016 08:14:47 BST
      # gpg:                using RSA key 0x6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>"
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>"
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>"
      # gpg:                 aka "David Gibson (kernel.org) <dwg@kernel.org>"
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-2.8-20160923: (45 commits)
        spapr_pci: Add numa node id
        monitor: fix crash for platforms without a CPU 0
        linux-user: ppc64: fix ARCH_206 bit in AT_HWCAP
        ppc/kvm: Mark 64kB page size support as disabled if not available
        ppc/xics: An ICS with offset 0 is assumed to be uninitialized
        ppc/xics: account correct irq status
        Enable H_CLEAR_MOD and H_CLEAR_REF hypercalls on KVM/PPC64.
        target-ppc: tlbie/tlbivax should have global effect
        target-ppc: add flag in check_tlb_flush()
        target-ppc: add TLB_NEED_LOCAL_FLUSH flag
        spapr: Introduce sPAPRCPUCoreClass
        target-ppc: implement darn instruction
        target-ppc: add stxsi[bh]x instruction
        target-ppc: add lxsi[bw]zx instruction
        target-ppc: add xxspltib instruction
        target-ppc: consolidate store conditional
        target-ppc: move out stqcx impementation
        target-ppc: consolidate load with reservation
        target-ppc: convert st[16,32,64]r to use new macro
        target-ppc: convert st64 to use new macro
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c229472a
    • P
      Merge remote-tracking branch 'remotes/famz/tags/various-pull-request' into staging · 4c892756
      Peter Maydell 提交于
      # gpg: Signature made Fri 23 Sep 2016 05:58:28 BST
      # gpg:                using RSA key 0xCA35624C6A9171C6
      # gpg: Good signature from "Fam Zheng <famz@redhat.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: 5003 7CB7 9706 0F76 F021  AD56 CA35 624C 6A91 71C6
      
      * remotes/famz/tags/various-pull-request: (23 commits)
        docker: exec $CMD
        docker: Terminate instances at SIGTERM and SIGHUP
        docker: Support showing environment information
        docker: Print used options before doing configure
        docker: Flatten default target list in test-quick
        docker: Update fedora image to latest
        docker: Generate /packages.txt in ubuntu image
        docker: Generate /packages.txt in fedora image
        docker: Generate /packages.txt in centos6 image
        tests: Ignore test-uuid
        Add UUID files to MAINTAINERS
        tests: Add uuid tests
        uuid: Tighten uuid parse
        vl: Switch qemu_uuid to QemuUUID
        configure: Remove detection code for UUID
        tests: No longer dependent on CONFIG_UUID
        crypto: Switch to QEMU UUID API
        vpc: Use QEMU UUID API
        vdi: Use QEMU UUID API
        vhdx: Use QEMU UUID API
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      
      # Conflicts:
      #	tests/Makefile.include
      4c892756