• Cyrill Gorcunov's avatar
    cpuinfo: x86 -- Add dump and validation of cpuinfo image, v2 · 87273ccd
    Cyrill Gorcunov authored
    On Wed, Oct 01, 2014 at 04:57:40PM +0400, Pavel Emelyanov wrote:
    > On 10/01/2014 01:07 AM, Cyrill Gorcunov wrote:
    > > On Tue, Sep 30, 2014 at 09:18:53PM +0400, Cyrill Gorcunov wrote:
    > >> If a user requested criu to dump cpuinfo image then we
    > >> write one on dump and verify on restore. At the moment
    > >> we require all cpu feature bits to match the destination
    > >> cpu in a sake of simplicity, but in future we need deps
    > >> engine which would filer out bits and test if cpu we're
    > >> restoring on is more capable than one we were dumping at
    > >> allowing to proceed restore procedure.
    > >>
    > >> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
    > >
    > > Updated to new img format
    
    Something like attached?
    
    >From 59272a9514311e6736cddee08d5f88aa95d49189 Mon Sep 17 00:00:00 2001
    From: Cyrill Gorcunov <gorcunov@openvz.org>
    Date: Thu, 25 Sep 2014 16:04:10 +0400
    Subject: [PATCH] cpuinfo: x86 -- Add dump and validation of cpuinfo image
    
    If a user requested criu to dump cpuinfo image then we
    write one on dump and verify on restore. At the moment
    we require all cpu feature bits to match the destination
    cpu in a sake of simplicity, but in future we need deps
    engine which would filer out bits and test if cpu we're
    restoring on is more capable than one we were dumping at
    allowing to proceed restore procedure.
    Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    87273ccd
cpu.h 8.45 KB