All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eduardo Habkost <ehabkost@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Markus Armbruster" <armbru@redhat.com>,
	"QEMU Developers" <qemu-devel@nongnu.org>
Subject: Re: CPU reset vs DeviceState reset
Date: Mon, 2 Mar 2020 16:42:59 -0500	[thread overview]
Message-ID: <20200302214259.GP4440@habkost.net> (raw)
In-Reply-To: <CAFEAcA-GwNG0rvw3gVZMs2Nz05FUjzoiT-H+-FkwQAZzgC2tAw@mail.gmail.com>

On Mon, Mar 02, 2020 at 06:42:18PM +0000, Peter Maydell wrote:
> On Mon, 2 Mar 2020 at 18:19, Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
> > Without verifying the code base/commits, my understanding is that was
> > required to use cpu object with linux-user before Markus added support
> > for anonymous object container for QOM objects on linux-user. So now we
> > could make CPUClass inherits of DeviceClass.
> 
> CPUClass already does inherit from DeviceClass...

When CPUClass::reset was created, it didn't.  See commit
dd83b06ae61c ("qom: Introduce CPU class").

The "historical legacy" hypothesis seems accurate.

-- 
Eduardo



  reply	other threads:[~2020-03-02 21:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-02 17:20 CPU reset vs DeviceState reset Peter Maydell
2020-03-02 17:25 ` Peter Maydell
2020-03-02 17:45 ` Eduardo Habkost
2020-03-02 18:19   ` Philippe Mathieu-Daudé
2020-03-02 18:42     ` Peter Maydell
2020-03-02 21:42       ` Eduardo Habkost [this message]
2020-03-02 18:41   ` Peter Maydell
2020-03-02 21:40     ` Eduardo Habkost
2020-03-02 21:55       ` Peter Maydell
2020-03-02 22:12         ` Eduardo Habkost

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=20200302214259.GP4440@habkost.net \
    --to=ehabkost@redhat.com \
    --cc=armbru@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.