---
include/libvirt/libvirt.h.in | 3 +++
src/driver.h | 5 +++++
src/libvirt_public.syms | 5 +++++
3 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
index ad6fcce..5f2c46b 100644
--- a/include/libvirt/libvirt.h.in
+++ b/include/libvirt/libvirt.h.in
@@ -3600,6 +3600,9 @@ int virConnectSetKeepAlive(virConnectPtr conn,
int interval,
unsigned int count);
+char *virDomainNormalizeDeviceXML(virDomainPtr dom,
+ const char *device_xml,
+ unsigned int flags);
#ifdef __cplusplus
}
#endif
diff --git a/src/driver.h b/src/driver.h
index ec4abf3..301960d 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -793,6 +793,10 @@ typedef int
int *nparams,
unsigned int flags);
+typedef char *
+ (*virDrvDomainNormalizeDeviceXML)(virDomainPtr dom,
+ const char *device_xml,
+ unsigned int flags);
/**
* _virDriver:
*
@@ -961,6 +965,7 @@ struct _virDriver {
virDrvNodeSuspendForDuration nodeSuspendForDuration;
virDrvDomainSetBlockIoTune domainSetBlockIoTune;
virDrvDomainGetBlockIoTune domainGetBlockIoTune;
+ virDrvDomainNormalizeDeviceXML domainNormalizeDeviceXML;
};
typedef int
diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms
index 4ca7216..79edc13 100644
--- a/src/libvirt_public.syms
+++ b/src/libvirt_public.syms
@@ -516,4 +516,9 @@ LIBVIRT_0.9.9 {
virDomainSetNumaParameters;
} LIBVIRT_0.9.8;
+LIBVIRT_0.9.10 {
+ global:
+ virDomainNormalizeDeviceXML;
+} LIBVIRT_0.9.9;
+
# .... define new API here using predicted next version number ....
--
1.7.7.3