qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v5 15/22] blkdebug: Allow command-line file conf


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH v5 15/22] blkdebug: Allow command-line file configuration
Date: Sat, 14 Dec 2013 00:57:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

On 13.12.2013 21:36, Kevin Wolf wrote:
Am 13.12.2013 um 18:10 hat Max Reitz geschrieben:
Introduce the "image" option as an alternative to specifying the image
through the filename.

Signed-off-by: Max Reitz <address@hidden>
One thing I'd like to see, either in the next version or in a follow-up
series, is to generalise open_image() into a block.c function.

Yes, I thought of something like that myself. I think, eventually we need to merge bdrv_open() and bdrv_file_open() (now that "file"s can be nested and there may be block devices without "file"s, there is no actual need to separate both).

The main difference between blkdebug and blkverify seems to be that
blkverify does image format probing on its main image. This can be a
bool argument to open_image().

I think, blkdebug should just force the raw driver with a common open_image().

Max



reply via email to

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