aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/commands.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2025-02-04 22:13:52 +0100
committerKevin Wolf <kwolf@redhat.com>2025-02-06 14:26:50 +0100
commitaec81049c2daa8a97b89e59f03733b21ae0f8c2d (patch)
tree3c0bc2cdf864e1b4325a72db74557a14e125ce84 /scripts/qapi/commands.py
parent107c551de0d7bc3aa8e926c557b66b9549616f42 (diff)
downloadqemu-aec81049c2daa8a97b89e59f03733b21ae0f8c2d.zip
qemu-aec81049c2daa8a97b89e59f03733b21ae0f8c2d.tar.gz
qemu-aec81049c2daa8a97b89e59f03733b21ae0f8c2d.tar.bz2
block: Add 'active' field to BlockDeviceInfo
This allows querying from QMP (and also HMP) whether an image is currently active or inactive (in the sense of BDRV_O_INACTIVE). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Acked-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-ID: <20250204211407.381505-2-kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions