mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 06:49:32 +02:00
remove-hardcoded-libexec.patch: removed
- included in the new version
qemu-vmware-vga-depth.patch: removed
- doesn't apply anymore
- the problem addressed by the patch is fixed by
reverting commit 1f202568e0553b416483e5993f1bde219c22cf72
Revert-vmware_vga-Add-back-some-info-in-local-state-.patch:
- VMware VGA requires that the depth presented to the guest
to be the same as the Display Surface depth in order to do not
corrupt the display
- do not cache the DS depth (the depth might change)
- revert commit 1f202568
- QEMU now uses pixman (DEPENDS += "pixman")
- rearrange the recipe in order to mimic the bitbake flow
- update both variants (.tar.bz2, git)
(From OE-Core rev: 7622c4f6c050f26f252066a0fcaacdbf340dcefa)
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
From c313f89c33217ac0e471554dace2144718f86669 Mon Sep 17 00:00:00 2001
|
|
From: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Date: Thu, 13 May 2010 12:23:40 +0200
|
|
Subject: [PATCH] linux-user: use default mmap_min_addr 65536 when /proc/sys/vm/mmap_min_addr cannot be read
|
|
|
|
* 65536 is default at least for ubuntu and fedora.
|
|
---
|
|
linux-user/main.c | 5 +++++
|
|
1 files changed, 5 insertions(+), 0 deletions(-)
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Index: qemu-0.14.0/linux-user/main.c
|
|
===================================================================
|
|
--- qemu-0.14.0.orig/linux-user/main.c
|
|
+++ qemu-0.14.0/linux-user/main.c
|
|
@@ -36,6 +36,7 @@
|
|
#include "envlist.h"
|
|
|
|
#define DEBUG_LOGFILE "/tmp/qemu.log"
|
|
+#define MMAP_MIN_ADDR_DEFAULT 65536
|
|
|
|
char *exec_path;
|
|
|
|
@@ -3010,8 +3011,14 @@ int main(int argc, char **argv, char **e
|
|
if (fscanf(fp, "%lu", &tmp) == 1) {
|
|
mmap_min_addr = tmp;
|
|
qemu_log("host mmap_min_addr=0x%lx\n", mmap_min_addr);
|
|
+ } else {
|
|
+ qemu_log("cannot read value from /proc/sys/vm/mmap_min_addr, assuming %d\n", MMAP_MIN_ADDR_DEFAULT);
|
|
+ mmap_min_addr = MMAP_MIN_ADDR_DEFAULT;
|
|
}
|
|
fclose(fp);
|
|
+ } else {
|
|
+ qemu_log("cannot open /proc/sys/vm/mmap_min_addr for reading, assuming %d\n", MMAP_MIN_ADDR_DEFAULT);
|
|
+ mmap_min_addr = MMAP_MIN_ADDR_DEFAULT;
|
|
}
|
|
}
|
|
|