qcow2.c (62a43e53faed67a5aa4bfededca24c9079de9720) | qcow2.c (b92902dfeaafbceaf744ab7473f2d070284f6172) |
---|---|
1/* 2 * Block driver for the QCOW version 2 format 3 * 4 * Copyright (c) 2004-2006 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 --- 3544 unchanged lines hidden (view full) --- 3553 ret = 0; 3554out: 3555 blk_unref(blk); 3556 bdrv_unref(bs); 3557 bdrv_unref(data_bs); 3558 return ret; 3559} 3560 | 1/* 2 * Block driver for the QCOW version 2 format 3 * 4 * Copyright (c) 2004-2006 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 --- 3544 unchanged lines hidden (view full) --- 3553 ret = 0; 3554out: 3555 blk_unref(blk); 3556 bdrv_unref(bs); 3557 bdrv_unref(data_bs); 3558 return ret; 3559} 3560 |
3561static int coroutine_fn qcow2_co_create_opts(const char *filename, QemuOpts *opts, | 3561static int coroutine_fn qcow2_co_create_opts(BlockDriver *drv, 3562 const char *filename, 3563 QemuOpts *opts, |
3562 Error **errp) 3563{ 3564 BlockdevCreateOptions *create_options = NULL; 3565 QDict *qdict; 3566 Visitor *v; 3567 BlockDriverState *bs = NULL; 3568 BlockDriverState *data_bs = NULL; 3569 Error *local_err = NULL; --- 2000 unchanged lines hidden --- | 3564 Error **errp) 3565{ 3566 BlockdevCreateOptions *create_options = NULL; 3567 QDict *qdict; 3568 Visitor *v; 3569 BlockDriverState *bs = NULL; 3570 BlockDriverState *data_bs = NULL; 3571 Error *local_err = NULL; --- 2000 unchanged lines hidden --- |