[Qemu-block] [PATCH v1 0/1] block: Add numeric errno field to BLOCK_IO_ERROR events

2017-12-21 Thread Jack Schwartz
ws. That file's prior reference to errno confirms that Windows will work with the code change. - If there would be a Linux vs Windows difference in mapping of errno to error string values, that difference would have been in place before my changes. Thanks, Jack Jack Schwartz (1): block: Add numeric errno field to BLOCK_IO_ERROR events block/block-backend.c | 2 +- qapi/block-core.json | 12 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) -- 1.8.3.1

[Qemu-block] [PATCH v1 1/1] block: Add numeric errno field to BLOCK_IO_ERROR events

2017-12-21 Thread Jack Schwartz
BLOCK_IO_ERROR events currently contain a "reason" string which is strerror(errno) of the error. This enhancement provides those events with the numeric errno value as well, since it is easier to parse for error type than a string. Signed-off-by: Jack Schwartz <jack.schwa...@oracle.

Re: [Qemu-block] [Qemu-devel] [PATCH v1 1/1] block: Add numeric errno field to BLOCK_IO_ERROR events

2018-01-08 Thread Jack Schwartz
Hi Kevin. On 2017-12-22 05:52, Kevin Wolf wrote: Am 22.12.2017 um 01:11 hat Jack Schwartz geschrieben: BLOCK_IO_ERROR events currently contain a "reason" string which is strerror(errno) of the error. This enhancement provides those events with the numeric errno value as w

Re: [Qemu-block] [Qemu-devel] [PATCH v1 1/1] block: Add numeric errno field to BLOCK_IO_ERROR events

2018-01-10 Thread Jack Schwartz
Hi Kevin. Thanks for your feedback. Looks like my team's project plans have changed, and there is no need to pursue this further.  We can work with the existing reason string.     Thanks,     Jack On 01/09/18 02:24, Kevin Wolf wrote: Am 08.01.2018 um 20:57 hat Jack Schwartz