]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - monitor/monitor-internal.h
qmp: constify QmpCommand and list
[thirdparty/qemu.git] / monitor / monitor-internal.h
index 3e6baba88f44605f47b9e4c8b249099f6bc7a20a..8f60ccc70a6497d67cd1665cc3bd3067a222f212 100644 (file)
@@ -133,7 +133,7 @@ typedef struct {
      * qmp_capabilities succeeds, we go into command mode, and
      * @command becomes &qmp_commands.
      */
-    QmpCommandList *commands;
+    const QmpCommandList *commands;
     bool capab_offered[QMP_CAPABILITY__MAX]; /* capabilities offered */
     bool capab[QMP_CAPABILITY__MAX];         /* offered and accepted */
     /*