mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemu: monitor: Split up enum strings definitions
The VIR_ENUM_IMPL macros directly above them list one string per line. Use the same also for qemuMonitorMigrationStatus and qemuMonitorVMStatus. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
ef0fef79e7
commit
30a067d94c
@ -144,20 +144,37 @@ VIR_ENUM_IMPL(qemuMonitorCPUProperty,
|
||||
|
||||
VIR_ENUM_IMPL(qemuMonitorMigrationStatus,
|
||||
QEMU_MONITOR_MIGRATION_STATUS_LAST,
|
||||
"inactive", "setup",
|
||||
"active", "pre-switchover",
|
||||
"device", "postcopy-active",
|
||||
"postcopy-paused", "postcopy-recover",
|
||||
"completed", "failed",
|
||||
"cancelling", "cancelled",
|
||||
"inactive",
|
||||
"setup",
|
||||
"active",
|
||||
"pre-switchover",
|
||||
"device",
|
||||
"postcopy-active",
|
||||
"postcopy-paused",
|
||||
"postcopy-recover",
|
||||
"completed",
|
||||
"failed",
|
||||
"cancelling",
|
||||
"cancelled",
|
||||
"wait-unplug",
|
||||
);
|
||||
|
||||
VIR_ENUM_IMPL(qemuMonitorVMStatus,
|
||||
QEMU_MONITOR_VM_STATUS_LAST,
|
||||
"debug", "inmigrate", "internal-error", "io-error", "paused",
|
||||
"postmigrate", "prelaunch", "finish-migrate", "restore-vm",
|
||||
"running", "save-vm", "shutdown", "watchdog", "guest-panicked",
|
||||
"debug",
|
||||
"inmigrate",
|
||||
"internal-error",
|
||||
"io-error",
|
||||
"paused",
|
||||
"postmigrate",
|
||||
"prelaunch",
|
||||
"finish-migrate",
|
||||
"restore-vm",
|
||||
"running",
|
||||
"save-vm",
|
||||
"shutdown",
|
||||
"watchdog",
|
||||
"guest-panicked",
|
||||
);
|
||||
|
||||
typedef enum {
|
||||
|
Loading…
Reference in New Issue
Block a user