Changes

1 byte added ,  20:04, 30 August 2016
→‎Running page server: moved one-shot/exit-code piece up
Line 36: Line 36:     
  [dst]# criu page-server --images-dir $DIR --port $PORT [--auto-dedup] [...]
 
  [dst]# criu page-server --images-dir $DIR --port $PORT [--auto-dedup] [...]
 +
 +
Note that <code>criu page-server</code> is "one shot" service, meaning you need to run it for every migration, and it exits as soon as all pages are transferred (or on an error). It also makes sense to check its exit code, to make sure there was no error.
    
The options are:
 
The options are:
Line 55: Line 57:  
; -v$N|-vvv[..]
 
; -v$N|-vvv[..]
 
: Set logging level (verbosity). For example, <code>-v4</code> (or <code>-vvvv</code>, which means the same) enables tons of debug info.
 
: Set logging level (verbosity). For example, <code>-v4</code> (or <code>-vvvv</code>, which means the same) enables tons of debug info.
  −
{{Note|<code>criu page-server</code> is "one shot" service, meaning you need to run it for every migration, and it exits as soon as all pages are transferred (or on an error). It also makes sense to check its exit code, to make sure there was no error.}}
      
=== criu pre-dump/dump ===
 
=== criu pre-dump/dump ===