Installation guide

Ensure line number display is enabled in your text editor. Open the XML file, and locate the
text on line 6:
<domain type='kvm'>
<name>name_of_guest</name>
<memory>524288</memory>
<vcpu>2</vcpu><
This snippet of a guest's XML file contains an extra < in the document:
So lu t io n
Remove the extra < or finish the new element.
B.1 7 .2 .2 . Unt erm inat ed at t ribut e
Symp t o m
The following error occurs:
error: (name_of_guest.xml):2: Unescaped '<' not allowed in
attributes values
<name>name_of_guest</name>
--^
In vest ig at io n
This snippet of a guest's XML file contains an unterminated element attribute value:
<domain type='kvm>
<name>name_of_guest</name>
In this case, ' kvm' is missing a second quotation mark. Strings of attribute values, such
as quotation marks and apostrophes, must be opened and closed, similar to XML start and
end tags.
So lu t io n
Correctly open and close all attribute value strings.
B.1 7 .2 .3. Ope ning and ending t ag mism at ch
Symp t o m
The following error occurs:
error: (name_of_guest.xml):61: Opening and ending tag mismatch:
clock line 16 and domain
</domain>
---------^
In vest ig at io n
The error message above contains three clues to identify the offending tag:
Red Hat Ent erp rise Linux 6 Virt ualiz at ion Host Configurat ion and G uest Inst allat ion G uide
152