File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ def LparSetup(self, lpar_config=""):
344
344
log .info ("System is already booted with VTPM enabled" )
345
345
else :
346
346
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" ] :
348
348
self .vtpm_version = 2.0
349
349
try :
350
350
self .vtpm_encryption = conf .args .vtpm_encryption
@@ -406,10 +406,10 @@ def LparSetup(self, lpar_config=""):
406
406
except AttributeError :
407
407
self .qos_credits = 10
408
408
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" ] :
410
410
self .cv_HMC .configure_gzip_qos (self .qos_credits )
411
411
else :
412
- log .info ("nx_gzip is supported only in Power10 mode" )
412
+ log .info ("nx_gzip is supported only in Power10/Power11 mode" )
413
413
414
414
"""
415
415
If ioslots=drc_name is passed in machine_config lpar profile
You can’t perform that action at this time.
0 commit comments