Re: [Xen-devel] [PATCH] libxl: set rc to 0 in init_acpi_config in success path

2016-12-16 Thread Boris Ostrovsky
On 12/16/2016 10:51 AM, Wei Liu wrote: > xc_doamin_getinfo returns >=0 in success path, and if there is no vnode > configured, that rc will be returned to caller, which indicates error. > > Fix that by setting rc to 0 in success path. > > Reported-by: Boris Ostrovsky > Signed-off-by: Wei Liu > --

[Xen-devel] [PATCH] libxl: set rc to 0 in init_acpi_config in success path

2016-12-16 Thread Wei Liu
xc_doamin_getinfo returns >=0 in success path, and if there is no vnode configured, that rc will be returned to caller, which indicates error. Fix that by setting rc to 0 in success path. Reported-by: Boris Ostrovsky Signed-off-by: Wei Liu --- Cc: Boris Ostrovsky Cc: Ian Jackson Please squas