[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block/raw: Add create_options for host_device
From: |
Christoph Hellwig |
Subject: |
Re: [Qemu-devel] [PATCH] block/raw: Add create_options for host_device |
Date: |
Thu, 1 Oct 2009 19:13:53 +0200 |
User-agent: |
Mutt/1.3.28i |
On Thu, Oct 01, 2009 at 12:35:49PM +0200, Kevin Wolf wrote:
> Today host_devices have a create function, so they also need a create_options
> field to prevent qemu-img from complaining.
Yeah. But looking deeper does the size argument actually make any
sense for the host devices? What we do right now is to seek to the
total_size * 512 as some sort of tests, but it's not actually in any
way encoded in the image, we'll always get the normal raw_getlength
return value when quering for the size later.