On 30.03.2017 16:42, Markus Armbruster wrote:
> Eric Blake writes:
>
>> On 03/30/2017 01:52 AM, Markus Armbruster wrote:
>>
> +++ b/block.c
> @@ -1157,6 +1157,12 @@ static int bdrv_open_common(BlockDriverState *bs,
> BlockBackend *file,
> if (file != NULL) {
> f
Eric Blake writes:
> On 03/30/2017 01:52 AM, Markus Armbruster wrote:
>
+++ b/block.c
@@ -1157,6 +1157,12 @@ static int bdrv_open_common(BlockDriverState *bs,
BlockBackend *file,
if (file != NULL) {
filename = blk_bs(file)->filename;
} else {
On 03/30/2017 01:52 AM, Markus Armbruster wrote:
>>> +++ b/block.c
>>> @@ -1157,6 +1157,12 @@ static int bdrv_open_common(BlockDriverState *bs,
>>> BlockBackend *file,
>>> if (file != NULL) {
>>> filename = blk_bs(file)->filename;
>>> } else {
>>> + /*
>>> +* Caut
Max Reitz writes:
> On 29.03.2017 18:45, Markus Armbruster wrote:
>> -blockdev and blockdev_add convert their arguments via QObject to
>> BlockdevOptions for qmp_blockdev_add(), which converts them back to
>> QObject, then to a flattened QDict. The QDict's members are typed
>> according to the Q
On 29.03.2017 18:45, Markus Armbruster wrote:
> -blockdev and blockdev_add convert their arguments via QObject to
> BlockdevOptions for qmp_blockdev_add(), which converts them back to
> QObject, then to a flattened QDict. The QDict's members are typed
> according to the QAPI schema.
>
> -drive co
-blockdev and blockdev_add convert their arguments via QObject to
BlockdevOptions for qmp_blockdev_add(), which converts them back to
QObject, then to a flattened QDict. The QDict's members are typed
according to the QAPI schema.
-drive converts its argument via QemuOpts to a (flat) QDict. This