Skip to content

Commit 7f0efc2

Browse files
author
gitlab
committed
Merge branch 'cherry-pick-772d1fbb' into '5.1.0'
<fix>[vm]: fix noSharePages See merge request zstackio/zstack-utility!4665
2 parents b5a2157 + 12d7084 commit 7f0efc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kvmagent/kvmagent/plugins/vm_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6146,7 +6146,7 @@ def get_cpu_flags_from_xml(libvirtXml):
61466146
if cmd.additionalQmp:
61476147
make_qemu_commandline()
61486148

6149-
if cmd.useHugePage or cmd.MemAccess in "shared":
6149+
if cmd.useHugePage or cmd.MemAccess in "shared" or cmd.noSharePages:
61506150
make_memory_backing()
61516151

61526152
if HOST_ARCH == "x86_64" and cmd.vmCpuVendorId and cmd.vmCpuVendorId != "None":

0 commit comments

Comments
 (0)