Re: [Qemu-devel] [PATCH] block: bdrv_append() fixes

2012-04-03 Thread Kevin Wolf
Am 27.03.2012 22:30, schrieb Jeff Cody: > 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,

[Qemu-devel] [PATCH] block: bdrv_append() fixes

2012-03-27 Thread Jeff Cody
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