
2010/10/4 Stanley, Jon [Tech] <Jon.Stanley@gs.com>:
-----Original Message----- From: Matthias Bolte [mailto:matthias.bolte@googlemail.com] Sent: Monday, October 04, 2010 6:03 AM To: Stanley, Jon [Tech] Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] virt-xml-validate b0rked?
But your validation errors refer to the arch attribute of the os element, so you're probably having a different problem.
RHEL 5.5 comes with libvirt 0.6.3, latest version is 0.8.4. Maybe the problem has already be fixed in a newer version.
After opening a support case, they had me replace 'rhel5.4.0' in the type element with 'pc' and it seemed to work well. I've attached the XML at any rate.
Yes, thats the problem. In your libvirt version "rhel5.4.0" is not allowed as machine attribute value by the domain XML schema. Until libvirt 0.7.6 the machine attribute was expected to have a value out of a small predefined set ("xenfv", "pc" or "isapc" for arch="x86_64"). Since 0.7.6 the machine attribute can contain basically any value. Matthias