qcow2: fix the macro QCOW_MAX_L1_SIZE's use
commit87b86e7ef29771a7fa06e3e8e88fa95bbc13a39c
authorWen Congyang <wency@cn.fujitsu.com>
Wed, 11 Mar 2015 03:05:21 +0000 (11 11:05 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 12 Mar 2015 17:41:23 +0000 (12 17:41 +0000)
treeb8885cb668b93775edddf18682e8f89d33d3bf72
parent2120465fbb87a69bd60283ec4034a0963766a7ef
qcow2: fix the macro QCOW_MAX_L1_SIZE's use

QCOW_MAX_L1_SIZE's unit is byte, and l1_size's unit
is l1 table entry size(8 bytes).

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Message-id: 54FFB0F1.5010307@cn.fujitsu.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qcow2-snapshot.c
block/qcow2.c