|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] xenalyze: Fix cr3_switch not to access hvm struct be
# HG changeset patch
# User George Dunlap <george.dunlap@xxxxxxxxxxxxx>
# 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 <george.dunlap@xxxxxxxxxxxxx>
diff -r 3448fc7df966 -r cf2f412606b3 xenalyze.c
--- a/xenalyze.c Mon Jan 17 16:46:35 2011 +0000
+++ b/xenalyze.c Wed Mar 02 20:11:40 2011 +0000
@@ -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;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] xenalyze: Fix cr3_switch not to access hvm struct before it's initialized,
George Dunlap <=
|
|
|
|
|