]> xenbits.xensource.com Git - libvirt.git/commit
libxl: Receive migration data in a thread
authorJim Fehlig <jfehlig@suse.com>
Wed, 12 Nov 2014 22:32:02 +0000 (15:32 -0700)
committerJim Fehlig <jfehlig@suse.com>
Fri, 21 Nov 2014 20:11:47 +0000 (13:11 -0700)
commitcb88d4333af6c6a489a8a00f21e8373bb88be2db
tree793ca0ca29919ef62710f67f6e6302c927924907
parentd70a51d5ea0b9aecb429334714e8331f44fb9df7
libxl: Receive migration data in a thread

The libxl driver receives migration data within an IO callback invoked
by the event loop, effectively disabling the event loop while migration
occurs.

This patch moves receving of the migration data to a thread.  The
incoming connection is still accepted in the IO callback, but control
is immediately returned to the event loop after spawning the thread.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/libxl/libxl_migration.c