]> git.ipfire.org Git - thirdparty/qemu.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>
Wed, 14 Jan 2015 23:08:42 +0000 (17:08 -0600)
commit75eb0f5dbb3beaa718b2a6b6acd5b3cce565586a
treedd2c8065064cb52050d8abb7e7b2c4f2a389bfd1
parentb495764ae801daeb4ec690b628301f75838352a1
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>
(cherry picked from commit a163ac3f57b5baa117158f7c0488d276ba3377e2)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/qemu-iotests/qcow2.py