Re: [Qemu-devel] [PATCH v6 2/2] enable multi-function hot-add

2015-10-27 Thread Cao jin
Hi Alex On 10/27/2015 10:21 PM, Alex Williamson wrote: On Tue, 2015-10-27 at 20:51 +0800, Cao jin wrote: Enable PCIe device multi-function hot-add, just ensure function 0 is added last, then driver will got the notification to scan the slot. Signed-off-by: Cao jin --- hw/pci/pci.c |

Re: [Qemu-devel] [PATCH v6 2/2] enable multi-function hot-add

2015-10-27 Thread Alex Williamson
On Tue, 2015-10-27 at 20:51 +0800, Cao jin wrote: > Enable PCIe device multi-function hot-add, just ensure function 0 is added > last, then driver will got the notification to scan the slot. > > Signed-off-by: Cao jin > --- > hw/pci/pci.c | 40 +++- >

[Qemu-devel] [PATCH v6 2/2] enable multi-function hot-add

2015-10-27 Thread Cao jin
Enable PCIe device multi-function hot-add, just ensure function 0 is added last, then driver will got the notification to scan the slot. Signed-off-by: Cao jin --- hw/pci/pci.c | 40 +++- hw/pci/pci_host.c| 13 +++-- hw/pci/pcie.c|