projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae9c192
)
Revert "pcie_sriov: Release VFs failed to realize"
author
Michael S. Tsirkin
<mst@redhat.com>
Thu, 1 Aug 2024 07:44:41 +0000
(
03:44
-0400)
committer
Michael S. Tsirkin
<mst@redhat.com>
Thu, 1 Aug 2024 08:32:00 +0000
(
04:32
-0400)
This reverts commit
1a9bf009012e590cb166a4a9bae4bc18fb084d76
.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pcie_sriov.c
patch
|
blob
|
history
diff --git
a/hw/pci/pcie_sriov.c
b/hw/pci/pcie_sriov.c
index 9bd7f8acc3f430f8c71efa3e74eab6948805e4e3..faadb0d2ea852ea282d2a56c9a56b16da7d122e6 100644
(file)
--- a/
hw/pci/pcie_sriov.c
+++ b/
hw/pci/pcie_sriov.c
@@
-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;
}