[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/18] migration/vmstate: Document vmstate_dummy
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [PATCH 01/18] migration/vmstate: Document vmstate_dummy |
Date: |
Thu, 16 Jul 2020 10:22:00 +0100 |
User-agent: |
Mutt/1.14.5 (2020-06-23) |
* Philippe Mathieu-Daudé (f4bug@amsat.org) wrote:
> 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é <f4bug@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
> */
Which does mean it's a unfortunate name I guess for something so
specific.
(It's also very weird having a vmsd defined with no VMSTATE_END_OF_LIST
marker).
Dave
> extern const VMStateInfo vmstate_info_bool;
>
> --
> 2.21.3
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
- [PATCH 00/18] hw: Mark the device with no migratable fields, Philippe Mathieu-Daudé, 2020/07/03
- [PATCH 01/18] migration/vmstate: Document vmstate_dummy, Philippe Mathieu-Daudé, 2020/07/03
- [PATCH 02/18] migration/vmstate: Introduce vmstate_no_state_to_migrate, Philippe Mathieu-Daudé, 2020/07/03
- [PATCH 03/18] hw/core/qdev: Add vmstate_qdev_no_state_to_migrate, Philippe Mathieu-Daudé, 2020/07/03
- [PATCH 05/18] hw/arm/aspeed_soc: Mark the device with no migratable fields, Philippe Mathieu-Daudé, 2020/07/03
- [PATCH 04/18] hw/arm/armv7m: Mark the device with no migratable fields, Philippe Mathieu-Daudé, 2020/07/03
- [PATCH 06/18] hw/arm/bcm283x: Mark devices with no migratable fields, Philippe Mathieu-Daudé, 2020/07/03
- [PATCH 07/18] hw/arm/msf2-soc: Mark the device with no migratable fields, Philippe Mathieu-Daudé, 2020/07/03