1. 04 4月, 2018 4 次提交
    • 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
  2. 03 4月, 2018 9 次提交
  3. 02 4月, 2018 7 次提交
  4. 01 4月, 2018 4 次提交
    • M
      linux-user: fix mq_getsetattr implementation · a23ea409
      Max Filippov 提交于
      mq_getsetattr implementation does not set errno correctly in case of
      error. Also in the presence of both 2nd and 3rd arguments it calls both
      mq_getattr and mq_setattr, whereas only the latter call would suffice.
      
      Don't call mq_getattr in the presence of the 2nd argument. Don't copy
      output back to user in case of error. Use get_errno to set errno value.
      
      This fixes test rt/tst-mqueue2 from the glibc testsuite.
      
      Cc: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Riku Voipio <riku.voipio@iki.fi>
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      Cc: Laurent Vivier <laurent@vivier.eu>
      Reviewed-by: NLaurent Vivier <laurent@vivier.eu>
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      a23ea409
    • M
      linux-user: call cpu_copy under clone_lock · 73a988d9
      Max Filippov 提交于
      cpu_copy adds newly created CPU object to container/machine/unattached,
      but does it w/o proper locking. As a result when multiple threads create
      threads rapidly QEMU may abort with the following message:
      
        GLib-CRITICAL **: g_hash_table_iter_next: assertion
        'ri->version == ri->hash_table->version' failed
      
        ERROR:qemu/qom/object.c:1663:object_get_canonical_path_component:
        code should not be reached
      
      E.g. this issue is observed when running glibc test nptl/tst-eintr1.
      Move cpu_copy invocation under clone_lock to fix that.
      Reviewed-by: NLaurent Vivier <laurent@vivier.eu>
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      73a988d9
    • M
      target/xtensa: linux-user: rewind pc for restarted syscall · 4a6bf7ad
      Max Filippov 提交于
      In case of syscall restart request set pc back to the syscall
      instruction.
      Reviewed-by: NLaurent Vivier <laurent@vivier.eu>
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      4a6bf7ad
    • M
      target/xtensa: fix flush_window_regs · 20ef6670
      Max Filippov 提交于
      flush_window_regs uses wrong stack frame to save overflow registers in
      call8 and call12 frames, which results in wrong register values in
      callers of a function that received a signal.
      Reimplement flush_window_regs closely following window overflow
      sequence.
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      20ef6670
  5. 31 3月, 2018 4 次提交
    • P
      Merge remote-tracking branch 'remotes/riscv/tags/riscv-qemu-2.12-critical-fixes' into staging · f184de75
      Peter Maydell 提交于
      RISC-V: Critical fixes for QEMU 2.12
      
      This series includes changes that are considered release critical,
      such as floating point register file corruption under SMP Linux
      due to incorrect handling of mstatus.FS.
      
      This workaround will be replaced with a more comprehensive fix
      for mstatus.FS handling in QEMU 2.13.
      
      # gpg: Signature made Thu 29 Mar 2018 18:22:42 BST
      # gpg:                using DSA key 6BF1D7B357EF3E4F
      # gpg: Good signature from "Michael Clark <michaeljclark@mac.com>"
      # gpg:                 aka "Michael Clark <mjc@sifive.com>"
      # gpg:                 aka "Michael Clark <michael@metaparadigm.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: 7C99 930E B17C D8BA 073D  5EFA 6BF1 D7B3 57EF 3E4F
      
      * remotes/riscv/tags/riscv-qemu-2.12-critical-fixes:
        RISC-V: Workaround for critical mstatus.FS bug
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      f184de75
    • P
      Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into staging · b60d667d
      Peter Maydell 提交于
      # gpg: Signature made Fri 30 Mar 2018 04:49:42 BST
      # gpg:                using RSA key EF04965B398D6211
      # gpg: Good signature from "Jason Wang (Jason Wang on RedHat) <jasowang@redhat.com>"
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: 215D 46F4 8246 689E C77F  3562 EF04 965B 398D 6211
      
      * remotes/jasowang/tags/net-pull-request:
        qemu-doc: Rework the network options chapter to make "-net" less prominent
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b60d667d
    • P
      Merge remote-tracking branch 'remotes/stefanberger/tags/pull-tpm-2018-03-29-1' into staging · eae3aace
      Peter Maydell 提交于
      Merge tpm 2018/03/29 v1
      
      # gpg: Signature made Fri 30 Mar 2018 01:04:47 BST
      # gpg:                using RSA key 75AD65802A0B4211
      # gpg: Good signature from "Stefan Berger <stefanb@linux.vnet.ibm.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: B818 B9CA DF90 89C2 D5CE  C66B 75AD 6580 2A0B 4211
      
      * remotes/stefanberger/tags/pull-tpm-2018-03-29-1:
        tests: Tests more flags of the CRB interface
        tpm: CRB: Enforce locality is requested before processing buffer
        tpm: CRB: Reset Granted flag when relinquishing locality
        tpm: CRB: set the Idle flag by default
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      eae3aace
    • P
      Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20180329a' into staging · 4cd327de
      Peter Maydell 提交于
      Migration pull (small fixes)
      
      A pair of two small fixes for 2.12.
      
      # gpg: Signature made Thu 29 Mar 2018 14:55:17 BST
      # gpg:                using RSA key 0516331EBC5BFDE7
      # gpg: Good signature from "Dr. David Alan Gilbert (RH2) <dgilbert@redhat.com>"
      # Primary key fingerprint: 45F5 C71B 4A0C B7FB 977A  9FA9 0516 331E BC5B FDE7
      
      * remotes/dgilbert/tags/pull-migration-20180329a:
        migration: Don't activate block devices if using -S
        migration: fix pfd leak
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      4cd327de
  6. 30 3月, 2018 6 次提交
  7. 29 3月, 2018 5 次提交
  8. 28 3月, 2018 1 次提交