Hi there,
I find a "problem" when I test device hot add in qemu monitor.
Here is the test step I did:
1. start qemu: ./qemu-system-x86_64 -M q35 -device
ioh3420,bus=pcie.0,addr=1a.0,port=1,id=bridge1,chassis=1 -hda
somelinuximg.qcow2 -smp 2 --enable-kvm -m 1024 --monitor stdio
2. device_add e1000,bus=bridge1,addr=00.0,id=net1,multifunction=on,
then I can see the NIC in VM shell via lspci & ifconfig, like following:
$lspci -t
-[0000:00]-+-00.0
+-01.0
+-02.0
+-1a.0-[01]----00.0
+-1f.0
+-1f.2
\-1f.3
3. device_add e1000,bus=bridge1,addr=01.0,id=net2,multifunction=on,
then I think I should see this net2 NIC in the VM, but actually not. the
lspci -t output is the same as step2, but I can see this device via
"info pci"
Could anyone give a hint why I can`t see the 2nd added device?
Thanks in advance!
--
Yours Sincerely,
Cao Jin