qcow2 resize with snapshot, i modify the code of shrink size.
and some changes for stable and vm state l1 index. thanks for review.
Signed-off-by: zhangzhiming mailto:zhangzhimin...@meituan.com>>
---
block.c| 19
block/qcow2-cluster.c
ping
zhangzhiming
zhangzhimin...@meituan.com
> On Aug 15, 2016, at 7:56 PM, zhangzhiming wrote:
>
> hi, i modified my code by Kevin Wolf’s review. and thanks for review again.
>
>
>
> Signed-off-by: zhangzhiming
> ---
> block.c| 19 ---
hi, i modified my code by Kevin Wolf’s review. and thanks for review again.
Signed-off-by: zhangzhiming
---
block.c| 19
block/qcow2-cluster.c | 55 ++--
block/qcow2-snapshot.c | 34
Oh, sorry for that, I asked for leave for several days and i didn’t open my
computer, maybe the mail deleted
by mail server when i come.
I will check your reply and think it over.
thanks very much!
:)
zhangzhiming
zhangzhimin...@meituan.com
> On Aug 3, 2016, at 1:20 AM, Kevin Wolf wr
ping
zhangzhiming
zhangzhimin...@meituan.com
> On Jun 24, 2016, at 7:10 PM, zhangzhiming wrote:
>
> qcow2 can’t be resized while there is a snapshot in qcow2 image but in
> version 3 image of qcow2,
> each disk size of snapshot is stored in the image, so we can resize image
very little job.
Signed-off-by: zhangzhiming mailto:zhangzhimin...@meituan.com>>
---
block.c | 19 +++
block/qcow2-cluster.c| 29 +
block/qcow2-snapshot.c | 37 +
block/q
hi, please help to review my code. i have checked it for serval times.
it is short and very easy too read. and i will be very grateful to you for
taking a very little time
to read it. thanks very much!
zhangzhiming
zhangzhimin...@meituan.com <mailto:zhangzhimin...@meituan.com>
Signed-
hi, need for someone's review of my code. no one does it for nearly one week.
thanks!
zhangzhiming
zhangzhimin...@meituan.com
> On Jun 1, 2016, at 6:24 PM, zhangzhiming wrote:
>
> hi, here are all changes of my code. thanks for the review!
>
> zhangzhiming
> zha
hi, here are all changes of my code. thanks for the review!
zhangzhiming
zhangzhimin...@meituan.com
Signed-off-by: zhangzhiming
---
block.c | 19 +++
block/qcow2-cluster.c| 29 +
block/qcow2-snapshot.c | 33
hi, thanks for the review and the format of code changed.
have a good day!
zhangzhiming
zhangzhimin...@meituan.com
Signed-off-by: zhangzhiming
---
block.c|4 ++--
block/qcow2-cluster.c |4 ++--
block/qcow2-snapshot.c |5 ++---
block/qcow2.c |4 ++--
4
Hi, i modified my code for qcow2 resize, and delete some code related to
qemu monitor.
and thanks for the review.
zhangzhiming
zhangzhimin...@meituan.com <mailto:zhangzhimin...@meituan.com>
---
block.c | 19 +++
block/qcow2-cluster.c
hi, and some extra code need to be changed.
zhangzhiming
zhangzhimin...@meituan.com
--
diff --git a/block/qcow2-snapshot.c b/block/qcow2-snapshot.c
index d872cf2..fb888b0 100644
--- a/block/qcow2-snapshot.c
+++ b/block/qcow2-snapshot.c
@@ -498,7 +498,7 @@ int qcow2_snapshot_goto(BlockDriverState
add code, shrink l1 table while resize.
zhangzhiming
zhangzhimin...@meituan.com
--
diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c
index 31ecc10..3e07510 100644
--- a/block/qcow2-cluster.c
+++ b/block/qcow2-cluster.c
@@ -31,6 +31,36 @@
#include "block/qcow2.h"
#includ
hi, missed some code.
zhangzhiming
zhangzhimin...@meituan.com
--
diff --git a/block.c b/block.c
index 047698a..ff83134 100644
--- a/block.c
+++ b/block.c
@@ -2641,7 +2641,7 @@ int bdrv_apply_snapshot(BlockDriverState *bs, const char
*snapshot_id, uint64_t
return ret;
}
-ret
,
it feels not very good.
please review it for me. thanks.
zhangzhiming
zhangzhimin...@meituan.com
--
diff --git a/block.c b/block.c
index 18a497f..047698a 100644
--- a/block.c
+++ b/block.c
@@ -2632,6 +2632,24 @@ int bdrv_truncate(BlockDriverState *bs, int64_t offset)
}
/**
+ * goto a sna
esize”,
this function will block IO requests when resizing a image, and it seems
that it called callback function to notify the
guest, and we don’t need to set BLOCK_OP_TYPE_RESIZE blockers. is it
correct ?
zhangzhiming
zhangzhimin...@meituan.com
> On May 7, 2016, at
sorry, i forgot to cc qemu-bl...@nongnu.org <mailto:qemu-bl...@nongnu.org>.
zhangzhiming
zhangzhimin...@meituan.com
> On May 7, 2016, at 10:47 AM, zhangzhiming wrote:
>
> thank you for your reply, and i am glad to join to the development of qemu.
> i will try my best
thank you for your reply, and i am so sorry, there are some problems with my
email @163.com <http://163.com/>,
it returned me some error and i thought that my email send failed.
so, really sorry. this is my second email. i will use this one.
zhangzhiming
zhangzhimin...@meituan.com
>
thank you for your reply, and i am glad to join to the development of qemu.
i will try my best to finish this new function.
have a good day!
zhangzhiming
zhangzhimin...@meituan.com
> On May 3, 2016, at 4:44 PM, Kevin Wolf wrote:
>
> [ Cc: qemu-block ]
>
> Am 29.04.2016 um 10
.
zhangzhiming
zhangzhimin...@meituan.com
20 matches
Mail list logo