qemu-file: Move unix and socket implementations to qemu-file-unix.c
commitbee223ba27934e86e8f08673a9efdf89773764f7
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 1 Oct 2014 20:34:36 +0000 (1 17:34 -0300)
committerJuan Quintela <quintela@trasno.org>
Tue, 14 Oct 2014 08:29:28 +0000 (14 10:29 +0200)
tree7c06a0b2cd287f333ebea34f9c05b194596510ec
parent532bc727c34665370ab0ba94a9536fd3a6c2c5bc
qemu-file: Move unix and socket implementations to qemu-file-unix.c

Separate the QEMUFile interface from the implementation, to reduce
dependencies from code using QEMUFile.

All the code that is being moved to the new file is exactly the same
code that was on savevm.c (moved by commit
093c455a8c6d8f715eabd8c8d346f08f17d686ec), so I am using the copyright
and license header from savevm.c for the new file.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Makefile.objs
qemu-file-unix.c [new file with mode: 0644]
qemu-file.c
tests/Makefile