On 10/17/2017 11:04 AM, Ján Tomko wrote:
Move assignment of input device alias into a separate function,
for reuse on hotplug.
---
src/qemu/qemu_alias.c | 24 +++++++++++++++++++++++-
src/qemu/qemu_alias.h | 3 +++
2 files changed, 26 insertions(+), 1 deletion(-)
[...]
diff --git a/src/qemu/qemu_alias.h b/src/qemu/qemu_alias.h
index 652ffea0c..35424829f 100644
--- a/src/qemu/qemu_alias.h
+++ b/src/qemu/qemu_alias.h
@@ -66,6 +66,9 @@ int qemuAssignDeviceShmemAlias(virDomainDefPtr def,
int idx);
int qemuAssignDeviceWatchdogAlias(virDomainWatchdogDefPtr watchdog);
Add an empty line here for readability.
John
+int qemuAssignDeviceInputAlias(virDomainDefPtr def,
+ virDomainInputDefPtr input,
+ int idx);
int qemuAssignDeviceAliases(virDomainDefPtr def, virQEMUCapsPtr qemuCaps);