]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: blockjob: Add string convertors for blockjob type and state enums
authorPeter Krempa <pkrempa@redhat.com>
Fri, 30 Nov 2018 15:55:08 +0000 (16:55 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 18 Jul 2019 15:59:34 +0000 (17:59 +0200)
commit8d82e6d98a70015b41f18c6bfd7f126833c0e1e6
tree8953fe703793f16c93dc661098822f3ec76dd07c
parent5ff46aaa7f82d421edca2af1125340ed6cc4fc14
qemu: blockjob: Add string convertors for blockjob type and state enums

Later on we'll format these values into the status XML so the from/to
string functions will come handy. The implementation also notes that
these will be used in the status XML to avoid somebody changing the
values.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_blockjob.c
src/qemu/qemu_blockjob.h