[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [libvirt] QMP: RFC: I/O error info & query-stop-reason
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [libvirt] QMP: RFC: I/O error info & query-stop-reason |
Date: |
Thu, 02 Jun 2011 14:13:10 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 |
On 06/02/2011 02:03 PM, Anthony Liguori wrote:
>>>>>>>> { "event": "BLOCK_IO_ERROR",
>>>>>>>> "data": { "device": "ide0-hd1",
>>>>>>>> "operation": "write",
>>>>>>>> "action": "stop",
>>>>>>>> "reason": "enospc", }
>>>>>>>
>>>>>> I'm ok with either way. But in case you meant the second one, I guess
>>>>>> we should make "reason" a dictionary so that we can group related
>>>>>> information when we extend the field, for example:
>>>>>>
>>>>>> "reason": { "no space": false, "no permission": true }
The idea for an event with details certainly has merit.
>>>>>
>>>>> Why would we ever have "no permission"?
SELinux denial, perhaps?
>
>> Maybe libvirt guys could provide more input wrt the error reason usage.
>> If we don't have valid use cases for other errors, then I'll agree that
>> providing only "no space" is enough.
>
> Definitely! Adding libvirt to the CC to help encourage their input.
We could always start with just one reason "no space", and add more
later if and when we come up for use cases.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Luiz Capitulino, 2011/06/02
- Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Anthony Liguori, 2011/06/02
- Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Luiz Capitulino, 2011/06/02
- Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Anthony Liguori, 2011/06/02
- Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Luiz Capitulino, 2011/06/02
- Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Anthony Liguori, 2011/06/02
- Re: [Qemu-devel] [libvirt] QMP: RFC: I/O error info & query-stop-reason,
Eric Blake <=
- Re: [Qemu-devel] [libvirt] QMP: RFC: I/O error info & query-stop-reason, Anthony Liguori, 2011/06/02
Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Kevin Wolf, 2011/06/06
Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Markus Armbruster, 2011/06/06
Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Anthony Liguori, 2011/06/06
Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Anthony Liguori, 2011/06/06
Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Daniel P. Berrange, 2011/06/06
Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Luiz Capitulino, 2011/06/06
Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Anthony Liguori, 2011/06/08
Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Luiz Capitulino, 2011/06/07
Re: [Qemu-devel] QMP: RFC: I/O error info & query-stop-reason, Anthony Liguori, 2011/06/07