Re: [Xen-devel] [PATCH v8] x86/hvm: Allow guest_request vm_events coming from userspace

2017-08-28 Thread Tamas K Lengyel
On Mon, Aug 28, 2017 at 7:29 AM, Jan Beulich wrote: On 28.08.17 at 14:51, wrote: >> --- a/xen/include/asm-arm/monitor.h >> +++ b/xen/include/asm-arm/monitor.h >> @@ -26,6 +26,12 @@ >> #include >> >> static inline >> +void arch_allow_userspace(struct domain *d, uint8_t allow_userspace) >>

Re: [Xen-devel] [PATCH v8] x86/hvm: Allow guest_request vm_events coming from userspace

2017-08-28 Thread Jan Beulich
>>> On 28.08.17 at 14:51, wrote: > --- a/xen/include/asm-arm/monitor.h > +++ b/xen/include/asm-arm/monitor.h > @@ -26,6 +26,12 @@ > #include > > static inline > +void arch_allow_userspace(struct domain *d, uint8_t allow_userspace) > +{ > +return; > +} I'm sorry for noticing this only now

[Xen-devel] [PATCH v8] x86/hvm: Allow guest_request vm_events coming from userspace

2017-08-28 Thread Alexandru Isaila
In some introspection usecases, an in-guest agent needs to communicate with the external introspection agent. An existing mechanism is HVMOP_guest_request_vm_event, but this is restricted to kernel usecases like all other hypercalls. Introduce a mechanism whereby the introspection agent can white