- Urgent
see
In my case Linux Mint VM is not seeing any USB 2.0 ports and cannot save config with
3.0 (nec XHCI) or 3.0 (qemu XHCI).
Get error:
QuoteVM creation error
XML error: Attempted double use of PCI Address 0000:00:07.0
Quote1 <!--
2 WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
3 OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
4 virsh edit LinuxMint-XFCE
5 or other application using the libvirt API.
6 -->
7
8 <domain type='kvm'>
9 <name>LinuxMint-XFCE</name>
10 <uuid>f44b3563-7687-bb34-95c3-e9bb08e2c05b</uuid>
11 <description>linuxmint-19-xfce</description>
12 <metadata>
13 <vmtemplate xmlns="unraid" name="Linux" icon="linux.png" os="linux"/>
14 </metadata>
15 <memory unit='KiB'>8388608</memory>
16 <currentMemory unit='KiB'>1048576</currentMemory>
17 <memoryBacking>
18 <nosharepages/>
19 </memoryBacking>
20 <vcpu placement='static'>6</vcpu>
21 <cputune>
22 <vcpupin vcpu='0' cpuset='1'/>
23 <vcpupin vcpu='1' cpuset='5'/>
24 <vcpupin vcpu='2' cpuset='2'/>
25 <vcpupin vcpu='3' cpuset='6'/>
26 <vcpupin vcpu='4' cpuset='3'/>
27 <vcpupin vcpu='5' cpuset='7'/>
28 </cputune>
29 <os>
30 <type arch='x86_64' machine='pc-q35-3.0'>hvm</type>
31 </os>
32 <features>
33 <acpi/>
34 <apic/>
35 </features>
36 <cpu mode='host-passthrough' check='none'>
37 <topology sockets='1' cores='3' threads='2'/>
38 </cpu>
39 <clock offset='utc'>
40 <timer name='rtc' tickpolicy='catchup'/>
41 <timer name='pit' tickpolicy='delay'/>
42 <timer name='hpet' present='no'/>
43 </clock>
44 <on_poweroff>destroy</on_poweroff>
45 <on_reboot>restart</on_reboot>
46 <on_crash>restart</on_crash>
47 <devices>
48 <emulator>/usr/local/sbin/qemu</emulator>
49 <disk type='file' device='disk'>
50 <driver name='qemu' type='raw' cache='writeback'/>
51 <source file='/mnt/disks/SSD_250GB/LinuxMint/LM-19-xfce-sparse.img'/>
52 <target dev='hdc' bus='virtio'/>
53 <boot order='1'/>
54 <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
55 </disk>
56 <disk type='file' device='cdrom'>
57 <driver name='qemu' type='raw'/>
58 <source file='/mnt/user/isos/LinuxMint/linuxmint-19-xfce-64bit-v2.iso'/>
59 <target dev='hda' bus='sata'/>
60 <readonly/>
61 <boot order='2'/>
62 <address type='drive' controller='0' bus='0' target='0' unit='0'/>
63 </disk>
64 <controller type='usb' index='0' model='ich9-ehci1'>
65 <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
66 </controller>
67 <controller type='usb' index='0' model='ich9-uhci1'>
68 <master startport='0'/>
69 <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
70 </controller>
71 <controller type='usb' index='0' model='ich9-uhci2'>
72 <master startport='2'/>
73 <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
74 </controller>
75 <controller type='usb' index='0' model='ich9-uhci3'>
76 <master startport='4'/>
77 <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
78 </controller>
79 <controller type='sata' index='0'>
80 <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
81 </controller>
82 <controller type='pci' index='0' model='pcie-root'/>
83 <controller type='pci' index='1' model='pcie-root-port'>
84 <model name='pcie-root-port'/>
85 <target chassis='1' port='0x10'/>
86 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
87 </controller>
88 <controller type='pci' index='2' model='pcie-root-port'>
89 <model name='pcie-root-port'/>
90 <target chassis='2' port='0x11'/>
91 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
92 </controller>
93 <controller type='pci' index='3' model='pcie-root-port'>
94 <model name='pcie-root-port'/>
95 <target chassis='3' port='0x12'/>
96 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
97 </controller>
98 <controller type='pci' index='4' model='pcie-root-port'>
99 <model name='pcie-root-port'/>
100 <target chassis='4' port='0x13'/>
101 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
102 </controller>
103 <controller type='pci' index='5' model='pcie-root-port'>
104 <model name='pcie-root-port'/>
105 <target chassis='5' port='0x14'/>
106 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
107 </controller>
108 <controller type='pci' index='6' model='pcie-root-port'>
109 <model name='pcie-root-port'/>
110 <target chassis='6' port='0x15'/>
111 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
112 </controller>
113 <controller type='virtio-serial' index='0'>
114 <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
115 </controller>
116 <filesystem type='mount' accessmode='passthrough'>
117 <source dir='/mnt/user/domains/'/>
118 <target dir='LinuxMintXFCE'/>
119 <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
120 </filesystem>
121 <interface type='bridge'>
122 <mac address='52:54:00:4a:7b:c7'/>
123 <source bridge='br0'/>
124 <model type='virtio'/>
125 <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
126 </interface>
127 <serial type='pty'>
128 <target type='isa-serial' port='0'>
129 <model name='isa-serial'/>
130 </target>
131 </serial>
132 <console type='pty'>
133 <target type='serial' port='0'/>
134 </console>
135 <channel type='unix'>
136 <target type='virtio' name='org.qemu.guest_agent.0'/>
137 <address type='virtio-serial' controller='0' bus='0' port='1'/>
138 </channel>
139 <input type='tablet' bus='usb'>
140 <address type='usb' bus='0' port='2'/>
141 </input>
142 <input type='mouse' bus='ps2'/>
143 <input type='keyboard' bus='ps2'/>
144 <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-gb'>
145 <listen type='address' address='0.0.0.0'/>
146 </graphics>
147 <video>
148 <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
149 <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
150 </video>
151 <hostdev mode='subsystem' type='pci' managed='yes'>
152 <driver name='vfio'/>
153 <source>
154 <address domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
155 </source>
156 <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
157 </hostdev>
158 <hostdev mode='subsystem' type='usb' managed='no'>
159 <source>
160 <vendor id='0x0b05'/>
161 <product id='0x17cf'/>
162 </source>
163 <address type='usb' bus='0' port='1'/>
164 </hostdev>
165 <memballoon model='none'/>
166 </devices>
167 </domain>