|
| From: | Jan Kiszka |
| Subject: | [Qemu-devel] Re: [PATCH 02/17] block: Improve bdrv_iterate |
| Date: | Mon, 09 Feb 2009 16:34:56 +0100 |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
Anthony Liguori wrote:
> Jan Kiszka wrote:
>> Make bdrv_iterate more useful by passing the BlockDriverState to the
>> iterator instead of the device name.
>>
>> Signed-off-by: Jan Kiszka <address@hidden>
>>
>
>> ---
>>
>> block.c | 4 ++--
>> block.h | 3 ++-
>> monitor.c | 3 ++-
>>
>
> $ grep -l bdrv_iterate *.c hw/*.c
> block.c
> monitor.c
> qemu-img.c
> vl.c
>
> So this patch will break the build.
$ grep -l "bdrv_iterate(" *.c hw/*.c
block.c
monitor.c
Unless I'm totally blind, all users have been converted (there's only
one). And it still builds for all targets and tools.
Jan
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
| [Prev in Thread] | Current Thread | [Next in Thread] |