Skip to content

Commit

Permalink
NEMU: Disable default hugepages enabling for virtio-fs
Browse files Browse the repository at this point in the history
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: kata-containers#1775
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
  • Loading branch information
Ganesh Maharaj Mahalingam committed Jun 6, 2019
1 parent 7885e75 commit a75db86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a75db86

Please sign in to comment.