Re: [Qemu-devel] [PATCH 1/2] PCI-e device multi-function hot-add support

2015-09-14 Thread Cao jin
Hi, Alex, Thanks very much for your quick review and I am sorry for my late response. On 09/10/2015 11:29 PM, Alex Williamson wrote: On Thu, 2015-09-10 at 20:12 +0800, Cao jin wrote: Enable PCI-e device multifunction hot, just ensure the function 0 added last, then driver will got the not

Re: [Qemu-devel] [PATCH 1/2] PCI-e device multi-function hot-add support

2015-09-10 Thread Alex Williamson
On Thu, 2015-09-10 at 20:12 +0800, Cao jin wrote: > Enable PCI-e device multifunction hot, just ensure the function 0 > added last, then driver will got the notification to scan all the > function in the slot. > > Signed-off-by: Cao jin > --- > hw/pci/pcie.c | 22 +- > 1 file

[Qemu-devel] [PATCH 1/2] PCI-e device multi-function hot-add support

2015-09-10 Thread Cao jin
Enable PCI-e device multifunction hot, just ensure the function 0 added last, then driver will got the notification to scan all the function in the slot. Signed-off-by: Cao jin --- hw/pci/pcie.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/hw/pci/pc