Skip to content

Commit d026251

Browse files
Merge pull request #876 from spoorthys1303/power11
Power11 processor mode is added to enable vtpm
2 parents a852e9f + eb5bb02 commit d026251

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testcases/MachineConfig.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def LparSetup(self, lpar_config=""):
344344
log.info("System is already booted with VTPM enabled")
345345
else:
346346
proc_compat_mode = self.cv_HMC.get_proc_compat_mode()
347-
if "POWER10" in proc_compat_mode:
347+
if proc_compat_mode[0] in ["POWER10", "POWER11"]:
348348
self.vtpm_version = 2.0
349349
try:
350350
self.vtpm_encryption = conf.args.vtpm_encryption
@@ -406,10 +406,10 @@ def LparSetup(self, lpar_config=""):
406406
except AttributeError:
407407
self.qos_credits = 10
408408
proc_compat_mode = self.cv_HMC.get_proc_compat_mode()
409-
if "POWER10" in proc_compat_mode:
409+
if proc_compat_mode[0] in ["POWER10", "POWER11"]:
410410
self.cv_HMC.configure_gzip_qos(self.qos_credits)
411411
else:
412-
log.info("nx_gzip is supported only in Power10 mode")
412+
log.info("nx_gzip is supported only in Power10/Power11 mode")
413413

414414
"""
415415
If ioslots=drc_name is passed in machine_config lpar profile

0 commit comments

Comments
 (0)