[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V12 6/7] libqblock API implement
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH V12 6/7] libqblock API implement |
Date: |
Thu, 29 Nov 2012 09:47:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Il 29/11/2012 07:25, Wenchao Xia ha scritto:
>>
>> How can this be called with libqb_global_data.init_flag == 1?
>>
> OK, I will remove the if, but keep init_flag which can show
> library is already initialized.
Please remove it if there is no usage elsewhere.
For debugging, qemu_aio_context != NULL is just as good to check for
initialization.
Paolo
- [Qemu-devel] [PATCH V12 2/7] block export function path_has_protocol, (continued)
- [Qemu-devel] [PATCH V12 2/7] block export function path_has_protocol, Wenchao Xia, 2012/11/28
- [Qemu-devel] [PATCH V12 1/7] Build system clean tests directory clearly, Wenchao Xia, 2012/11/28
- [Qemu-devel] [PATCH V12 3/7] stubs add function qemu_set_fd_handler, Wenchao Xia, 2012/11/28
- [Qemu-devel] [PATCH V12 4/7] libqblock build system, Wenchao Xia, 2012/11/28
- [Qemu-devel] [PATCH V12 5/7] libqblock API design and type defines, Wenchao Xia, 2012/11/28
- [Qemu-devel] [PATCH V12 6/7] libqblock API implement, Wenchao Xia, 2012/11/28
- [Qemu-devel] [PATCH V12 7/7] libqblock test example, Wenchao Xia, 2012/11/28