qemu: monitor: Fix formatting of 'offset' in qemuMonitorJSONSaveMemory

The offset is unsigned long long thus 'U' must be used.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2019-08-30 16:37:46 +02:00
parent 5dc567f80a
commit a59cb27360

View File

@ -3123,7 +3123,7 @@ static int qemuMonitorJSONSaveMemory(qemuMonitorPtr mon,
int ret = -1;
virJSONValuePtr cmd = qemuMonitorJSONMakeCommand(cmdtype,
"U:val", offset,
"u:size", length,
"U:size", length,
"s:filename", path,
NULL);
virJSONValuePtr reply = NULL;