<meta http-equiv="content-type" content="text/html; charset=utf-8">Why not be consistent with <a href="http://libvirt.org/goals.html">http://libvirt.org/goals.html</a>. I'm really agreed with use the concept hypervisor.<br>

<br><div class="gmail_quote">On Tue, Jun 22, 2010 at 6:09 PM, Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com">eblake@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On 06/22/2010 03:48 PM, Justin Clift wrote:<br>
> On 06/23/2010 04:16 AM, Matthias Bolte wrote:<br>
>>          case VIR_ERR_NO_SUPPORT:<br>
>>>>  >               if (info == NULL)<br>
><br>
> Would it be practical to expand this with category messages like?<br>
><br>
>     case VIR_ERR_NO_SUPPORT_STORAGE:<br>
>         if (info == NULL)<br>
>             errmsg = _("this function is not supported by the storage<br>
> driver");<br>
>           ...<br>
><br>
>     case VIR_ERR_NO_SUPPORT_NETWORK:<br>
>         if (info == NULL)<br>
>             errmsg = _("this function is not supported by the network<br>
> driver");<br>
>           ...<br>
><br>
> Or maybe figure out a "%s" replaceable keyword for<br>
> network/storage/hypervisor/etc above?<br>
<br>
</div>The whole error reporting scheme needs some loving care, and I've got a<br>
partial patch series posted to the list earlier that started that<br>
process.  But it was deemed less important than getting 0.8.2 finalized<br>
(as well as helping with RHEL-6 backports), so it's been on the back<br>
burner.  At this point, a minimally-invasive patch, like Daniel's<br>
proposal, is better than making things better when the code is all going<br>
to be refactored down the road anyways.  But thanks for the thought; it<br>
may affect my refactoring efforts!<br>
<div><div></div><div class="h5"><br>
--<br>
Eric Blake   <a href="mailto:eblake@redhat.com">eblake@redhat.com</a>    +1-801-349-2682<br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</div></div><br>--<br>
libvir-list mailing list<br>
<a href="mailto:libvir-list@redhat.com">libvir-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libvir-list" target="_blank">https://www.redhat.com/mailman/listinfo/libvir-list</a><br></blockquote></div><br>