ia64/xen-unstable
changeset 19286:ec3d0937095d
tboot: Fix return code for S3 integrity
The original patch left in a debug return value from one of the memory
integrity checks. This patch returns the correct error code in case of a
failure. This was re-tested to ensure that it still passes for the
expected case.
Signed-off-by: Joseph Cihula <joseph.cihula@intel.com>
The original patch left in a debug return value from one of the memory
integrity checks. This patch returns the correct error code in case of a
failure. This was re-tested to ensure that it still passes for the
expected case.
Signed-off-by: Joseph Cihula <joseph.cihula@intel.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Fri Mar 06 19:10:29 2009 +0000 (2009-03-06) |
parents | bf8faabbc57a |
children | 0942baa2a088 |
files | xen/arch/x86/tboot.c |
line diff
1.1 --- a/xen/arch/x86/tboot.c Fri Mar 06 19:07:15 2009 +0000 1.2 +++ b/xen/arch/x86/tboot.c Fri Mar 06 19:10:29 2009 +0000 1.3 @@ -450,7 +450,7 @@ int tboot_s3_resume(void) 1.4 1.5 tboot_gen_domain_integrity(g_tboot_shared->s3_key, &mac); 1.6 if ( mac != domain_mac ) 1.7 - return 0; /* -3 */ 1.8 + return -3; 1.9 1.10 return 0; 1.11 }