block.c (62a43e53faed67a5aa4bfededca24c9079de9720) | block.c (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 --- 469 unchanged lines hidden (view full) --- 478static void coroutine_fn bdrv_create_co_entry(void *opaque) 479{ 480 Error *local_err = NULL; 481 int ret; 482 483 CreateCo *cco = opaque; 484 assert(cco->drv); 485 | 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 --- 469 unchanged lines hidden (view full) --- 478static void coroutine_fn bdrv_create_co_entry(void *opaque) 479{ 480 Error *local_err = NULL; 481 int ret; 482 483 CreateCo *cco = opaque; 484 assert(cco->drv); 485 |
486 ret = cco->drv->bdrv_co_create_opts(cco->filename, cco->opts, &local_err); | 486 ret = cco->drv->bdrv_co_create_opts(cco->drv, 487 cco->filename, cco->opts, &local_err); |
487 error_propagate(&cco->err, local_err); 488 cco->ret = ret; 489} 490 491int bdrv_create(BlockDriver *drv, const char* filename, 492 QemuOpts *opts, Error **errp) 493{ 494 int ret; --- 6292 unchanged lines hidden --- | 488 error_propagate(&cco->err, local_err); 489 cco->ret = ret; 490} 491 492int bdrv_create(BlockDriver *drv, const char* filename, 493 QemuOpts *opts, Error **errp) 494{ 495 int ret; --- 6292 unchanged lines hidden --- |