]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Fix incorrect error in PCI functions
authorOsier Yang <jyang@redhat.com>
Wed, 1 Jun 2011 02:32:41 +0000 (10:32 +0800)
committerOsier Yang <jyang@redhat.com>
Wed, 1 Jun 2011 02:32:41 +0000 (10:32 +0800)
commita74575e374e850999d624e192a9fbb30829085a1
treedd003c59089b2407c55447bece33795b24bfef1a
parent5c991c8628c55ae044f0be6f55c808f7cf6ea150
util: Fix incorrect error in PCI functions

Substitute VIR_ERR_NO_SUPPORT with VIR_ERR_INTERNAL_ERROR. Error
like following is not what user want to see.

error : pciDeviceIsAssignable:1487 : this function is not supported
by the connection driver: Device 0000:07:10.0 is behind a switch
lacking ACS and cannot be assigned
src/util/pci.c