aboutsummaryrefslogtreecommitdiff
path: root/block/qcow2-snapshot.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-05-02 18:39:31 +0200
committerLaurent Vivier <laurent@vivier.eu>2021-05-13 18:05:22 +0200
commitfae5a0420754453beca3407250899254fb6745a1 (patch)
tree9d0f760f6f6d075ee8e80fb8b971a9159f611a44 /block/qcow2-snapshot.c
parent72fe4742c6e7fa3d237b5cb5866dfaf7733141e9 (diff)
hw/rtc/mc146818rtc: Convert to 3-phase reset (Resettable interface)
TYPE_MC146818_RTC is an ISA device, so its DeviceClass::reset() handler is called automatically when its qbus parent is reset (we don't need to register it manually). We have 2 reset() methods: a generic one and the qdev one. Merge them into a reset_enter handler (keeping the IRQ lowering to a reset_hold one), and remove the qemu_register_reset() call. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-Id: <20210502163931.552675-3-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'block/qcow2-snapshot.c')
0 files changed, 0 insertions, 0 deletions