summaryrefslogtreecommitdiff
path: root/hw/net
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
commitf2a8f0a6314cad6b1d5b4ac03b71bf7ebebff733 (patch)
treebfdd952e9625505c963efb972eaf5a365e7cbbd9 /hw/net
parentf8d806c992a89728a08b7bb005ffd9e75dac5653 (diff)
downloadqemu-f2a8f0a6314cad6b1d5b4ac03b71bf7ebebff733.tar.gz
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>
Diffstat (limited to 'hw/net')
-rw-r--r--hw/net/vmxnet3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c
index 4df31101ec..a19a7a31dd 100644
--- a/hw/net/vmxnet3.c
+++ b/hw/net/vmxnet3.c
@@ -26,6 +26,7 @@
#include "qemu/bswap.h"
#include "hw/pci/msix.h"
#include "hw/pci/msi.h"
+#include "migration/register.h"
#include "vmxnet3.h"
#include "vmxnet_debug.h"