Permalink
Browse files

add VMI_EVENT_RESPONSE_EMULATE_NOWRITE in xen driver so that xen will…

… process the flag (#635)
  • Loading branch information...
scorpionzezz authored and tklengyel committed Jun 5, 2018
1 parent 2cb8d56 commit 75d6f88f6694976f1618ba9ca2a7fab57f040b13
Showing with 3 additions and 0 deletions.
  1. +3 −0 libvmi/driver/xen/xen_events_48.c
@@ -117,6 +117,9 @@ void process_response ( event_response_t response, vmi_event_t* event, vm_event_
case VMI_EVENT_RESPONSE_VMM_PAGETABLE_ID:
rsp->altp2m_idx = event->slat_id;
break;
case VMI_EVENT_RESPONSE_EMULATE_NOWRITE:
rsp->flags |= event_response_conversion[VMI_EVENT_RESPONSE_EMULATE];
break;
case VMI_EVENT_RESPONSE_SET_EMUL_READ_DATA:
if ( event->emul_read ) {
rsp->flags |= event_response_conversion[VMI_EVENT_RESPONSE_EMULATE];

0 comments on commit 75d6f88

Please sign in to comment.