qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Support virtio-scsi-pci adapter hot-plug


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] Support virtio-scsi-pci adapter hot-plug
Date: Wed, 23 May 2012 16:30:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

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 <address@hidden>
>> > Signed-off-by: Sheng Liu <address@hidden>
> 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




reply via email to

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