Skip to content

Commit 12d7084

Browse files
AlanJagerPandaWuu
authored andcommitted
<fix>[vm]: fix noSharePages
Resolves: ZSTAC-64818 Change-Id: I66756865797761676372726263697a6267686f73 (cherry picked from commit 772d1fb)
1 parent b5a2157 commit 12d7084

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)