[libvirt] GenericVmConfigFault - Unable to allocate a PCI SCSI adapter. Too many PCI devices are already configured.

Andrew Holway andrew.holway at gmail.com
Wed Nov 6 01:29:44 UTC 2013


Hello,

I am trying to create virtual machines on a VMware ESXi 5.5.0
build-1331820 with Virsh 1.1.4 on Fedora 19. I see the following.

Can anyone show me where I am going wrong or perhaps suggest a more
sensible way of spawning virtual machines on ESXi with libvirt.

Thanks,

Andrew


[aholway at libvirt ~]$ virsh --connect esx://10.51.3.59/?no_verify=1

virsh # vol-list --pool "datastore1 (1)"
     Name                 Path
     -----------------------------------------
     VM001/VM001.vmdk     [datastore1 (1)] VM001/VM001.vmdk
     VM002/VM002.vmdk     [datastore1 (1)] VM002/VM002.vmdk
virsh # vol-clone --pool "datastore1 (1)" VM001/VM001.vmdk VM003/VM003.vmdk
     Vol VM003/VM003.vmdk cloned from VM001/VM001.vmdk
virsh # define domain.xml
     Domain VM003 defined from domain.xml
virsh # start VM003

     error: Failed to start domain VM003
     error: internal error: Could not start domain:
GenericVmConfigFault - Unable to      allocate a PCI SCSI adapter. Too
many PCI devices are already configured.




#### domain.xml ####

<domain type='vmware'>
  <name>VM003</name>
  <memory unit='KiB'>2097152</memory>
  <currentMemory unit='KiB'>2097152</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <os>
    <type arch='x86_64'>hvm</type>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <disk type='file' device='disk'>
      <source file='[datastore1 (1)] VM003/VM003.vmdk'/>
      <target dev='sda' bus='scsi'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <controller type='scsi' index='0' model='vmpvscsi'/>
    <interface type='bridge'>
      <mac address='00:50:56:8c:32:65'/>
      <source bridge='10G'/>
      <model type='vmxnet3'/>
    </interface>
    <video>
      <model type='vmvga' vram='4096'/>
    </video>
  </devices>
</domain>




#### VM003.vmdk ####

# Disk DescriptorFile
version=1
encoding="UTF-8"
CID=fffffffe
parentCID=ffffffff
isNativeSnapshot="no"
createType="vmfs"
# Extent description
RW 33554432 VMFS "VM003-flat.vmdk"

# The Disk Data Base
#DDB
ddb.adapterType = "lsilogic"
ddb.deletable = "true"
ddb.geometry.cylinders = "2088"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.longContentID = "1a5627c7a84f812eeec7f9aafffffffe"
ddb.uuid = "60 00 C2 9a 31 de b1 1d-ca 50 4c c2 1a 1a 7d ab"
ddb.virtualHWVersion = "8"




#### VM003.vmx ####

.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "8"
guestOS = "other-64"
uuid.bios = "07 fd ba 3e 47 fb 49 00-ae 2f f0 26 04 90 ee e2"
displayName = "VM003"
memsize = "2048"
numvcpus = "1"
scsi0.present = "true"
scsi0.virtualDev = "pvscsi"
scsi0:0.present = "true"
scsi0:0.deviceType = "scsi-hardDisk"
scsi0:0.fileName =
"/vmfs/volumes/527267fd-20e8ff06-e667-7845c4faefd1/VM003/VM003.vmdk"
ethernet0.present = "true"
ethernet0.virtualDev = "vmxnet3"
ethernet0.networkName = "10G"
ethernet0.connectionType = "bridged"
ethernet0.addressType = "vpx"
ethernet0.generatedAddress = "00:50:56:8c:32:65"
svga.vramSize = "4194304"
extendedConfigFile = "VM003.vmxf"
virtualHW.productCompatibility = "hosted"
floppy0.present = "FALSE"
floppy1.present = "FALSE"
sched.swap.derivedName =
"/vmfs/volumes/527267fd-20e8ff06-e667-7845c4faefd1/VM003/VM003-42cd42fb.vswp"
uuid.location = "56 4d 21 b1 88 3d de 7e-5e 33 79 e2 70 ac ac 91"
replay.supported = "FALSE"
replay.filename = ""
scsi0:0.redo = ""
scsi0.pciSlotNumber = "21"
ethernet0.pciSlotNumber = "22"
vc.uuid = "50 0c f8 80 50 18 27 e2-ef 43 8d 60 66 e7 48 a1"




More information about the libvir-list mailing list