1. 01 3月, 2017 4 次提交
    • M
      qtest: fix a memory leak · fc34059f
      Marc-André Lureau 提交于
      Spotted by ASAN.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      fc34059f
    • M
      vhost-user: delay vhost_user_stop · e7c83a88
      Marc-André Lureau 提交于
      Since commit b0a335e3, a socket write
      may trigger a disconnect events, calling vhost_user_stop() and clearing
      all the vhost_dev strutures holding data that vhost.c functions expect
      to remain valid. Delay the cleanup to keep the vhost_dev structure
      valid during the vhost.c functions.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 20170227104956.24729-1-marcandre.lureau@redhat.com
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      e7c83a88
    • P
      Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging · 9514f264
      Peter Maydell 提交于
      This pull request brings:
      - a fix to a minor bug reported by Coverity
      - throttling support in the local backend (command line only)
      
      # gpg: Signature made Tue 28 Feb 2017 09:32:30 GMT
      # gpg:                using DSA key 0x02FC3AEB0101DBC2
      # gpg: Good signature from "Greg Kurz <groug@kaod.org>"
      # gpg:                 aka "Greg Kurz <groug@free.fr>"
      # gpg:                 aka "Greg Kurz <gkurz@linux.vnet.ibm.com>"
      # gpg:                 aka "Gregory Kurz (Groug) <groug@free.fr>"
      # gpg:                 aka "[jpeg image of size 3330]"
      # 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: 2BD4 3B44 535E C0A7 9894  DBA2 02FC 3AEB 0101 DBC2
      
      * remotes/gkurz/tags/for-upstream:
        throttle: factor out duplicate code
        fsdev: add IO throttle support to fsdev devices
        9pfs: fix v9fs_lock error case
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      9514f264
    • P
      Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-fetch' into staging · 7d1730b7
      Peter Maydell 提交于
      trivial patches for 2017-02-28
      
      # gpg: Signature made Tue 28 Feb 2017 06:43:55 GMT
      # gpg:                using RSA key 0x701B4F6B1A693E59
      # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@corpit.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@debian.org>"
      # Primary key fingerprint: 6EE1 95D1 886E 8FFB 810D  4324 457C E0A0 8044 65C5
      #      Subkey fingerprint: 7B73 BAD6 8BE7 A2C2 8931  4B22 701B 4F6B 1A69 3E59
      
      * remotes/mjt/tags/trivial-patches-fetch:
        syscall: fixed mincore(2) not failing with ENOMEM
        hw/acpi/tco.c: fix tco timer stop
        lm32: milkymist-tmu2: fix a third integer overflow
        qemu-options.hx: add missing id=chr0 chardev argument in vhost-user example
        Update copyright year
        tests/prom-env: Enable the test for the sun4u machine, too
        cadence_gem: Remove unused parameter debug message
        register: fix incorrect read mask
        ide: remove undefined behavior in ide-test
        CODING_STYLE: Mention preferred comment form
        hw/core/register: Mark the device with cannot_instantiate_with_device_add_yet
        hw/core/or-irq: Mark the device with cannot_instantiate_with_device_add_yet
        softfloat: Use correct type in float64_to_uint64_round_to_zero()
        target/s390x: Fix typo
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      7d1730b7
  2. 28 2月, 2017 36 次提交