Centos 6.3 KVM start up error

On a recent kvm upgrade to centos 6.3 I came across this error

virsh start linux6244
error: Failed to start domain linux6244
error: unsupported configuration: virtio only support device address type ‘PCI’

The error was from the virtio / disk section. The XML file had

<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/vz/linux6244'/>
<target dev='vda' bus='virtio'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>

to fix the error the address type needed to be removed – specifically <address type=’drive’ controller=’0′ bus=’0′ target=’0′ unit=’0’/>

Once removed the vm started up with out problems.


On a test of a centos 6.2 system I removed the

line and redefined the XML. On the redefine the line gets added again. It appears centos 6.2 requires the address type for virtio disks, but centos 6.3 actually fails with it.

5 thoughts on “Centos 6.3 KVM start up error”

  1. Hello,
    Thank you for your post, I have modified my .xml but I have still the some errors. I attach my .xml, I’ll pleasured if you could help me.

    Thanks again

    —————————— .XML ——————————————–







    ————————————– .XML ———————————
    ====================== ERROR =============================

    nacho@sp80760:~/Descargas/winxp image$ virsh -c qemu:///system define Virtual_Client_for_Linux_KVM_Windows_XP.xml
    error: Falló al definir un dominio para Virtual_Client_for_Linux_KVM_Windows_XP.xml
    error: unsupported configuration: virtio only support device address type ‘PCI’

  2. So if you have shared stgaroe and the node where this VM was running dies, what is the procedure to turn this libvirt.xml file into a VM on a new node? I tried virsh define but didn’t have any luck.My current process is to back up both the qemu and nwfilter files in /etc/libvirt but that is a terrible process when the definition is right there with the disk instance.

    1. It really depends what the error is with virsh define

      You need to remove the UUID in the xml file before defining it on another server.

Leave a Reply

Your email address will not be published. Required fields are marked *