Header format changed. Increase the revision and align the tools.

Signed-off-by: Ralf Ramsauer <[email protected]>
---
 include/jailhouse/cell-config.h | 2 +-
 tools/jailhouse-cell-linux      | 4 ++--
 tools/jailhouse-hardware-check  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/jailhouse/cell-config.h b/include/jailhouse/cell-config.h
index f06a334b..1745e1cc 100644
--- a/include/jailhouse/cell-config.h
+++ b/include/jailhouse/cell-config.h
@@ -45,7 +45,7 @@
  * Incremented on any layout or semantic change of system or cell config.
  * Also update HEADER_REVISION in tools.
  */
-#define JAILHOUSE_CONFIG_REVISION      9
+#define JAILHOUSE_CONFIG_REVISION      10
 
 #define JAILHOUSE_CELL_NAME_MAXLEN     31
 
diff --git a/tools/jailhouse-cell-linux b/tools/jailhouse-cell-linux
index df9b9212..a2eb8dd0 100755
--- a/tools/jailhouse-cell-linux
+++ b/tools/jailhouse-cell-linux
@@ -565,8 +565,8 @@ class Irqchip:
 
 
 class Config:
-    _HEADER_FORMAT = '6sH32s4xIIIIIIIIIQ8x'
-    _HEADER_REVISION = 9
+    _HEADER_FORMAT = '6sH32s4xIIIIIIIIIQ8x32x'
+    _HEADER_REVISION = 10
 
     def __init__(self, config_file):
         self.data = config_file.read()
diff --git a/tools/jailhouse-hardware-check b/tools/jailhouse-hardware-check
index 0ed119b3..9e7802fd 100755
--- a/tools/jailhouse-hardware-check
+++ b/tools/jailhouse-hardware-check
@@ -114,7 +114,7 @@ class Sysconfig:
     X86_MAX_IOMMU_UNITS = 8
     X86_IOMMU_SIZE = 20
 
-    HEADER_REVISION = 9
+    HEADER_REVISION = 10
     HEADER_FORMAT = '6sH'
 
     def __init__(self, path):
-- 
2.17.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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to