aboutsummaryrefslogtreecommitdiff
path: root/qemu-bridge-helper.c
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2012-03-27 16:30:19 -0400
committerKevin Wolf <kwolf@redhat.com>2012-04-05 14:54:41 +0200
commitf6801b83d0e77ca025867800d805ee80f6bda938 (patch)
tree89a2416a400c3609388128b0cc2b2d13106b4fad /qemu-bridge-helper.c
parentd68dbee80e3964d9bb0ab29ad64675da148c3cac (diff)
block: bdrv_append() fixes
A few fixups for bdrv_append(): The new bs (bs_new) passed into bdrv_append() should be anonymous. Rather than call bdrv_make_anon() to enforce this, use an assert to catch when a caller is passing in a bs_new that is not anonymous. Also, the new top layer should have its backing_format reflect the original top's format. And last, after the swap of bs contents, the device_name will have been copied down. This needs to be cleared to reflect the anonymity of the bs that was pushed down. Signed-off-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-bridge-helper.c')
0 files changed, 0 insertions, 0 deletions