summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-virtualization/recipes-devtools/qemu/qemu-xilinx-7.1/0007-xen-mapcache-Fix-build-on-Arm.patch
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2024-03-26 18:31:47 -0600
committerMark Hatle <mark.hatle@amd.com>2024-03-27 08:28:27 -0600
commitf2ed1a2c937aaa54d1cc98b00841943d48ce41ea (patch)
tree102ef558fbabed14c7541ab361d5b3ecdb70c3ef /meta-xilinx-virtualization/recipes-devtools/qemu/qemu-xilinx-7.1/0007-xen-mapcache-Fix-build-on-Arm.patch
parentd3bb371f8a8063f59dc9b3a654530063da967627 (diff)
downloadmeta-xilinx-f2ed1a2c937aaa54d1cc98b00841943d48ce41ea.tar.gz
qemu: Remove versions older then 8.1, no longer compatible
Versions older then 8.1 are no longer compatible with the runqemu. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-virtualization/recipes-devtools/qemu/qemu-xilinx-7.1/0007-xen-mapcache-Fix-build-on-Arm.patch')
-rw-r--r--meta-xilinx-virtualization/recipes-devtools/qemu/qemu-xilinx-7.1/0007-xen-mapcache-Fix-build-on-Arm.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/meta-xilinx-virtualization/recipes-devtools/qemu/qemu-xilinx-7.1/0007-xen-mapcache-Fix-build-on-Arm.patch b/meta-xilinx-virtualization/recipes-devtools/qemu/qemu-xilinx-7.1/0007-xen-mapcache-Fix-build-on-Arm.patch
deleted file mode 100644
index 7ff202ff..00000000
--- a/meta-xilinx-virtualization/recipes-devtools/qemu/qemu-xilinx-7.1/0007-xen-mapcache-Fix-build-on-Arm.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 2aca3ff63a5d5897cd32e0030569623f0c454f2c Mon Sep 17 00:00:00 2001
2From: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
3Date: Mon, 19 Sep 2022 21:59:55 +0300
4Subject: [PATCH 7/8] xen-mapcache: Fix build on Arm
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9../hw/xen/xen-mapcache.c: In function ‘xen_map_grant_dyn’:
10../hw/xen/xen-mapcache.c:668:9: error: ‘refs’ may be used uninitialized
11 in this function [-Werror=maybe-uninitialized]
12 668 | g_free(refs);
13 | ^~~~~~~~~~~~
14cc1: all warnings being treated as errors
15
16Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
17Acked-by: Stefano Stabellini <stefano.stabellini@amd.com>
18---
19 hw/xen/xen-mapcache.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/hw/xen/xen-mapcache.c b/hw/xen/xen-mapcache.c
23index f81b75d216..6544e331e0 100644
24--- a/hw/xen/xen-mapcache.c
25+++ b/hw/xen/xen-mapcache.c
26@@ -620,7 +620,7 @@ static void *xen_map_grant_dyn(MemoryRegion **mr, hwaddr addr, hwaddr *plen,
27 unsigned int i;
28 unsigned int nrefs = (page_off + *plen + XC_PAGE_SIZE - 1) >> XC_PAGE_SHIFT;
29 uint32_t ref = (addr - XEN_GRANT_ADDR_OFF) >> XC_PAGE_SHIFT;
30- uint32_t *refs;
31+ uint32_t *refs = NULL;
32 unsigned int prot = PROT_READ;
33 struct XENMappedGrantRegion *mgr = NULL;
34
35--
362.25.1
37