Re: [PATCH v2 1/4] migration: Define VMSTATE_INSTANCE_ID_ANY

2019-10-16 Thread Juan Quintela
Peter Xu wrote: > Define the new macro VMSTATE_INSTANCE_ID_ANY for callers who wants to > auto-generate the vmstate instance ID. Previously it was hard coded > as -1 instead of this macro. It helps to change this default value in > the follow up patches. No functional change. > > Signed-off-by:

[PATCH v2 1/4] migration: Define VMSTATE_INSTANCE_ID_ANY

2019-10-15 Thread Peter Xu
Define the new macro VMSTATE_INSTANCE_ID_ANY for callers who wants to auto-generate the vmstate instance ID. Previously it was hard coded as -1 instead of this macro. It helps to change this default value in the follow up patches. No functional change. Signed-off-by: Peter Xu --- hw/arm/stell