qemu/stubs/qmp-command-available.c
Paolo Bonzini 164dafd174 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>
2020-12-15 12:51:48 -05:00

7 lines
141 B
C

#include "qemu/osdep.h"
#include "qapi/qmp/dispatch.h"
bool qmp_command_available(const QmpCommand *cmd, Error **errp)
{
return true;
}