Skip to content
Commit d63c5ce6 authored by Pekka Enberg's avatar Pekka Enberg Committed by Will Deacon
Browse files

kvm tools: Make host_ram_size() more robust



This patch fixes cryptic "out of memory" errors on hosts where sysconf() fails
by defaulting to MIN_RAM_SIZE_MB.

Reported-by: default avatar <born2befrag@gmail.com>
Signed-off-by: default avatarPekka Enberg <penberg@kernel.org>
parent 4352ffa4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment