2 QEMU Monitor Protocol (QMP) development library & tooling.
4 This package provides a fairly low-level class for communicating
5 asynchronously with QMP protocol servers, as implemented by QEMU, the
6 QEMU Guest Agent, and the QEMU Storage Daemon.
8 `QMPClient` provides the main functionality of this package. All errors
9 raised by this library derive from `QMPError`, see `qmp.error` for
10 additional detail. See `qmp.events` for an in-depth tutorial on
14 # Copyright (C) 2020-2022 John Snow for Red Hat, Inc.
21 # This work is licensed under the terms of the GNU LGPL, version 2 or
22 # later. See the COPYING file in the top-level directory.
26 from .error import QMPError
27 from .events import EventListener
28 from .message import Message
29 from .protocol import (
35 from .qmp_client import ExecInterruptedError, ExecuteError, QMPClient
38 # Suppress logging unless an application engages it.
39 logging.getLogger('qemu.qmp').addHandler(logging.NullHandler())
42 # The order of these fields impact the Sphinx documentation order.
44 # Classes, most to least important
50 # Exceptions, most generic to most explicit
55 'ExecInterruptedError',