Il 02/05/2012 09:59, Jason Wang ha scritto:
> I don't like this external flag. As this is only related to migration
> I think we can add a new state RUN_STATE_MIG_PRELAUNCH. In vm_start
> call qemu_announce_self only if the state was
> RUN_STATE_MIG_PRELAUNCH. This will we useful if we will need to do
> something else when resuming a migrated guest.
I don't think this global is replacing a runstate. It is simply saying
that some work has been delayed to the next time the CPU runs.
Perhaps we can instead use a runstate-change notifier and keep the
global hidden to vl.c.