[libgovirt] vm: Fix nick of the OvirtVmState enum



commit 300d3d0b40953e0da08d13cefbaf4df2e273e0db
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Tue Aug 27 19:23:54 2013 +0200

    vm: Fix nick of the OvirtVmState enum
    
    glib-mkenums separate words with a '-' but oVirt XML uses '_' as
    a separator

 govirt/ovirt-vm.h |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/govirt/ovirt-vm.h b/govirt/ovirt-vm.h
index ca462a2..901a6c6 100644
--- a/govirt/ovirt-vm.h
+++ b/govirt/ovirt-vm.h
@@ -61,19 +61,19 @@ typedef enum {
     OVIRT_VM_STATE_DOWN,
     OVIRT_VM_STATE_UP,
     OVIRT_VM_STATE_REBOOTING,
-    OVIRT_VM_STATE_POWERING_UP,
-    OVIRT_VM_STATE_POWERED_DOWN,
+    OVIRT_VM_STATE_POWERING_UP, /*< nick=powering_up >*/
+    OVIRT_VM_STATE_POWERED_DOWN, /*< nick=powered_down >*/
     OVIRT_VM_STATE_PAUSED,
     OVIRT_VM_STATE_MIGRATING,
     OVIRT_VM_STATE_UNKNOWN,
-    OVIRT_VM_STATE_NOT_RESPONDING,
-    OVIRT_VM_STATE_WAIT_FOR_LAUNCH,
-    OVIRT_VM_STATE_REBOOT_IN_PROGRESS,
-    OVIRT_VM_STATE_SAVING_STATE,
-    OVIRT_VM_STATE_RESTORING_STATE,
+    OVIRT_VM_STATE_NOT_RESPONDING, /*< nick=not_responding >*/
+    OVIRT_VM_STATE_WAIT_FOR_LAUNCH, /*< nick=wait_for_launch >*/
+    OVIRT_VM_STATE_REBOOT_IN_PROGRESS, /*< nick=reboot_in_progress >*/
+    OVIRT_VM_STATE_SAVING_STATE, /*< nick=saving_state >*/
+    OVIRT_VM_STATE_RESTORING_STATE, /*< nick=restoring_state >*/
     OVIRT_VM_STATE_SUSPENDED,
-    OVIRT_VM_STATE_IMAGE_LOCKED,
-    OVIRT_VM_STATE_POWERING_DOWN,
+    OVIRT_VM_STATE_IMAGE_LOCKED, /*< nick=image_locked >*/
+    OVIRT_VM_STATE_POWERING_DOWN, /*< nick=powering_down >*/
 } OvirtVmState;
 
 GType ovirt_vm_get_type(void);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]