Kevin Wolf ad6aef43d3 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>
2014-02-09 09:12:39 +01:00
2014-02-09 09:12:39 +01:00
2014-02-08 15:57:51 +00:00
2014-02-08 13:12:50 +00:00
2014-02-07 16:42:13 +00:00
2014-02-07 16:42:13 +00:00
2014-01-31 11:13:08 +00:00
2014-02-01 13:45:20 +04:00
2014-01-08 19:07:20 +00:00
2014-02-09 09:12:38 +01:00
2014-01-10 11:04:31 -08:00
2014-02-09 09:12:38 +01:00
2014-02-05 16:37:26 +00:00
2014-01-24 17:40:03 +01:00
2014-02-01 13:46:06 +04:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%