[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 57a93f: configure: Symlink binaries using .ex
From: |
Richard Henderson |
Subject: |
[Qemu-commits] [qemu/qemu] 57a93f: configure: Symlink binaries using .exe suffix with... |
Date: |
Fri, 17 Dec 2021 18:04:07 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 57a93f16e8dad554720edcc5ed1fe613d68bf230
https://github.com/qemu/qemu/commit/57a93f16e8dad554720edcc5ed1fe613d68bf230
Author: Philippe Mathieu-Daudé <philmd@redhat.com>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M configure
Log Message:
-----------
configure: Symlink binaries using .exe suffix with MinGW
When using the MinGW toolchain, we use the .exe suffix for the
executable name. We also need to use it for the symlinks in the
build directory.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20211109144504.1541206-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: dc7d6cafce8a7d36d2ebc03be3b6162e0eb98c22
https://github.com/qemu/qemu/commit/dc7d6cafce8a7d36d2ebc03be3b6162e0eb98c22
Author: Philippe Mathieu-Daudé <philmd@redhat.com>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M target/i386/kvm/kvm.c
Log Message:
-----------
target/i386/kvm: Replace use of __u32 type
QEMU coding style mandates to not use Linux kernel internal
types for scalars types. Replace __u32 by uint32_t.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211116193955.2793171-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: 4455922f7bb8fef2f5aa0a4d3901041bcc4b659d
https://github.com/qemu/qemu/commit/4455922f7bb8fef2f5aa0a4d3901041bcc4b659d
Author: Philippe Mathieu-Daudé <philmd@redhat.com>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M qemu-keymap.c
Log Message:
-----------
qemu-keymap: Add license in generated files
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Message-Id: <20211117174533.1900570-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: 74fb2f4f4c47c966ab54687392e6561b4de4bb8a
https://github.com/qemu/qemu/commit/74fb2f4f4c47c966ab54687392e6561b4de4bb8a
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M hw/avr/atmega.c
Log Message:
-----------
hw/avr: Realize AVRCPU qdev object using qdev_realize()
TYPE_AVR_CPU inherits TYPE_CPU, which itself inherits TYPE_DEVICE.
TYPE_DEVICE instances are realized using qdev_realize(), we don't
need to access QOM internal values.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Michael Rolnik <mrolnik@gmail.com>
Message-Id: <20211205224109.322152-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: f71d31fa811f15d40ab076b350c2067d30ac22b1
https://github.com/qemu/qemu/commit/f71d31fa811f15d40ab076b350c2067d30ac22b1
Author: Leonardo Garcia <lagarcia@br.ibm.com>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M hw/virtio/vhost.c
Log Message:
-----------
hw/virtio/vhost: Fix typo in comment.
Signed-off-by: Leonardo Garcia <lagarcia@br.ibm.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id:
<a10a0ddab65b474ebea1e1141abe0f4aa463909b.1637668012.git.lagarcia@br.ibm.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: 036ef344b6c51f651a3b5c6ca56868fa3e6554fe
https://github.com/qemu/qemu/commit/036ef344b6c51f651a3b5c6ca56868fa3e6554fe
Author: Zhang Chen <chen.zhang@intel.com>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M docs/block-replication.txt
Log Message:
-----------
docs/block-replication.txt: Fix replication top-id command demo
This demo not correct, the original childs1 can't pass the
the bdrv_is_root_node check in replcation_start().
Keep consistent with docs/COLO-FT.txt
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20211018085044.2788276-1-chen.zhang@intel.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: 2c674fada72079583a3f2cc1790b16a0259c4fa0
https://github.com/qemu/qemu/commit/2c674fada72079583a3f2cc1790b16a0259c4fa0
Author: Philippe Mathieu-Daudé <philmd@redhat.com>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M include/glib-compat.h
Log Message:
-----------
glib-compat: Introduce g_memdup2() wrapper
When experimenting raising GLIB_VERSION_MIN_REQUIRED to 2.68
(Fedora 34 provides GLib 2.68.1) we get:
hw/virtio/virtio-crypto.c:245:24: error: 'g_memdup' is deprecated: Use
'g_memdup2' instead [-Werror,-Wdeprecated-declarations]
...
g_memdup() has been updated by g_memdup2() to fix eventual security
issues (size argument is 32-bit and could be truncated / wrapping).
GLib recommends to copy their static inline version of g_memdup2():
https://discourse.gnome.org/t/port-your-module-from-g-memdup-to-g-memdup2-now/5538
Our glib-compat.h provides a comment explaining how to deal with
these deprecated declarations (see commit e71e8cc0355
"glib: enforce the minimum required version and warn about old APIs").
Following this comment suggestion, implement the g_memdup2_qemu()
wrapper to g_memdup2(), and use the safer equivalent inlined when
we are using pre-2.68 GLib.
Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210903174510.751630-3-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: 460056dbe6b2df363de6d8c2a9c9ba862653d6bb
https://github.com/qemu/qemu/commit/460056dbe6b2df363de6d8c2a9c9ba862653d6bb
Author: Philippe Mathieu-Daudé <philmd@redhat.com>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M tests/qtest/libqos/ahci.c
M tests/qtest/libqos/qgraph.c
Log Message:
-----------
tests/qtest: Replace g_memdup() by g_memdup2()
Per
https://discourse.gnome.org/t/port-your-module-from-g-memdup-to-g-memdup2-now/5538
The old API took the size of the memory to duplicate as a guint,
whereas most memory functions take memory sizes as a gsize. This
made it easy to accidentally pass a gsize to g_memdup(). For large
values, that would lead to a silent truncation of the size from 64
to 32 bits, and result in a heap area being returned which is
significantly smaller than what the caller expects. This can likely
be exploited in various modules to cause a heap buffer overflow.
Replace g_memdup() by the safer g_memdup2() wrapper.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210903174510.751630-25-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: ce2ff9cccf0c5f123f9d1e3d5e4fc07d1c2c159d
https://github.com/qemu/qemu/commit/ce2ff9cccf0c5f123f9d1e3d5e4fc07d1c2c159d
Author: Philippe Mathieu-Daudé <philmd@redhat.com>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M scripts/checkpatch.pl
Log Message:
-----------
checkpatch: Do not allow deprecated g_memdup()
g_memdup() is insecure and as been deprecated in GLib 2.68.
QEMU provides the safely equivalent g_memdup2() wrapper.
Do not allow more g_memdup() calls in the repository, provide
a hint to use g_memdup2().
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210903174510.751630-29-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: 90978e15bc9a23c208b25bf7ea697a5d0925562b
https://github.com/qemu/qemu/commit/90978e15bc9a23c208b25bf7ea697a5d0925562b
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M configure
M docs/block-replication.txt
M hw/avr/atmega.c
M hw/virtio/vhost.c
M include/glib-compat.h
M qemu-keymap.c
M scripts/checkpatch.pl
M target/i386/kvm/kvm.c
M tests/qtest/libqos/ahci.c
M tests/qtest/libqos/qgraph.c
Log Message:
-----------
Merge tag 'trivial-branch-for-7.0-pull-request' of
https://gitlab.com/laurent_vivier/qemu into staging
Trivial patches pull request 20211217
# gpg: Signature made Fri 17 Dec 2021 12:09:51 PM PST
# gpg: using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg: issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [unknown]
# gpg: aka "Laurent Vivier <laurent@vivier.eu>" [unknown]
# gpg: aka "Laurent Vivier (Red Hat) <lvivier@redhat.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: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C
* tag 'trivial-branch-for-7.0-pull-request' of
https://gitlab.com/laurent_vivier/qemu:
checkpatch: Do not allow deprecated g_memdup()
tests/qtest: Replace g_memdup() by g_memdup2()
glib-compat: Introduce g_memdup2() wrapper
docs/block-replication.txt: Fix replication top-id command demo
hw/virtio/vhost: Fix typo in comment.
hw/avr: Realize AVRCPU qdev object using qdev_realize()
qemu-keymap: Add license in generated files
target/i386/kvm: Replace use of __u32 type
configure: Symlink binaries using .exe suffix with MinGW
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Compare: https://github.com/qemu/qemu/compare/93dc314c9225...90978e15bc9a