[Kimchi-devel] RFC - PCI Hot Plug

Jose Ricardo Ziviani joserz at linux.vnet.ibm.com
Fri Mar 27 18:22:19 UTC 2015


Hello everybody!

I tried PCI Hot Plug in Kimchi but it didn't work as expected. Once my 
VM was running I plugged my audio device into my VM successfully, I was 
able to use it flawlessly.

However, if I reboot (or completely turn off/on), the VM will not boot 
anymore. It tries to exclusively get the device but for some reason 
(libvirt bug?) that device was not detached from the host. Then, I must 
to turn off the VM amd remove the PCI using Kimchi to be able to boot it 
again.

Such behavior doesn't happen if I add the PCI when the VM is turned off. 
Also, virt-manager doesn't look to support hot plug, it throws a libvirt 
exception (libvirtmod.virDomainAttachDevice) if I try to add a PCI while 
VM is running.

Does anybody have experienced it before, any advise?

Thank you


-- 
Jose Ricardo Ziviani
-----------------------------
Software Engineer
Linux Technology Center - IBM




More information about the Kimchi-devel mailing list