Diff for /qemu/migration-tcp.c between versions 1.1.1.4 and 1.1.1.5

version 1.1.1.4, 2018/04/24 18:23:02 version 1.1.1.5, 2018/04/24 18:55:31
Line 15 Line 15
 #include "qemu_socket.h"  #include "qemu_socket.h"
 #include "migration.h"  #include "migration.h"
 #include "qemu-char.h"  #include "qemu-char.h"
 #include "sysemu.h"  
 #include "buffered_file.h"  #include "buffered_file.h"
 #include "block.h"  #include "block.h"
   
Line 139  static void tcp_accept_incoming_migratio Line 138  static void tcp_accept_incoming_migratio
 {  {
     struct sockaddr_in addr;      struct sockaddr_in addr;
     socklen_t addrlen = sizeof(addr);      socklen_t addrlen = sizeof(addr);
     int s = (unsigned long)opaque;      int s = (intptr_t)opaque;
     QEMUFile *f;      QEMUFile *f;
     int c;      int c;
   
Line 194  int tcp_start_incoming_migration(const c Line 193  int tcp_start_incoming_migration(const c
         goto err;          goto err;
   
     qemu_set_fd_handler2(s, NULL, tcp_accept_incoming_migration, NULL,      qemu_set_fd_handler2(s, NULL, tcp_accept_incoming_migration, NULL,
                          (void *)(unsigned long)s);                           (void *)(intptr_t)s);
   
     return 0;      return 0;
   

Removed from v.1.1.1.4  
changed lines
  Added in v.1.1.1.5


unix.superglobalmegacorp.com