[CRIU] [PATCH] core-ppc64: mark gregs and clear_tid_addr as (criu).hex

Mike Rapoport rppt at linux.vnet.ibm.com
Sun Oct 16 01:05:43 PDT 2016


Signed-off-by: Mike Rapoport <rppt at linux.vnet.ibm.com>
---
 images/core-ppc64.proto | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/images/core-ppc64.proto b/images/core-ppc64.proto
index e550090..aca1c2f 100644
--- a/images/core-ppc64.proto
+++ b/images/core-ppc64.proto
@@ -1,5 +1,7 @@
 syntax = "proto2";
 
+import "opts.proto";
+
 message user_ppc64_regs_entry {
 	/* Following is the list of regiters starting at r0. */
 	repeated uint64 gpr		= 1;
@@ -60,8 +62,8 @@ message user_ppc64_tm_regs_entry {
 }
 
 message thread_info_ppc64 {
-	required uint64			 	clear_tid_addr	= 1;
-	required user_ppc64_regs_entry	 	gpregs		= 2;
+	required uint64			 	clear_tid_addr	= 1[(criu).hex = true];
+	required user_ppc64_regs_entry	 	gpregs		= 2[(criu).hex = true];
 	optional user_ppc64_fpstate_entry 	fpstate		= 3;
 	optional user_ppc64_vrstate_entry	vrstate		= 4;
 	optional user_ppc64_vsxstate_entry	vsxstate	= 5;
-- 
1.9.1



More information about the CRIU mailing list