[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2.1 21/36] qapi event: convert BLOCK_IO_ERROR an
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 2.1 21/36] qapi event: convert BLOCK_IO_ERROR and BLOCK_JOB_ERROR |
Date: |
Fri, 27 Jun 2014 14:21:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Markus Armbruster <address@hidden> writes:
> Paolo Bonzini <address@hidden> writes:
>
>> Il 26/06/2014 17:37, Markus Armbruster ha scritto:
>>> Paolo Bonzini <address@hidden> writes:
>>>
>>>> From: Wenchao Xia <address@hidden>
>>>>
>>>> Signed-off-by: Wenchao Xia <address@hidden>
>>>> Signed-off-by: Paolo Bonzini <address@hidden>
>>>
>>> This broke tests/qemu-iotests/041. Apparently, the BLOCK_JOB_ERROR
>>> event changed from
>>>
>>> {'timestamp': {'seconds': 1403796871, 'microseconds': 446502},
>>> 'data': {'device': 'drive0',
>>
>> - bdrv_emit_qmp_error_event(job->bs, QEVENT_BLOCK_JOB_ERROR, action,
>> is_read);
>> + qapi_event_send_block_job_error(bdrv_get_device_name(bs),
>>
>> Should have been job->bs.
>
> Will you post a patch, or would you like me to do that?
>
>>> 'action': 'ignore',
>>> 'operation': 'write'},
>>> 'event': 'BLOCK_JOB_ERROR'}
>>>
>>> to
>>>
>>> {'timestamp': {'seconds': 1403796674, 'microseconds': 63271},
>>> 'data': {'device': '',
>>> 'action': 'report',
>>
>> I suppose ignore vs. report is just from pasting two different sections?
>
> Could well be; it's almost time for Fußball & Bier ;)
Nope, it's a genuine error in the patch. Working on a fix.
- Re: [Qemu-devel] [PATCH 2.1 23/36] qapi event: convert other BLOCK_JOB events, (continued)
[Qemu-devel] [PATCH 2.1 21/36] qapi event: convert BLOCK_IO_ERROR and BLOCK_JOB_ERROR, Paolo Bonzini, 2014/06/18
[Qemu-devel] [PATCH 2.1 24/36] qapi event: convert NIC_RX_FILTER_CHANGED, Paolo Bonzini, 2014/06/18
[Qemu-devel] [PATCH 2.1 25/36] qapi event: convert VNC events, Paolo Bonzini, 2014/06/18
[Qemu-devel] [PATCH 2.1 26/36] qapi event: convert SPICE events, Paolo Bonzini, 2014/06/18
[Qemu-devel] [PATCH 2.1 27/36] qapi event: convert BALLOON_CHANGE, Paolo Bonzini, 2014/06/18
[Qemu-devel] [PATCH 2.1 28/36] qapi event: convert GUEST_PANICKED, Paolo Bonzini, 2014/06/18
[Qemu-devel] [PATCH 2.1 29/36] qapi event: convert QUORUM events, Paolo Bonzini, 2014/06/18
[Qemu-devel] [PATCH 2.1 30/36] qapi event: clean up, Paolo Bonzini, 2014/06/18