]> git.ipfire.org Git - thirdparty/libvirt.git/commit
pci: Give an explicit error if device not found
authorCole Robinson <crobinso@redhat.com>
Fri, 30 Apr 2010 15:44:19 +0000 (11:44 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 17 May 2010 19:01:59 +0000 (15:01 -0400)
commit5679c844de0a15a38551e2cf46952fc48d62d00f
tree0f35012104928694b546c0fe887f28c4b3e58c2f
parentb0aaed65eab22670110e1e66f3af8f3d7463b1b2
pci: Give an explicit error if device not found

v2: Use intended F_OK. Drop devdir param, just check dev->path for device
existence.

v3: Use virReportSystemError, include dev->path in error message.
src/util/pci.c