Pavel Balaev <m...@void.so> writes: > Hello, > > Now savevm, loadvm and delvm commands only allowed from hmp monitor. > This patch adds ability to send them via QMP api. > > Signed-off-by: Pavel Balaev <m...@void.so>
Quoting my reply to a prior similar patch: savevm and loadvm are HMP only precisely because an exact QMP equivalent wouldn't be a sane interface, and designing a sane QMP interface would be work. Things that won't do for QMP include automatic selection of the block device receiving the VM state, and synchronous operation. Building blocks might be a better fit for QMP than a one-size-fits-all savevm command. Message-ID: <87po5m2odo....@dusky.pond.sub.org> https://lists.gnu.org/archive/html/qemu-devel/2018-02/msg00615.html