Displaying 2 results from an estimated 2 matches for "error_get_class".
2020 Feb 04
3
Re: Does Libvirt's json parser support single quoted string in qmp json string?
...rnal users would be impacted (at least qemu's testsuite
> 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 } }",...
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",