Re: [Qemu-devel] [PATCH] snapshot: use local variable to bdrv_pwrite_sync L1 table

2014-10-23 Thread Max Reitz
On 2014-10-23 at 09:03, Kevin Wolf wrote: Am 23.10.2014 um 00:18 hat Eric Blake geschrieben: On 10/21/2014 03:24 AM, Max Reitz wrote: On 2014-10-21 at 10:04, Zhang Haoyu wrote: Use local variable to bdrv_pwrite_sync L1 table, needless to make conversion of cached L1 table between big-endian an

Re: [Qemu-devel] [PATCH] snapshot: use local variable to bdrv_pwrite_sync L1 table

2014-10-23 Thread Kevin Wolf
Am 23.10.2014 um 00:18 hat Eric Blake geschrieben: > On 10/21/2014 03:24 AM, Max Reitz wrote: > > On 2014-10-21 at 10:04, Zhang Haoyu wrote: > >> Use local variable to bdrv_pwrite_sync L1 table, > >> needless to make conversion of cached L1 table between > >> big-endian and host style. > >> > >> Si

Re: [Qemu-devel] [PATCH] snapshot: use local variable to bdrv_pwrite_sync L1 table

2014-10-22 Thread Gonglei
On 2014/10/23 6:18, Eric Blake wrote: > On 10/21/2014 03:24 AM, Max Reitz wrote: >> On 2014-10-21 at 10:04, Zhang Haoyu wrote: >>> Use local variable to bdrv_pwrite_sync L1 table, >>> needless to make conversion of cached L1 table between >>> big-endian and host style. >>> >>> Signed-off-by: Zhang

Re: [Qemu-devel] [PATCH] snapshot: use local variable to bdrv_pwrite_sync L1 table

2014-10-22 Thread Eric Blake
On 10/21/2014 03:24 AM, Max Reitz wrote: > On 2014-10-21 at 10:04, Zhang Haoyu wrote: >> Use local variable to bdrv_pwrite_sync L1 table, >> needless to make conversion of cached L1 table between >> big-endian and host style. >> >> Signed-off-by: Zhang Haoyu >> --- >> block/qcow2-refcount.c | 22

Re: [Qemu-devel] [PATCH] snapshot: use local variable to bdrv_pwrite_sync L1 table

2014-10-21 Thread Max Reitz
On 2014-10-21 at 10:04, Zhang Haoyu wrote: Use local variable to bdrv_pwrite_sync L1 table, needless to make conversion of cached L1 table between big-endian and host style. Signed-off-by: Zhang Haoyu --- block/qcow2-refcount.c | 22 +++--- 1 file changed, 7 insertions(+), 15

[Qemu-devel] [PATCH] snapshot: use local variable to bdrv_pwrite_sync L1 table

2014-10-21 Thread Zhang Haoyu
Use local variable to bdrv_pwrite_sync L1 table, needless to make conversion of cached L1 table between big-endian and host style. Signed-off-by: Zhang Haoyu --- block/qcow2-refcount.c | 22 +++--- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/block/qcow2-refcoun