[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 0/6]: block: Add I/O status support
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH v1 0/6]: block: Add I/O status support |
Date: |
Fri, 23 Sep 2011 12:13:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Kevin Wolf <address@hidden> writes:
> Am 23.09.2011 10:55, schrieb Markus Armbruster:
[...]
>> Apropos enforcing. Currently, -drive accepts any werror and rerror
>> action with if={ide,virtio,scsi,none}. We rely on device models not
>> implementing an action to check and fail during initialization.
>> scsi-generic and the floppy devices do. All the other qdevified devices
>> don't, and that's broken.
>>
>> Are werror and rerror really host state?
>
> If you want to convince me of the opposite, show me the real device that
> implements them.
It's an honest question.
> In fact, for the implementation of rerror/werror the very same thing is
> true as you say about I/O status updates. Other than being easy to
> implement, there is really no reason to do it in the devices. The block
> layer could just as well stop the VM and queue the requests for
> resubmission when the VM is restarted. Of course, you can't keep
> migration compatibility when doing such a fundamental change to the
> design, but if you take the host state thing serious, this is what you
> should do.
Good answer. I'd love to have it spelled out in the code.
- [Qemu-devel] [PATCH 3/6] ide: Support I/O status, (continued)
- [Qemu-devel] [PATCH 3/6] ide: Support I/O status, Luiz Capitulino, 2011/09/01
- [Qemu-devel] [PATCH 4/6] scsi: Support I/O status, Luiz Capitulino, 2011/09/01
- [Qemu-devel] [PATCH 5/6] QMP: query-status: Add 'io-status' key, Luiz Capitulino, 2011/09/01
- [Qemu-devel] [PATCH 6/6] HMP: Print 'io-status' information, Luiz Capitulino, 2011/09/01
- Re: [Qemu-devel] [PATCH v1 0/6]: block: Add I/O status support, Luiz Capitulino, 2011/09/09
- Re: [Qemu-devel] [PATCH v1 0/6]: block: Add I/O status support, Kevin Wolf, 2011/09/19