I used the qemu-kvm 1.2.0, so I did not find it in the code. I will move to the current qemu version. Thanks!
On Mon, Jul 8, 2013 at 12:18 PM, Michael Roth <mdr...@linux.vnet.ibm.com>wrote: > Quoting Yaodong Yang (2013-07-08 10:57:25) > > Hello Michael, > > Thanks for your help! > > I read the function of tcp_wait_for_connect(), there is a statement; " > > qemu_set_fd_handler2(s->fd, NULL, NULL, NULL, NULL); " I guess this > will > > disable this file-descriptor from the main loop and make the current > > execution parallel with the main loop. Is it correct? > > Yup > > > Also, I did not find any thread_create related function in the > > migrate_fd_connect() function. > > What version of QEMU are you looking at? For current releases you should > see > the following in migrate_fd_connect(): > > qemu_thread_create(&s->thread, migration_thread, s, > QEMU_THREAD_JOINABLE); > -- Yaodong Yang Computer Science and Engineering Department University of Nebraska--Lincoln, Lincoln, NE, U.S.A.