]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx: improve some of the virErrorNumber used
authorPino Toscano <ptoscano@redhat.com>
Thu, 10 Sep 2020 13:24:02 +0000 (15:24 +0200)
committerPino Toscano <ptoscano@redhat.com>
Mon, 14 Sep 2020 08:22:00 +0000 (10:22 +0200)
commit8c16f81eb97bbd576a009f64f13773200171704b
tree1fe365f5de60a04f7477a6ea7d260f221b055f18
parent8508799f2df0af12154af6a533a997772b229faa
esx: improve some of the virErrorNumber used

A lot of virReportError() calls use VIR_ERR_INTERNAL_ERROR to represent
the number of the error, even in cases where there is one fitting more.
Hence, replace some of them with better virErrorNumber values.

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/esx/esx_network_driver.c
src/esx/esx_storage_backend_iscsi.c
src/esx/esx_storage_backend_vmfs.c
src/esx/esx_util.c
src/esx/esx_vi.c