aboutsummaryrefslogtreecommitdiff
path: root/slirp/Makefile.objs
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-02-12 17:25:18 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-03-07 12:46:28 +0100
commitb92a1ff497dd2f84902b252ad3de22fcc33b60e3 (patch)
tree6a80a29c48e5ff53db54f839500edad2cb292054 /slirp/Makefile.objs
parentffe02f5585d3fd722f9eb0ecdce6f128444c63d1 (diff)
slirp: adapt a subset of QEMU vmstate code
Add vmstate serialization code adapted from QEMU. Keep only the bits that are required for libslirp. Introduce a IStream/OStream interface to replace QEMU QFile abstraction. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20190212162524.31504-2-marcandre.lureau@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp/Makefile.objs')
-rw-r--r--slirp/Makefile.objs2
1 files changed, 2 insertions, 0 deletions
diff --git a/slirp/Makefile.objs b/slirp/Makefile.objs
index 88340a583b..69e140f965 100644
--- a/slirp/Makefile.objs
+++ b/slirp/Makefile.objs
@@ -21,6 +21,7 @@ slirp.mo-objs = \
slirp.o \
socket.o \
state.o \
+ stream.o \
tcp_input.o \
tcp_output.o \
tcp_subr.o \
@@ -29,6 +30,7 @@ slirp.mo-objs = \
udp.o \
udp6.o \
util.o \
+ vmstate.o \
$(NULL)
slirp.mo-cflags = -DG_LOG_DOMAIN=\"Slirp\" -DWITH_QEMU