[CRIU] [PATCH 4/6] crit: add --format hex option

Pavel Emelyanov xemul at parallels.com
Mon Jan 19 04:37:29 PST 2015


On 01/16/2015 11:55 PM, Ruslan Kuprieiev wrote:

> @@ -131,7 +131,7 @@ class pagemap_handler:
>  	that it has a header of pagemap_head type followed by entries
>  	of pagemap_entry type.
>  	"""
> -	def load(self, f):
> +	def load(self, f, print_hex = False):

Better pull the whole opts["format"] argument through all the call-stack,
not just single "is-hex" thing.

>  		entries = []
>  
>  		pb = pagemap_head()



More information about the CRIU mailing list