1. 09 4月, 2018 3 次提交
  2. 05 4月, 2018 6 次提交
  3. 04 4月, 2018 7 次提交
    • L
      tcg: fix 16-byte vector operations detection · 74912f6d
      Laurent Vivier 提交于
      configure tries to detect if the compiler
      supports 16-byte vector operations.
      
      As stated in the comment of the detection
      program, there is a problem with the system
      compiler on GCC on Centos 7.
      
      This program doesn't actually detect the problem
      with GCC on RHEL7 on PPC64LE (Red Hat 4.8.5-28).
      
      This patch updates the test to look more like
      it is in QEMU helpers, and now detects the problem.
      
      The error reported is:
      
        CC      ppc64-softmmu/accel/tcg/tcg-runtime-gvec.o
        ..//accel/tcg/tcg-runtime-gvec.c: In function ‘helper_gvec_shl8i’:
        ../accel/tcg/tcg-runtime-gvec.c:558:26: internal compiler error: in emit_move_insn, at expr.c:3495
                 *(vec8 *)(d + i) = *(vec8 *)(a + i) << shift;
                                  ^
      Fixes: db432672 "tcg: Add generic vector expanders"
      Signed-off-by: NLaurent Vivier <lvivier@redhat.com>
      Reviewed-by: NMiroslav Rezanina <mrezanin@redhat.com>
      Message-id: 20180328133152.24623-1-lvivier@redhat.com
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      74912f6d
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · fd69ad86
      Peter Maydell 提交于
      Block layer patches
      
      # gpg: Signature made Tue 03 Apr 2018 16:48:53 BST
      # gpg:                using RSA key 7F09B272C88F2FD6
      # 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:
        iotests: Test abnormally large size in compressed cluster descriptor
        qemu-iotests: Use ppc64 qemu_arch on ppc64le host
        iotests: Test preallocated truncate of 2G image
        block/file-posix: Fix fully preallocated truncate
        iotests: fix 208 for luks format
        iotests: Update 186 after commit ac64273c
        iotests: Update 051 and 186 after commit 14545097
        block: handle invalid lseek returns gracefully
        gluster: Fix blockdev-add with server.N.type=unix
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      fd69ad86
    • P
      Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into staging · e5efa1f5
      Peter Maydell 提交于
      # gpg: Signature made Tue 03 Apr 2018 17:10:22 BST
      # gpg:                using RSA key BDBE7B27C0DE3057
      # gpg: Good signature from "Jeffrey Cody <jcody@redhat.com>"
      # gpg:                 aka "Jeffrey Cody <jeff@codyprime.org>"
      # gpg:                 aka "Jeffrey Cody <codyprime@gmail.com>"
      # Primary key fingerprint: 9957 4B4D 3474 90E7 9D98  D624 BDBE 7B27 C0DE 3057
      
      * remotes/cody/tags/block-pull-request:
        gluster: Fix blockdev-add with server.N.type=unix
        blockjob: use qapi enum helpers
        blockjob: leak fix, remove from txn when failing early
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      e5efa1f5
    • P
      Merge remote-tracking branch 'remotes/ehabkost/tags/x86-next-pull-request' into staging · 094b62cd
      Peter Maydell 提交于
      Fix memory leaks when using object_property_get_str()
      
      # gpg: Signature made Tue 03 Apr 2018 15:00:10 BST
      # gpg:                using RSA key 2807936F984DC5A6
      # gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>"
      # Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6
      
      * remotes/ehabkost/tags/x86-next-pull-request:
        sev/i386: fix memory leak in sev_guest_init()
        exec: fix memory leak in find_max_supported_pagesize()
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      094b62cd
    • P
      Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-2.12-pull-request' into staging · 71ad102b
      Peter Maydell 提交于
      # gpg: Signature made Tue 03 Apr 2018 11:33:31 BST
      # gpg:                using RSA key F30C38BD3F2FBE3C
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>"
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>"
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>"
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * remotes/vivier2/tags/linux-user-for-2.12-pull-request:
        linux-user: fix TARGET___O_TMPFILE for sparc
        linux-user: define TARGET_ARCH_HAS_KA_RESTORER
        linux-user: fix alpha signal emulation
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      71ad102b
    • P
      Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20180403' into staging · f7481f65
      Peter Maydell 提交于
      - fix a memory leak in the ipl code introduced with this release
      - increase timeout in the bios to avoid hangs during migration (and
        rebuild bios to activate the change)
      
      # gpg: Signature made Tue 03 Apr 2018 09:28:30 BST
      # gpg:                using RSA key DECF6B93C6F02FAF
      # gpg: Good signature from "Cornelia Huck <conny@cornelia-huck.de>"
      # gpg:                 aka "Cornelia Huck <huckc@linux.vnet.ibm.com>"
      # gpg:                 aka "Cornelia Huck <cornelia.huck@de.ibm.com>"
      # gpg:                 aka "Cornelia Huck <cohuck@kernel.org>"
      # gpg:                 aka "Cornelia Huck <cohuck@redhat.com>"
      # Primary key fingerprint: C3D0 D66D C362 4FF6 A8C0  18CE DECF 6B93 C6F0 2FAF
      
      * remotes/cohuck/tags/s390x-20180403:
        pc-bios/s390-ccw: update image
        pc-bios/s390-ccw: Increase virtio timeout to 30 seconds
        hw/s390x: fix memory leak in s390_init_ipl_dev()
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      f7481f65
    • P
      Merge remote-tracking branch 'remotes/xtensa/tags/20180402-xtensa' into staging · 9abfc88a
      Peter Maydell 提交于
      xtensa-specific fixes for linux-user:
      
      - fix flushing registers for signal processing in call8 and call12 frames;
      - fix PC value for restarted syscalls;
      - fix sysv IPC structures;
      - fix fadvise64 syscall;
      
      generic fixes for linux-user:
      
      - fix QEMU assertion in multithreaded application by calling cpu_copy
        under clone_lock;
      - fix mq_getsetattr implementation;
      - fix error propagation in clock_gettime;
      - implement clock_settime.
      
      # gpg: Signature made Mon 02 Apr 2018 18:07:08 BST
      # gpg:                using RSA key 51F9CC91F83FA044
      # gpg: Good signature from "Max Filippov <filippov@cadence.com>"
      # gpg:                 aka "Max Filippov <max.filippov@cogentembedded.com>"
      # gpg:                 aka "Max Filippov <jcmvbkbc@gmail.com>"
      # Primary key fingerprint: 2B67 854B 98E5 327D CDEB  17D8 51F9 CC91 F83F A044
      
      * remotes/xtensa/tags/20180402-xtensa:
        target/xtensa: linux-user: fix fadvise64 call
        linux-user: implement clock_settime
        linux-user: fix error propagation in clock_gettime
        target/xtensa: linux-user: fix sysv IPC structures
        linux-user: fix mq_getsetattr implementation
        linux-user: call cpu_copy under clone_lock
        target/xtensa: linux-user: rewind pc for restarted syscall
        target/xtensa: fix flush_window_regs
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      9abfc88a
  4. 03 4月, 2018 22 次提交
  5. 02 4月, 2018 2 次提交
    • E
      nbd: trace meta context negotiation · 2b53af25
      Eric Blake 提交于
      Having a more detailed log of the interaction between client and
      server is invaluable in debugging how meta context negotiation
      actually works.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Message-Id: <20180330130950.1931229-1-eblake@redhat.com>
      Reviewed-by: NVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      2b53af25
    • E
      nbd/client: Correctly handle bad server REP_META_CONTEXT · 260e34db
      Eric Blake 提交于
      It's never a good idea to blindly read for size bytes as
      returned by the server without first validating that the size
      is within bounds; a malicious or buggy server could cause us
      to hang or get out of sync from reading further messages.
      
      It may be smarter to try and teach the client to cope with
      unexpected context ids by silently ignoring them instead of
      hanging up on the server, but for now, if the server doesn't
      reply with exactly the one context we expect, it's easier to
      just give up - however, if we give up for any reason other
      than an I/O failure, we might as well try to politely tell
      the server we are quitting rather than continuing.
      
      Fix some typos in the process.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Message-Id: <20180329231837.1914680-1-eblake@redhat.com>
      Reviewed-by: NVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      260e34db