]> git.proxmox.com Git - mirror_qemu.git/commit - block/vmdk.c
vmdk: Reject excess extents in blockdev-create
authorKevin Wolf <kwolf@redhat.com>
Fri, 7 Dec 2018 11:42:19 +0000 (12:42 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 1 Feb 2019 12:46:44 +0000 (13:46 +0100)
commit4a960ece17c94989d4082f5d3d8c32b34eded57c
treed321272536986bdb3a04dbb3c2a8a29b510038b7
parent1c4e7b640ba250edf0f7469ec8588a1df6dc95e5
vmdk: Reject excess extents in blockdev-create

Clarify that the number of extents provided in BlockdevCreateOptionsVmdk
must match the number of extents that will actually be used. Providing
more extents will result in an error now.

This requires adapting the test case to provide the right number of
extents.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
block/vmdk.c
qapi/block-core.json
tests/qemu-iotests/237
tests/qemu-iotests/237.out