block_int.h (49780a582d8bcedf098237f8997214c8424124be) | block_int.h (b92902dfeaafbceaf744ab7473f2d070284f6172) |
---|---|
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 --- 121 unchanged lines hidden (view full) --- 130 Error **errp); 131 132 /* Protocol drivers should implement this instead of bdrv_open */ 133 int (*bdrv_file_open)(BlockDriverState *bs, QDict *options, int flags, 134 Error **errp); 135 void (*bdrv_close)(BlockDriverState *bs); 136 int coroutine_fn (*bdrv_co_create)(BlockdevCreateOptions *opts, 137 Error **errp); | 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 --- 121 unchanged lines hidden (view full) --- 130 Error **errp); 131 132 /* Protocol drivers should implement this instead of bdrv_open */ 133 int (*bdrv_file_open)(BlockDriverState *bs, QDict *options, int flags, 134 Error **errp); 135 void (*bdrv_close)(BlockDriverState *bs); 136 int coroutine_fn (*bdrv_co_create)(BlockdevCreateOptions *opts, 137 Error **errp); |
138 int coroutine_fn (*bdrv_co_create_opts)(const char *filename, | 138 int coroutine_fn (*bdrv_co_create_opts)(BlockDriver *drv, 139 const char *filename, |
139 QemuOpts *opts, 140 Error **errp); 141 int (*bdrv_make_empty)(BlockDriverState *bs); 142 143 /* 144 * Refreshes the bs->exact_filename field. If that is impossible, 145 * bs->exact_filename has to be left empty. 146 */ --- 1187 unchanged lines hidden --- | 140 QemuOpts *opts, 141 Error **errp); 142 int (*bdrv_make_empty)(BlockDriverState *bs); 143 144 /* 145 * Refreshes the bs->exact_filename field. If that is impossible, 146 * bs->exact_filename has to be left empty. 147 */ --- 1187 unchanged lines hidden --- |