[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] xenalyze: Always zero inflight data on a vmexit



Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

diff -r 61d71976769e -r 2a404c7a4fa2 xenalyze.c
--- a/xenalyze.c        Mon Nov 22 12:15:00 2010 +0000
+++ b/xenalyze.c        Mon Nov 22 12:38:56 2010 +0000
@@ -4963,6 +4963,7 @@
         init_hvm_data(h, v);
 
     h->vmexit_valid=1;
+    bzero(&h->inflight, sizeof(h->inflight));
 
     if(ri->event == TRC_HVM_VMEXIT64) {
         if(v->guest_paging_levels != 4)
@@ -5037,11 +5038,9 @@
         switch(h->exit_reason)
         {
         case EXIT_REASON_EXCEPTION_NMI:
-            bzero(&h->inflight.pf_xen, sizeof(h->inflight.pf_xen));
             h->post_process = hvm_exception_nmi_generic_postprocess;
             break;
         case EXIT_REASON_APIC_ACCESS:
-            bzero(&h->inflight.pf_xen, sizeof(h->inflight.pf_xen));
             h->post_process = hvm_apic_access_postprocess;
         default:
             ;

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.