]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Allow virFileCache data to be any GObject
authorJonathon Jongsma <jjongsma@redhat.com>
Wed, 13 Jul 2022 19:55:55 +0000 (14:55 -0500)
committerJonathon Jongsma <jjongsma@redhat.com>
Tue, 19 Sep 2023 19:28:49 +0000 (14:28 -0500)
commitb7e7ac14d0626160d64817a7aadbc899270a90d9
treed10f13f1b573e96a71f7b04b4a7e0b806cf49f0c
parent03afd10cd38f2906fb475e6a6c0165a0ef9dc2c3
util: Allow virFileCache data to be any GObject

Since the libvirt documentation suggests to prefer GObject over
virObject, and since virObject is a GObject, change virFileCache to
allow GObjects as data.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/util/virfilecache.c
src/util/virfilecache.h