mirror of https://github.com/xemu-project/xemu.git
Revert "pcie_sriov: Release VFs failed to realize"
This reverts commit 1a9bf00901
.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
ae9c192de7
commit
9bab08da4e
|
@ -99,8 +99,6 @@ bool pcie_sriov_pf_init(PCIDevice *dev, uint16_t offset,
|
|||
vf->exp.sriov_vf.vf_number = i;
|
||||
|
||||
if (!qdev_realize(&vf->qdev, bus, errp)) {
|
||||
object_unparent(OBJECT(vf));
|
||||
object_unref(vf);
|
||||
unparent_vfs(dev, i);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue