[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] qemu/timer: Clarify QEMUTimer new/free API
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/2] qemu/timer: Clarify QEMUTimer new/free API |
Date: |
Sat, 25 Jan 2025 19:24:23 +0100 |
Update few QEMUTimer docstring and add a
sanity check during timer initialization.
Noticed trying to understand leaks in QDev
Realize -> Unrealize -> Realize transition.
Philippe Mathieu-Daudé (2):
qemu/timer: Clarify timer_new*() must be freed with timer_free()
qemu/timer: Sanity check timer_list in timer_init_full()
include/qemu/timer.h | 12 +++++++++++-
util/qemu-timer.c | 1 +
2 files changed, 12 insertions(+), 1 deletion(-)
--
2.47.1
- [PATCH 0/2] qemu/timer: Clarify QEMUTimer new/free API,
Philippe Mathieu-Daudé <=