search for: error_get_pretty

Displaying 3 results from an estimated 3 matches for "error_get_pretty".

2020 Feb 04
3
Re: Does Libvirt's json parser support single quoted string in qmp json string?
...te > heavily relies on the extension of single quotes). Looks like this: rsp = qdict_from_jsonf_nofail("{ 'error': { 'class': %s, 'desc': %s } }", QapiErrorClass_str(error_get_class(err)), error_get_pretty(err)); Without the extension, we'd suffer from a mild case of leaning toothpick syndrome: rsp = qdict_from_jsonf_nofail("{ \"error\": { \"class\": %s, \"desc\": %s } }", QapiErrorClass_str(error_get_class(err)),...
2020 Feb 03
2
Re: Does Libvirt's json parser support single quoted string in qmp json string?
On Fri, Jan 31, 2020 at 06:44:42AM -0600, Eric Blake wrote: > On 1/31/20 4:38 AM, Peter Luo wrote: > > > error: internal error: cannot parse json {"execute": "block-commit", "arguments": { "device": "drive-virtio-disk2", "job-id": "job100",
2019 Mar 23
4
nbdkit & qemu 2.12: qemu-img: Protocol error: simple reply when structured reply chunk was expected
nbdkit (upstream 5a7a394c699) currently fails with qemu 2.12.0: $ ./nbdkit memory size=64M --run 'qemu-img convert $nbd /var/tmp/out' nbdkit: memory.2: error: invalid request: unknown command (7) ignored qemu-img: Protocol error: simple reply when structured reply chunk was expected This was a bug in qemu which was fixed upstream quite a long time ago by the commit I've