summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2011-10-25 15:33:21 +0200
committerDaniel Veillard <veillard@redhat.com>2012-01-06 15:21:09 +0800
commit6308c47b7b9d2be2c1d9fa3979d0f707ef25df0d (patch)
tree3d277347e2063cfc747ccb4b50647a3afbaa09c2 /tests
parentbee46866e48265c982165ec9e01b9a781599e6d6 (diff)
downloadlibvirt-python-v6-6308c47b7b9d2be2c1d9fa3979d0f707ef25df0d.tar.gz
libvirt-python-v6-6308c47b7b9d2be2c1d9fa3979d0f707ef25df0d.tar.xz
libvirt-python-v6-6308c47b7b9d2be2c1d9fa3979d0f707ef25df0d.zip
startupPolicy: Emit event on disk source dropping
https://bugzilla.redhat.com/show_bug.cgi?id=769853 If a disk source gets dropped because it is not accessible, mgmt application might want to be informed about this. Therefore we need to emit an event. The event presented in this patch is however a bit superset of what written above. The reason is simple: an intention to be easily expanded, e.g. on 'user ejected disk in guest' events. Therefore, callback gets source string and disk alias (which should be unique among a domain) and reason (an integer); (cherry-picked from commit baf2ff7e9054975becd7d87ef8c67eb817388e80)
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions