Skip to content

Commit

Permalink
cloud-hypervisor: share mem on graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Dec 9, 2023
1 parent 89bb7a5 commit 716c2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runners/cloud-hypervisor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ let
mergeable = "on";
# Shared memory is required for usage with virtiofsd but it
# prevents Kernel Same-page Merging.
shared = if useVirtiofs then "on" else "off";
shared = if useVirtiofs or graphics.enable then "on" else "off";
}
# add ballooning options and override 'size' key
// lib.optionalAttrs useBallooning {
Expand Down

0 comments on commit 716c2db

Please sign in to comment.