test/nvme: Fix the SIGILL when test hotplug in Qemu.

Make sure we have sufficient memory for VM because we will
reserve 1024 2M hugepages for SPDK.

Change-Id: I7c4d10b00e29886804c2b8810234bad1f5b4afdb
Signed-off-by: cunyinch <cunyin.chang@intel.com>
Reviewed-on: https://review.gerrithub.io/365312
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
cunyinch 2017-06-14 12:00:39 +08:00 committed by Daniel Verkamp
parent 7b7799bf9c
commit 73b2cdd1ba

View File

@ -74,7 +74,7 @@ timing_enter start_qemu
qemu-img create -b "$base_img" -f qcow2 "$test_img"
qemu-system-x86_64 \
-daemonize -display none -m 1024 \
-daemonize -display none -m 8192 \
-pidfile "$qemu_pidfile" \
-hda "$test_img" \
-net user,hostfwd=tcp::10022-:22 \