[Xen-devel] Ping: [PATCH RFC v2] x86/domctl: Don't pause the whole domain if only getting vcpu state

2017-10-23 Thread Alexandru Stefan ISAILA
Any thoughts appreciated. On Vi, 2017-10-06 at 13:02 +0300, Alexandru Isaila wrote: > This patch adds the hvm_save_one_cpu_ctxt() function. > It optimizes by only pausing the vcpu on all HVMSR_PER_VCPU save > callbacks where only data for one VCPU is required. > > Signed-off-by: Alexandru Isaila

Re: [Xen-devel] [PATCH v9] x86/hvm: Implement hvmemul_write() using real mappings

2017-10-10 Thread Alexandru Stefan ISAILA
> I'd be fine taking care of all the comments while committing (and > then adding my R-b), provided you (and ideally also Andrew) > agree, and of course assuming Paul would ack the patch, plus > no-one else finds yet another problem which once again I may > have overlooked. > Hi Jan, Thank you

Re: [Xen-devel] [PATCH v5] x86/hvm: Implement hvmemul_write() using real mappings

2017-09-27 Thread Alexandru Stefan ISAILA
On Mi, 2017-09-27 at 09:38 +0100, Andrew Cooper wrote: > On 27/09/2017 09:04, Alexandru Isaila wrote: > > > > From: Andrew Cooper > > > > > > -return X86EMUL_EXCEPTION; > > -case HVMTRANS_bad_gfn_to_mfn: > > -return hvmemul_linear_mmio_write(addr,

Re: [Xen-devel] [PATCH v4 3/3] x86/hvm: Implement hvmemul_write() using real mappings

2017-09-25 Thread Alexandru Stefan ISAILA
On Mi, 2017-09-20 at 14:37 +, Paul Durrant wrote: > > > > -Original Message- > > From: Jan Beulich [mailto:jbeul...@suse.com] > > Sent: 20 September 2017 13:24 > > To: Alexandru Isaila > > Cc: suravee.suthikulpa...@amd.com; Andrew Cooper > >

Re: [Xen-devel] [PATCH v4 3/3] x86/hvm: Implement hvmemul_write() using real mappings

2017-09-20 Thread Alexandru Stefan ISAILA
On Mi, 2017-09-20 at 06:24 -0600, Jan Beulich wrote: > > > > > > > > > > > > > On 20.09.17 at 11:22, wrote: > > +static void *hvmemul_map_linear_addr( > > +unsigned long linear, unsigned int bytes, uint32_t pfec, > > +struct hvm_emulate_ctxt *hvmemul_ctxt) > > +{

Re: [Xen-devel] [PATCH] x86/domctl: Don't pause the whole domain if only getting vcpu state

2017-09-19 Thread Alexandru Stefan ISAILA
On Ma, 2017-09-19 at 00:11 -0600, Jan Beulich wrote: > > > > > > > > > > > > > Razvan Cojocaru 09/18/17 7:05 PM > > > > >>> > > On 09/18/2017 06:35 PM, Jan Beulich wrote: > > > > > > > > > > > > > > > > > > > > > > > > On 12.09.17 at 15:53,

Re: [Xen-devel] [PATCH v2 4/4] x86/hvm: Implement hvmemul_write() using real mappings

2017-09-18 Thread Alexandru Stefan ISAILA
On Lu, 2017-09-18 at 07:43 -0600, Jan Beulich wrote: > > > > > > > > > > > > > On 08.09.17 at 18:05, wrote: > > Changes since V1: > > - Moved ASSERT to the begining of the loop > > - Corrected the decrement on mfn int the while statement > > - Modified the comment to

Re: [Xen-devel] [PATCH v5] common/vm_event: Initialize vm_event lists on domain creation

2017-08-30 Thread Alexandru Stefan ISAILA
> > > > -static int vm_event_disable(struct domain *d, struct > > vm_event_domain *ved) > > +static int vm_event_disable(struct domain *d, struct > > vm_event_domain **ved) > > { > A lot of the code churn here and above could be avoided by changing > ved > in parameter list to something else

Re: [Xen-devel] [PATCH v5] common/vm_event: Initialize vm_event lists on domain creation

2017-08-29 Thread Alexandru Stefan ISAILA
On Ma, 2017-08-29 at 09:14 -0600, Tamas K Lengyel wrote: > On Tue, Aug 29, 2017 at 8:17 AM, Alexandru Isaila > wrote: > > > > The patch splits the vm_event into three structures:vm_event_share, > > vm_event_paging, vm_event_monitor. The allocation for the > > structure is

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 v2] common/vm_event: Initialize vm_event lists on domain creation

2017-08-24 Thread Alexandru Stefan ISAILA
On Jo, 2017-08-24 at 07:24 -0600, Jan Beulich wrote: > > > > > > > > > > > > > On 24.08.17 at 13:48, wrote: > > The patch splits the vm_event into three structures:vm_event_share, > > vm_event_paging, vm_event_monitor. The allocation for the > > structure is moved to

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

2017-08-08 Thread Alexandru Stefan ISAILA
On Ma, 2017-08-08 at 12:27 +0100, Wei Liu wrote: > On Tue, Aug 08, 2017 at 11:27:35AM +0300, Alexandru Isaila wrote: > > > > In some introspection usecases, an in-guest agent needs to > > communicate > > with the external introspection agent.  An existing mechanism is > >

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

2017-08-07 Thread Alexandru Stefan ISAILA
On Vi, 2017-08-04 at 19:32 -0600, Tamas K Lengyel wrote: On Fri, Aug 4, 2017 at 5:32 AM, Alexandru Isaila > wrote: In some introspection usecases, an in-guest agent needs to communicate with the external introspection agent. An existing

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

2017-08-07 Thread Alexandru Stefan ISAILA
​ From: Tamas K Lengyel <ta...@tklengyel.com> Sent: Saturday, August 5, 2017 4:32 AM To: Alexandru Stefan ISAILA Cc: Xen-devel; wei.l...@citrix.com; Tim Deegan; Stefano Stabellini; Konrad Rzeszutek Wilk; Jan Beulich; Ian Jackson; George Dunlap; Andrew

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

2017-08-01 Thread Alexandru Stefan ISAILA
:30 PM To: Alexandru Stefan ISAILA; xen-devel@lists.xen.org Cc: jbeul...@suse.com; Razvan Cojocaru; Tamas K Lengyel Subject: Re: [PATCH v2] x86/hvm: Allow guest_request vm_events coming from userspace On 01/08/17 10:46, Alexandru Isaila wrote: > Allow guest userspace code to request that a vm_even