From nobody Sun Feb 8 13:38:40 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1710283376; cv=none; d=zohomail.com; s=zohoarc; b=PUL4+fG9W8cQAWNPNvu8lRuUqOm1AMNcGaw9znFd8NzYB4Cnc4uVf8J8yVn9XaZ5JBNSoXebOHAuH3Z5oUM++6vwmbHhTeX0W4JpMX4To2WMGU8xFRFGsv7ngWiviLpSoo/8YwNtvjzl3DuNT2OioJ7jUxoTlgAithGagBHtUsU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1710283376; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=NyTDZtJqprCGpfIUlVDmTHoGSmpXfrw9EDci6rQtZxA=; b=EdfiqFsc2l44V3OzbWC2LQmd11IQEac80IKjkz9WVcPEcpKzB9WmViy8dziYS5gl7KVhoiOm3ofY0Fo89n2r4sFhNNzqPMZbnD3fbJnUJga3BhNd5WQ04XCOfiK/D2byNuWdYGKq+cHr2kSaCa7BnUScf0K0hY/FWfnwAq9KSkI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 171028337687434.573833414338424; Tue, 12 Mar 2024 15:42:56 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkAbp-0002Z3-NL; Tue, 12 Mar 2024 18:28:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkAbc-00020D-4g for qemu-devel@nongnu.org; Tue, 12 Mar 2024 18:28:20 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkAba-0004X8-Bv for qemu-devel@nongnu.org; Tue, 12 Mar 2024 18:28:19 -0400 Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-495-iUMbNeYHOpSVkMigWTgExg-1; Tue, 12 Mar 2024 18:28:16 -0400 Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-51321a5bfadso4755305e87.2 for ; Tue, 12 Mar 2024 15:28:16 -0700 (PDT) Received: from redhat.com ([2.52.134.16]) by smtp.gmail.com with ESMTPSA id hg13-20020a1709072ccd00b00a45fefe4fc5sm4177062ejc.135.2024.03.12.15.28.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 15:28:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710282497; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NyTDZtJqprCGpfIUlVDmTHoGSmpXfrw9EDci6rQtZxA=; b=MEJ/q3U7lbGncX9W1wSzev+wYDKPxCy69epDAOnX8VokizfFNTYtqwKgwcjb4sTeEIpwcP 2MGU38ZUzHwzpNrotXnSSUsvx7ixpT9D7QQz/peszosXSQM1zyStjAuYcV7qowdJ2vDfkB KTWBFsCgcvTfpO4Nn4luTo0jmVpa3no= X-MC-Unique: iUMbNeYHOpSVkMigWTgExg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710282494; x=1710887294; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NyTDZtJqprCGpfIUlVDmTHoGSmpXfrw9EDci6rQtZxA=; b=lYD+HmCCukaRtLbzRy7FI9UYSe3kVW8Wz/U4MmPghDlVOWeNgijV7m4v5FeyWOFCmV /gLRCVdwociA/NkRJe0puL0Xmodykk8onobvF563fGwEM/Z6h7ZagzfNnWv7kq9jhUE/ cTd5MPxqs13U+yLZr63EIjDNewMnoBygg+amAQtls8vguhv05Bf91LlrANjo5z2TlBJP +l608Qox6DjWrAKW33VPwQRUu1kDCUl/mHGL3NLA/up6ADILt5NBFLiePGztSDPsN3ce DdWGfo8aNxOn5v4E3x6IMECJDyxvCk+kshUzdC9LgLCTmv3Ih93LrXoeGSTV1CVczeRN i0FA== X-Gm-Message-State: AOJu0YxN4VoTziBKtbDCLp9IDw+nL/9JVaRVXSf94ZGo5h5JeMrBWMwK xc0WTqP5uBPZWwQtS6BopmgtZLMEFwBlxJ8sFD/iFi40OVUan2v0NHBgFv1kChBzJogNL1vBOVq GCbVIEm2bwFBxJomO4iuDWlsYh+JVVjWOmGTubGapG9K86AsaTDkIbf/HkpjU4K8gt/Ozu9nicA Id+kg+7G8+1WTj/eyWGeBoDur2YlLIDp3I X-Received: by 2002:a19:7716:0:b0:513:c2ad:8b05 with SMTP id s22-20020a197716000000b00513c2ad8b05mr1527207lfc.34.1710282494485; Tue, 12 Mar 2024 15:28:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEoT3EBjmE5J0rOuPHNW2bsAhQYWyg6iyV/T/p+/qWFcprUA9KkMDQaABu4OtI5BIzRyKsm9w== X-Received: by 2002:a19:7716:0:b0:513:c2ad:8b05 with SMTP id s22-20020a197716000000b00513c2ad8b05mr1527193lfc.34.1710282494010; Tue, 12 Mar 2024 15:28:14 -0700 (PDT) Date: Tue, 12 Mar 2024 18:28:10 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell , Bernhard Beschow , Paolo Bonzini , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Richard Henderson , Eduardo Habkost , Marcel Apfelbaum Subject: [PULL 50/68] hw/i386/pc: Remove "rtc_state" link again Message-ID: <6cd2b093e771ee606b4e065f615d9b2fafd76d22.1710282274.git.mst@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1 X-Mutt-Fcc: =sent Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.687, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1710283378186100007 From: Bernhard Beschow Commit 99e1c1137b6f "hw/i386/pc: Populate RTC attribute directly" made link= ing the "rtc_state" property unnecessary and removed it. Commit 84e945aad2d0 "v= l, 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 Signed-off-by: Bernhard Beschow Message-Id: <20240303185332.1408-2-shentey@gmail.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/i386/pc.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 24e8879894..98bcf4d420 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); =20 - 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); =20 val =3D 0; --=20 MST