We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6877958 commit 372c75fCopy full SHA for 372c75f
kvmagent/kvmagent/plugins/vm_plugin.py
@@ -4648,8 +4648,11 @@ def make_memory_backing():
4648
backing = e(root, 'memoryBacking')
4649
if cmd.useHugePage:
4650
e(backing, "hugepages")
4651
- e(backing, "nosharepages")
4652
e(backing, "allocation", attrib={'mode': 'immediate'})
+
4653
+ if cmd.noSharePages or cmd.useHugePage:
4654
+ e(backing, "nosharepages")
4655
4656
if cmd.MemAccess in "shared":
4657
# <access mode="shared|private"/>
4658
e(backing, "access", attrib={'mode': 'shared'})
0 commit comments