block_int.h (b92902dfeaafbceaf744ab7473f2d070284f6172) block_int.h (5a5e7f8cd86b7ced0732b1b6e28c82baa65b09c9)
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 1317 unchanged lines hidden (view full) ---

1326 BdrvRequestFlags read_flags,
1327 BdrvRequestFlags write_flags);
1328
1329int refresh_total_sectors(BlockDriverState *bs, int64_t hint);
1330
1331void bdrv_set_monitor_owned(BlockDriverState *bs);
1332BlockDriverState *bds_tree_init(QDict *bs_opts, Error **errp);
1333
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 1317 unchanged lines hidden (view full) ---

1326 BdrvRequestFlags read_flags,
1327 BdrvRequestFlags write_flags);
1328
1329int refresh_total_sectors(BlockDriverState *bs, int64_t hint);
1330
1331void bdrv_set_monitor_owned(BlockDriverState *bs);
1332BlockDriverState *bds_tree_init(QDict *bs_opts, Error **errp);
1333
1334/**
1335 * Simple implementation of bdrv_co_create_opts for protocol drivers
1336 * which only support creation via opening a file
1337 * (usually existing raw storage device)
1338 */
1339int coroutine_fn bdrv_co_create_opts_simple(BlockDriver *drv,
1340 const char *filename,
1341 QemuOpts *opts,
1342 Error **errp);
1343extern QemuOptsList bdrv_create_opts_simple;
1344
1334#endif /* BLOCK_INT_H */
1345#endif /* BLOCK_INT_H */