<div dir="ltr">Hi ,<div><br></div><div>Trying to attach a disk to existing VM using virsh attach-device - </div><div><br></div><div><br></div><div>XML </div><div><br></div><div><div><disk type='file' device='disk'></div><div>      <driver name='qemu' type='qcow2' cache='none' io='native'/></div><div>      <source file='/var/lib/libvirt/images/guest.qcow2'/></div><div>      <target dev='vdc' bus='virtio'/></div><div></disk></div></div><div><br></div><div><br></div><div>After executing the command I am getting - </div><div><br></div><div><div>[root@cent7 ~]# virsh attach-device lib-virt-man-001 newDisk.xml</div><div>error: Failed to attach device from newDisk.xml</div><div>error: internal error: unable to execute QEMU command 'device_add': Bus 'pci.0' does not support hotplugging.</div></div><div><br></div><div><div><br></div><div>[root@cent7 ~]# virsh version</div><div>Compiled against library: libvirt 1.2.17</div><div>Using library: libvirt 1.2.17</div><div>Using API: QEMU 1.2.17</div><div>Running hypervisor: QEMU 1.5.3</div></div><div><br></div><div><br></div><div><br></div><div>While searching on this issue found that some have suggested to install following - </div><div><pre><code><font face="arial, helvetica, sans-serif">modprobe acpiphp</font></code></pre><pre><font face="arial, helvetica, sans-serif"><code>modprobe pci_hotplug</code></font></pre><pre><span style="color:rgb(31,73,125)"><font face="arial, helvetica, sans-serif"> I am not sure if this is QEMU issue or libvirt issue. </font></span></pre><pre><font face="arial, helvetica, sans-serif">Any help in this would be appreciated.</font></pre><pre><font face="arial, helvetica, sans-serif">Thanks,</font></pre><pre><font face="arial, helvetica, sans-serif">Keyur Bhalerao</font></pre><pre><br></pre></div></div>