0f4c8a
From 382aa0e08d2b12220506ca5522c6035c755e8acf Mon Sep 17 00:00:00 2001
0f4c8a
Message-Id: <382aa0e08d2b12220506ca5522c6035c755e8acf@dist-git>
0f4c8a
From: Jiri Denemark <jdenemar@redhat.com>
0f4c8a
Date: Wed, 13 Sep 2017 17:28:13 +0200
0f4c8a
Subject: [PATCH] qemu: Publish virQEMUCapsCPUFilterFeatures
0f4c8a
0f4c8a
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
0f4c8a
(cherry picked from commit 399f91694f6e3245c0f6c8f37968266749964f2d)
0f4c8a
0f4c8a
https://bugzilla.redhat.com/show_bug.cgi?id=1508549
0f4c8a
0f4c8a
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
0f4c8a
---
0f4c8a
 src/qemu/qemu_capabilities.c | 2 +-
0f4c8a
 src/qemu/qemu_capabilities.h | 3 +++
0f4c8a
 2 files changed, 4 insertions(+), 1 deletion(-)
0f4c8a
0f4c8a
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
0f4c8a
index 3be56462d9..a42f8d9988 100644
0f4c8a
--- a/src/qemu/qemu_capabilities.c
0f4c8a
+++ b/src/qemu/qemu_capabilities.c
0f4c8a
@@ -3235,7 +3235,7 @@ virQEMUCapsProbeQMPGICCapabilities(virQEMUCapsPtr qemuCaps,
0f4c8a
 }
0f4c8a
 
0f4c8a
 
0f4c8a
-static bool
0f4c8a
+bool
0f4c8a
 virQEMUCapsCPUFilterFeatures(const char *name,
0f4c8a
                              void *opaque)
0f4c8a
 {
0f4c8a
diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h
0f4c8a
index 281fe7d483..bc4ad44496 100644
0f4c8a
--- a/src/qemu/qemu_capabilities.h
0f4c8a
+++ b/src/qemu/qemu_capabilities.h
0f4c8a
@@ -573,4 +573,7 @@ int virQEMUCapsFillDomainCaps(virCapsPtr caps,
0f4c8a
 bool virQEMUCapsGuestIsNative(virArch host,
0f4c8a
                               virArch guest);
0f4c8a
 
0f4c8a
+bool virQEMUCapsCPUFilterFeatures(const char *name,
0f4c8a
+                                  void *opaque);
0f4c8a
+
0f4c8a
 #endif /* __QEMU_CAPABILITIES_H__*/
0f4c8a
-- 
0f4c8a
2.15.0
0f4c8a