Found thanks to scripts/apibuild.py complain:
| Function virDomainSetBlockThreshold has symversion 3.1.0 but docstring says 3.2.0
Add in bb09798fbe "lib: Add API for setting the threshold size for
VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLD" in 2017-03-27
Easy to check with git grep:
| > git grep -r virDomainSetBlockThreshold v3.1.0 ./include
| /* Fails */
| > git grep -r virDomainSetBlockThreshold v3.2.0 ./include
| v3.2.0:include/libvirt/libvirt-domain.h: * The threshold size can be set via the
virDomainSetBlockThreshold API.
| v3.2.0:include/libvirt/libvirt-domain.h:int virDomainSetBlockThreshold(virDomainPtr
domain,
Signed-off-by: Victor Toso <victortoso(a)redhat.com>
---
src/libvirt_public.syms | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms
index f93692c427..84e608c7b0 100644
--- a/src/libvirt_public.syms
+++ b/src/libvirt_public.syms
@@ -755,10 +755,14 @@ LIBVIRT_3.0.0 {
LIBVIRT_3.1.0 {
global:
- virDomainSetBlockThreshold;
virDomainSetVcpu;
} LIBVIRT_3.0.0;
+LIBVIRT_3.2.0 {
+ global:
+ virDomainSetBlockThreshold;
+} LIBVIRT_3.1.0;
+
LIBVIRT_3.4.0 {
global:
virStreamRecvFlags;
@@ -766,7 +770,7 @@ LIBVIRT_3.4.0 {
virStreamSendHole;
virStreamSparseRecvAll;
virStreamSparseSendAll;
-} LIBVIRT_3.1.0;
+} LIBVIRT_3.2.0;
LIBVIRT_3.7.0 {
global:
--
2.35.1