On 06/26/2015 04:02 PM, Gonglei wrote: > On 2015/6/26 15:21, Li Zhijian wrote: >> qemu migration's source side will exit unexpectedly when we hotplug a deivce >> during a migration is processing. > > Can we simply disable hot-plugging functions during migration process?
1. there is no API to disable it, and it is not a simple work. 2. For HA/FT, we will use migration to implement checkpoint. We should enable hot-plug when HA/FT is running. There are too many works to do to make it work. The first step is to fix the problem. Thanks Wen Congyang > > Regards, > -Gonglei > >> we can reproduced it easily by following step >> 1. do something with dirty memory requently(like memtester) in guest >> 2. startup a background migraion with '-d' option >> 3. hotplug a device(device_add e1000,id=mye1000) >> 4. stop step.1, let guest idle so that migration can complete fastly > > > >