Re: virt-xml-validate b0rked?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>-----Original Message-----
>From: Matthias Bolte [mailto:matthias.bolte@xxxxxxxxxxxxxx]
>Sent: Monday, October 04, 2010 6:03 AM
>To: Stanley, Jon [Tech]
>Cc: libvirt-users@xxxxxxxxxx
>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.

<domain type='kvm' id='2'>
  <name>rhel55</name>
  <uuid>db3dc00b-dac7-b050-896b-97c624791deb</uuid>
  <memory>4194304</memory>
  <currentMemory>4194304</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='x86_64' machine='rhel5.4.0'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' cache='none'/>
      <source file='/data/images/rhel55.img'/>
      <target dev='vda' bus='virtio'/>
    </disk>
    <disk type='file' device='cdrom'>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='bridge'>
      <mac address='54:52:00:03:e3:98'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/1'/>
      <target port='0'/>
    </serial>
    <console type='pty' tty='/dev/pts/1'>
      <source path='/dev/pts/1'/>
      <target port='0'/>
    </console>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5900' autoport='yes' keymap='en-us'/>
  </devices>
</domain>


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux