libvirt/0b1ecf7b-virHashCodeGen-mockable.patch
James Fehlig 0d01ad3986 Accepting request 514264 from home:jfehlig:branches:Virtualization
- Update to libvirt 3.6.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
- Fix unit tests on s390x and ppc64
  8982f3ab-util-hash-header.patch,
  0b1ecf7b-virHashCodeGen-mockable.patch.
  f536b0dd-tests-arch-independent-hash.patch
- Patch cleanup
  - Renamed libvirtd-defaults.patch to
    suse-libvirtd-disable-tls.patch
  - Renamed libvirtd-init-script.patch to
    suse-libvirtd-sysconfig-settings.patch
  - Renamed virtlockd-init-script.patch to
    suse-virtlockd-sysconfig-settings.patch
  - Renamed virtlogd-init-script.patch to
    suse-virtlogd-sysconfig-settings.patch
  - Renamed libvirt-guests-init-script.patch to
    suse-libvirt-guests-service.patch
  - Combined suse-libvirtd-service.patch and
    systemd-service-xen.patch to suse-libvirtd-service-xen.patch
    since both patches add Xen support to libvirtd service file
  - Pull OVMF-related changes from suse-qemu-conf.patch into a
    new suse-ovmf-paths.patch

- Add a supportconfig plugin
  libvirt-supportconfig
  FATE#323661

OBS-URL: https://build.opensuse.org/request/show/514264
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=615
2017-08-03 17:28:59 +00:00

38 lines
1.1 KiB
Diff

commit 0b1ecf7b5342f8631d1b1cce8a7937bda511be98
Author: Peter Krempa <pkrempa@redhat.com>
Date: Wed Aug 2 17:31:14 2017 +0200
util: hash: Make virHashCodeGen mockable
Export the function from the util module so that dynamic linking can
override it.
Index: libvirt-3.6.0/src/libvirt_private.syms
===================================================================
--- libvirt-3.6.0.orig/src/libvirt_private.syms
+++ libvirt-3.6.0/src/libvirt_private.syms
@@ -1776,6 +1776,10 @@ virHashUpdateEntry;
virHashValueFree;
+# util/virhashcode.h
+virHashCodeGen;
+
+
# util/virhook.h
virHookCall;
virHookInitialize;
Index: libvirt-3.6.0/src/util/virhashcode.h
===================================================================
--- libvirt-3.6.0.orig/src/util/virhashcode.h
+++ libvirt-3.6.0/src/util/virhashcode.h
@@ -30,6 +30,7 @@
# include "internal.h"
-uint32_t virHashCodeGen(const void *key, size_t len, uint32_t seed);
+uint32_t virHashCodeGen(const void *key, size_t len, uint32_t seed)
+ ATTRIBUTE_NOINLINE;
#endif /* __VIR_HASH_CODE_H__ */