summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-02-18 17:56:20 +0100
committerAndreas Färber <afaerber@suse.de>2013-03-12 10:35:54 +0100
commitc71c3e99b8897323af8c2fe0b9851610cd148538 (patch)
treedd2f9f0c63a1d7d66a8bbfe26dc478e8161d3cd3 /include
parentd7650eab429a033c23947f20d1ae14c4d1e719a3 (diff)
stubs: Add a vmstate_dummy struct for CONFIG_USER_ONLY
Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/migration/vmstate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 20db76fdf7..6666d27b25 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -134,6 +134,10 @@ struct VMStateDescription {
const VMStateSubsection *subsections;
};
+#ifdef CONFIG_USER_ONLY
+extern const VMStateDescription vmstate_dummy;
+#endif
+
extern const VMStateInfo vmstate_info_bool;
extern const VMStateInfo vmstate_info_int8;