vmstate_dummy is special and restricted to linux-user. See commit c71c3e99b8 ("Add a vmstate_dummy struct for CONFIG_USER_ONLY").
Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> --- include/migration/vmstate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index f68ed7db13..af7d80cd4e 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -194,7 +194,7 @@ struct VMStateDescription { const VMStateDescription **subsections; }; -extern const VMStateDescription vmstate_dummy; +extern const VMStateDescription vmstate_dummy; /* Exclusively for linux-user */ extern const VMStateInfo vmstate_info_bool; -- 2.21.3