mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Remove VIR_DOMAIN_SHUTDOWN_CRASHED from public API
The VIR_DOMAIN_SHUTDOWN_CRASHED state constant does not appear
to be used in the QEMU code anyway. It also doesn't make much
(any) sense, since the 'shutdown' state is a transient state
between 'running' and 'shutoff' and when a guest crashes, it
does not end up in a 'shutdown' state, only 'shutoff'.
It was added in commit 14e7e0ae8d
which post-dates v1.1.0, so is safe to remove before 1.1.1
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
@@ -240,8 +240,6 @@ vshDomainStateReasonToString(int state, int reason)
|
||||
switch ((virDomainShutdownReason) reason) {
|
||||
case VIR_DOMAIN_SHUTDOWN_USER:
|
||||
return N_("user");
|
||||
case VIR_DOMAIN_SHUTDOWN_CRASHED:
|
||||
return N_("crashed");
|
||||
case VIR_DOMAIN_SHUTDOWN_UNKNOWN:
|
||||
case VIR_DOMAIN_SHUTDOWN_LAST:
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user