Re: [Qemu-devel] [PATCH] memory: exit when hugepage allocation fails if mem-prealloc

2016-01-26 Thread Paolo Bonzini
On 22/01/2016 15:15, Luiz Capitulino wrote: > When -mem-prealloc is passed on the command-line, the expected > behavior is to exit if the hugepage allocation fails. However, > this behavior is broken since commit cc57501dee which made > hugepage allocation fall back to regular ram in case of fal

[Qemu-devel] [PATCH] memory: exit when hugepage allocation fails if mem-prealloc

2016-01-22 Thread Luiz Capitulino
When -mem-prealloc is passed on the command-line, the expected behavior is to exit if the hugepage allocation fails. However, this behavior is broken since commit cc57501dee which made hugepage allocation fall back to regular ram in case of faliure. This commit restores the expected behavior for