diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-27 04:44:18 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-15 12:51:48 -0500 |
commit | 164dafd1744c69d268b89015977e19d8a9617fdf (patch) | |
tree | 7c3f6a9c5dfb766bdd25cfa87f37201095cd674f /stubs/qmp-command-available.c | |
parent | 69e92bd558d71fdbd0c1989391b20edcc700daa9 (diff) | |
download | qemu-164dafd1744c69d268b89015977e19d8a9617fdf.zip |
remove preconfig state
The preconfig state is only used if -incoming is not specified, which
makes the RunState state machine more tricky than it need be. However
there is already an equivalent condition which works even with -incoming,
namely qdev_hotplug. Use it instead of a separate runstate.
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'stubs/qmp-command-available.c')
-rw-r--r-- | stubs/qmp-command-available.c | 7 |
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; +} |