diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index 46f02b5fde..1994027c96 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 2e1d393219..fffc926239 100644 --- a/src/qemu/qemu_process.h +++ b/src/qemu/qemu_process.h @@ -107,4 +107,7 @@ int qemuProcessReadLog(int fd, char *buf, int buflen, int off, bool skipchar); int qemuProcessSetSchedParams(int id, pid_t pid, size_t nsp, virDomainThreadSchedParamPtr sp); +virDomainDiskDefPtr qemuProcessFindDomainDiskByAlias(virDomainObjPtr vm, + const char *alias); + #endif /* __QEMU_PROCESS_H__ */