qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC 15/18] qemu.py: qmp_obj() method


From: Eduardo Habkost
Subject: [Qemu-devel] [RFC 15/18] qemu.py: qmp_obj() method
Date: Thu, 29 Mar 2018 18:38:54 -0300

A wrapper for the QEMUMonitorProtocol.cmd_obj() method.

Signed-off-by: Eduardo Habkost <address@hidden>
---
 scripts/qemu.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/qemu.py b/scripts/qemu.py
index 00b44ea0f4..d25fe030bb 100644
--- a/scripts/qemu.py
+++ b/scripts/qemu.py
@@ -311,6 +311,9 @@ class QEMUMachine(object):
 
         return self._qmp.cmd(cmd, args=qmp_args)
 
+    def qmp_obj(self, *args, **kwargs):
+        return self._qmp.cmd_obj(*args, **kwargs)
+
     def command(self, cmd, conv_keys=True, **args):
         '''
         Invoke a QMP command.
-- 
2.14.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]