diff options
| author | Anthony Liguori <aliguori@us.ibm.com> | 2010-09-08 14:26:57 -0500 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-09-08 14:26:57 -0500 |
| commit | aab2e8f79ad253c760787ff3ce4d64967fed0003 (patch) | |
| tree | bc837d155b4d558b71ad196c561f9e71c10136d0 /qemu-img.c | |
| parent | dccbe6fbab47c9a2589f436e0592933b47cbe40b (diff) | |
| parent | 7ec5e6a4ca43494949465f9f9f3d9e4c7c620503 (diff) | |
| download | focaccia-qemu-aab2e8f79ad253c760787ff3ce4d64967fed0003.tar.gz focaccia-qemu-aab2e8f79ad253c760787ff3ce4d64967fed0003.zip | |
Merge remote branch 'kwolf/for-anthony' into staging
Diffstat (limited to 'qemu-img.c')
| -rw-r--r-- | qemu-img.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qemu-img.c b/qemu-img.c index e300f911cb..4e035e44cc 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -783,7 +783,8 @@ static int img_convert(int argc, char **argv) goto out; } - out_bs = bdrv_new_open(out_filename, out_fmt, BDRV_O_FLAGS | BDRV_O_RDWR); + out_bs = bdrv_new_open(out_filename, out_fmt, + BDRV_O_FLAGS | BDRV_O_RDWR | BDRV_O_NO_FLUSH); if (!out_bs) { ret = -1; goto out; @@ -1286,7 +1287,7 @@ static int img_rebase(int argc, char **argv) } bs_new_backing = bdrv_new("new_backing"); - ret = bdrv_open(bs_new_backing, out_baseimg, BDRV_O_FLAGS | BDRV_O_RDWR, + ret = bdrv_open(bs_new_backing, out_baseimg, BDRV_O_FLAGS, new_backing_drv); if (ret) { error("Could not open new backing file '%s'", out_baseimg); |