From: Peter Krempa <[email protected]> Add link to the qemu QMP protocol reference.
Signed-off-by: Peter Krempa <[email protected]> --- src/libvirt-qemu.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/libvirt-qemu.c b/src/libvirt-qemu.c index 2898b71983..d6c68083f2 100644 --- a/src/libvirt-qemu.c +++ b/src/libvirt-qemu.c @@ -51,6 +51,9 @@ VIR_LOG_INIT("libvirt-qemu"); * libvirt is possible as a means to test new QEMU features before * they have support in libvirt, but no guarantees are made to safety * + * QEMU expects the command @cmd to be in the QMP format which is documented at + * https://www.qemu.org/docs/master/interop/qmp-spec.html + * * If VIR_DOMAIN_QEMU_MONITOR_COMMAND_HMP is set, the command is * considered to be a human monitor command and libvirt will automatically * convert it into QMP if needed. In that case the @result will also @@ -123,6 +126,9 @@ virDomainQemuMonitorCommand(virDomainPtr domain, const char *cmd, * libvirt is possible as a means to test new QEMU features before * they have support in libvirt, but no guarantees are made to safety * + * QEMU expects the command @cmd to be in the QMP format which is documented at + * https://www.qemu.org/docs/master/interop/qmp-spec.html + * * If VIR_DOMAIN_QEMU_MONITOR_COMMAND_HMP is set, the command is * considered to be a human monitor command and libvirt will automatically * convert it into QMP if needed. In that case the @result will also -- 2.55.0
