diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-12 14:29:35 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-15 09:20:48 -0600 |
commit | eb6e8ea5c38b47a3c6cf27f4780abd92bc079caa (patch) | |
tree | 02cb9341c0ab3aefe309dd441b2a7c85829b6d97 /monitor.h | |
parent | b4b12c6247d89b94e197891fbadb2699fd469ed6 (diff) |
qom: qom_{get, set} monitor commands (v2)
This allows clients to read and write device model properties through QMP. QAPI
doesn't support Visitor types yet and these commands are special in that they
don't work with fixed types.
I've added a documentation stub to qapi-schema.json so we can keep consistency
there.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.h')
-rw-r--r-- | monitor.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -67,4 +67,8 @@ typedef void (MonitorCompletion)(void *opaque, QObject *ret_data); void monitor_set_error(Monitor *mon, QError *qerror); +int qmp_qom_set(Monitor *mon, const QDict *qdict, QObject **ret); + +int qmp_qom_get(Monitor *mon, const QDict *qdict, QObject **ret); + #endif /* !MONITOR_H */ |