aboutsummaryrefslogtreecommitdiff
path: root/include/qapi/compat-policy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qapi/compat-policy.h')
-rw-r--r--include/qapi/compat-policy.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/qapi/compat-policy.h b/include/qapi/compat-policy.h
index 94c8bbd790..1083f95122 100644
--- a/include/qapi/compat-policy.h
+++ b/include/qapi/compat-policy.h
@@ -18,6 +18,15 @@
extern CompatPolicy compat_policy;
/*
+ * Create a QObject input visitor for @obj for use with QMP
+ *
+ * This is like qobject_input_visitor_new(), except it obeys the
+ * policy for handling deprecated management interfaces set with
+ * -compat.
+ */
+Visitor *qobject_input_visitor_new_qmp(QObject *obj);
+
+/*
* Create a QObject output visitor for @obj for use with QMP
*
* This is like qobject_output_visitor_new(), except it obeys the