[libvirt] [PATCH] util: Fix incorrect error in PCI functions.

Matthias Bolte matthias.bolte at googlemail.com
Tue May 31 20:35:56 UTC 2011


2011/5/31 Osier Yang <jyang at redhat.com>:
> 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 |   20 ++++++++++----------
>  1 files changed, 10 insertions(+), 10 deletions(-)
>

ACK.

Matthias




More information about the libvir-list mailing list