Support PCI-e device hot-add multi-function via device_add, just ensure add the function 0 is added last. While allow user to roll back in the middle via device_del, in case user regret.
Cao jin (2): PCI-e device multi-function hot-add support PCI-e device multi-function hot-add support hw/pci/pcie.c | 48 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 13 deletions(-) -- 2.1.0