]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libvirt: add stateShutdownPrepare/stateShutdownWait to drivers
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Thu, 9 Jul 2020 07:46:34 +0000 (10:46 +0300)
committerNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Mon, 7 Sep 2020 06:33:58 +0000 (09:33 +0300)
commitc5bf40bfa6afa4ec27052120e268a55213709ca4
tree7eb98f2c8b4c9666714fc08bdaa9924debd0d45a
parentfc7d53edf48a7a29397f883c0106d6b7a7c3757f
libvirt: add stateShutdownPrepare/stateShutdownWait to drivers

stateShutdownPrepare is supposed to inform driver that it will be closed soon
so that the driver can prepare and finish all background threads quickly on
stateShutdownWait call.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
scripts/check-drivername.py
src/driver-state.h
src/libvirt.c
src/libvirt_internal.h
src/libvirt_private.syms