195a196,204
> # Version 6 of the checkpoint format adds tlb to x86 checkpoints
> def from_5(cpt):
> if cpt.get('root','isa') == 'x86':
> for sec in cpt.sections():
> import re
> # Search for all ISA sections
> if re.search('.*sys.*\.cpu.*\.dtb$', sec):
> cpt.set(sec, '_size', '0')
> cpt.set(sec, 'lruSeq', '0')
196a206,210
> if re.search('.*sys.*\.cpu.*\.itb$', sec):
> cpt.set(sec, '_size', '0')
> cpt.set(sec, 'lruSeq', '0')
> else:
> print "ISA is not x86"
203a218
> migrations.append(from_5)