]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Do not keep PCI device config file open
authorJiri Denemark <jdenemar@redhat.com>
Tue, 4 Dec 2012 21:50:58 +0000 (22:50 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 5 Dec 2012 12:45:35 +0000 (13:45 +0100)
commitad65d1e502379382c7dc4986900b2cc35a11cc19
treeddf0c5f3467825bfb4f4a4c4d73aa3fd406db5e0
parent6910318798d9dda9c20732bb7f7aba90e7871737
util: Do not keep PCI device config file open

Directly open and close PCI config file in the APIs that need it rather
than keeping the file open for the whole life of PCI device structure.
src/util/pci.c