[CRIU] [PATCH 11/12] cpuinfo: Add "cpuinfo [dump|check]" commands

Cyrill Gorcunov gorcunov at gmail.com
Wed Oct 1 06:56:57 PDT 2014


On Wed, Oct 01, 2014 at 05:51:09PM +0400, Pavel Emelyanov wrote:
> On 10/01/2014 04:58 PM, Cyrill Gorcunov wrote:
> > On Wed, Oct 01, 2014 at 04:57:09PM +0400, Pavel Emelyanov wrote:
> >>
> >>> diff --git a/crtools.c b/crtools.c
> >>> index 87f442c72120..d297abc59713 100644
> >>> --- a/crtools.c
> >>> +++ b/crtools.c
> >>> @@ -545,6 +545,8 @@ usage:
> >>>  "  page-server    launch page server\n"
> >>>  "  service        launch service\n"
> >>>  "  dedup          remove duplicates in memory dump\n"
> >>> +"  cpuinfo dump   writes cpu information into image file\n"
> >>> +"  cpuinfo check  validates cpu information read from image file\n"
> >>>  	);
> >>>  
> >>>  	if (usage_error) {
> >>
> >> Is this all?
> > 
> > Yes, what you've been expecting?
> 
> if (!strcmp(argv[optind]))
> 	return cpu_cap_check()
> 
> or smth like this.

Oh, sh*t, while been rebasing and moving call here and there I lost
real call to the helpers.

Pavel, could you please commit patches up to 9 including.
Letme recheck last 3 patches again and resend them separately.
The preparatory patche 0-9 do not affect criu anyhow anyway.


More information about the CRIU mailing list