Re: [PATCH v3 1/2] qdev-monitor: avoid QemuOpts in QMP device_add

2024-08-30 Thread Markus Armbruster
Stefan Hajnoczi writes: > The QMP device_add monitor command converts the QDict arguments to > QemuOpts and then back again to QDict. This process only supports scalar > types. Device properties like virtio-blk-pci's iothread-vq-mapping (an > array of objects) are silently dropped by qemu_opts_fr

Re: [PATCH v3 1/2] qdev-monitor: avoid QemuOpts in QMP device_add

2024-08-28 Thread Daniel P . Berrangé
On Tue, Aug 27, 2024 at 03:27:50PM -0400, Stefan Hajnoczi wrote: > The QMP device_add monitor command converts the QDict arguments to > QemuOpts and then back again to QDict. This process only supports scalar > types. Device properties like virtio-blk-pci's iothread-vq-mapping (an > array of object

[PATCH v3 1/2] qdev-monitor: avoid QemuOpts in QMP device_add

2024-08-27 Thread Stefan Hajnoczi
The QMP device_add monitor command converts the QDict arguments to QemuOpts and then back again to QDict. This process only supports scalar types. Device properties like virtio-blk-pci's iothread-vq-mapping (an array of objects) are silently dropped by qemu_opts_from_qdict() during the QemuOpts con