]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage_source: Add flag storing whether threshold event was registered with index
authorPeter Krempa <pkrempa@redhat.com>
Thu, 1 Jul 2021 14:03:56 +0000 (16:03 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 12 Jul 2021 14:34:07 +0000 (16:34 +0200)
commit2ddff1cc40f6d0dd821d9979bef430edefb6a553
treefc487f55e34c957a7497e01d151bd27c357a88ff
parent2f922b2c464cc2873fc17280ef459848ee945a6f
storage_source: Add flag storing whether threshold event was registered with index

When users register the threshold event for the top level image with an
explicit index (e.g. vda[3]) they are clearly expecting the index in the
event.

This flag will help avoiding emission of the second event without the
index when the client clearly requested one with the index.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/storage_source_conf.h
src/qemu/qemu_domain.c
tests/qemustatusxml2xmldata/modern-in.xml