xenalyze: Always zero inflight data on a vmexit
PATCH 1/1 xenalyze: Always zero inflight data on a vmexit
Signed-off-by George Dunlap <[email protected]>
xenalyze.c +1 -2
@@ -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 : ;