[Qemu-devel] [PULL 02/18] migration: Teach it about G_SOURCE_REMOVE

2017-09-22 Thread Juan Quintela
As this is defined on glib 2.32, add compatibility macros for older glibs. Signed-off-by: Juan Quintela Reviewed-by: Daniel P. Berrange Reviewed-by: Peter Xu --- include/glib-compat.h | 2 ++ migration/exec.c | 2 +- migration/fd.c| 2 +- migration/socket.c| 2 +- 4 files chan

[Qemu-devel] [PULL 02/18] migration: Teach it about G_SOURCE_REMOVE

2017-09-21 Thread Juan Quintela
As this is defined on glib 2.32, add compatibility macros for older glibs. Signed-off-by: Juan Quintela Reviewed-by: Daniel P. Berrange Reviewed-by: Peter Xu --- include/glib-compat.h | 2 ++ migration/exec.c | 2 +- migration/fd.c| 2 +- migration/socket.c| 2 +- 4 files chan