All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/9] libxl error reporting
@ 2015-06-24 13:47 Rob Hoes
  2015-06-24 13:47 ` [PATCH RFC 1/9] libxl idl: add comments to error enum Rob Hoes
                   ` (9 more replies)
  0 siblings, 10 replies; 33+ messages in thread
From: Rob Hoes @ 2015-06-24 13:47 UTC (permalink / raw)
  To: xen-devel; +Cc: euan.harris, Ian.Jackson


Following the proposal from Euan Harris to improve libxl's error reporting [1],
I have written a first couple of patches that I would like some feedback on.
The focus of these patches is on improving the errors that can be raised by the
device_add functions and some related ones.

Does the approach look acceptable?
Do the error codes make sense?
Did I miss any error conditions?

One thing I wasn't sure about is what happens if libxl__wait_device_connection
times out.

Also, I realise that these patches essentially break backward compatibility,
and I have not done the "#define LIBXL_HAVE" stuff yet. Do people consider this
necessary, and if so, at what granularity (e.g. one LIBXL_HAVE for all new
error codes in a release)?

Thanks,
Rob

[1] http://lists.xen.org/archives/html/xen-devel/2015-05/msg02572.html

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2015-06-30 12:19 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-24 13:47 [PATCH RFC 0/9] libxl error reporting Rob Hoes
2015-06-24 13:47 ` [PATCH RFC 1/9] libxl idl: add comments to error enum Rob Hoes
2015-06-24 15:06   ` Ian Jackson
2015-06-26 14:12     ` Rob Hoes
2015-06-26 14:26       ` Ian Campbell
2015-06-26 14:33         ` Ian Jackson
2015-06-30 12:19           ` Ian Campbell
2015-06-25 15:58   ` Ian Campbell
2015-06-25 16:36     ` Ian Jackson
2015-06-24 13:47 ` [PATCH RFC 2/9] libxl idl: allow implicit enum values Rob Hoes
2015-06-24 15:08   ` Ian Jackson
2015-06-25 15:59     ` Ian Campbell
2015-06-26 14:20       ` Rob Hoes
2015-06-24 13:47 ` [PATCH RFC 3/9] libxl: introduce specific xenstore error codes Rob Hoes
2015-06-24 15:10   ` Ian Jackson
2015-06-26 14:36     ` Rob Hoes
2015-06-26 14:42       ` Rob Hoes
2015-06-24 13:47 ` [PATCH RFC 4/9] libxl: use explicit error codes in libxl_ctx_alloc Rob Hoes
2015-06-24 15:18   ` Ian Jackson
2015-06-24 13:47 ` [PATCH RFC 5/9] libxl: introduce specific JSON error codes Rob Hoes
2015-06-24 15:20   ` Ian Jackson
2015-06-24 13:47 ` [PATCH RFC 6/9] libxl: introduce specific error code for libxl__wait_device_connection Rob Hoes
2015-06-24 15:30   ` Ian Jackson
2015-06-24 13:47 ` [PATCH RFC 7/9] libxl: introduce specific error codes in libxl_device_disk_add Rob Hoes
2015-06-24 15:28   ` Ian Jackson
2015-06-26 16:49     ` Rob Hoes
2015-06-24 13:47 ` [PATCH RFC 8/9] libxl: introduce specific error codes in libxl_device_cdrom_insert Rob Hoes
2015-06-24 15:26   ` Ian Jackson
2015-06-26 16:27     ` Rob Hoes
2015-06-24 13:47 ` [PATCH RFC 9/9] libxl: introduce specific error codes in libxl_device_nic_add Rob Hoes
2015-06-24 15:11   ` Ian Jackson
2015-06-26 16:36     ` Rob Hoes
2015-06-24 15:16 ` [PATCH RFC 0/9] libxl error reporting Ian Jackson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.