[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/3] Refactor device_set_realized to avoid resour
From: |
arei.gonglei |
Subject: |
[Qemu-devel] [PATCH v2 0/3] Refactor device_set_realized to avoid resource leak. |
Date: |
Thu, 21 Aug 2014 10:11:24 +0800 |
From: Gonglei <address@hidden>
after committing
[PATCH v6 0/9] Refactor PCI/SHPC/PCIE hotplug to use a more generic hotplug API
If devcie hotplugging failed, will casuse resource leak.
This patch series include address resouce leak and two other issuses.
v2 -> v1:
- rewrite patch 1/3, using error_abort instead of local_err.
- rewrite patch 2/3, add cleanup logic for different error embranchment.
- rewrite title of patch 3/3, and a syntax fix.
Thanks for Peter's help.
Gonglei (3):
qdev: using error_abort instead of using local_err
qdev: add cleanup logic in device_set_realized() to avoid resource
leak
pcie: don't assert when hotplug a PCIe device with 'function != 0'
hw/core/qdev.c | 62 +++++++++++++++++++++++++++++++++++++---------------------
hw/pci/pcie.c | 6 +++++-
2 files changed, 45 insertions(+), 23 deletions(-)
--
1.7.12.4
- [Qemu-devel] [PATCH v2 0/3] Refactor device_set_realized to avoid resource leak.,
arei.gonglei <=