They will be used to test device attachment and detachment, so
they have to be visible to the outside.
---
src/qemu/qemu_driver.c | 4 ++--
src/qemu/qemu_driver.h | 14 ++++++++++++++
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 02d2680..a4271f3 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -8064,7 +8064,7 @@ qemuDomainUpdateDeviceConfig(virDomainDefPtr vmdef,
return 0;
}
-static int
+int
qemuDomainAttachDeviceLiveAndConfig(virConnectPtr conn,
virDomainObjPtr vm,
virQEMUDriverPtr driver,
@@ -8324,7 +8324,7 @@ static int qemuDomainUpdateDeviceFlags(virDomainPtr dom,
return ret;
}
-static int
+int
qemuDomainDetachDeviceLiveAndConfig(virQEMUDriverPtr driver,
virDomainObjPtr vm,
const char *xml,
diff --git a/src/qemu/qemu_driver.h b/src/qemu/qemu_driver.h
index df7533a..3284933 100644
--- a/src/qemu/qemu_driver.h
+++ b/src/qemu/qemu_driver.h
@@ -24,6 +24,20 @@
#ifndef __QEMU_DRIVER_H__
# define __QEMU_DRIVER_H__
+# include "domain_conf.h"
+# include "qemu_conf.h"
+
int qemuRegister(void);
+int qemuDomainAttachDeviceLiveAndConfig(virConnectPtr conn,
+ virDomainObjPtr vm,
+ virQEMUDriverPtr driver,
+ const char *xml,
+ unsigned int flags);
+
+int qemuDomainDetachDeviceLiveAndConfig(virQEMUDriverPtr driver,
+ virDomainObjPtr vm,
+ const char *xml,
+ unsigned int flags);
+
#endif /* __QEMU_DRIVER_H__ */
--
1.9.1