From b7cd7b195f024f75b5dbc033c49a6da4005aa665 Mon Sep 17 00:00:00 2001 Message-Id: From: Peter Krempa Date: Tue, 17 Mar 2015 13:13:51 +0100 Subject: [PATCH] qemu: process: Export qemuProcessFindDomainDiskByAlias https://bugzilla.redhat.com/show_bug.cgi?id=1202719 (cherry picked from commit 5c634730b99b53afd6e2cea4b7d2fc2dfc2ee630) Conflicts: src/qemu/qemu_process.h - context with new declarations added upstream Signed-off-by: Jiri Denemark --- 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 b9e7280..ffba29d 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -389,7 +389,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 5948ea4..9fbf7ba 100644 --- a/src/qemu/qemu_process.h +++ b/src/qemu/qemu_process.h @@ -104,4 +104,7 @@ virBitmapPtr qemuPrepareCpumap(virQEMUDriverPtr driver, int qemuProcessReadLog(int fd, char *buf, int buflen, int off, bool skipchar); +virDomainDiskDefPtr qemuProcessFindDomainDiskByAlias(virDomainObjPtr vm, + const char *alias); + #endif /* __QEMU_PROCESS_H__ */ -- 2.3.3