[libvirt] [PATCH 0/6] Use fd: protocol for migration

Jiri Denemark jdenemar at redhat.com
Mon Aug 15 13:37:52 UTC 2011


On Mon, Aug 15, 2011 at 09:58:10 +0200, Jiri Denemark wrote:
> Since qemu doesn't give us any reasonable errors when migration fails because
> of connection issues, we now create a connection to destination qemu ourselves
> and just pass the created socket to qemu.
> 
> Daniel P. Berrange (1):
>   Add API for duplicating a socket/client file descriptor
> 
> Jiri Denemark (5):
>   Add backlog parameter to virNetSocketListen
>   Support changing UNIX socket owner in virNetSocketNewListenUNIX
>   qemu: Refactor do{Tunnel,Native}Migrate functions
>   qemu: Use virNetSocket for tunneled migration
>   qemu: Use fd: protocol for migration
> 
>  src/qemu/qemu_migration.c     |  541 +++++++++++++++++++++--------------------
>  src/rpc/virnetclient.c        |   20 ++
>  src/rpc/virnetclient.h        |    3 +
>  src/rpc/virnetserverservice.c |    6 +-
>  src/rpc/virnetsocket.c        |   29 ++-
>  src/rpc/virnetsocket.h        |    5 +-
>  tests/virnetsockettest.c      |   10 +-
>  7 files changed, 336 insertions(+), 278 deletions(-)

I modified the patches according to comments, added fcntl into boostrap.conf
and pushed the series. Thanks for reviews.

Jirka




More information about the libvir-list mailing list