Re: [Xen-devel] [PATCH RFC V2 4/6] xen: Support for VMCALL mem_events

2015-03-17 Thread Razvan Cojocaru
On 03/17/2015 04:20 PM, Jan Beulich wrote: On 17.03.15 at 15:07, wrote: >> Yes, but Andrew's idea (which I think is very neat) is that instead of >> the trickery I used to do in the original patch (create a specific >> VMCALL vm_event and compare eax to a magic constant on VMCALL-based >> VME

Re: [Xen-devel] [PATCH RFC V2 4/6] xen: Support for VMCALL mem_events

2015-03-17 Thread Jan Beulich
>>> On 17.03.15 at 15:07, wrote: > Yes, but Andrew's idea (which I think is very neat) is that instead of > the trickery I used to do in the original patch (create a specific > VMCALL vm_event and compare eax to a magic constant on VMCALL-based > VMEXITS, to figure out if all I wanted to do was se

Re: [Xen-devel] [PATCH RFC V2 4/6] xen: Support for VMCALL mem_events

2015-03-17 Thread Razvan Cojocaru
On 03/17/2015 03:58 PM, Jan Beulich wrote: On 17.03.15 at 14:50, wrote: >> On 07/11/2014 08:23 PM, Andrew Cooper wrote: >>> From the point of view of your in-guest agent, it would be a vmcall with >>> rax = 34 (hvmop) rdi = $N (send_mem_event subop) rsi = data or pointer >>> to struct contain

Re: [Xen-devel] [PATCH RFC V2 4/6] xen: Support for VMCALL mem_events

2015-03-17 Thread Jan Beulich
>>> On 17.03.15 at 14:50, wrote: > On 07/11/2014 08:23 PM, Andrew Cooper wrote: >> From the point of view of your in-guest agent, it would be a vmcall with >> rax = 34 (hvmop) rdi = $N (send_mem_event subop) rsi = data or pointer >> to struct containing data, depending on how exactly you implement

Re: [Xen-devel] [PATCH RFC V2 4/6] xen: Support for VMCALL mem_events

2015-03-17 Thread Razvan Cojocaru
On 07/11/2014 08:23 PM, Andrew Cooper wrote: > On 11/07/14 16:43, Razvan Cojocaru wrote: >> Added support for VMCALL events (the memory introspection library >> will have the guest trigger VMCALLs, which will then be sent along >> via the mem_event mechanism). >> >> Changes since V1: >> - Added a