[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]