From 5c634730b99b53afd6e2cea4b7d2fc2dfc2ee630 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Fri, 13 Mar 2015 16:59:26 +0100 Subject: [PATCH] qemu: process: Export qemuProcessFindDomainDiskByAlias --- src/qemu/qemu_process.c | 2 +- src/qemu/qemu_process.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index d1f089ddd5..28c3c27939 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -390,7 +390,7 @@ qemuProcessFindDomainDiskByPath(virDomainObjPtr vm, return NULL; } -static virDomainDiskDefPtr +virDomainDiskDefPtr qemuProcessFindDomainDiskByAlias(virDomainObjPtr vm, const char *alias) { diff --git a/src/qemu/qemu_process.h b/src/qemu/qemu_process.h index 5c70803513..3c041795c9 100644 --- a/src/qemu/qemu_process.h +++ b/src/qemu/qemu_process.h @@ -112,4 +112,7 @@ int qemuProcessSPICEAllocatePorts(virQEMUDriverPtr driver, virDomainGraphicsDefPtr graphics, bool allocate); +virDomainDiskDefPtr qemuProcessFindDomainDiskByAlias(virDomainObjPtr vm, + const char *alias); + #endif /* __QEMU_PROCESS_H__ */ -- GitLab