diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2021-10-29 23:02:09 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-10-30 18:39:37 +0200 |
commit | 5b344b02e1813c6823e76ea981a56e7b432985a4 (patch) | |
tree | 6062948445e6911f6d6d8061c0b4d57c75c2d97e /python | |
parent | 2f6df13748a7de19ab150a52af846f70303746e5 (diff) | |
download | qemu-5b344b02e1813c6823e76ea981a56e7b432985a4.zip qemu-5b344b02e1813c6823e76ea981a56e7b432985a4.tar.gz qemu-5b344b02e1813c6823e76ea981a56e7b432985a4.tar.bz2 |
hw/char/sh_serial: Embed QEMUTimer in state struct
Instead of allocating timer with timer_new store it directly in the
state struct. This makes it simpler to free it together with the device.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <fd01eb3720ec32dab06e03019f72f3e177033679.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions