Hi, which version you tested? do you let vm continue to run after migration? can you provide more info?
can't reproduce it on latest version. Thanks! On 12/04/2014 11:14 PM, 陈梁 wrote: > Hi all > > guest will hang when call system function in migration thread. The cpu usage > of vcpu thread is 100%. > > the code like this: > > static void *migration_thread(void *opaque) > { > MigrationState *s = opaque; > int64_t initial_time = qemu_clock_get_ms(QEMU_CLOCK_REALTIME); > int64_t setup_start = qemu_clock_get_ms(QEMU_CLOCK_HOST); > int64_t initial_bytes = 0; > int64_t max_size = 0; > int64_t start_time = initial_time; > bool old_vm_running = false; > > //test code > system("df -h”); > > qemu_savevm_state_begin(s->file, &s->params); > … > > Is it anything wrong? or it is not allow to call system in migration thread? > >