]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/blobdiff - block.h
apohw: update for actual FPGA design.
[lisovros/qemu_apohw.git] / block.h
diff --git a/block.h b/block.h
index a3b0b808597d69fb53f4275f031df34abb0a0b49..cae289b2fbf7a217bb693db075e7a5872b404c2f 100644 (file)
--- a/block.h
+++ b/block.h
@@ -148,6 +148,8 @@ int coroutine_fn bdrv_co_writev(BlockDriverState *bs, int64_t sector_num,
     int nb_sectors, QEMUIOVector *qiov);
 int coroutine_fn bdrv_co_is_allocated(BlockDriverState *bs, int64_t sector_num,
     int nb_sectors, int *pnum);
+BlockDriverState *bdrv_find_backing_image(BlockDriverState *bs,
+    const char *backing_file);
 int bdrv_truncate(BlockDriverState *bs, int64_t offset);
 int64_t bdrv_getlength(BlockDriverState *bs);
 int64_t bdrv_get_allocated_file_size(BlockDriverState *bs);