libvirt/qemu-Fix-incorrect-command-name-in-error-messages.patch

29 lines
1.2 KiB
Diff
Raw Normal View History

From a538fbbfb2d12de1b3c33db7c7f25a133a4e94df Mon Sep 17 00:00:00 2001
From: Xu Zheng <xuzheng_yewu@cmss.chinamobile.com>
Date: Wed, 2 Aug 2023 16:56:49 +0800
Subject: [PATCH] qemu: Fix incorrect command name in error messages
cherry-pick from 194cfb44e77ce25d99240f24321559f569251e68
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Xu Zheng <xuzheng_yewu@cmss.chinamobile.com>
---
src/qemu/qemu_monitor_json.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c
index afd826bc2f..8f040bbe59 100644
--- a/src/qemu/qemu_monitor_json.c
+++ b/src/qemu/qemu_monitor_json.c
@@ -5665,7 +5665,7 @@ int qemuMonitorJSONGetMachines(qemuMonitorPtr mon,
if (virJSONValueObjectHasKey(child, "numa-mem-supported")) {
if (virJSONValueObjectGetBoolean(child, "numa-mem-supported", &info->numaMemSupported) < 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("qemu-machines reply has malformed "
+ _("query-machines reply has malformed "
"'numa-mem-supported' data"));
goto cleanup;
}
--
2.27.0