]> xenbits.xensource.com Git - qemu-upstream-unstable.git/commit
qcow2.py: Add required padding for header extensions
authorKevin Wolf <kwolf@redhat.com>
Tue, 25 Nov 2014 17:12:41 +0000 (18:12 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Sun, 22 Feb 2015 18:24:35 +0000 (12:24 -0600)
commit9f8da0319dfc321abe98b6454e7970015ac4e23c
tree7aa874a3722c2e43588b3f72c65b410a9ef4d1ed
parent63a3acd24af4067c5f8604ddde53c735bf1b95e1
qcow2.py: Add required padding for header extensions

The qcow2 specification requires that the header extension data be
padded to round up the extension size to the next multiple of 8 bytes.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1416935562-7760-3-git-send-email-kwolf@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 8884dd1bbc5ce42cd657ffcbef3a477443468974)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/qemu-iotests/qcow2.py