Blob Blame History Raw
From 382aa0e08d2b12220506ca5522c6035c755e8acf Mon Sep 17 00:00:00 2001
Message-Id: <382aa0e08d2b12220506ca5522c6035c755e8acf@dist-git>
From: Jiri Denemark <jdenemar@redhat.com>
Date: Wed, 13 Sep 2017 17:28:13 +0200
Subject: [PATCH] qemu: Publish virQEMUCapsCPUFilterFeatures

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
(cherry picked from commit 399f91694f6e3245c0f6c8f37968266749964f2d)

https://bugzilla.redhat.com/show_bug.cgi?id=1508549

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
---
 src/qemu/qemu_capabilities.c | 2 +-
 src/qemu/qemu_capabilities.h | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 3be56462d9..a42f8d9988 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -3235,7 +3235,7 @@ virQEMUCapsProbeQMPGICCapabilities(virQEMUCapsPtr qemuCaps,
 }
 
 
-static bool
+bool
 virQEMUCapsCPUFilterFeatures(const char *name,
                              void *opaque)
 {
diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h
index 281fe7d483..bc4ad44496 100644
--- a/src/qemu/qemu_capabilities.h
+++ b/src/qemu/qemu_capabilities.h
@@ -573,4 +573,7 @@ int virQEMUCapsFillDomainCaps(virCapsPtr caps,
 bool virQEMUCapsGuestIsNative(virArch host,
                               virArch guest);
 
+bool virQEMUCapsCPUFilterFeatures(const char *name,
+                                  void *opaque);
+
 #endif /* __QEMU_CAPABILITIES_H__*/
-- 
2.15.0