diff --git a/src/qemu/qemu_agent.c b/src/qemu/qemu_agent.c index 3e26cf14a6c97daaca353852530504f8cece033e..8c8c38bab03f006f3b21ca63bb3e5e464efe9d16 100644 --- a/src/qemu/qemu_agent.c +++ b/src/qemu/qemu_agent.c @@ -1209,6 +1209,10 @@ qemuAgentMakeCommand(const char *cmdname, case 'n': { ret = virJSONValueObjectAppendNull(jargs, key); } break; + case 'a': { + virJSONValuePtr val = va_arg(args, virJSONValuePtr); + ret = virJSONValueObjectAppend(jargs, key, val); + } break; default: virReportError(VIR_ERR_INTERNAL_ERROR, _("unsupported data type '%c' for arg '%s'"), type, key - 2);