[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 1/9] vm_event: clear up return value of vm_event_monitor_traps
On 06/03/16 01:52, Tamas K Lengyel wrote: > 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 the notification was not sent, 0 where the notification was sent > and the vCPU is not paused and 1 that the notification was sent and > that the vCPU is paused. > > Signed-off-by: Tamas K Lengyel <tamas@xxxxxxxxxxxxx> > --- > Cc: Jun Nakajima <jun.nakajima@xxxxxxxxx> > Cc: Kevin Tian <kevin.tian@xxxxxxxxx> > Cc: Jan Beulich <jbeulich@xxxxxxxx> > Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> > Cc: Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx> > --- > xen/arch/x86/hvm/event.c | 4 ++-- > xen/arch/x86/hvm/vmx/vmx.c | 6 +++--- > xen/common/vm_event.c | 5 +++-- > 3 files changed, 8 insertions(+), 7 deletions(-) Acked-by: Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |