]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemublocktest: Fix and optimize fake image chain
authorPeter Krempa <pkrempa@redhat.com>
Mon, 2 Mar 2020 14:03:07 +0000 (15:03 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Mar 2020 16:33:08 +0000 (17:33 +0100)
commitf8389505aae66e705046f5cbd9fe4ac10f1dee2e
tree6acb45b21340399dcf498554d97399d636501b91
parent41de7230ab169e80237f3e3a29bfecd9baf1a578
qemublocktest: Fix and optimize fake image chain

Set the 'id' field of the backing chain properly so that we can look
up images, and initialize 6 images instead of 10 as we don't use more
currently.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
tests/qemublocktest.c