xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xenalyze: Always zero inflight data on a vmexit
@ 2010-11-22 12:39 George Dunlap
  0 siblings, 0 replies; only message in thread
From: George Dunlap @ 2010-11-22 12:39 UTC (permalink / raw)
  To: xen-devel; +Cc: george.dunlap

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>

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:
             ;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-22 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-22 12:39 [PATCH] xenalyze: Always zero inflight data on a vmexit George Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).