Re: [Xen-devel] [PATCH] libxc: Have xc_translate_foreign_address() set errno properly

2016-03-03 Thread Wei Liu
On Thu, Mar 03, 2016 at 02:53:25PM +0200, Razvan Cojocaru wrote: > On 03/03/2016 02:47 PM, Wei Liu wrote: > > On Wed, Mar 02, 2016 at 08:51:51AM +0200, Razvan Cojocaru wrote: > >> Currently it's possible for xc_translate_foreign_address() to fail > >> and errno still be set to success. This patch f

Re: [Xen-devel] [PATCH] libxc: Have xc_translate_foreign_address() set errno properly

2016-03-03 Thread Razvan Cojocaru
On 03/03/2016 02:47 PM, Wei Liu wrote: > On Wed, Mar 02, 2016 at 08:51:51AM +0200, Razvan Cojocaru wrote: >> Currently it's possible for xc_translate_foreign_address() to fail >> and errno still be set to success. This patch fixes the issue. >> Based on the first half of Don Slutz' patch: >> http:/

Re: [Xen-devel] [PATCH] libxc: Have xc_translate_foreign_address() set errno properly

2016-03-03 Thread Wei Liu
On Wed, Mar 02, 2016 at 08:51:51AM +0200, Razvan Cojocaru wrote: > Currently it's possible for xc_translate_foreign_address() to fail > and errno still be set to success. This patch fixes the issue. > Based on the first half of Don Slutz' patch: > http://lists.xen.org/archives/html/xen-devel/2014-0

[Xen-devel] [PATCH] libxc: Have xc_translate_foreign_address() set errno properly

2016-03-01 Thread Razvan Cojocaru
Currently it's possible for xc_translate_foreign_address() to fail and errno still be set to success. This patch fixes the issue. Based on the first half of Don Slutz' patch: http://lists.xen.org/archives/html/xen-devel/2014-03/msg03720.html Signed-off-by: Razvan Cojocaru --- tools/libxc/xc_page