diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2016-01-22 09:15:01 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-01-26 15:58:14 +0100 |
commit | fae947b096020e5004ec7ae106a95a69a5e4d929 (patch) | |
tree | 98a589a1d9cf3e7980df9a22a50ceecf6dd4c72f /qjson.c | |
parent | 96bce6831bd19b61e965384427741d805c7234c3 (diff) |
memory: exit when hugepage allocation fails if mem-prealloc
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 -mem-prealloc.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Message-Id: <20160122091501.75bbd42a@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qjson.c')
0 files changed, 0 insertions, 0 deletions