summaryrefslogtreecommitdiff
path: root/stubs/qmp-command-available.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/qmp-command-available.c')
-rw-r--r--stubs/qmp-command-available.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/stubs/qmp-command-available.c b/stubs/qmp-command-available.c
new file mode 100644
index 0000000000..46540af7bf
--- /dev/null
+++ b/stubs/qmp-command-available.c
@@ -0,0 +1,7 @@
+#include "qemu/osdep.h"
+#include "qapi/qmp/dispatch.h"
+
+bool qmp_command_available(const QmpCommand *cmd, Error **errp)
+{
+ return true;
+}