Re: [Qemu-devel] [PATCH] qcow2: Correct endianness in overlap check

2013-10-02 Thread Stefan Hajnoczi
On Mon, Sep 30, 2013 at 08:59:28AM +0200, Max Reitz wrote: If an inactive L1 table is loaded from disk, its entries are in big endian and have to be converted to host byte order before using them. Signed-off-by: Max Reitz mre...@redhat.com --- block/qcow2-refcount.c | 4 ++-- 1 file

[Qemu-devel] [PATCH] qcow2: Correct endianness in overlap check

2013-09-30 Thread Max Reitz
If an inactive L1 table is loaded from disk, its entries are in big endian and have to be converted to host byte order before using them. Signed-off-by: Max Reitz mre...@redhat.com --- block/qcow2-refcount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [Qemu-devel] [PATCH] qcow2: Correct endianness in overlap check

2013-09-30 Thread Kevin Wolf
Am 30.09.2013 um 08:59 hat Max Reitz geschrieben: If an inactive L1 table is loaded from disk, its entries are in big endian and have to be converted to host byte order before using them. Signed-off-by: Max Reitz mre...@redhat.com Reviewed-by: Kevin Wolf kw...@redhat.com Sounds like there's

Re: [Qemu-devel] [PATCH] qcow2: Correct endianness in overlap check

2013-09-30 Thread Max Reitz
On 2013-09-30 10:06, Kevin Wolf wrote: Am 30.09.2013 um 08:59 hat Max Reitz geschrieben: If an inactive L1 table is loaded from disk, its entries are in big endian and have to be converted to host byte order before using them. Signed-off-by: Max Reitz mre...@redhat.com Reviewed-by: Kevin Wolf