diff options
author | 2024-02-24 14:58:50 +0100 | |
---|---|---|
committer | 2024-02-27 09:37:30 +0100 | |
commit | 99e1c1137b6f339be1e4b76e243ad7b7c3d3cb8c (patch) | |
tree | cfa9c310123e7ea548a151d5d5dcc5836bffe572 /gdbstub/user-target.c | |
parent | hw/i386/pc: Remove unneeded class attribute "kvmclock_enabled" (diff) | |
download | qemu-99e1c1137b6f339be1e4b76e243ad7b7c3d3cb8c.tar.xz 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 'gdbstub/user-target.c')
0 files changed, 0 insertions, 0 deletions