[PATCH v2 0/2] improve qom debugging and fix a dangling MemoryRegion in rutabaga

Roman Kiryanov posted 2 patches 3 weeks, 5 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260428164545.2782523-1-rkir@google.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>, Dmitry Osipenko <dmitry.osipenko@collabora.com>, Paolo Bonzini <pbonzini@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>
hw/display/virtio-gpu-rutabaga.c | 1 +
qom/object.c                     | 6 +++++-
2 files changed, 6 insertions(+), 1 deletion(-)
[PATCH v2 0/2] improve qom debugging and fix a dangling MemoryRegion in rutabaga
Posted by Roman Kiryanov 3 weeks, 5 days ago
Hi, this series of patches fixes a dangling MemoryRegion
in rutabaga and also brings the debugging changes I used
to locate it.

Changes in v2:
- Updated clearing of obj->properties using g_clear_pointer.
- Moved clearing of obj->class into object_deinit.
- obj->class is checked to be NULL before obj->free(obj).

Roman Kiryanov (2):
  qom: improve use-after-free debugging
  display: rutabaga: unparent MemoryRegions in unmap

 hw/display/virtio-gpu-rutabaga.c | 1 +
 qom/object.c                     | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.54.0.545.g6539524ca2-goog