[Qemu-devel] [PATCH 05/19] linux-user: fake /proc/self/stat

2012-02-03 Thread riku . voipio
From: Alexander Graf The boehm gc finds the program's stack starting pointer by checking /proc/self/stat. Unfortunately, so far it reads qemu's stack pointer which clearly is wrong. So let's instead fake the file so the guest program sees the right address. Signed-off-by: Alexander Graf Signed

[Qemu-devel] [PATCH 05/19] linux-user: fake /proc/self/stat

2012-01-31 Thread riku . voipio
From: Alexander Graf The boehm gc finds the program's stack starting pointer by checking /proc/self/stat. Unfortunately, so far it reads qemu's stack pointer which clearly is wrong. So let's instead fake the file so the guest program sees the right address. Signed-off-by: Alexander Graf Signed