Skip to content
Snippets Groups Projects
  1. Dec 01, 2022
  2. Nov 22, 2022
  3. Nov 15, 2022
    • Stefan Hajnoczi's avatar
      Update VERSION for v7.2.0-rc1 · 2c831124
      Stefan Hajnoczi authored
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      2c831124
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-x86-20221115' of https://gitlab.com/rth7680/qemu into staging · dd64bcea
      Stefan Hajnoczi authored
      Fix cmpxchgl writeback to rax.
      Fix lahf/sahf for 64-bit
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmNy0OYdHHJpY2hhcmQu
      # aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV/2XwgAr2yCrG8irdVBmD1B
      # rNW8xJJWIwEXqJ3KSPBSMEQ5lCVW7urwIYasnTYPV9TMwXvwwbFzCzovp+pJ402b
      # GPCkkjS/DdLHKbFqzEIcVld6IASaYNbcCZjEDeN3U14RZW9X7Aujy1Yg6qWxWnIc
      # ony2awzocGq5iafvPCMATmIkPJErnFv6mLttRq52CmBATgVtsSrxEF735NVuZAaq
      # t9bfN+gQpXARo+AcGzqTpNtcR4DTzE2hyJrXAMivTJtAeEl8XweOq8eV7PkAf4qw
      # ED/AT6G7I38Buzj1o8SN3G54d/v/jwV/L9fWCLs92QZJC/gIi9B7qZf8DglI1ipV
      # YCFKQw==
      # =xP4E
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Mon 14 Nov 2022 18:36:06 EST
      # 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
      
      * tag 'pull-x86-20221115' of https://gitlab.com/rth7680/qemu
      
      :
        target/i386: hardcode R_EAX as destination register for LAHF/SAHF
        target/i386: fix cmpxchg with 32-bit register destination
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      dd64bcea
  4. Nov 14, 2022
    • Paolo Bonzini's avatar
      target/i386: hardcode R_EAX as destination register for LAHF/SAHF · 35d95e41
      Paolo Bonzini authored
      When translating code that is using LAHF and SAHF in combination with the
      REX prefix, the instructions should not use any other register than AH;
      however, QEMU selects SPL (SP being register 4, just like AH) if the
      REX prefix is present.  To fix this, use deposit directly without
      going through gen_op_mov_v_reg and gen_op_mov_reg_v.
      
      Resolves: https://gitlab.com/qemu-project/qemu/-/issues/130
      
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      35d95e41
    • Paolo Bonzini's avatar
      target/i386: fix cmpxchg with 32-bit register destination · d1bb978b
      Paolo Bonzini authored
      Unlike the memory case, where "the destination operand receives a write
      cycle without regard to the result of the comparison", rm must not be
      touched altogether if the write fails, including not zero-extending
      it on 64-bit processors.  This is not how the movcond currently works,
      because it is always followed by a gen_op_mov_reg_v to rm.
      
      To fix it, introduce a new function that is similar to gen_op_mov_reg_v
      but writes to a TCG temporary.
      
      Considering that gen_extu(ot, oldv) is not needed in the memory case
      either, the two cases for register and memory destinations are different
      enough that one might as well fuse the two "if (mod == 3)" into one.
      So do that too.
      
      Resolves: https://gitlab.com/qemu-project/qemu/-/issues/508
      
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      [rth: Add a test case ]
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      d1bb978b
    • Stefan Hajnoczi's avatar
      Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into staging · bb00d0aa
      Stefan Hajnoczi authored
      Block layer patches
      
      - Fix deadlock in graph modification with iothreads
      - mirror: Fix non-converging cases for active mirror
      - qapi: Fix BlockdevOptionsNvmeIoUring @path description
      - blkio: Set BlockDriver::has_variable_length to false
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQJFBAABCAAvFiEE3D3rFZqa+V09dFb+fwmycsiPL9YFAmNyIF8RHGt3b2xmQHJl
      # ZGhhdC5jb20ACgkQfwmycsiPL9ZcHRAAwcQ9cLu6Oh96iWvCCOIxqOsEzVYeCwxI
      # yJrrOYSKvMabWms+gg3m5zYt/sU4CRvjzFMd/WDl4LXN4B1SNBdOjPXkswoLA6cU
      # QvzbVNRPgZxodVXewjWw5fNFYkBvA+Jgx9ffEK0dYAWKFN3bT6I3NzjcKr2eJ2d2
      # Y8RzltBspwwadyTH0lQxY8HfXE7UHukBCAVkcbqQQYuzKa2dR9ERKfRM10uDZwNI
      # eNGWu1W0xvE3+nXqnGfXUXVO7R7Q5L0HfShr4Dhw0zyWbg6DBJRi7iY8cVV1VmCp
      # M0C8ybODRdsMcRJh+k+Q+T33oRBnXytXDiNzNRHx2gOabuc6k/sc6aSfcIvgCMQf
      # PLQsHI0a1o/N238N1Znhfn+M5S0+elTy/xwmzXN2rL3whNMJ9IRoqoxh7nH90CB2
      # F7lMjp7FMmJVYtmy0FcBDUVfShgzqM1TsORAXUfdU5QXf4wA+FyZ16SN/WYYfg4B
      # ZCsdu2vDimA4rNOiWpPEBNLnHv3S/cswTqobQUQ2QN0zzGPZxoKEWAuG4pqlmSGN
      # nMgEiLGFL7Ztgpjw6ZQCisL5rh0P9g53JgY8+b68KfeDXG+R2bEHPtZotIVz7mT7
      # JP5ydTyxozNGvMCKg/0Fp1HaHU1ADm9swnWm5cYm/ax9hq5rMNsaq6YTLap1o1PP
      # e1Oe0rnq/Ys=
      # =zRlt
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Mon 14 Nov 2022 06:02:55 EST
      # gpg:                using RSA key DC3DEB159A9AF95D3D7456FE7F09B272C88F2FD6
      # gpg:                issuer "kwolf@redhat.com"
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>" [full]
      # Primary key fingerprint: DC3D EB15 9A9A F95D 3D74  56FE 7F09 B272 C88F 2FD6
      
      * tag 'for-upstream' of https://repo.or.cz/qemu/kevin
      
      :
        tests/stream-under-throttle: New test
        block: Start/end drain on correct AioContext
        block-backend: Update ctx immediately after root
        block: Make bdrv_child_get_parent_aio_context I/O
        block/blkio: Set BlockDriver::has_variable_length to false
        qapi/block-core: Fix BlockdevOptionsNvmeIoUring @path description
        iotests/151: Test active requests on mirror start
        iotests/151: Test that active mirror progresses
        block/mirror: Fix NULL s->job in active writes
        block/mirror: Drop mirror_wait_for_any_operation()
        block/mirror: Do not wait for active writes
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      bb00d0aa
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-target-arm-20221114' of... · 98f10f0e
      Stefan Hajnoczi authored
      Merge tag 'pull-target-arm-20221114' of https://git.linaro.org/people/pmaydell/qemu-arm into staging
      
      target-arm queue:
       * hw/intc/arm_gicv3: fix prio masking on pmr write
       * MAINTAINERS: Update maintainer's email for Xilinx CAN
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQJNBAABCAA3FiEE4aXFk81BneKOgxXPPCUl7RQ2DN4FAmNyY7cZHHBldGVyLm1h
      # eWRlbGxAbGluYXJvLm9yZwAKCRA8JSXtFDYM3mrBD/4mG6AMW4CGROWq3u3F8STK
      # 22uxpilhyBmPawBykUC8dYId8A0GjGqeJ5HRhYE/0ZKqlk9GtFBI4YHM8ccocozK
      # VdgKP7VvXNiBwjV2kQ3mdZnfXRnNWLTnGQd9Q/9EjU+FOBz4hsOoRh8rv+9t2inn
      # dtXV8wbLYQYHCgVPAwTP39DXzF0YQ5sAjVxbjC1lFE6k3pAcDvoGKKcWt9GOI5m1
      # 5ImPgnVdunscqA9otvl56a03M5TbdH8KiAEARo3juFYYEHkl4qD2E2CK6On8wTIA
      # 7zeSoxvTDDYD6mcV/RwFuEcOr+YIFpxeGxes9PKpnYh8Dpx9YPeIYRsK5qTI7QUz
      # Ldbz9PnZE6DPaPsT67kzFnfx4se6q10d5wXaK8VsFBOZ4V9yYONaXlHiZbgpWn/K
      # jlbiJFtehCA0iS4D6YcoDTqL88M/RM5cbj/5tht8sxrl9HJ3r/hxdJ7W+zqpTg2j
      # 3TV+j9okLqyq/4RIFZbf5yVPFPMtF/FOIl95ZAHmvJYjC/L9yXRT6Y5EdKfZPwMe
      # 5FBjdly4gsUqNxFUfPByRVtaoelxjXi/+0wHXWZNw8Naco3yd7VMoqIRLDE4qhY5
      # GfjF2Aai7PHiwb2VE+mIIfz+ldEk5XHFYlXBtUOwt8q2UUnmYsVqh8zFpTYLaDdY
      # RezkZM4yMYx38GPWCvAvlg==
      # =clh5
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Mon 14 Nov 2022 10:50:15 EST
      # gpg:                using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE
      # gpg:                issuer "peter.maydell@linaro.org"
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>" [full]
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>" [full]
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>" [full]
      # gpg:                 aka "Peter Maydell <peter@archaic.org.uk>" [unknown]
      # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
      
      * tag 'pull-target-arm-20221114' of https://git.linaro.org/people/pmaydell/qemu-arm
      
      :
        hw/intc/arm_gicv3: fix prio masking on pmr write
        MAINTAINERS: Update maintainer's email for Xilinx CAN
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      98f10f0e
    • Jens Wiklander's avatar
      hw/intc/arm_gicv3: fix prio masking on pmr write · d9721f19
      Jens Wiklander authored
      
      With commit 39f29e59 ("hw/intc/arm_gicv3: Use correct number of
      priority bits for the CPU") the number of priority bits was changed from
      the maximum value 8 to typically 5. As a consequence a few of the lowest
      bits in ICC_PMR_EL1 becomes RAZ/WI. However prior to this patch one of
      these bits was still used since the supplied priority value is masked
      before it's eventually right shifted with one bit. So the bit is not
      lost as one might expect when the register is read again.
      
      The Linux kernel depends on lowest valid bit to be reset to zero, see
      commit 33625282adaa ("irqchip/gic-v3: Probe for SCR_EL3 being clear
      before resetting AP0Rn") for details.
      
      So fix this by masking the priority value after it may have been right
      shifted by one bit.
      
      Cc: qemu-stable@nongnu.org
      Fixes: 39f29e59 ("hw/intc/arm_gicv3: Use correct number of priority bits for the CPU")
      Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
      Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      d9721f19
    • Vikram Garhwal's avatar
    • Hanna Reitz's avatar
      tests/stream-under-throttle: New test · 46530d35
      Hanna Reitz authored
      Test streaming a base image into the top image underneath two throttle
      nodes.  This was reported to make qemu 7.1 hang
      (https://gitlab.com/qemu-project/qemu/-/issues/1215
      
      ), so this serves as
      a regression test.
      
      Signed-off-by: default avatarHanna Reitz <hreitz@redhat.com>
      Message-Id: <20221110160921.33158-1-hreitz@redhat.com>
      Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      46530d35
  5. Nov 12, 2022
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-la-20221112' of https://gitlab.com/rth7680/qemu into staging · 305f6f62
      Stefan Hajnoczi authored
      Fix loongarch make check-tcg failure.
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmNu8aUdHHJpY2hhcmQu
      # aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV90jAgAsaB0nU7YGzJRYRmK
      # +QXtrQa5AmXf014X7OeOZyxdYCPCwri2rnCxc1eOKAIOeSbdFY54xjXXEV8qpej+
      # ZiLbdvXFG519vJpZquEJm1wgk68NnKYy2wfeRuwBMcQD4E7yeE9y11IKtuN6vbcq
      # sh/Zxh43KwzyZ1wrVQl8DUxesTcE4RwVDJ+t2q+uYKcgmUVRQJJd9aXLkOKpOb1f
      # QU+6lJAGv293IbW5LUD8fIPNKVWqlVwDIsFVWhYYJFxvWfbL211NsJbX70RnKahr
      # vJ6olGORlShNJEiV++9QTrgGr1v76KkVECaKNtohkYL/BkfNxoy4yWxcC7I9zds+
      # 6oH9vQ==
      # =7NI1
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Fri 11 Nov 2022 20:06:45 EST
      # 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
      
      * tag 'pull-la-20221112' of https://gitlab.com/rth7680/qemu
      
      :
        hw/loongarch: Fix loongarch fdt addr confict
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      305f6f62
    • Philippe Mathieu-Daudé's avatar
      libvduse: Avoid warning about dangerous use of strncpy() · 57bc6e40
      Philippe Mathieu-Daudé authored
      
      GCC 8 added a -Wstringop-truncation warning:
      
        The -Wstringop-truncation warning added in GCC 8.0 via r254630 for
        bug 81117 is specifically intended to highlight likely unintended
        uses of the strncpy function that truncate the terminating NUL
        character from the source string.
      
      Here the next line indeed unconditionally zeroes the last byte, but
      1/ the buffer has been calloc'd, so we don't need to add an extra
      byte, and 2/ we called vduse_name_is_invalid() which checked the
      string length, so we can simply call strcpy().
      
      This fixes when using gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0:
      
        [42/666] Compiling C object subprojects/libvduse/libvduse.a.p/libvduse.c.o
        FAILED: subprojects/libvduse/libvduse.a.p/libvduse.c.o
        cc -m64 -mcx16 -Isubprojects/libvduse/libvduse.a.p -Isubprojects/libvduse -I../../subprojects/libvduse [...] -o subprojects/libvduse/libvduse.a.p/libvduse.c.o -c ../../subprojects/libvduse/libvduse.c
        In file included from /usr/include/string.h:495,
                         from ../../subprojects/libvduse/libvduse.c:24:
        In function ‘strncpy’,
            inlined from ‘vduse_dev_create’ at ../../subprojects/libvduse/libvduse.c:1312:5:
        /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncation]
          106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
              |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        cc1: all warnings being treated as errors
        ninja: build stopped: cannot make progress due to previous errors.
      
      Fixes: d9cf16c0 ("libvduse: Replace strcpy() with strncpy()")
      Suggested-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Reviewed-by: default avatarXie Yongji <xieyongji@bytedance.com>
      Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Tested-by: default avatarBin Meng <bmeng@tinylab.org>
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Message-Id: <20221111124550.35753-1-philmd@linaro.org>
      57bc6e40
    • Song Gao's avatar
      hw/loongarch: Fix loongarch fdt addr confict · 46b21de2
      Song Gao authored
      
      Fix LoongArch check-tcg error:
         TEST    hello on loongarch64
      qemu-system-loongarch64: Some ROM regions are overlapping
      These ROM regions might have been loaded by direct user request or by default.
      They could be BIOS/firmware images, a guest kernel, initrd or some other file loaded into guest memory.
      Check whether you intended to load all this guest code, and whether it has been built to load to the correct addresses.
      
      The following two regions overlap (in the memory address space):
         hello ELF program header segment 0 (addresses 0x0000000000200000 - 0x0000000000242000)
         fdt (addresses 0x0000000000200000 - 0x0000000000300000)
      make[1]: *** [Makefile:177: run-hello] Error 1
      
      Fixes: 02183693 ("hw/loongarch: Load FDT table into dram memory space")
      Reported-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Signed-off-by: default avatarSong Gao <gaosong@loongson.cn>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Message-Id: <20221109020449.978064-1-gaosong@loongson.cn>
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      46b21de2
  6. Nov 11, 2022
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-request-2022-11-11' of https://gitlab.com/thuth/qemu into staging · 6a4cff8e
      Stefan Hajnoczi authored
      * Fix "unused variable" warnings from Clang 15
      * Allow building of guest-agent without emulators or tools
      * White space clean-ups
      * Fixes for typos in the documentation
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmNuI5YRHHRodXRoQHJl
      # ZGhhdC5jb20ACgkQLtnXdP5wLbXfjRAAsUf7C77pVZj5VWpAVYSgHdYJ5WCfVQg3
      # Nd4Yixyx8b6yhgY1Vv9OL/uuY04AAWifQn0AUnNBJKrOKcuvU3mHlE/s1imw9CUf
      # tsX2gE1GAczQqp5dLL2/+FCMZOC/acFkjmA9LAdOfG7eKzodRdsq/ZaIXd2+MmfM
      # nG972Zw0/ZJqQs+DtjwNYvgtywEmRqunKIaCaSwtGHWvot081yw1iW3PvgrKulEr
      # v9SQhAurD+ZxcJSeTn3c8L//KYVyCUGQ0K/1cbBcyhPi7xMQar8j7xuCk7xZiOMW
      # fvhCOSnjbntsf+xnE2VDlakKQvoY6r30Tl0dzSoH79uzGe+ZTPC+L6ly3tzJ0Vo6
      # aslppY+8oYxLbJRX1Im8X0rxK6OqcVjjEXu3fVn8/C1WftIltuy3va2LZNZfQ8Bf
      # +Yte3swzvFzgQE19c0HkgMd4uvfqGIkyprs1n2RjzZaI7cnQ4Ati/wQsOKCUrqrY
      # VYsy3J1IypM7DO/cZ/JpdDV3PPTWv8JI8H2Agn2VhvY86N9ETn71RAj6UYqufW3W
      # H3lMv7L6rU8c1tfcjbr0Xf811EwHekkIjyGt0aJ8MacJNkSc1A4pe+UUGVxNefue
      # W0kT2htHQL1Q9JWjbKQuqT/rYrKUfqRDnd809YAzEVO7jpabS8g/hN3wBiaeZDgK
      # LqLnITUBhRU=
      # =H8p7
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Fri 11 Nov 2022 05:27:34 EST
      # gpg:                using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
      # gpg:                issuer "thuth@redhat.com"
      # gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
      # gpg:                 aka "Thomas Huth <thuth@redhat.com>" [full]
      # gpg:                 aka "Thomas Huth <huth@tuxfamily.org>" [full]
      # gpg:                 aka "Thomas Huth <th.huth@posteo.de>" [unknown]
      # Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5
      
      * tag 'pull-request-2022-11-11' of https://gitlab.com/thuth/qemu
      
      :
        Fix several typos in documentation (found by codespell)
        net: Replace TAB indentations with spaces
        qga: Allow building of the guest agent without system emulators or tools
        libdecnumber/dpd/decimal64: Fix compiler warning from Clang 15
        host-libusb: Remove unused variable
        qemu-img: remove unused variable
        tulip: Remove unused variable
        rtl8139: Remove unused variable
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      6a4cff8e
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-ppc-20221111' of https://gitlab.com/danielhb/qemu into staging · b5871706
      Stefan Hajnoczi authored
      ppc patch queue for 2022-11-11:
      
      Short queue with just a single pnv-phb fix from Thomas Huth.
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iHUEABYKAB0WIQQX6/+ZI9AYAK8oOBk82cqW3gMxZAUCY24dtwAKCRA82cqW3gMx
      # ZNlDAQC+yqONSkYvoANSPNDuMtcK0Lk7KNXFTx5cg8ASNym0twEAkA/YuNv4t0m2
      # 9IRfh/xJ+AhKf6VYKbUwftAsZGPTpAc=
      # =U0me
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Fri 11 Nov 2022 05:02:31 EST
      # gpg:                using EDDSA key 17EBFF9923D01800AF2838193CD9CA96DE033164
      # gpg: Good signature from "Daniel Henrique Barboza <danielhb413@gmail.com>" [unknown]
      # 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: 17EB FF99 23D0 1800 AF28  3819 3CD9 CA96 DE03 3164
      
      * tag 'pull-ppc-20221111' of https://gitlab.com/danielhb/qemu
      
      :
        hw/pci-host/pnv_phb: Avoid quitting QEMU if hotplug of pnv-phb-root-port fails
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      b5871706
    • Stefan Hajnoczi's avatar
      Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging · 67c6597a
      Stefan Hajnoczi authored
      
      pc,virtio: regression fixes
      
      fixes issues from the last pull request:
      
      unresolved symbols for taargets without acpi
      typo in a comment in checkpatch
      virtio buffer overflow
      
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQFDBAABCAAtFiEEXQn9CHHI+FuUyooNKB8NuNKNVGkFAmNtZ0gPHG1zdEByZWRo
      # YXQuY29tAAoJECgfDbjSjVRpc/oIAIYNoZZGbAd9kvePlwO9mDiw8mMILNo2ylnh
      # RXNUggqmNy/A4Tiu9WFFUwHlT7CWUQAz6gYTyC3eyr7rz87GhjF16EQ+hMOi9wVr
      # MlgbYyvp+/MBQDdJGbJJVXxL1/wmC4LAQws8S3AVY++dvEegxod7uC2vF8abHUP+
      # vvihz+SHqhDFL5TSLITNOWQfIp4KIaNIx2ZugHI7mYKUHS7YwW38QC3dScTQlsV/
      # /qr1YhJ9mGFWBq+dFytBwcQjA+NSKN2wQJtEQadGO7cTzcrBenLewoN1VOKcv2+s
      # jTNAt7Q973HVAQMYWuQB5272S3Xar1ArpUPxm6IwEbYB5Q9OJCg=
      # =me5Q
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Thu 10 Nov 2022 16:04:08 EST
      # gpg:                using RSA key 5D09FD0871C8F85B94CA8A0D281F0DB8D28D5469
      # gpg:                issuer "mst@redhat.com"
      # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>" [full]
      # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>" [full]
      # Primary key fingerprint: 0270 606B 6F3C DF3D 0B17  0970 C350 3912 AFBE 8E67
      #      Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA  8A0D 281F 0DB8 D28D 5469
      
      * tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu
      
      :
        virtio-net: fix for heap-buffer-overflow
        display: include dependencies explicitly
        checkpatch: typo fix
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      67c6597a
    • Stefan Weil's avatar
      Fix several typos in documentation (found by codespell) · 2cb40d44
      Stefan Weil authored
      
      Those typos are in files which are used to generate the QEMU manual.
      
      Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
      Message-Id: <20221110190825.879620-1-sw@weilnetz.de>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Reviewed-by: default avatarAni Sinha <ani@anisinha.ca>
      Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      [thuth: update sentence in can.rst as suggested by Peter]
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      2cb40d44
    • Ahmed Abouzied's avatar
      net: Replace TAB indentations with spaces · f469150b
      Ahmed Abouzied authored
      Replaces TABs with spaces, making sure to have a consistent coding style
      of 4 space indentations in the net subsystem.
      
      Resolves: https://gitlab.com/qemu-project/qemu/-/issues/377
      
      
      Signed-off-by: default avatarAhmed Abouzied <email@aabouzied.com>
      Message-Id: <20210614183849.20622-1-email@aabouzied.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      [thuth: Fixed mis-aligned indentation in some of the files]
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      f469150b
    • Thomas Huth's avatar
      qga: Allow building of the guest agent without system emulators or tools · e0091133
      Thomas Huth authored
      
      If configuring with "--disable-system --disable-user --enable-guest-agent"
      the linking currently fails with:
      
      qga/qemu-ga.p/commands.c.o: In function `qmp_command_info':
      build/../../home/thuth/devel/qemu/qga/commands.c:70: undefined reference to `qmp_command_name'
      build/../../home/thuth/devel/qemu/qga/commands.c:71: undefined reference to `qmp_command_is_enabled'
      build/../../home/thuth/devel/qemu/qga/commands.c:72: undefined reference to `qmp_has_success_response'
      qga/qemu-ga.p/commands.c.o: In function `qmp_guest_info':
      build/../../home/thuth/devel/qemu/qga/commands.c:82: undefined reference to `qmp_for_each_command'
      qga/qemu-ga.p/commands.c.o: In function `qmp_guest_exec':
      build/../../home/thuth/devel/qemu/qga/commands.c:410: undefined reference to `qbase64_decode'
      qga/qemu-ga.p/channel-posix.c.o: In function `ga_channel_open':
      build/../../home/thuth/devel/qemu/qga/channel-posix.c:214: undefined reference to `unix_listen'
      build/../../home/thuth/devel/qemu/qga/channel-posix.c:228: undefined reference to `socket_parse'
      build/../../home/thuth/devel/qemu/qga/channel-posix.c:234: undefined reference to `socket_listen'
      qga/qemu-ga.p/commands-posix.c.o: In function `qmp_guest_file_write':
      build/../../home/thuth/devel/qemu/qga/commands-posix.c:527: undefined reference to `qbase64_decode'
      
      Let's make sure that we also compile and link the required files if
      the system emulators have not been enabled.
      
      Message-Id: <20221110083626.31899-1-thuth@redhat.com>
      Tested-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      e0091133
    • Thomas Huth's avatar
      libdecnumber/dpd/decimal64: Fix compiler warning from Clang 15 · b2a3cbb8
      Thomas Huth authored
      
      Clang 15 from Fedora 37 complains:
      
       ../libdecnumber/dpd/decimal64.c:620:8: error: variable 'n' set but
       not used [-Werror,-Wunused-but-set-variable]
         Int  n;                     /* output bunch counter */
              ^
       1 error generated.
      
      Remove the unused variable to silence the compiler warning.
      
      Message-Id: <20221110131112.104283-1-thuth@redhat.com>
      Reviewed-by: default avatarCédric Le Goater <clg@kaod.org>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      b2a3cbb8
    • Miroslav Rezanina's avatar
      host-libusb: Remove unused variable · 5ab8ba97
      Miroslav Rezanina authored
      
      Variable unconnected used in usb_host_auto_check function is only incremented
      but never read as line where it is read was disabled since introducing the code.
      This causes 'Unused but set variable' warning on Clang 15.0.1 compiler.
      
      Removing the variable and disabled code to prevent the warning.
      
      Signed-off-by: default avatarMiroslav Rezanina <mrezanin@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <00df0db69ff9167d38bac81f6d03281955bd861a.1668009030.git.mrezanin@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      5ab8ba97
    • Miroslav Rezanina's avatar
      qemu-img: remove unused variable · 0f48c47c
      Miroslav Rezanina authored
      
      Variable block_count used in img_dd function is only incremented but never read.
      This causes 'Unused but set variable' warning on Clang 15.0.1 compiler.
      
      Removing the variable to prevent the warning.
      
      Signed-off-by: default avatarMiroslav Rezanina <mrezanin@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <e86d5b57f9d13bde995c616a533b876f1fb8a527.1668009030.git.mrezanin@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      0f48c47c
    • Miroslav Rezanina's avatar
      tulip: Remove unused variable · 6083dcad
      Miroslav Rezanina authored
      
      Variable n used in tulip_idblock_crc function is only incremented but never read.
      This causes 'Unused but set variable' warning on Clang 15.0.1 compiler.
      
      Removing the variable to prevent the warning.
      
      Signed-off-by: default avatarMiroslav Rezanina <mrezanin@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <02e1560d115c208df32236df8916fed98429fda1.1668009030.git.mrezanin@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      6083dcad
    • Miroslav Rezanina's avatar
      rtl8139: Remove unused variable · 7d7238c7
      Miroslav Rezanina authored
      
      Variable send_count used in rtl8139_cplus_transmit_one function is only
      incremented but never read. This causes 'Unused but set variable' warning
      on Clang 15.0.1 compiler.
      
      Removing the variable to prevent the warning.
      
      Signed-off-by: default avatarMiroslav Rezanina <mrezanin@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <15a32dd06c492216cbf27cd3ddcbe1e9afb8d8f5.1668009030.git.mrezanin@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      7d7238c7
  7. Nov 10, 2022
Loading