diff options
| author | Eric Blake <eblake@redhat.com> | 2016-06-23 16:37:22 -0600 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2016-07-05 16:46:25 +0200 |
| commit | ad82be2f4feda6260d499cb923bf2a59d3838493 (patch) | |
| tree | de8c581875df34a4c19bcbaace36422e5b137134 /hw/core/qdev-properties-system.c | |
| parent | b9f7855a50a7cbf04454fa84e9d1f333151f2259 (diff) | |
| download | focaccia-qemu-ad82be2f4feda6260d499cb923bf2a59d3838493.tar.gz focaccia-qemu-ad82be2f4feda6260d499cb923bf2a59d3838493.zip | |
block: Drop raw_refresh_limits()
The raw block driver was blindly copying all limits from bs->file, even though: 1. the main bdrv_refresh_limits() already does this for many of the limits, and 2. blindly copying from the children can weaken any stricter limits that were already inherited from the backing chain during the main bdrv_refresh_limits(). Also, a future patch is about to move .request_alignment into BlockLimits, and that is a limit that should NOT be copied from other layers in the BDS chain. Thus, we can completely drop raw_refresh_limits(), and rely on the block layer setting up the proper limits. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions