Re: [Qemu-devel] QEMU live block-migration

2013-07-08 Thread Yaodong Yang
Yes, I found it in the qemu-1.5.1 and it's much clear for me now. I think I need to work on this version, other than the out-of-date version qemu-kvm-1.2.0. Thanks a lot. On Mon, Jul 8, 2013 at 12:29 PM, Yaodong Yang wrote: > I used the qemu-kvm 1.2.0, so I did not find it in the code. I will m

Re: [Qemu-devel] QEMU live block-migration

2013-07-08 Thread Yaodong Yang
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 wrote: > Quoting Yaodong Yang (2013-07-08 10:57:25) > > Hello Michael, > >Thanks for your help! > >I read the function of tcp_wait_

Re: [Qemu-devel] QEMU live block-migration

2013-07-08 Thread Michael Roth
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

Re: [Qemu-devel] QEMU live block-migration

2013-07-08 Thread Yaodong Yang
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 co

Re: [Qemu-devel] QEMU live block-migration

2013-07-08 Thread Michael Roth
Quoting Yaodong Yang (2013-07-07 09:55:06) > Hello everyone, >I have a short question about the implementation of QEMU. When the qemu >perform the live block migration using "migrate -b tcp:" command. Does >a new thread for migration created or not? I went through the code, only >

[Qemu-devel] QEMU live block-migration

2013-07-08 Thread Yaodong Yang
Hello everyone, I have a short question about the implementation of QEMU. When the qemu perform the live block migration using "migrate -b tcp:" command. Does a new thread for migration created or not? I went through the code, only find that this activity is triggered in the main loop (main_lo