[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v6 4/5] vm_event: clear up return value of vm_event_monitor_traps
> From: Tamas K Lengyel [mailto:tamas@xxxxxxxxxxxxx] > Sent: Friday, June 24, 2016 1:07 AM > > The return value has not been clearly defined, with the function > never returning 0 which seemingly indicated a condition where the > guest should crash. > > In this patch we define -rc as error condition where a subscriber is > present but an error prevented the notification from being sent; > 0 where there is no subscriber or the notification was sent and the vCPU > is not paused (i.e. safe to continue execution as normal); and 1 where the > notification was sent with the vCPU paused and we are waiting for a > response. > > Signed-off-by: Tamas K Lengyel <tamas@xxxxxxxxxxxxx> > Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> > Acked-by: Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx> Sorry I should ack this new version: Acked-by: Kevin Tian <kevin.tian@xxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |