From: Ralf Ramsauer <[email protected]> Just for the sake of consistency: s/memregion/mem_region/. This is the only spot where we still had memregion instead of mem_region.
Signed-off-by: Ralf Ramsauer <[email protected]> --- tools/jailhouse-cell-linux | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/jailhouse-cell-linux b/tools/jailhouse-cell-linux index e43f8e42..007a5c46 100755 --- a/tools/jailhouse-cell-linux +++ b/tools/jailhouse-cell-linux @@ -603,15 +603,15 @@ class Config: exit(1) self.name = str(name.decode()) - memregion_offs = struct.calcsize(Config._HEADER_FORMAT) + \ + mem_region_offs = struct.calcsize(Config._HEADER_FORMAT) + \ self.cpu_set_size self.memory_regions = [] for n in range(self.num_memory_regions): self.memory_regions.append( - MemoryRegion(self.data[memregion_offs:])) - memregion_offs += MemoryRegion.SIZE + MemoryRegion(self.data[mem_region_offs:])) + mem_region_offs += MemoryRegion.SIZE - irqchip_offs = memregion_offs + \ + irqchip_offs = mem_region_offs + \ self.num_cache_regions * CacheRegion.SIZE self.irqchips = [] for n in range(self.num_irqchips): -- 2.23.0 -- 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/20190930191323.32266-3-andrej.utz%40st.oth-regensburg.de.
