diff options
author | Bernhard Beschow <shentey@gmail.com> | 2024-03-03 19:53:29 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-03-12 17:56:55 -0400 |
commit | 6cd2b093e771ee606b4e065f615d9b2fafd76d22 (patch) | |
tree | 4a7399453ad8a76ccdba6d673ad8c5bc56f56a21 /hw | |
parent | f2cb9f34ad8591a7530ecec856f2302bb3efd71e (diff) | |
download | qemu-6cd2b093e771ee606b4e065f615d9b2fafd76d22.zip qemu-6cd2b093e771ee606b4e065f615d9b2fafd76d22.tar.gz qemu-6cd2b093e771ee606b4e065f615d9b2fafd76d22.tar.bz2 |
hw/i386/pc: Remove "rtc_state" link again
Commit 99e1c1137b6f "hw/i386/pc: Populate RTC attribute directly" made linking
the "rtc_state" property unnecessary and removed it. Commit 84e945aad2d0 "vl,
pc: turn -no-fd-bootchk into a machine property" accidently reintroduced the
link. Remove it again since it is not needed.
Fixes: 84e945aad2d0 "vl, pc: turn -no-fd-bootchk into a machine property"
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20240303185332.1408-2-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/i386/pc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 24e8879..98bcf4d 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -613,14 +613,6 @@ void pc_cmos_init(PCMachineState *pcms, mc146818rtc_set_cmos_data(s, 0x5c, val >> 8); mc146818rtc_set_cmos_data(s, 0x5d, val >> 16); - object_property_add_link(OBJECT(pcms), "rtc_state", - TYPE_ISA_DEVICE, - (Object **)&x86ms->rtc, - object_property_allow_set_link, - OBJ_PROP_LINK_STRONG); - object_property_set_link(OBJECT(pcms), "rtc_state", OBJECT(s), - &error_abort); - set_boot_dev(pcms, s, MACHINE(pcms)->boot_config.order, &error_fatal); val = 0; |