1. 24 10月, 2018 2 次提交
    • Z
      hostmem-file: fixed the memory leak while get pmem path. · a1f3bb18
      Zhang Yi 提交于
      object_get_canonical_path_component() returns a string which
      must be freed using g_free().
      Reported-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NZhang Yi <yi.z.zhang@linux.intel.com>
      Message-Id: <7328fb16c394eaf5d65437d11c2a9343647b6d3d.1535471899.git.yi.z.zhang@linux.intel.com>
      Reviewed-by: NEduardo Habkost <ehabkost@redhat.com>
      Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
      a1f3bb18
    • P
      Merge remote-tracking branch 'remotes/armbru/tags/pull-error-2018-10-22' into staging · 13399aad
      Peter Maydell 提交于
      Error reporting patches for 2018-10-22
      
      # gpg: Signature made Mon 22 Oct 2018 13:20:23 BST
      # gpg:                using RSA key 3870B400EB918653
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>"
      # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653
      
      * remotes/armbru/tags/pull-error-2018-10-22: (40 commits)
        error: Drop bogus "use error_setg() instead" admonitions
        vpc: Fail open on bad header checksum
        block: Clean up bdrv_img_create()'s error reporting
        vl: Simplify call of parse_name()
        vl: Fix exit status for -drive format=help
        blockdev: Convert drive_new() to Error
        vl: Assert drive_new() does not fail in default_drive()
        fsdev: Clean up error reporting in qemu_fsdev_add()
        spice: Clean up error reporting in add_channel()
        tpm: Clean up error reporting in tpm_init_tpmdev()
        numa: Clean up error reporting in parse_numa()
        vnc: Clean up error reporting in vnc_init_func()
        ui: Convert vnc_display_init(), init_keyboard_layout() to Error
        ui/keymaps: Fix handling of erroneous include files
        vl: Clean up error reporting in device_init_func()
        vl: Clean up error reporting in parse_fw_cfg()
        vl: Clean up error reporting in mon_init_func()
        vl: Clean up error reporting in machine_set_property()
        vl: Clean up error reporting in chardev_init_func()
        qom: Clean up error reporting in user_creatable_add_opts_foreach()
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      13399aad
  2. 23 10月, 2018 3 次提交
    • P
      Merge remote-tracking branch 'remotes/thibault/tags/samuel-thibault' into staging · 9b29b44e
      Peter Maydell 提交于
      Fam Zheng (2):
        slirp: Add sanity check for str option length
        slirp: Implement RFC2132 TFTP server name
      
      # gpg: Signature made Sun 21 Oct 2018 20:29:34 BST
      # gpg:                using RSA key E3F65A9E9560DB4C
      # gpg: Good signature from "Samuel Thibault <samuel.thibault@aquilenet.fr>"
      # gpg:                 aka "Samuel Thibault <sthibault@debian.org>"
      # gpg:                 aka "Samuel Thibault <samuel.thibault@gnu.org>"
      # gpg:                 aka "Samuel Thibault <samuel.thibault@inria.fr>"
      # gpg:                 aka "Samuel Thibault <samuel.thibault@labri.fr>"
      # gpg:                 aka "Samuel Thibault <samuel.thibault@ens-lyon.org>"
      # gpg:                 aka "Samuel Thibault <samuel.thibault@u-bordeaux.fr>"
      # 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: 900C B024 B679 31D4 0F82  304B D017 8C76 7D06 9EE6
      #      Subkey fingerprint: 33FA 7B64 6195 01F8 CE9C  8F97 E3F6 5A9E 9560 DB4C
      
      * remotes/thibault/tags/samuel-thibault:
        slirp: Implement RFC2132 TFTP server name
        slirp: Add sanity check for str option length
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      9b29b44e
    • P
      Merge remote-tracking branch 'remotes/berrange/tags/qcrypto-next-pull-request' into staging · 7acd80e8
      Peter Maydell 提交于
      Update min required crypto library versions
      
      The min required versions for crypto libraries are now
      
       - gnutls >= 3.1.18
       - nettle >= 2.7.1
       - gcrypt >= 1.5.0
      
      # gpg: Signature made Fri 19 Oct 2018 14:42:35 BST
      # gpg:                using RSA key BE86EBB415104FDF
      # gpg: Good signature from "Daniel P. Berrange <dan@berrange.com>"
      # gpg:                 aka "Daniel P. Berrange <berrange@redhat.com>"
      # Primary key fingerprint: DAF3 A6FD B26B 6291 2D0E  8E3F BE86 EBB4 1510 4FDF
      
      * remotes/berrange/tags/qcrypto-next-pull-request:
        crypto: require nettle >= 2.7.1 for building QEMU
        crypto: require libgcrypt >= 1.5.0 for building QEMU
        crypto: require gnutls >= 3.1.18 for building QEMU
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      7acd80e8
    • R
      osdep: Work around MinGW assert · 3ebee3b1
      Richard Henderson 提交于
      In several places we use assert(FEATURE), and assume that if FEATURE
      is disabled, all following code is removed as unreachable.  Which allows
      us to compile-out functions that are only present with FEATURE, and
      have a link-time failure if the functions remain used.
      
      MinGW does not mark its internal function _assert() as noreturn, so the
      compiler cannot see when code is unreachable, which leads to link errors
      for this host that are not present elsewhere.
      
      The current build-time failure concerns 62823083, but I remember
      having seen this same error before.  Fix it once and for all for MinGW.
      Signed-off-by: NRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-id: 20181022181623.8810-1-richard.henderson@linaro.org
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      3ebee3b1
  3. 22 10月, 2018 2 次提交
  4. 21 10月, 2018 1 次提交
    • P
      Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-3.1-pull-request' into staging · 99e2487e
      Peter Maydell 提交于
      A series to enable ioctl usbfs in linux-user
      
      # gpg: Signature made Fri 19 Oct 2018 13:18:53 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-3.1-pull-request:
        linux-user: Implement special usbfs ioctls.
        linux-user: Define ordinary usbfs ioctls.
        linux-user: Check for Linux USBFS in configure
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      99e2487e
  5. 20 10月, 2018 1 次提交
    • P
      Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging · b312532f
      Peter Maydell 提交于
      * RTC fixes (Artem)
      * icount fixes (Artem)
      * rr fixes (Pavel, myself)
      * hotplug cleanup (Igor)
      * SCSI fixes (myself)
      * 4.20-rc1 KVM header update (myself)
      * coalesced PIO support (Peng Hao)
      * HVF fixes (Roman B.)
      * Hyper-V refactoring (Roman K.)
      * Support for Hyper-V IPI (Vitaly)
      
      # gpg: Signature made Fri 19 Oct 2018 12:47:58 BST
      # gpg:                using RSA key BFFBD25F78C7AE83
      # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
      # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>"
      # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
      #      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83
      
      * remotes/bonzini/tags/for-upstream: (47 commits)
        replay: pass raw icount value to replay_save_clock
        target/i386: kvm: just return after migrate_add_blocker failed
        hyperv_testdev: add SynIC message and event testmodes
        hyperv: process POST_MESSAGE hypercall
        hyperv: add support for KVM_HYPERV_EVENTFD
        hyperv: process SIGNAL_EVENT hypercall
        hyperv: add synic event flag signaling
        hyperv: add synic message delivery
        hyperv: make overlay pages for SynIC
        hyperv: only add SynIC in compatible configurations
        hyperv: qom-ify SynIC
        hyperv:synic: split capability testing and setting
        i386: add hyperv-stub for CONFIG_HYPERV=n
        default-configs: collect CONFIG_HYPERV* in hyperv.mak
        hyperv: factor out arch-independent API into hw/hyperv
        hyperv: make hyperv_vp_index inline
        hyperv: split hyperv-proto.h into x86 and arch-independent parts
        hyperv: rename kvm_hv_sint_route_set_sint
        hyperv: make HvSintRoute reference-counted
        hyperv: address HvSintRoute by X86CPU pointer
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b312532f
  6. 19 10月, 2018 31 次提交