[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] bdrv_flush error handling
From: |
Ian Jackson |
Subject: |
Re: [Qemu-devel] [PATCH] bdrv_flush error handling |
Date: |
Wed, 20 Feb 2008 16:13:26 +0000 |
Daniel P. Berrange writes ("Re: [Qemu-devel] [PATCH] bdrv_flush error
handling"):
> On Wed, Feb 20, 2008 at 03:53:46PM +0000, Ian Jackson wrote:
> > Finally, it would perhaps be best if the block device emulators wrote
> > to the qemu console to complain if they give write errors. Otherwise
> > the errno value and other important information will be lost, which
> > makes debugging hard.
>
> If by 'qemu console' you mean stderr, then fine, but please don't
> spew log messages to the monitor console, because that'll make it
> very hard to interact with reliably from management tools.
Is it permitted, then, to generally print to qemu's stderr from inside
a device model ? This seems to be done quite a bit during
initialisation, and quite a bit in various rather less common kinds of
device, but not routinely in the main emulations.
Perhaps it would be better to invent a `logprintf' function to make it
easier to redirect these kind of messages later if that turns out to
be desirable ?
Ian.
- [Qemu-devel] [PATCH] bdrv_flush error handling, Ian Jackson, 2008/02/20
- Re: [Qemu-devel] [PATCH] bdrv_flush error handling, Daniel P. Berrange, 2008/02/20
- Re: [Qemu-devel] [PATCH] bdrv_flush error handling,
Ian Jackson <=
- Re: [Qemu-devel] [PATCH] bdrv_flush error handling, Paul Brook, 2008/02/20
- Re: [Qemu-devel] [PATCH] bdrv_flush error handling, Avi Kivity, 2008/02/20
- Re: [Qemu-devel] [PATCH] bdrv_flush error handling, Ian Jackson, 2008/02/20
- Re: [Qemu-devel] [PATCH] bdrv_flush error handling, Paul Brook, 2008/02/20
- Re: [Qemu-devel] [PATCH] bdrv_flush error handling, Ian Jackson, 2008/02/20
- Re: [Qemu-devel] [PATCH] bdrv_flush error handling, Jamie Lokier, 2008/02/20
- Re: [Qemu-devel] [PATCH] bdrv_flush error handling, Paul Brook, 2008/02/20
- Re: [Qemu-devel] [PATCH] bdrv_flush error handling, Jamie Lokier, 2008/02/20
- Re: [Qemu-devel] [PATCH] bdrv_flush error handling, Daniel P. Berrange, 2008/02/20
- Re: [Qemu-devel] [PATCH] bdrv_flush error handling, Anthony Liguori, 2008/02/20