From: Jan Kiszka <[email protected]>

Initialization of idx was missing.

Signed-off-by: Jan Kiszka <[email protected]>
---
 tools/jailhouse-config-check | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/jailhouse-config-check b/tools/jailhouse-config-check
index 59e8199e..c27dbb8e 100755
--- a/tools/jailhouse-config-check
+++ b/tools/jailhouse-config-check
@@ -91,6 +91,7 @@ found=False
 for cell in cells:
     for mem in cell.memory_regions:
         if mem.phys_overlaps(sysconfig.hypervisor_memory):
+            idx = cell.memory_regions.index(mem)
             print("\n\nIn cell '%s', region %d" % (cell.name, idx))
             print(str(mem))
             print("overlaps with hypervisor memory region")
-- 
2.26.2

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/dacd5095c75e1b2b35bf1f3706960a7c1019230a.1610016752.git.jan.kiszka%40siemens.com.

Reply via email to