Searched hist:"93393 e698c76c9b95b1fcf9649eef41f9cdbbb07" (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/migration/ |
H A D | block-dirty-bitmap.c | diff 93393e698c76c9b95b1fcf9649eef41f9cdbbb07 Wed Jun 12 10:03:38 CDT 2019 Max Reitz <mreitz@redhat.com> block: Use bdrv_filter_(bs|child) where obvious
Places that use patterns like
if (bs->drv->is_filter && bs->file) { ... something about bs->file->bs ... }
should be
BlockDriverState *filtered = bdrv_filter_bs(bs); if (filtered) { ... something about @filtered ... }
instead.
Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
|
/openbmc/qemu/block/ |
H A D | io.c | diff 93393e698c76c9b95b1fcf9649eef41f9cdbbb07 Wed Jun 12 10:03:38 CDT 2019 Max Reitz <mreitz@redhat.com> block: Use bdrv_filter_(bs|child) where obvious
Places that use patterns like
if (bs->drv->is_filter && bs->file) { ... something about bs->file->bs ... }
should be
BlockDriverState *filtered = bdrv_filter_bs(bs); if (filtered) { ... something about @filtered ... }
instead.
Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
|
/openbmc/qemu/ |
H A D | block.c | diff 93393e698c76c9b95b1fcf9649eef41f9cdbbb07 Wed Jun 12 10:03:38 CDT 2019 Max Reitz <mreitz@redhat.com> block: Use bdrv_filter_(bs|child) where obvious
Places that use patterns like
if (bs->drv->is_filter && bs->file) { ... something about bs->file->bs ... }
should be
BlockDriverState *filtered = bdrv_filter_bs(bs); if (filtered) { ... something about @filtered ... }
instead.
Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
|