xenalyze: Fix cr3_switch not to access hvm struct before it's initialized
PATCH 1/1 xenalyze: Fix cr3_switch not to access hvm struct before it's initialized
# HG changeset patch
# User George Dunlap <[email protected]>
# Date 1299096700 0
# Node ID cf2f412606b355508f25d9781f7b5fc8bf02f389
# Parent 3448fc7df9669c29a1eb8427fd840bf7152973eb
xenalyze: Fix cr3_switch not to access hvm struct before it's initialized
Signed-off-by George Dunlap <[email protected]>
xenalyze.c +3 -0
@@ -3873,6 +3873,9 @@unsigned long long now =P .now;unsigned long long gmfn = val >>12 ; +if ( !h->init ) +return ; +if (opt.with_cr3_enumeration) {if (v->cr3.data) {struct cr3_value_struct *cur = v->cr3.data;