remove function during multi-function hot-add
commit0d1c7d88ad909c5b2bd86211a9fe8abf5c74993b
authorCao jin <caoj.fnst@cn.fujitsu.com>
Wed, 28 Oct 2015 06:20:30 +0000 (28 14:20 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 29 Oct 2015 09:17:52 +0000 (29 11:17 +0200)
tree1ff174b0b230dd25cb3f36c813e2d8776bd44a3f
parent3595e2eb0a233a881789fcc71f5b1072e5aaf669
remove function during multi-function hot-add

In case user want to cancel the hot-add operation, should roll back,
device_del the added function that still don`t work.

Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pcie.c