Re: [Qemu-devel] [PATCH v4] Do not delete BlockDriverState when deleting the drive

2011-03-30 Thread Markus Armbruster
[Cc: Justin, because I feel it should go into stable-0.14 as well] Ryan Harper writes: > When removing a drive from the host-side via drive_del we currently have > the following path: > > drive_del > qemu_aio_flush() > bdrv_close()// zaps bs->drv, which makes any subsequent I/O get >

[Qemu-devel] [PATCH v4] Do not delete BlockDriverState when deleting the drive

2011-03-29 Thread Ryan Harper
When removing a drive from the host-side via drive_del we currently have the following path: drive_del qemu_aio_flush() bdrv_close()// zaps bs->drv, which makes any subsequent I/O get // dropped. Works as designed drive_uninit() bdrv_delete() // frees the bs. Since the devi