Re: [PATCH 01/71] migration: Make VMStateDescription.subsections const

2023-11-06 Thread Philippe Mathieu-Daudé
On 6/11/23 07:57, Richard Henderson wrote: Allow the array of pointers to itself be const. Propagate this through the copies of this field. Signed-off-by: Richard Henderson --- include/migration/vmstate.h | 2 +- migration/savevm.c | 12 ++-- migration/vmstate.c |

Re: [PATCH 01/71] migration: Make VMStateDescription.subsections const

2023-11-06 Thread Juan Quintela
Richard Henderson wrote: > Allow the array of pointers to itself be const. > Propagate this through the copies of this field. > > Signed-off-by: Richard Henderson Reviewed-by: Juan Quintela > static const VMStateDescription * > -vmstate_get_subsection(const VMStateDescription **sub, char *ids

[PATCH 01/71] migration: Make VMStateDescription.subsections const

2023-11-05 Thread Richard Henderson
Allow the array of pointers to itself be const. Propagate this through the copies of this field. Signed-off-by: Richard Henderson --- include/migration/vmstate.h | 2 +- migration/savevm.c | 12 ++-- migration/vmstate.c | 15 +-- 3 files changed, 16 insertio