[libvirt-users] XML Parser failing due to cryptic Serial Number.

Ján Tomko jtomko at redhat.com
Tue Apr 14 11:33:53 UTC 2015


On Sat, Apr 11, 2015 at 11:43:40PM +0000, Roz Fx wrote:
> I set virt-manager in qemu:///system space and tried to add new VM but it didn't proceed. Found out serial in crypic form.
> # cat /sys/devices/virtual/dmi/id/product_serial 
> ÿÿÿÿÿÿÿ
> 
> 
> #virt-manager --debugTraceback (most recent call last):

...

>   File "/usr/share/virt-manager/virtinst/xmlbuilder.py", line 692, in _parse
>     doc = libxml2.parseDoc(xml)
>   File "/usr/lib/python2.7/site-packages/libxml2.py", line 1327, in parseDoc
>     if ret is None:raise parserError('xmlParseDoc() failed')
> libxml2.parserError: xmlParseDoc() failed
> [Sun, 12 Apr 2015 06:06:16 virt-manager 4241] DEBUG (create:165) Showing new vm wizard
> [Sun, 12 Apr 2015 06:06:16 virt-manager 4241] DEBUG (create:892) Guest type set to os_type=hvm, arch=x86_64, dom_type=kvm
> [Sun, 12 Apr 2015 06:06:16 virt-manager 4241] DEBUG (xmlbuilder:694) Error parsing xml=
> <device>
>   <name>computer</name>
>   <capability type='system'>
>     <product>Vostro</product>
>     <hardware>
>       <vendor>Dell Inc.</vendor>
>       <version>A10</version>
>       <serial>ÿÿÿÿÿÿÿ</serial>
>       <uuid>REMOVED</uuid>
>     </hardware>
>     <firmware>
>       <vendor>Dell Inc.</vendor>
>       <version>A10</version>
>       <release_date>05/18/2013</release_date>
>     </firmware>
>   </capability>
> </device>
> 
> Any help will appreciate.

Hello,

this is tracked by the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1184131

I have just sent another version of the patches fixing it in libvirt.

Jan

> RegardsRox
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20150414/52df30d1/attachment.sig>


More information about the libvirt-users mailing list