36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
|
|
From 5a6063a0617f893f59eb16c3ef83056d72654c3c Mon Sep 17 00:00:00 2001
|
||
|
|
From: jipengfei <jipengfei_yewu@cmss.chinamobile.com>
|
||
|
|
Date: Mon, 9 Sep 2024 20:51:25 +0800
|
||
|
|
Subject: [PATCH] migration: fix a typo
|
||
|
|
MIME-Version: 1.0
|
||
|
|
Content-Type: text/plain; charset=UTF-8
|
||
|
|
Content-Transfer-Encoding: 8bit
|
||
|
|
|
||
|
|
Signed-off-by:jipengfei <jipengfei_yewu@cmss.chinamobile.com>
|
||
|
|
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
||
|
|
Reviewed-by: Peter Xu <peterx@redhat.com>
|
||
|
|
Reviewed-by: Fabiano Rosas <farosas@suse.de>
|
||
|
|
Reviewed-by: Fiona Ebner <f.ebner@proxmox.com>
|
||
|
|
Tested-by: Fiona Ebner <f.ebner@proxmox.com>
|
||
|
|
Signed-off-by: Fabiano Rosas <farosas@suse.de>
|
||
|
|
---
|
||
|
|
migration/vmstate.c | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/migration/vmstate.c b/migration/vmstate.c
|
||
|
|
index 05f87cdddc..c9db071bee 100644
|
||
|
|
--- a/migration/vmstate.c
|
||
|
|
+++ b/migration/vmstate.c
|
||
|
|
@@ -454,7 +454,7 @@ static int vmstate_subsection_load(QEMUFile *f, const VMStateDescription *vmsd,
|
||
|
|
|
||
|
|
len = qemu_peek_byte(f, 1);
|
||
|
|
if (len < strlen(vmsd->name) + 1) {
|
||
|
|
- /* subsection name has be be "section_name/a" */
|
||
|
|
+ /* subsection name has to be "section_name/a" */
|
||
|
|
trace_vmstate_subsection_load_bad(vmsd->name, "(short)", "");
|
||
|
|
return 0;
|
||
|
|
}
|
||
|
|
--
|
||
|
|
2.41.0.windows.1
|
||
|
|
|