[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH V6 13/13] xen/vm_event: Add RESUME option to vm_event_op domctl





On Thu, Mar 12, 2015 at 4:56 PM, Tim Deegan <tim@xxxxxxx> wrote:
At 01:11 +0100 on 18 Feb (1424218303), Tamas K Lengyel wrote:
> Thus far mem_access and mem_sharing memops had been able to signal
> to Xen to start pulling responses off the corresponding rings. In this patch
> we retire these memops and add them to the option to the vm_event_op domctl.
>
> The vm_event_op domctl suboptions are the same for each ring thus we
> consolidate them into XEN_VM_EVENT_ENABLE/DISABLE/RESUME.
>
> As part of this patch in libxc we also rename the mem_access_enable/disable
> functions to monitor_enable/disable and move them into xc_monitor.c.
>
> Signed-off-by: Tamas K Lengyel <tamas.lengyel@xxxxxxxxxxxx>
> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

I think there's still an outstanding question about the repeated code
in vm_event.c, which could be unified -- last time you suggested maybe
just getting rid of the wakeup operation entirely.

I'm still trying to figure out if there is a different use-case that may necessitate having the two redundant operations that we have today. For now it doesn't hurt and we can retire one if it is indeed verified there is no need to have two.
Â

Nevertheless I think this patch is good on its own. So,

Acked-by: Tim Deegan <tim@xxxxxxx>

Cheers,

Tim

Thanks,
Tamas

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.