[libvirt] [PATCH 0/4] Update interface xml to match netcf 0.1.5

Matthias Bolte matthias.bolte at googlemail.com
Tue Jan 19 20:24:41 UTC 2010


2010/1/19 Laine Stump <laine at laine.org>:
> On 01/13/2010 12:09 PM, Laine Stump wrote:
>>
>> It's been 12 days with no responses to these patches, so I figured I'd
>> better give them some visibility so they're not forgotten.
>>
>> https://www.redhat.com/archives/libvir-list/2010-January/msg00003.html
>
> Dan was kind enough to review and ACK these. Now if someone could just push
> them... ;-)
>

Okay. pushed :)

I had to apply this small patch to fix a compile error:


diff --git a/src/conf/interface_conf.c b/src/conf/interface_conf.c
index 6efc8aa..8a17ed6 100644
--- a/src/conf/interface_conf.c
+++ b/src/conf/interface_conf.c
@@ -705,7 +705,8 @@ virInterfaceDefParseXML(virConnectPtr conn,
         || (parentIfType == VIR_INTERFACE_TYPE_VLAN))
         {
         virInterfaceReportError(conn, VIR_ERR_XML_ERROR,
-                                _("interface has unsupported type
'%s'"), type);
+                                _("interface has unsupported type '%s'"),
+                                virInterfaceTypeToString(type));
         goto error;
     }
     def->type = type;


Matthias




More information about the libvir-list mailing list