qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 6/6] blockdev-test: Test device_del after drive_


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 6/6] blockdev-test: Test device_del after drive_del
Date: Thu, 02 Oct 2014 18:25:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Eric Blake <address@hidden> writes:

> On 10/02/2014 08:51 AM, Markus Armbruster wrote:
>> Executed in this order, drive_del and device_del's automatic drive
>> deletion take notoriously tricky special paths.
>> 
>> Signed-off-by: Markus Armbruster <address@hidden>
>> ---
>>  tests/drive_del-test.c | 32 ++++++++++++++++++++++++++++++++
>>  1 file changed, 32 insertions(+)
>> 
>> diff --git a/tests/drive_del-test.c b/tests/drive_del-test.c
>
>> +    /* Complication: ignore DEVICE_DELETED event */
>> +    qmp_discard_response("{'execute': 'device_del',"
>
> Still not a fan of single quotes in QMP, but it's existing style.
>
>
>> +static void test_drive_del_device_del(void)
>> +{
>> +    /* Start with a drive used by an device that unplugs instantaneously */
>
> s/an device/a device/
>
> New tests are always good; with the typo fix:
> Reviewed-by: Eric Blake <address@hidden>

I'll get that fixed, either on commit, or via respin.  Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]