From: Thomas Huth <thuth@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
Markus Armbruster <armbru@redhat.com>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"Andreas Färber" <afaerber@suse.de>
Subject: Re: [Qemu-devel] Object instantiation vs. device realization: what to do when?
Date: Fri, 15 Feb 2019 08:03:40 +0100 [thread overview]
Message-ID: <4374659d-dc3f-4fa4-9ee4-305ea702104a@redhat.com> (raw)
In-Reply-To: <CAFEAcA-9rhR3qiTZQx=oYtodfpo81wMWKFafboHR7uN0wRNccw@mail.gmail.com>
On 14/02/2019 17.33, Peter Maydell wrote:
> On Thu, 14 Feb 2019 at 16:21, Markus Armbruster <armbru@redhat.com> wrote:
>>
>> One of qdev's perennial sources of confusion is what to do at object
>> instantiation time, i.e. in TypeInfo::instance_init(), and what to do at
>> device realization time, i.e. in DeviceClass::realize().
>
> Thanks for opening this topic. It's been on my todo list for a
> long time to try to figure out what the answer is...
I also got no proper answers here, but FWIW, I wrote down some things I
noticed last year here:
http://people.redhat.com/~thuth/blog/qemu/2018/09/10/instance-init-realize.html
Thomas
next prev parent reply other threads:[~2019-02-15 7:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-14 16:21 [Qemu-devel] Object instantiation vs. device realization: what to do when? Markus Armbruster
2019-02-14 16:33 ` Peter Maydell
2019-02-15 7:03 ` Thomas Huth [this message]
2019-02-18 19:08 ` Markus Armbruster
2019-02-14 16:58 ` Paolo Bonzini
2019-02-18 16:01 ` Markus Armbruster
2019-02-18 16:38 ` Paolo Bonzini
2019-02-19 10:38 ` Igor Mammedov
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=4374659d-dc3f-4fa4-9ee4-305ea702104a@redhat.com \
--to=thuth@redhat.com \
--cc=afaerber@suse.de \
--cc=armbru@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--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 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).