diff options
author | Bernhard Beschow <shentey@gmail.com> | 2024-02-24 14:58:50 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-27 09:37:30 +0100 |
commit | 99e1c1137b6f339be1e4b76e243ad7b7c3d3cb8c (patch) | |
tree | cfa9c310123e7ea548a151d5d5dcc5836bffe572 /hw/core/guest-loader.c | |
parent | 929cfe9885bfe71525df8ef054426196d6596b2c (diff) |
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 'hw/core/guest-loader.c')
0 files changed, 0 insertions, 0 deletions