On Wed, Jan 03, 2018 at 06:49:22PM -0300, Philippe Mathieu-Daudé wrote: > Use Base64 to serialize the binary blobs in JSON. > So far at most 512 bytes will be transfered, which result > in a 684 bytes payload. > Since this command is intented for qtesting, it is acceptable. Not a requirement, but have you considered adding a qtest command instead? > sdbus-command < OK The (small) advantage is that it keeps test-only commands in the qtest protocol and out of the QMP schema. The downside of qtest is that qapi parsing is not available, so it involves manual marshalling code. Reviewed-by: Stefan Hajnoczi