1. 10 5月, 2019 4 次提交
  2. 09 5月, 2019 6 次提交
    • D
      linux-user: avoid string truncation warnings in uname field copying · b2acfb55
      Daniel P. Berrangé 提交于
      In file included from /usr/include/string.h:494,
                       from include/qemu/osdep.h:101,
                       from linux-user/uname.c:20:
      In function ‘strncpy’,
          inlined from ‘sys_uname’ at linux-user/uname.c:94:3:
      /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation]
        106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      We don't care where the NUL terminator in the original uname
      field was. It suffices to copy the entire original field and
      simply force a NUL terminator at the end of the new field.
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20190501144646.4851-1-berrange@redhat.com>
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      b2acfb55
    • A
      linux-user/elfload: Fix GCC 9 build warnings · d7eb2b92
      Alistair Francis 提交于
      Fix this warning when building with GCC9 on Fedora 30:
      In function ‘strncpy’,
          inlined from ‘fill_psinfo’ at /home/alistair/qemu/linux-user/elfload.c:3208:12,
          inlined from ‘fill_note_info’ at /home/alistair/qemu/linux-user/elfload.c:3390:5,
          inlined from ‘elf_core_dump’ at /home/alistair/qemu/linux-user/elfload.c:3539:9:
      /usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
        106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Signed-off-by: NAlistair Francis <alistair.francis@wdc.com>
      Reviewed-by: NLaurent Vivier <laurent@vivier.eu>
      Reviewed-by: NRichard Henderson <richard.henderson@linaro.org>
      Message-Id: <c4d2b1de9efadcf1c900b91361af9302823a72a9.1556666645.git.alistair.francis@wdc.com>
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      d7eb2b92
    • H
      linux-user: Add missing IPV6 sockopts · b9cce6d7
      Helge Deller 提交于
      When running ssh over IPv6 with linux-user I faced this warning:
       Unsupported setsockopt level=41 optname=67
       setsockopt IPV6_TCLASS 32: Protocol not available:
      
      This patch adds code to the linux-user emulatation for setting and
      retrieving of a few missing IPV6 options, including IPV6_TCLASS.
      Signed-off-by: NHelge Deller <deller@gmx.de>
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      b9cce6d7
    • P
      Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-pull-request' into staging · 68a7b972
      Peter Maydell 提交于
      Pull request trivial branch 2019-05-03
      
      # gpg: Signature made Fri 03 May 2019 12:26:34 BST
      # gpg:                using RSA key F30C38BD3F2FBE3C
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full]
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * remotes/vivier2/tags/trivial-branch-pull-request:
        sockets: avoid string truncation warnings when copying UNIX path
        hw/sparc/leon3: Allow load of uImage firmwares
        Makefile: Let the 'clean' rule remove qemu-ga.exe on Windows hosts
        net: Print output of "-net nic, model=help" to stdout instead of stderr
        Header cleanups
        Update configure
        configure: fix pam test warning
        qom: use object_new_with_type in object_new_with_propv
        doc: fix the configuration path
        CODING_STYLE: indent example code as all others
        CODING_STYLE: specify the indent rule for multiline code
        hw/net/pcnet: Use qemu_log_mask(GUEST_ERROR) instead of printf
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      68a7b972
    • P
      Merge remote-tracking branch 'remotes/thibault/tags/samuel-thibault' into staging · c56247e5
      Peter Maydell 提交于
      Update slirp submodule
      
      Samuel Thibault (1):
        Update upstream slirp
        Adds gitignore, README file, and fixes ident protocol parsing.
      
      # gpg: Signature made Thu 09 May 2019 09:00:30 BST
      # gpg:                using RSA key E61DBB15D4172BDEC97E92D9DB550E89F0FA54F3
      # gpg: Good signature from "Samuel Thibault <samuel.thibault@aquilenet.fr>" [unknown]
      # gpg:                 aka "Samuel Thibault <sthibault@debian.org>" [marginal]
      # gpg:                 aka "Samuel Thibault <samuel.thibault@gnu.org>" [unknown]
      # gpg:                 aka "Samuel Thibault <samuel.thibault@inria.fr>" [marginal]
      # gpg:                 aka "Samuel Thibault <samuel.thibault@labri.fr>" [marginal]
      # gpg:                 aka "Samuel Thibault <samuel.thibault@ens-lyon.org>" [marginal]
      # gpg:                 aka "Samuel Thibault <samuel.thibault@u-bordeaux.fr>" [unknown]
      # 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: E61D BB15 D417 2BDE C97E  92D9 DB55 0E89 F0FA 54F3
      
      * remotes/thibault/tags/samuel-thibault:
        Update upstream slirp
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c56247e5
    • S
      Update upstream slirp · 30302ace
      Samuel Thibault 提交于
      Adds gitignore, README file, and fixes ident protocol parsing.
      Signed-off-by: NSamuel Thibault <samuel.thibault@ens-lyon.org>
      30302ace
  3. 08 5月, 2019 4 次提交
    • P
      Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2019-05-07' into staging · df06df4f
      Peter Maydell 提交于
      nbd patches for 2019-05-07
      
      - iotest improvements
      
      # gpg: Signature made Tue 07 May 2019 16:00:18 BST
      # gpg:                using RSA key A7A16B4A2527436A
      # gpg: Good signature from "Eric Blake <eblake@redhat.com>" [full]
      # gpg:                 aka "Eric Blake (Free Software Programmer) <ebb9@byu.net>" [full]
      # gpg:                 aka "[jpeg image of size 6874]" [full]
      # Primary key fingerprint: 71C2 CC22 B1C4 6029 27D2  F3AA A7A1 6B4A 2527 436A
      
      * remotes/ericb/tags/pull-nbd-2019-05-07:
        iotests: Make 182 do without device_add
        iotests: Tweak 221 sizing for different hole granularities
        tests/qemu-iotests: Fix more reference output files due to recent qemu-io change
        iotests: Fix 233 for ports other than 10809
        qemu-nbd: Look up flag names in array
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      df06df4f
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190507' into staging · 629d1669
      Peter Maydell 提交于
      target-arm queue:
       * Stop using variable length array in dc_zva
       * Implement M-profile XPSR GE bits
       * Don't enable ARMV7M_EXCP_DEBUG from reset
       * armv7m_nvic: NS BFAR and BFSR are RAZ/WI if BFHFNMINS == 0
       * armv7m_nvic: Check subpriority in nvic_recompute_state_secure()
       * fix various minor issues to allow building for Windows-on-ARM64
       * aspeed: Set SDRAM size
       * Allow system registers for KVM guests to be changed by QEMU code
       * raspi: Diagnose requests for too much RAM
       * virt: Support firmware configuration with -blockdev
      
      # gpg: Signature made Tue 07 May 2019 12:59:30 BST
      # gpg:                using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE
      # gpg:                issuer "peter.maydell@linaro.org"
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>" [ultimate]
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>" [ultimate]
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>" [ultimate]
      # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
      
      * remotes/pmaydell/tags/pull-target-arm-20190507:
        target/arm: Stop using variable length array in dc_zva
        target/arm: Implement XPSR GE bits
        hw/intc/armv7m_nvic: Don't enable ARMV7M_EXCP_DEBUG from reset
        hw/intc/armv7m_nvic: NS BFAR and BFSR are RAZ/WI if BFHFNMINS == 0
        hw/arm/armv7m_nvic: Check subpriority in nvic_recompute_state_secure()
        osdep: Fix mingw compilation regarding stdio formats
        util/cacheinfo: Use uint64_t on LLP64 model to satisfy Windows ARM64
        qga: Fix mingw compilation warnings on enum conversion
        QEMU_PACKED: Remove gcc_struct attribute in Windows non x86 targets
        arm: aspeed: Set SDRAM size
        arm: Allow system registers for KVM guests to be changed by QEMU code
        hw/arm/raspi: Diagnose requests for too much RAM
        hw/arm/virt: Support firmware configuration with -blockdev
        pflash_cfi01: New pflash_cfi01_legacy_drive()
        pc: Rearrange pc_system_firmware_init()'s legacy -drive loop
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      629d1669
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/vga-20190507-pull-request' into staging · a6f6d247
      Peter Maydell 提交于
      vga: bugfixes for qxl, cirrus, ati.
      vga: add "-vga help" support.
      vga: move i2c-ddc to display.
      
      # gpg: Signature made Tue 07 May 2019 09:19:32 BST
      # gpg:                using RSA key 4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * remotes/kraxel/tags/vga-20190507-pull-request:
        i2c-ddc: move it to hw/display
        ati-vga: Fix check for blt outside vram
        qxl: avoid unaligned pointer reads/writes
        vl: add -vga help support
        vl: constify VGAInterfaceInfo
        hw/display/cirrus_vga: Remove unused include
        hw/display/cirrus_vga: Update the documentation URL
        qxl: check release info object
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      a6f6d247
    • P
      Merge remote-tracking branch 'remotes/rth/tags/pull-dt-20190506' into staging · d6de7fed
      Peter Maydell 提交于
      Add support for variable-length ISAs
      
      # gpg: Signature made Mon 06 May 2019 19:26:21 BST
      # gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
      # gpg:                issuer "richard.henderson@linaro.org"
      # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" [full]
      # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F
      
      * remotes/rth/tags/pull-dt-20190506:
        decodetree: Add DisasContext argument to !function expanders
        decodetree: Expand a decode_load function
        decodetree: Initial support for variable-length ISAs
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      d6de7fed
  4. 07 5月, 2019 26 次提交