vpc.c (aaffb853359829a37daaf883c773e8320b55c723) | vpc.c (b92902dfeaafbceaf744ab7473f2d070284f6172) |
---|---|
1/* 2 * Block driver for Connectix / Microsoft Virtual PC images 3 * 4 * Copyright (c) 2005 Alex Beregszaszi 5 * Copyright (c) 2009 Kevin Wolf <kwolf@suse.de> 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 8 * of this software and associated documentation files (the "Software"), to deal --- 1075 unchanged lines hidden (view full) --- 1084 } 1085 1086out: 1087 blk_unref(blk); 1088 bdrv_unref(bs); 1089 return ret; 1090} 1091 | 1/* 2 * Block driver for Connectix / Microsoft Virtual PC images 3 * 4 * Copyright (c) 2005 Alex Beregszaszi 5 * Copyright (c) 2009 Kevin Wolf <kwolf@suse.de> 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 8 * of this software and associated documentation files (the "Software"), to deal --- 1075 unchanged lines hidden (view full) --- 1084 } 1085 1086out: 1087 blk_unref(blk); 1088 bdrv_unref(bs); 1089 return ret; 1090} 1091 |
1092static int coroutine_fn vpc_co_create_opts(const char *filename, 1093 QemuOpts *opts, Error **errp) | 1092static int coroutine_fn vpc_co_create_opts(BlockDriver *drv, 1093 const char *filename, 1094 QemuOpts *opts, 1095 Error **errp) |
1094{ 1095 BlockdevCreateOptions *create_options = NULL; 1096 QDict *qdict; 1097 Visitor *v; 1098 BlockDriverState *bs = NULL; 1099 Error *local_err = NULL; 1100 int ret; 1101 --- 160 unchanged lines hidden --- | 1096{ 1097 BlockdevCreateOptions *create_options = NULL; 1098 QDict *qdict; 1099 Visitor *v; 1100 BlockDriverState *bs = NULL; 1101 Error *local_err = NULL; 1102 int ret; 1103 --- 160 unchanged lines hidden --- |