[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] xen: only clobber multicall elements without error
In debug builds the hypervisor will deliberately clobber processed elements of the multicall structure. In order to ease diagnostic data printout in the affected guest only clobber elements which didn't return an error. Signed-off-by: Juergen Gross <jgross@xxxxxxxx> --- xen/common/multicall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/common/multicall.c b/xen/common/multicall.c index 5a199ebf8f..48622619ce 100644 --- a/xen/common/multicall.c +++ b/xen/common/multicall.c @@ -74,6 +74,7 @@ do_multicall( ASSERT_NOT_IN_ATOMIC(); #ifndef NDEBUG + if ( (long)mcs->call.result >= 0 ) { /* * Deliberately corrupt the contents of the multicall structure. -- 2.16.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |