[libvirt] [PATCH] hyperv: Report an error for acceptable URI schemes with a transport

Eric Blake eblake at redhat.com
Tue Sep 27 15:15:59 UTC 2011


On 09/27/2011 05:14 AM, Matthias Bolte wrote:
> Before, URIs such as hyperv+ssh:// have been declined by the Hyper-V
> driver resulting in the remote driver trying to connect to an
> non-existing libvirtd.
>
> Now such URIs trigger an error in the Hyper-V driver suggesting to
> try again without the transport part in the scheme.
> ---
>   src/hyperv/hyperv_driver.c |   25 ++++++++++++++++++++++---
>   1 files changed, 22 insertions(+), 3 deletions(-)

Same review comments and ACK as for esx, regarding the error message 
quality.

> +
> +        HYPERV_ERROR(VIR_ERR_INVALID_ARG, "%s",
> +                     _("Transport in URI scheme is not supported, try again "
> +                       "without the transport part"));

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list