Il 23/05/2012 16:12, Michael S. Tsirkin ha scritto: >> > 2, Run qemu with the option -monitor. >> > >> > 3, In the guest, insert necessary modules: >> > for m in acpiphp pci_hotplug; do sudo modprobe ${m}; done >> > >> > 4, In the qemu monitor,hot add a virtio-scsi-pci adapter: >> > (qemu)pci_add auto storage if=virtio-scsi-pci >> > >> > 5, Check whether the controller was added: >> > Guest: lspci >> > Qemu: (qemu)info qtree >> > >> > Signed-off-by: Kelvin Wang <senw...@linux.vnet.ibm.com> >> > Signed-off-by: Sheng Liu <liush...@linux.vnet.ibm.com> > NAK > > Do not use pci_add. It is a compatibility command. > Use the new style device_add. > Same for if=. > > I think you won't need any changes then? >
You don't. You need to rescan the bus manually in the guest, that's all. Paolo