aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ppc/spapr_vio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/ppc/spapr_vio.h')
-rw-r--r--include/hw/ppc/spapr_vio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr_vio.h b/include/hw/ppc/spapr_vio.h
index 36093270e6..46edc2a20c 100644
--- a/include/hw/ppc/spapr_vio.h
+++ b/include/hw/ppc/spapr_vio.h
@@ -134,4 +134,9 @@ VIOsPAPRDevice *spapr_vty_get_default(VIOsPAPRBus *bus);
void spapr_vio_quiesce(void);
+extern const VMStateDescription vmstate_spapr_vio;
+
+#define VMSTATE_SPAPR_VIO(_f, _s) \
+ VMSTATE_STRUCT(_f, _s, 0, vmstate_spapr_vio, VIOsPAPRDevice)
+
#endif /* _HW_SPAPR_VIO_H */