]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: use g_autoptr for a virPCIDevice
authorLaine Stump <laine@redhat.com>
Tue, 24 Nov 2020 21:56:52 +0000 (16:56 -0500)
committerLaine Stump <laine@redhat.com>
Sat, 12 Dec 2020 23:36:10 +0000 (18:36 -0500)
commit01e421c16abbb5e9d0e1773c48f09dca1332251f
tree9386f5cbcd7281ea48c398d10f5f1f22417936c5
parent04fd7865f264c9f7c93bbc299618feb31a0414bd
qemu: use g_autoptr for a virPCIDevice

The one instance of a virPCIDevice in
qemuDomainDeviceCalculatePCIConnectFlags() needs to be converted to
use g_autoptr as a prerequisite for a bugfix. It's in this patch by
itself (rather than in a patch converting all virPCIDevice usages to
g_autoptr) to simplify any backport of said bugfix.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain_address.c