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

2017-08-25 Thread Jan Beulich
>>> On 25.08.17 at 17:49, wrote: > On 08/25/2017 02:44 PM, Jan Beulich wrote: > On 25.08.17 at 15:00, wrote: >>> On Vi, 2017-08-25 at 06:13 -0600, Jan Beulich wrote: > >> >>> >>> On 17.08.17 at 13:50,

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

2017-08-25 Thread George Dunlap
On 08/25/2017 02:44 PM, Jan Beulich wrote: On 25.08.17 at 15:00, wrote: >> On Vi, 2017-08-25 at 06:13 -0600, Jan Beulich wrote: > >> >> On 17.08.17 at 13:50, wrote: --- a/xen/common/monitor.c +++

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

2017-08-25 Thread Tamas K Lengyel
On Fri, Aug 25, 2017 at 7:44 AM, Jan Beulich wrote: On 25.08.17 at 15:00, wrote: >> On Vi, 2017-08-25 at 06:13 -0600, Jan Beulich wrote: >>> > >>> > > >>> > > > >>> > > > On 17.08.17 at 13:50, wrote: >>> > ---

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

2017-08-25 Thread Jan Beulich
>>> On 25.08.17 at 15:00, wrote: > On Vi, 2017-08-25 at 06:13 -0600, Jan Beulich wrote: >> > >> > > >> > > > >> > > > On 17.08.17 at 13:50, wrote: >> > --- a/xen/common/monitor.c >> > +++ b/xen/common/monitor.c >> > @@ -75,6 +75,7 @@ int

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

2017-08-25 Thread Alexandru Stefan ISAILA
On Vi, 2017-08-25 at 06:13 -0600, Jan Beulich wrote: > > > > > > > > > > > > > On 17.08.17 at 13:50, wrote: > > --- a/xen/common/monitor.c > > +++ b/xen/common/monitor.c > > @@ -75,6 +75,7 @@ int monitor_domctl(struct domain *d, struct > > xen_domctl_monitor_op *mop) > >

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

2017-08-25 Thread Jan Beulich
>>> On 17.08.17 at 13:50, wrote: > --- a/xen/common/monitor.c > +++ b/xen/common/monitor.c > @@ -75,6 +75,7 @@ int monitor_domctl(struct domain *d, struct > xen_domctl_monitor_op *mop) > domain_pause(d); > d->monitor.guest_request_sync =

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

2017-08-22 Thread Wei Liu
On Thu, Aug 17, 2017 at 02:50:19PM +0300, Alexandru Isaila wrote: > 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

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

2017-08-18 Thread Tamas K Lengyel
On Thu, Aug 17, 2017 at 5:50 AM, Alexandru Isaila wrote: > 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 >

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

2017-08-17 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