---
libvirt-gobject/libvirt-gobject-domain.c | 2 +-
libvirt-gobject/libvirt-gobject-domain.h | 14 ++++++++++++++
libvirt-gobject/libvirt-gobject.sym | 5 +++++
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/libvirt-gobject/libvirt-gobject-domain.c
b/libvirt-gobject/libvirt-gobject-domain.c
index e14190c..ba8e12b 100644
--- a/libvirt-gobject/libvirt-gobject-domain.c
+++ b/libvirt-gobject/libvirt-gobject-domain.c
@@ -709,7 +709,7 @@ gboolean gvir_domain_save_to_file_finish(GVirDomain *dom,
/**
* gvir_domain_get_config:
* @dom: the domain
- * @flags: the flags
+ * @flags: the %GVirDomainXMLFlags flags
*
* Returns: (transfer full): the config. The returned object should be
* unreffed with g_object_unref() when no longer needed.
diff --git a/libvirt-gobject/libvirt-gobject-domain.h
b/libvirt-gobject/libvirt-gobject-domain.h
index 8f17799..70e7e37 100644
--- a/libvirt-gobject/libvirt-gobject-domain.h
+++ b/libvirt-gobject/libvirt-gobject-domain.h
@@ -102,6 +102,20 @@ typedef enum {
GVIR_DOMAIN_DELETE_SNAPSHOTS_METADATA = VIR_DOMAIN_UNDEFINE_SNAPSHOTS_METADATA,
} GVirDomainDeleteFlags;
+/**
+ * GVirDomainXMLFlags:
+ * @GVIR_DOMAIN_XML_NONE: No flags
+ * @GVIR_DOMAIN_XML_SECURE: Dump security sensitive information too
+ * @GVIR_DOMAIN_XML_INACTIVE: Dump inactive domain information
+ * @GVIR_DOMAIN_XML_UPDATE_CPU: Update guest CPU requirements according to host CPU
+ */
+typedef enum {
+ GVIR_DOMAIN_XML_NONE = 0,
+ GVIR_DOMAIN_XML_SECURE = VIR_DOMAIN_XML_SECURE,
+ GVIR_DOMAIN_XML_INACTIVE = VIR_DOMAIN_XML_INACTIVE,
+ GVIR_DOMAIN_XML_UPDATE_CPU = VIR_DOMAIN_XML_UPDATE_CPU,
+} GVirDomainXMLFlags;
+
typedef struct _GVirDomainInfo GVirDomainInfo;
struct _GVirDomainInfo
{
diff --git a/libvirt-gobject/libvirt-gobject.sym b/libvirt-gobject/libvirt-gobject.sym
index 60478d1..cc602d3 100644
--- a/libvirt-gobject/libvirt-gobject.sym
+++ b/libvirt-gobject/libvirt-gobject.sym
@@ -175,4 +175,9 @@ LIBVIRT_GOBJECT_0.0.9 {
gvir_domain_start_finish;
} LIBVIRT_GOBJECT_0.0.8;
+LIBVIRT_GOBJECT_0.1.1 {
+ global:
+ gvir_domain_xml_flags_get_type;
+} LIBVIRT_GOBJECT_0.0.9;
+
# .... define new API here using predicted next version number ....
--
1.7.10.4