projects
/
feed
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
qemu: update to 8.1.2
[feed/packages.git]
/
utils
/
qemu
/
patches
/
0006-util-mmap-alloc-fix-missing-MAP_SYNC.patch
diff --git
a/utils/qemu/patches/0006-util-mmap-alloc-fix-missing-MAP_SYNC.patch
b/utils/qemu/patches/0006-util-mmap-alloc-fix-missing-MAP_SYNC.patch
index e09447bd1ef81a096f5fd9b95ef7ba35d0d38af8..f8bfa67c2abc7dfeec5d25e310ff4b8cd4bbc5bb 100644
(file)
--- a/
utils/qemu/patches/0006-util-mmap-alloc-fix-missing-MAP_SYNC.patch
+++ b/
utils/qemu/patches/0006-util-mmap-alloc-fix-missing-MAP_SYNC.patch
@@
-32,9
+32,9
@@
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
#endif /* CONFIG_LINUX */
#include "qemu/osdep.h"
-@@ -29,6 +26,13 @@
- #include <sys/vfs.h>
+@@ -57,6 +54,13 @@ QemuFsType qemu_fd_getfs(int fd)
#endif
+ }
+#ifndef MAP_SYNC
+#define MAP_SYNC 0x0