aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-04-24 13:42:55 +0200
committerJuan Quintela <quintela@redhat.com>2017-06-13 11:00:44 +0200
commitc2eda25bd2b38c7eb09fd279bcdafb1bd59fac69 (patch)
tree39db6d4a57ac4252a9a1adf99183231f087590bf
parent5e143e669f596e0d5be40a1c6abdfc2d0e223043 (diff)
downloadslirp-c2eda25bd2b38c7eb09fd279bcdafb1bd59fac69.zip
slirp-c2eda25bd2b38c7eb09fd279bcdafb1bd59fac69.tar.gz
slirp-c2eda25bd2b38c7eb09fd279bcdafb1bd59fac69.tar.bz2
migration: Split registration functions from vmstate.h
They are indpendent, and nowadays almost every device register things with qdev->vmsd. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Peter Xu <peterx@redhat.com>
-rw-r--r--slirp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/slirp.c b/slirp.c
index 072bc85..434d12e 100644
--- a/slirp.c
+++ b/slirp.c
@@ -26,6 +26,7 @@
#include "qemu/timer.h"
#include "qemu/error-report.h"
#include "chardev/char-fe.h"
+#include "migration/register.h"
#include "slirp.h"
#include "hw/hw.h"
#include "qemu/cutils.h"