Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 621821 - unexpected domain xml error
unexpected domain xml error
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt (Show other bugs)
6.0
All Linux
low Severity medium
: rc
: ---
Assigned To: Daniel Veillard
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-06 04:10 EDT by Dan Kenigsberg
Modified: 2010-08-06 04:12 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-08-06 04:12:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dan Kenigsberg 2010-08-06 04:10:56 EDT
Description of problem:
I generated a somewhat odd-indented domain xml and fed it into createXML. On first attempt I an error, but following attempts succeed.

Version-Release number of selected component (if applicable):
libvirt-0.8.1-20.el6.x86_64

How reproducible:
sometime

03:53:12.098: debug : virDomainCreateXML:1937 : conn=0x7f39b800d670, xmlDesc=Starting vhostmd: [  OK  ]
<?xml version="1.0" ?><domain type="kvm">
        <name>ayal</name>
        <uuid>9ffe28b6-6134-4b1e-8804-1185f49c436f</uuid>
        <memory>262144</memory>
        <currentMemory>262144</currentMemory>
        <vcpu>1</vcpu>
        <devices>
                <controller index="0" ports="16" type="virtio-serial"/>
                <channel type="unix">
                        <target name="org.linux-kvm.port.0" type="virtio"/>
                        <source mode="bind" path="/var/lib/libvirt/qemu/channels/ayal.org.linux-kvm.port.0"/>
                </channel>
                <interface type="bridge">
                        <mac address="aa:bb:dd:dd:aa:bb"/>
                        <model type="virtio"/>
                        <source bridge="rhevm"/>
                </interface>
                <input bus="ps2" type="mouse"/>
                <graphics autoport="yes" listen="0" passwd="*****" passwdValidTo="1970-01-01T00:00:01" port="-1" type="vnc"/>
        <disk device="disk" type="file"><source file="/dev/shm/vhostmd0"/><target bus="virtio" dev="vdzz"/><readonly/></disk></devices>
        <os>
                <type arch="x86_64" machine="pc">hvm</type>
                <boot dev="cdrom"/>
        </os>
        <clock adjustment="8" offset="variable"/>
        <cpu match="exact">
                <model>qemu64</model>
                <feature name="svm" policy="disable"/>
        </cpu>
</domain>, flags=0
03:53:12.098: error : catchXMLError:590 : at line 1: Start tag expected, '<' not found
Comment 1 Dan Kenigsberg 2010-08-06 04:12:21 EDT
sorry, my bug.

Note You need to log in before you can comment on or make changes to this bug.