On 09/16/2015 10:02 AM, Cao jin wrote:
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.

According to Alex`s comment, v2 has following update:
1. patch 1/2 remove if() which seems breaks the assumptions elsewhere
2. patch 2/2 change device_del process: qemu fake the device detach condition,
    make OS trigger the action

Cao jin (2):
   PCI-e device multi-function hot-add support
   PCI-e device multi-function hot-add support

  hw/pci/pcie.c | 36 +++++++++++++++++++++++++++---------
  1 file changed, 27 insertions(+), 9 deletions(-)


--
Yours Sincerely,

Cao Jin

Reply via email to