qemu-e2k/tests
Kevin Wolf e4603fe139 qcow2: Fix header update with overridden backing file
In recent qemu versions, it is possible to override the backing file
name and format that is stored in the image file with values given at
runtime. In such cases, the temporary override could end up in the
image header if the qcow2 header was updated, while obviously correct
behaviour would be to leave the on-disk backing file path/format
unchanged.

Fix this and add a test case for it.

Reported-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1428411796-2852-1-git-send-email-kwolf@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-04-08 10:29:20 +01:00
..
acpi-test-data acpi-test: update expected files 2015-03-11 15:59:57 +01:00
image-fuzzer
libqos libqos: Solve bug in interrupt checking when using MSIX in virtio-pci.c 2015-03-10 14:02:23 +01:00
multiboot
qapi-schema
qemu-iotests qcow2: Fix header update with overridden backing file 2015-04-08 10:29:20 +01:00
tcg
vmstate-static-checker-data
.gitignore gitignore: Ignore new tests 2015-03-10 08:15:34 +03:00
ac97-test.c
ahci-test.c ahci-test: improve rw buffer patterns 2015-03-23 12:24:16 -04:00
bios-tables-test.c tests: bios-tables-test: add support for testing bridges 2015-03-01 12:33:22 +01:00
boot-order-test.c
check-block.sh
check-qdict.c
check-qfloat.c
check-qint.c
check-qjson.c
check-qlist.c
check-qom-interface.c
check-qstring.c
display-vga-test.c
drive_del-test.c
e1000-test.c
eepro100-test.c
endianness-test.c
es1370-test.c
fdc-test.c
fw_cfg-test.c fw_cfg-test: Fix test path to include architecture 2015-03-30 19:19:42 +02:00
hd-geo-test.c
i440fx-test.c i440fx-test: Fix test paths to include architecture 2015-03-30 19:24:54 +02:00
i82801b11-test.c
ide-test.c qtest/ide: Test flush / retry for ISA and PCI 2015-03-10 14:02:23 +01:00
intel-hda-test.c
ioh3420-test.c
ipoctal232-test.c
libqtest.c qtest: Add qtest_add_data_func() wrapper function 2015-03-30 19:20:34 +02:00
libqtest.h qtest: Add qtest_add() wrapper macro 2015-03-30 19:20:44 +02:00
m48t59-test.c
Makefile tests: Add PC CPU test 2015-03-17 14:50:44 +01:00
ne2000-test.c
nvme-test.c
pc-cpu-test.c tests: Add PC CPU test 2015-03-17 14:50:44 +01:00
pcnet-test.c
pvpanic-test.c
qemu-iotests-quick.sh
qom-test.c
rcutorture.c rcu tests: fix compilation on 32-bit ppc 2015-03-25 13:37:10 +01:00
rtc-test.c
rtl8139-test.c tests: rtl8139: test timers and interrupt 2015-03-12 19:59:39 +00:00
spapr-phb-test.c
test-aio.c
test-bitops.c
test-coroutine.c test-coroutine: Regression test for yield bug 2015-03-09 11:11:59 +01:00
test-cutils.c
test-hbitmap.c
test-int128.c
test-iov.c
test-mul64.c
test-opts-visitor.c
test-qdev-global-props.c
test-qemu-opts.c QemuOpts: Drop qemu_opt_set(), rename qemu_opt_set_err(), fix use 2015-02-26 14:49:31 +01:00
test-qmp-commands.c
test-qmp-event.c
test-qmp-input-strict.c
test-qmp-input-visitor.c
test-qmp-output-visitor.c
test-rcu-list.c rcu tests: fix compilation on 32-bit ppc 2015-03-25 13:37:10 +01:00
test-rfifolock.c
test-string-input-visitor.c
test-string-output-visitor.c
test-thread-pool.c
test-throttle.c
test-visitor-serialization.c
test-vmstate.c
test-write-threshold.c block: add event when disk usage exceeds threshold 2015-02-06 17:24:21 +01:00
test-x86-cpuid.c target-i386: Move topology.h to include/hw/i386 2015-03-09 16:30:02 -03:00
test-xbzrle.c
tmp105-test.c
tpci200-test.c
usb-hcd-ehci-test.c
usb-hcd-ohci-test.c misc: fix typos in copyright declaration 2015-03-26 14:21:43 +01:00
usb-hcd-uhci-test.c misc: fix typos in copyright declaration 2015-03-26 14:21:43 +01:00
usb-hcd-xhci-test.c misc: fix typos in copyright declaration 2015-03-26 14:21:43 +01:00
vhost-user-test.c
virtio-9p-test.c
virtio-balloon-test.c
virtio-blk-test.c tests: Check QVIRTIO_F_ANY_LAYOUT flag in virtio-blk test 2015-03-10 14:02:23 +01:00
virtio-console-test.c
virtio-net-test.c
virtio-rng-test.c
virtio-scsi-test.c
virtio-serial-test.c
vmxnet3-test.c
wdt_ib700-test.c