[libvirt] [PATCH 1/1] Initial POC of port profile id support

Gerhard Stenzel gstenzel at linux.vnet.ibm.com
Mon Apr 26 11:28:20 UTC 2010


On Fri, 2010-04-02 at 11:42 -0400, Dave Allan wrote:
> Agreed with both; an updated patch is attached.  I also added a test
> for 
> the new element.
> 
> Dave
> 

Hi, unless I am missing something, you changed only the XML (<attribute
name="profile">), but not the source code (profileid =
virXMLPropString(cur, "profileid");)

I also get some weird characters, which I don't understand:

13:13:05.475: debug : virDomainNetDefParseXML:2057 : profileid=a
13:13:19.668: debug : virDomainNetDefFormat:5153 : profileid=з�

I added a few debug lines in domain_conf.c to produce above output. The
first line is when libvirtd starts up and reads all domain files. The
second line is when I tried to edit the domain xml via "virsh edit".

-- 
Best regards, 

Gerhard Stenzel, 
-----------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294




More information about the libvir-list mailing list