MonitorProtocol

From KVM
Revision as of 07:53, 20 October 2009 by Luizcapitulino (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Monitor Protocol

This is the page of the Monitor Protocol project, which aims to implement a JSON based protocol for QEMU's Monitor.

Problem

QEMU does not provide a way for applications to control it at the "machine level", that is, the current existing interface (called Monitor) was designed for human interaction only.

This is very problematic for applications, for the following reasons:

  • It is needed to parse output meant to be read by humans
  • It is not reliable, because it is not always possible to know whether a command has been successfully executed or not
  • It lacks support for asynchronous events

Solution

Improve QEMU's Monitor to support a JSON based protocol.