qemu-e2k/include
Kevin Wolf 6e93e7c41f block: Add list of children to BlockDriverState
This allows iterating over all children of a given BDS, not only
including bs->file and bs->backing_hd, but also driver-specific
ones like VMDK extents or Quorum children.

For bdrv_swap(), the list of children of the swapped BDS stays at that
BDS (because that's where the pointers stay as well). The list head
moves and pointers to it must be fixed up therefore.

The list of children in the parent of the swapped BDS is not affected by
the swap. The contents of the BDS objects is swapped, so the existing
pointer in the parent automatically points to the newly swapped in BDS.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
2015-06-12 17:04:59 +02:00
..
block block: Add list of children to BlockDriverState 2015-06-12 17:04:59 +02:00
disas
exec MIPS patches 2015-06-12 2015-06-12 12:49:40 +01:00
fpu
hw MIPS patches 2015-06-12 2015-06-12 12:49:40 +01:00
libdecnumber
migration Add a protective section footer 2015-06-12 06:54:01 +02:00
monitor monitor: Change return type of monitor_cur_is_qmp() to bool 2015-06-02 10:07:16 +02:00
net vhost: 64 bit features 2015-06-10 18:15:04 +02:00
qapi qdict: Add qdict_{set,copy}_default() 2015-06-12 16:58:06 +02:00
qemu queue.h: Add QLIST_FIX_HEAD_PTR() 2015-06-12 17:04:59 +02:00
qom qom: add object_property_add_const_link 2015-06-05 17:36:39 +02:00
standard-headers virtio: update headers, add virtio-gpu (2d) 2015-06-10 11:02:00 +02:00
sysemu Split header writing out of qemu_savevm_state_begin 2015-06-12 06:54:01 +02:00
ui QemuOpts: Convert qemu_opts_foreach() to Error 2015-06-09 07:37:37 +02:00
config.h
elf.h
glib-compat.h
qemu-common.h machine: add default_ram_size to machine class 2015-06-03 23:56:55 +02:00
qemu-io.h
qjson.h
trace-tcg.h
trace.h