[CRIU] [PATCH 06/15] cpuinfo: x86 -- Add dump and validation
Pavel Emelyanov
xemul at parallels.com
Tue Sep 23 12:07:01 PDT 2014
On 09/23/2014 10:33 PM, Cyrill Gorcunov wrote:
> On Tue, Sep 23, 2014 at 10:31:49PM +0400, Pavel Emelyanov wrote:
>>>
>>> so when image carries less bits than run-time cpu can handle we
>>> compare only mins which must match.
>>
>> Size of bitmaps may match, but image may lack some intermediate
>> bit while cpu may have it. This is not the reason of failure.
>
> No, it's the reason for failure. Look, I choose not all possible
> bits to write into image but only important ones which really affect
> instructions.
> .
>
OK. Let's imagine the cpu has
X86_FEATURE_XMM4_1 | X86_FEATURE_XMM4_2 | A
and we ask it to check the image which contains
X86_FEATURE_XMM4_1 | B
and let's assume that A == B. Will the checker fail? Should it? Why?
Thanks,
Pavel
More information about the CRIU
mailing list