On 09/23/2011 02:20 PM, Kevin Wolf wrote:
+static BlockDriverAIOCB *add_cow_aio_flush(BlockDriverState *bs,
+BlockDriverCompletionFunc *cb, void *opaque)
+{
+BDRVAddCowState *state = bs->opaque;
+bdrv_aio_flush(state->image_hd, cb, opaque);
+return bdrv_aio_flush(bs->file, cb,
Am 21.09.2011 10:56, schrieb Dong Xu Wang:
> ubuntu.img is a disk image which has been installed OS.
> (1) Create a raw image with the same size of ubuntu.img
> qemu-img create -f raw test.raw 8G
> (2) Create a add-cow image which will store dirty bitmap
> qemu-img create -f add-cow test.add-cow -o
ubuntu.img is a disk image which has been installed OS.
(1) Create a raw image with the same size of ubuntu.img
qemu-img create -f raw test.raw 8G
(2) Create a add-cow image which will store dirty bitmap
qemu-img create -f add-cow test.add-cow -o
backing_file=ubuntu.img,image_file=test.raw
(3) Run
Hi,Dong Xu Wang,
On 09/22/2011 09:51 AM, Dong Xu Wang wrote:
ubuntu.img is a disk image which has been installed OS.
(1) Create a raw image with the same size of ubuntu.img
qemu-img create -f raw test.raw 8G
(2) Create a add-cow image which will store dirty bitmap
qemu-img create -f add-cow te
ubuntu.img is a disk image which has been installed OS.
(1) Create a raw image with the same size of ubuntu.img
qemu-img create -f raw test.raw 8G
(2) Create a add-cow image which will store dirty bitmap
qemu-img create -f add-cow test.add-cow -o
backing_file=ubuntu.img,image_file=test.raw
(3) Run