On 06/24/2016 12:58 AM, Kevin Zhao wrote: > Hi Peter, > Follow your advice, I have complied the Qemu v2.6. > stack@u202158:~$ kvm --version > QEMU emulator version 2.6.50 (v2.6.0-1280-g6f1d2d1-dirty), Copyright (c) > 2003-2008 Fabrice Bellard > With this newest version, I use virt-manager to create the guest , the > xml file is in the attachment. But the Qemu return error when creating: > *error: internal error: process exited while connecting to monitor: > qemu-system-aarch64: -device > pci-bridge,chassis_nr=2,id=pci,bus=pci,addr=0x1: Duplicate ID 'pci' for > device* >
That's probably this libvirt issue fixed in 1.3.4 and later: https://www.redhat.com/archives/libvirt-users/2016-April/msg00030.html I suggest testing with libvirt.git as well, there's been aarch64 related patches trickling in regularly - Cole > The guest xml file in in attachment. But the XML worked when Qemu is > v2.4.0. > Also I delete the items in the xml : > - <controller type='pci' index='0' model='pcie-root'/> > - <controller type='pci' index='1' model='dmi-to-pci-bridge'> > - <model name='i82801b11-bridge'/> > - <address type='pci' domain='0x0000' bus='0x00' slot='0x01' > function='0x0'/> > - </controller> > - <controller type='pci' index='2' model='pci-bridge'> > - <model name='pci-bridge'/> > - <target chassisNr='2'/> > - <address type='pci' domain='0x0000' bus='0x01' slot='0x01' > function='0x0'/> > - </controller> > Using virsh create guest.xml, got the error too : > *error: internal error: process exited while connecting to monitor: > qemu-system-aarch64: -device > pci-bridge,chassis_nr=2,id=pci,bus=pci,addr=0x1: Duplicate ID 'pci' for > device.* > My test machine is Softiron, with AMD* ARM64 *server CPU. The libvirt > version is 1.3.1 > > Kindly need your help. You will be really appreciated :-) > Big Thanks~ >