vpc.c (668f62ec621e4e2919fb7d4caa5d805764c5852d) vpc.c (af175e85f92c870386ad74f466e29537b79611d3)
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

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

230
231 bs->file = bdrv_open_child(NULL, options, "file", bs, &child_of_bds,
232 BDRV_CHILD_IMAGE, false, errp);
233 if (!bs->file) {
234 return -EINVAL;
235 }
236
237 opts = qemu_opts_create(&vpc_runtime_opts, NULL, 0, &error_abort);
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

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

230
231 bs->file = bdrv_open_child(NULL, options, "file", bs, &child_of_bds,
232 BDRV_CHILD_IMAGE, false, errp);
233 if (!bs->file) {
234 return -EINVAL;
235 }
236
237 opts = qemu_opts_create(&vpc_runtime_opts, NULL, 0, &error_abort);
238 if (!qemu_opts_absorb_qdict(opts, options, &local_err)) {
239 error_propagate(errp, local_err);
238 if (!qemu_opts_absorb_qdict(opts, options, errp)) {
240 ret = -EINVAL;
241 goto fail;
242 }
243
244 vpc_parse_options(bs, opts, &local_err);
245 if (local_err) {
246 error_propagate(errp, local_err);
247 ret = -EINVAL;

--- 1014 unchanged lines hidden ---
239 ret = -EINVAL;
240 goto fail;
241 }
242
243 vpc_parse_options(bs, opts, &local_err);
244 if (local_err) {
245 error_propagate(errp, local_err);
246 ret = -EINVAL;

--- 1014 unchanged lines hidden ---