qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Bernhard Beschow <shentey@gmail.com>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
	qemu-devel@nongnu.org,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Jason Wang" <jasowang@redhat.com>,
	"Eduardo Habkost" <eduardo@habkost.net>,
	"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Sergio Lopez" <slp@redhat.com>, "Paul Durrant" <paul@xen.org>,
	"David Woodhouse" <dwmw2@infradead.org>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Igor Mammedov" <imammedo@redhat.com>,
	"Ani Sinha" <anisinha@redhat.com>
Subject: Re: [PATCH v3 1/4] hw/i386/pc: Remove "rtc_state" link again
Date: Tue, 5 Mar 2024 15:00:56 -0500	[thread overview]
Message-ID: <20240305150043-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <23F8A871-DE41-4B76-A78E-C3C517FF6319@gmail.com>

On Tue, Mar 05, 2024 at 07:54:40PM +0000, Bernhard Beschow wrote:
> 
> 
> Am 5. März 2024 15:57:08 UTC schrieb Peter Maydell <peter.maydell@linaro.org>:
> >On Sun, 3 Mar 2024 at 18:55, Bernhard Beschow <shentey@gmail.com> wrote:
> >>
> >> 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>
> >
> >Ah, I did wonder when I was working with this code whether that
> >rtc_state link was really necessary.
> >
> >We could now remove the rtc argument from the pc_cmos_init()
> >function, because we can guarantee that it's in x86ms->rtc,
> >which the function already has access to from its pcms argument.
> 
> This series goes one step further and inlines this function. It would be a nice to get some feedback before the freeze.
> 
> Best regards,
> Bernhard

I like it, I tagged it for merge.

> >
> >thanks
> >-- PMM



  reply	other threads:[~2024-03-05 20:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-03 18:53 [PATCH v3 0/4] Simplify initialization of PC machines Bernhard Beschow
2024-03-03 18:53 ` [PATCH v3 1/4] hw/i386/pc: Remove "rtc_state" link again Bernhard Beschow
2024-03-05 15:51   ` Philippe Mathieu-Daudé
2024-03-05 15:57   ` Peter Maydell
2024-03-05 19:54     ` Bernhard Beschow
2024-03-05 20:00       ` Michael S. Tsirkin [this message]
2024-03-03 18:53 ` [PATCH v3 2/4] hw/i386/pc: Avoid one use of the current_machine global Bernhard Beschow
2024-03-05 15:52   ` Philippe Mathieu-Daudé
2024-03-03 18:53 ` [PATCH v3 3/4] hw/i386/pc: Set "normal" boot device order in pc_basic_device_init() Bernhard Beschow
2024-03-03 18:53 ` [PATCH v3 4/4] hw/i386/pc: Inline pc_cmos_init() into pc_cmos_init_late() and remove it Bernhard Beschow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240305150043-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=anisinha@redhat.com \
    --cc=dwmw2@infradead.org \
    --cc=eduardo@habkost.net \
    --cc=imammedo@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=marcel.apfelbaum@gmail.com \
    --cc=paul@xen.org \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=shentey@gmail.com \
    --cc=slp@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).