Re: [Qemu-devel] [PATCH 51/55] block: Reset buffer alignment on detach

2011-07-26 Thread Christoph Hellwig
On Wed, Jul 20, 2011 at 06:24:25PM +0200, Markus Armbruster wrote: > BlockDriverState member buffer_alignment is initially 512. The device > model may set them, with bdrv_set_buffer_alignment(). If the device > model gets detached (hot unplug), the device's alignment is left > behind. Only okay

[Qemu-devel] [PATCH 51/55] block: Reset buffer alignment on detach

2011-07-20 Thread Markus Armbruster
BlockDriverState member buffer_alignment is initially 512. The device model may set them, with bdrv_set_buffer_alignment(). If the device model gets detached (hot unplug), the device's alignment is left behind. Only okay because device hot unplug automatically destroys the BlockDriverState. But