qemu/include
Kevin Wolf 80a1e13091 block: Fix backing file child when modifying graph
This patch moves bdrv_attach_child() from the individual places that add
a backing file to a BDS to bdrv_set_backing_hd(), which is called by all
of them. It also adds bdrv_detach_child() there.

For normal operation (starting with one backing file chain and not
changing it until the topmost image is closed) and live snapshots, this
constitutes no change in behaviour.

For all other cases, this is a fix for the bug that the old backing file
was still referenced as a child, and the new one wasn't referenced.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
2015-07-14 17:15:23 +02:00
..
block block: Fix backing file child when modifying graph 2015-07-14 17:15:23 +02:00
crypto crypto: introduce generic cipher API & built-in implementation 2015-07-08 13:11:01 +02:00
disas disas: Add print_insn to disassemble info 2015-07-09 15:20:40 +02:00
exec cpu: Change cpu_exec_init() arg to cpu, not env 2015-07-09 15:20:40 +02:00
fpu
hw pc,virtio: fixes for 2.4 2015-07-13 13:35:51 +01:00
libdecnumber
migration migration: Make events a capability 2015-07-07 14:54:55 +02:00
monitor Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
net qmp: Wean off qerror_report() 2015-06-22 18:20:40 +02:00
qapi qerror: Move #include out of qerror.h 2015-06-22 18:20:40 +02:00
qemu crypto: move built-in AES implementation into crypto/ 2015-07-07 12:04:13 +02:00
qom disas: QOMify target specific setup 2015-07-09 15:20:41 +02:00
standard-headers virtio: define virtio_pci_cfg_cap in header. 2015-07-08 10:09:56 +03:00
sysemu runstate: Add runstate store 2015-07-07 14:54:51 +02:00
ui Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
config.h
elf.h
glib-compat.h
qemu-common.h Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
qemu-io.h
qjson.h
trace-tcg.h
trace.h