Re: [PATCH] PCI: Can continually add funcs after adding func0

2012-03-14 Thread Michael S. Tsirkin
On Fri, Jan 27, 2012 at 09:17:21AM -0800, Jesse Barnes wrote: On Mon, 5 Dec 2011 11:21:24 -0800 Jesse Barnes jbar...@virtuousgeek.org wrote: On Fri, 25 Nov 2011 15:03:07 +0800 Amos Kong ak...@redhat.com wrote: Boot up a KVM guest, and hotplug multifunction

[PATCH] PCI: Can continually add funcs after adding func0

2011-11-24 Thread Amos Kong
Boot up a KVM guest, and hotplug multifunction devices(func1,func2,func0,func3) to guest. for i in 1 2 0 3;do qemu-img create /tmp/resize$i.qcow2 1G -f qcow2 (qemu) drive_add 0x11.$i id=drv11$i,if=none,file=/tmp/resize$i.qcow2 (qemu) device_add