• Cyrill Gorcunov's avatar
    x86: cpu -- Use special bit for image manipulation · f2bf4965
    Cyrill Gorcunov authored
    Current scheme of when to write and verify cpuinfo
    images is unclear: we define default mode to 'fpu'
    and this implies that no cpuinfo image get written
    on dump and read on restore. In turn if 'cpu' or
    'ins' mode specified in command line we write and
    verify this image.
    
    This is all wrong -- we need to produce image if
    any mode ecxept 'none' is specified. The 'none'
    mode is designed exactly for skipping cpuinfo
    image production or verification.
    
    Because any non-default mode requires explicit
    --cpu-cap option to be passed we can use this
    and setup new CPU_CAP_IMAGE telling criu to
    write or read this image.
    
    Note the default mode doesn't break backward
    compatibility because by default we don't
    write or read the image at all.
    Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
    Reviewed-by: 's avatarDmitry Safonov <0x7f454c46@gmaill.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    f2bf4965
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...