Attached is a patch to tboot cs141 that removes the sinit and lcp modules from the mbi on an unmeasured launch. I put the extra function to do it in tboot.c to keep the code clean (keep calls to txt functions out of policy.c). I tested it on the systems where I noted the problem and ensured it was removing the modules.
The original problem was due to the small module size of the lcp policy data. When grub2 encounters really small modules, it will sometimes stick them in non-contiguous memory holes away from the other modules. The xen startup code was making an invalid assumption that all the modules passed to it were in a contiguous range so it was generating the total size needed incorrectly and/or not copying all modules. This issue has also been fixed in xen-3.4 unstable (cs 19544). Ross --- Patch to remove any sinit and lcp txt modules from the mbi on an unmeasured launch. Signed-off-by: Ross Philipson [email protected]<mailto:[email protected]> ---
tboot-remove-txt-module.patch
Description: tboot-remove-txt-module.patch
------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com
_______________________________________________ tboot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tboot-devel
