other: 0.167 semantic: 0.141 boot: 0.131 graphic: 0.101 device: 0.086 PID: 0.075 performance: 0.047 debug: 0.047 files: 0.046 socket: 0.040 network: 0.037 vnc: 0.037 permissions: 0.026 KVM: 0.019 boot: 0.379 debug: 0.104 PID: 0.084 other: 0.081 files: 0.074 performance: 0.048 device: 0.046 semantic: 0.042 socket: 0.031 KVM: 0.028 vnc: 0.028 graphic: 0.019 network: 0.018 permissions: 0.018 multiboot header has 0 in mem_upper field When booting a multiboot image,. mem_upper is now always zero. To test, build qemu from current git head, then do cd tests/multiboot ./run_test.sh You will see the test fail. In each case mem_upper is 0k. git-bisect says the bad commit is 0169c511554cb0014a00290b0d3d26c31a49818f in qemu.git This change fixes it. diff --git a/exec.c b/exec.c index 2435d9e..b387d28 100644 --- a/exec.c +++ b/exec.c @@ -1070,7 +1070,7 @@ static void *file_ram_alloc(RAMBlock *block, } /* MAP_POPULATE silently ignores failures */ - for (i = 0; i < (memory/hpagesize); i++) { + for (i = 0; i < (memory/hpagesize)-1; i++) { memset(area + (hpagesize*i), 0, 1); } peterc@Diprotodon:/usr/src/qemu/tests/m >>>>> "Peter" == Peter Chubb