|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] qemu-img convert with block driver without .bdrv_create (like iscsi) |
Date: | Thu, 25 Oct 2012 09:52:15 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 |
Il 25/10/2012 09:46, Kevin Wolf ha scritto: >> > 1)add a .bdrv_create in block/iscsi.c ? >> > >> > (like host_device block driver, only open/close the device and check if >> > size if big enough) > Yes, this is the right way. Could it be a default implementation of .bdrv_create (i.e. something you'd do in bdrv_create if the protocol doesn't have it)? Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |