On 08/01/2016 07:52 PM, Tamas K Lengyel wrote: > The two functions monitor_traps and mem_access_send_req duplicate some of the > same functionality. The mem_access_send_req however leaves a lot of the > standard vm_event fields to be filled by other functions. > > Remove mem_access_send_req() completely, making use of monitor_traps() to put > requests into the monitor ring. This in turn causes some cleanup around the > old callsites of mem_access_send_req(), and on ARM, the introduction of the > __p2m_mem_access_send_req() helper to fill in common mem_access information. > We also update monitor_traps to now include setting the common vcpu_id field > so that all other call-sites can ommit this step. > > Finally, this change identifies that errors from mem_access_send_req() were > never checked. As errors constitute a problem with the monitor ring, > crashing the domain is the most appropriate action to take. > > Signed-off-by: Tamas K Lengyel <tamas.leng...@zentific.com> > Reviewed-by: Andrew Cooper <andrew.coop...@citrix.com>
Acked-by: Razvan Cojocaru <rcojoc...@bitdefender.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel