Re: [Qemu-devel] [PATCH v2 42/45] block: Reset buffer alignment on detach

2011-09-02 Thread Markus Armbruster
Kevin Wolf writes: > Am 03.08.2011 15:08, schrieb 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. On

Re: [Qemu-devel] [PATCH v2 42/45] block: Reset buffer alignment on detach

2011-09-02 Thread Kevin Wolf
Am 03.08.2011 15:08, schrieb 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

[Qemu-devel] [PATCH v2 42/45] block: Reset buffer alignment on detach

2011-08-03 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