Searched refs:image_bs (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | blockdev.c | 3274 BlockDriverState *image_bs = NULL; in qmp_change_backing_file() local 3286 image_bs = bdrv_lookup_bs(NULL, image_node_name, &local_err); in qmp_change_backing_file() 3292 if (!image_bs) { in qmp_change_backing_file() 3297 if (bdrv_find_base(image_bs) == image_bs) { in qmp_change_backing_file() 3310 if (!bdrv_chain_contains(bs, image_bs)) { in qmp_change_backing_file() 3318 ro = bdrv_is_read_only(image_bs); in qmp_change_backing_file() 3321 if (bdrv_reopen_set_read_only(image_bs, false, errp) != 0) { in qmp_change_backing_file() 3326 ret = bdrv_change_backing_file(image_bs, backing_file, in qmp_change_backing_file() 3327 image_bs->drv ? image_bs->drv->format_name : "", in qmp_change_backing_file() 3338 bdrv_reopen_set_read_only(image_bs, true, errp); in qmp_change_backing_file()
|