diff --git a/include-ui-rect.h-fix-qemu_rect_init-mis-assignment.patch b/include-ui-rect.h-fix-qemu_rect_init-mis-assignment.patch new file mode 100644 index 0000000000000000000000000000000000000000..1e47ca26def6601174a9c693596606e4dd05e99b --- /dev/null +++ b/include-ui-rect.h-fix-qemu_rect_init-mis-assignment.patch @@ -0,0 +1,36 @@ +From 56bfcb77a384419dbd09ca37075a3cf4ba2e9f19 Mon Sep 17 00:00:00 2001 +From: Elen Avan +Date: Fri, 22 Dec 2023 22:17:21 +0300 +Subject: [PATCH] include/ui/rect.h: fix qemu_rect_init() mis-assignment +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Elen Avan +Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2051 +Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2050 +Fixes: a200d53b1fde "virtio-gpu: replace PIXMAN for region/rect test" +Cc: qemu-stable@nongnu.org +Reviewed-by: Michael Tokarev +Reviewed-by: Marc-André Lureau +Signed-off-by: Michael Tokarev +--- + include/ui/rect.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/ui/rect.h b/include/ui/rect.h +index 94898f92d0..68f05d78a8 100644 +--- a/include/ui/rect.h ++++ b/include/ui/rect.h +@@ -19,7 +19,7 @@ static inline void qemu_rect_init(QemuRect *rect, + uint16_t width, uint16_t height) + { + rect->x = x; +- rect->y = x; ++ rect->y = y; + rect->width = width; + rect->height = height; + } +-- +2.27.0 + diff --git a/qemu.spec b/qemu.spec index d4270703876ba99c9205feb2db8d7100a3d16941..1d271897a5bab9c67015fb8c701223bb8d558350 100644 --- a/qemu.spec +++ b/qemu.spec @@ -3,7 +3,7 @@ Name: qemu Version: 8.2.0 -Release: 7 +Release: 8 Epoch: 11 Summary: QEMU is a generic and open source machine emulator and virtualizer License: GPLv2 and BSD and MIT and CC-BY-SA-4.0 @@ -238,6 +238,7 @@ Patch0221: tests-acpi-Update-expected-ACPI-tables-for-vcpu-hotp.patch Patch0222: coro-support-live-patch-for-libcare.patch Patch0223: arm-virt-Use-separate-filed-to-identify-cpu-hotplug-.patch Patch0224: arm-virt-Use-max_cpus-to-calculate-redist1_count.patch +Patch0225: include-ui-rect.h-fix-qemu_rect_init-mis-assignment.patch BuildRequires: flex BuildRequires: gcc @@ -835,9 +836,13 @@ getent passwd qemu >/dev/null || \ %endif %changelog +* Wed Apr 17 2024 Jiabo Feng - 11:8.2.0-8 +- include/ui/rect.h: fix qemu_rect_init() mis-assignment + * Tue Apr 16 2024 Keqian Zhu - 11:8.2.0-7 - arm/virt: Use max_cpus to calculate redist1_count - arm/virt: Use separate filed to identify cpu-hotplug enable + * Wed Apr 10 2024 Jiabo Feng - 11:8.2.0-6 - coro: support live patch for libcare - tests/acpi: Update expected ACPI tables for vcpu hotplug(Update BinDir)