summary refs log tree commit diff stats
path: root/include/hw/ide/internal.h
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2024-02-24 14:58:50 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-27 09:37:30 +0100
commit99e1c1137b6f339be1e4b76e243ad7b7c3d3cb8c (patch)
treecfa9c310123e7ea548a151d5d5dcc5836bffe572 /include/hw/ide/internal.h
parent929cfe9885bfe71525df8ef054426196d6596b2c (diff)
downloadfocaccia-qemu-99e1c1137b6f339be1e4b76e243ad7b7c3d3cb8c.tar.gz
focaccia-qemu-99e1c1137b6f339be1e4b76e243ad7b7c3d3cb8c.zip
hw/i386/pc: Populate RTC attribute directly
Both the piix and the q35 machines introduce an rtc_state variable and defer the
initialization of the X86MachineState::rtc attribute to pc_cmos_init(). Resolve
this complication which makes pc_cmos_init() do what it says on the tin.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-ID: <20240224135851.100361-6-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include/hw/ide/internal.h')
0 files changed, 0 insertions, 0 deletions