Peter Xu <pet...@redhat.com> wrote: > Before finally register one SaveStateEntry, we detect for duplicated > entries. This could be helpful to notify us asap instead of get > silent migration failures which could be hard to diagnose. > > For example, this patch will generate a message like this (if without > previous fixes on x2apic) as long as we wants to boot a VM instance > with "-smp 200,maxcpus=288,sockets=2,cores=72,threads=2" and QEMU will > bail out even before VM starts: > > savevm_state_handler_insert: Detected duplicate SaveStateEntry: id=apic, > instance_id=0x0 > > Suggested-by: Dr. David Alan Gilbert <dgilb...@redhat.com> > Signed-off-by: Peter Xu <pet...@redhat.com>
Reviewed-by: Juan Quintela <quint...@redhat.com>