[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] QEMU live block-migration
From: |
Michael Roth |
Subject: |
Re: [Qemu-devel] QEMU live block-migration |
Date: |
Mon, 08 Jul 2013 12:18:36 -0500 |
User-agent: |
alot/0.3.4 |
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);