[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Can`t find the 2nd hot added device in QEMU

From: Cao jin
Subject: [Qemu-discuss] Can`t find the 2nd hot added device in QEMU
Date: Sun, 6 Sep 2015 18:44:51 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

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

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]