diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2014-02-04 11:54:13 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2014-02-09 09:12:39 +0100 |
| commit | ad6aef43d36fe65701ff84193576d7f3dcb82dc5 (patch) | |
| tree | ec1d28fb891e7963dcb0aa9659abc1d995124cb2 /hw/lm32/lm32_boards.c | |
| parent | 693a50ade339e3ef9b042fd73a3b81405101ba3d (diff) | |
| download | focaccia-qemu-ad6aef43d36fe65701ff84193576d7f3dcb82dc5.tar.gz focaccia-qemu-ad6aef43d36fe65701ff84193576d7f3dcb82dc5.zip | |
raw: Fix BlockLimits passthrough
raw copies over the BlockLimits of bs->file during bdrv_open(). However, since commit d34682cd it is immediately overwritten during bdrv_refresh_limits(). This caused all fields except for opt_transfer_length and opt_mem_alignment (which happen to be correctly inherited in generic code) to be zeroed. Move the BlockLimit assignment to a .bdrv_refresh_limits() callback to make it work again for all fields. Reported-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'hw/lm32/lm32_boards.c')
0 files changed, 0 insertions, 0 deletions