Skip to contentSkip to conversation

Hotplug rescan/remove by manual

Qemu-devel Liu, Jing2 1 participant 1 message Nov 29, 2018

lore
Share & tools
lore

Liu, Jing2

author
#0 lore raw

Hi guys,
When I tested hotplug on pci.0 on pc platform, it seems that we have to
echo 1 > /sys/bus/pci/rescan manually in guest? Is this a non-complete feature because of something like gpe interrupt issue? For hot-unplug, I uses echo 1 > /sys/bus/pci/<device>/remove but this
seems only remove the device in guest but we still can see it in qemu monitor by "info pci". I guess this is not a right way to unplug. I'm not sure if I missed something?

Looking forwards to your response.
Thanks!

Jing