> Hmm, I think we need the two flags. Although it is little hard to do it. > Because the vm can't > do something like hotplug vcpu or device during migrate. But for now qemu > don't guarantee it(in my reading). > So we should change the vm state RUN_STATE_RUNNING to RUN_STATE_MIGRATE when > migrate. > BTW, it is not your patches problem. >
Then, I'll go ahead and implement this part using two flags in my second version of the patches. > cc: Juan > > Best regards > ChenLiang > -- Sanidhya Kashyap