[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] [RFC] libqblock draft code v1
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] [RFC] libqblock draft code v1 |
Date: |
Thu, 02 Aug 2012 13:08:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
Il 02/08/2012 12:17, Stefan Hajnoczi ha scritto:
>> > Main purpose of it is to set ret to err_v when memory is not enough,
>> > I am not sure how to make this happens for every strdup.
> Eric pointed out that we cannot use g_strdup() because it aborts on
> memory allocation failure, so please ignore my suggestion to use that.
I wouldn't. What good it is to avoid g_strdup, if the block layer will
later use g_malloc anyway?
Paolo
- Re: [Qemu-devel] [PATCH] [RFC] libqblock draft code v1, (continued)
Re: [Qemu-devel] [PATCH] [RFC] libqblock draft code v1, Stefan Hajnoczi, 2012/08/01
Re: [Qemu-devel] [PATCH] [RFC] libqblock draft code v1, Wenchao Xia, 2012/08/02
Re: [Qemu-devel] [PATCH] [RFC] libqblock draft code v1, Blue Swirl, 2012/08/01