Commit 0ff7e93152 for qemu.org
commit 0ff7e93152fad84d9848fe86bdba9924326607bc
Author: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Date: Fri Oct 9 11:16:46 2026 +0200
qga: fix typo in guest-file-read warning
seems to have been transformed from "read" to "write" during a refactor.
Fixes: ead83a136d54 "qga: Extract qmp_guest_file_read() to common commands.c"
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20261009-qga-file-read-typo-v1-1-40c462aefe12@proxmox.com
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>
diff --git a/qga/commands.c b/qga/commands.c
index 5f20af25d3..666341a909 100644
--- a/qga/commands.c
+++ b/qga/commands.c
@@ -626,7 +626,7 @@ GuestFileRead *qmp_guest_file_read(int64_t handle, bool has_count,
read_data = guest_file_read_unsafe(gfh, count, errp);
if (!read_data) {
- slog("guest-file-write failed, handle: %" PRId64, handle);
+ slog("guest-file-read failed, handle: %" PRId64, handle);
}
return read_data;