From a75db860277d9127f96574f9c413980f99e49a1e Mon Sep 17 00:00:00 2001 From: Ganesh Maharaj Mahalingam Date: Thu, 6 Jun 2019 09:13:49 -0700 Subject: [PATCH] NEMU: Disable default hugepages enabling for virtio-fs hugepages were enbled by default on NEMU to allow use of virtio-fs. kata now has a change where virtio-fs will default to use /dev/shm as the shared memory file backing location. With that, we should be able to disable default hugepages for NEMU Fixes: #1775 Signed-off-by: Ganesh Maharaj Mahalingam --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e00e99c2c0..1c1f2c8dca 100644 --- a/Makefile +++ b/Makefile @@ -243,7 +243,7 @@ ifneq (,$(NEMUCMD)) # nemu-specific options (all should be suffixed by "_NEMU") # currently, huge pages are required for virtiofsd support - DEFENABLEHUGEPAGES_NEMU := true + DEFENABLEHUGEPAGES_NEMU := false # nemu uses virt machine type DEFMACHINETYPE_NEMU := virt DEFBLOCKSTORAGEDRIVER_NEMU := virtio-scsi