diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 8738c80441adf8d01fa6dfae78f2458bfe3f4c93..10cde0e970bbc64f2d73e1438651f0e81f0e426e 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -1537,13 +1537,13 @@ struct _virDomainRedirFilterDef { virDomainRedirFilterUSBDevDefPtr *usbdevs; }; -enum { +typedef enum { VIR_DOMAIN_MEMBALLOON_MODEL_VIRTIO, VIR_DOMAIN_MEMBALLOON_MODEL_XEN, VIR_DOMAIN_MEMBALLOON_MODEL_NONE, VIR_DOMAIN_MEMBALLOON_MODEL_LAST -}; +} virDomainMemballoonModel; struct _virDomainMemballoonDef { int model;