[PATCH] qemu: Fix incorrect command name in error messages

Andrea Bolognani posted 1 patch 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20230414083934.264940-1-abologna@redhat.com
src/qemu/qemu_monitor_json.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] qemu: Fix incorrect command name in error messages
Posted by Andrea Bolognani 1 year, 1 month ago
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
Pushed as trivial.

 src/qemu/qemu_monitor_json.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c
index 3b42b28fa1..b2c0b20a11 100644
--- a/src/qemu/qemu_monitor_json.c
+++ b/src/qemu/qemu_monitor_json.c
@@ -4813,7 +4813,7 @@ int qemuMonitorJSONGetMachines(qemuMonitor *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;
             }
@@ -4841,7 +4841,7 @@ int qemuMonitorJSONGetMachines(qemuMonitor *mon,
 
             if (virJSONValueObjectGetBoolean(child, "acpi", &acpi) < 0) {
                 virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
-                               _("qemu-machines reply has malformed 'acpi data"));
+                               _("query-machines reply has malformed 'acpi data"));
                 goto cleanup;
             }
 
-- 
2.39.2