[CRIU] [PATCH 2/2] protobuf: core-x86: mark gregs with hex field option

Ruslan Kuprieiev kupruser at gmail.com
Mon Jan 19 03:33:14 PST 2015


Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
 protobuf/core-x86.proto | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/protobuf/core-x86.proto b/protobuf/core-x86.proto
index b6eb0b3..0959c25 100644
--- a/protobuf/core-x86.proto
+++ b/protobuf/core-x86.proto
@@ -1,3 +1,5 @@
+import "opts.proto";
+
 message user_x86_regs_entry {
 	required uint64			r15		=  1;
 	required uint64			r14		=  2;
@@ -56,6 +58,6 @@ message user_x86_fpregs_entry {
 
 message thread_info_x86 {
 	required uint64			clear_tid_addr	= 1;
-	required user_x86_regs_entry	gpregs		= 2;
+	required user_x86_regs_entry	gpregs		= 2[(criu).hex = true];
 	required user_x86_fpregs_entry	fpregs		= 3;
 }
-- 
2.1.0



More information about the CRIU mailing list