From: Peter Maydell <peter.maydell@linaro.org>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Alistair Francis" <alistair.francis@wdc.com>,
"Alessandro Di Federico" <ale@rev.ng>,
"Anton Johansson" <anjo@rev.ng>,
"Markus Armbruster" <armbru@redhat.com>,
"Brian Cain" <bcain@quicinc.com>,
"Daniel P. Berrange" <berrange@redhat.com>,
"Chao Peng" <chao.p.peng@linux.intel.com>,
cjia@nvidia.com, "Cédric Le Goater" <clg@kaod.org>,
cw@f00f.org, dhedde@kalrayinc.com,
"Eric Blake" <eblake@redhat.com>,
eblot@rivosinc.com,
"Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
"Eduardo Habkost" <eduardo@habkost.net>,
"Elena Ufimtseva" <elena.ufimtseva@oracle.com>,
"Auger Eric" <eric.auger@redhat.com>,
felipe@nutanix.com, iggy@theiggy.com,
"Warner Losh" <imp@bsdimp.com>, "Jan Kiszka" <jan.kiszka@web.de>,
"Jason Gunthorpe" <jgg@nvidia.com>,
jidong.xiao@gmail.com, "Jim Shu" <jim.shu@sifive.com>,
"Joao Martins" <joao.m.martins@oracle.com>,
"Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>,
"Luc Michel" <luc@lmichel.fr>,
"Manos Pitsidianakis" <manos.pitsidianakis@linaro.org>,
"Max Chou" <max.chou@sifive.com>,
"Mark Burton" <mburton@qti.qualcomm.com>,
mdean@redhat.com, mimu@linux.vnet.ibm.com, "Ho,
Nelson" <nelson.ho@windriver.com>,
"Paul Walmsley" <paul.walmsley@sifive.com>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"Roberto Campesato" <rbc@meta.com>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Shameerali Kolothum Thodi"
<shameerali.kolothum.thodi@huawei.com>,
"Bernhard Beschow" <shentey@gmail.com>,
"Stefan Hajnoczi" <stefanha@gmail.com>,
"Thomas Huth" <thuth@redhat.com>,
"Wei Wang" <wei.w.wang@intel.com>,
z.huo@139.com, "LIU Zhiwei" <zhiwei_liu@linux.alibaba.com>,
zwu.kernel@gmail.com
Subject: Re: KVM/QEMU community call agenda items for 18/2/25
Date: Tue, 18 Feb 2025 16:51:49 +0000 [thread overview]
Message-ID: <CAFEAcA8-yKK9ud4dUF2bEiK=VLpZdw53+smoxdHB48NeMHsw8g@mail.gmail.com> (raw)
In-Reply-To: <887b8dba-2a23-4e14-8388-729cbbccfd6e@linaro.org>
On Tue, 18 Feb 2025 at 16:42, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
> - About { embedded / heap allocated } QOM objects: In C developers
> don't want to give away the embedded model, as it offers free
> type checks (while heap-alloc must use runtime checks). IIUC with
> Rust it is the opposite, you mentioned is simpler to get build time
> checks with the heap-alloc version, is that right? (I didn't took
> particular notes about it). I'm interested because for declarative
> dynamic machines modelling, it is simpler to use the heap to allocate
> the objects, and I'd like to promote that more.
Mmm, I vaguely recall a discussion in a QEMU Summit a few years
back about this; we've got a mix of embedded-allocation and
the (older style) heap-alloc, but we aren't necessarily
completely wedded to embedded-allocation and for dynamic
machine creation heap-alloc is more natural.
-- PMM
prev parent reply other threads:[~2025-02-18 16:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-14 9:59 KVM/QEMU community call agenda items for 18/2/25 Alex Bennée
2025-02-18 15:52 ` Alex Bennée
2025-02-18 16:42 ` Philippe Mathieu-Daudé
2025-02-18 16:51 ` Peter Maydell [this message]
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='CAFEAcA8-yKK9ud4dUF2bEiK=VLpZdw53+smoxdHB48NeMHsw8g@mail.gmail.com' \
--to=peter.maydell@linaro.org \
--cc=ale@rev.ng \
--cc=alex.bennee@linaro.org \
--cc=alistair.francis@wdc.com \
--cc=anjo@rev.ng \
--cc=armbru@redhat.com \
--cc=bcain@quicinc.com \
--cc=berrange@redhat.com \
--cc=chao.p.peng@linux.intel.com \
--cc=cjia@nvidia.com \
--cc=clg@kaod.org \
--cc=cw@f00f.org \
--cc=dhedde@kalrayinc.com \
--cc=eblake@redhat.com \
--cc=eblot@rivosinc.com \
--cc=edgar.iglesias@gmail.com \
--cc=eduardo@habkost.net \
--cc=elena.ufimtseva@oracle.com \
--cc=eric.auger@redhat.com \
--cc=felipe@nutanix.com \
--cc=iggy@theiggy.com \
--cc=imp@bsdimp.com \
--cc=jan.kiszka@web.de \
--cc=jgg@nvidia.com \
--cc=jidong.xiao@gmail.com \
--cc=jim.shu@sifive.com \
--cc=joao.m.martins@oracle.com \
--cc=konrad.wilk@oracle.com \
--cc=luc@lmichel.fr \
--cc=manos.pitsidianakis@linaro.org \
--cc=max.chou@sifive.com \
--cc=mburton@qti.qualcomm.com \
--cc=mdean@redhat.com \
--cc=mimu@linux.vnet.ibm.com \
--cc=nelson.ho@windriver.com \
--cc=paul.walmsley@sifive.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rbc@meta.com \
--cc=richard.henderson@linaro.org \
--cc=shameerali.kolothum.thodi@huawei.com \
--cc=shentey@gmail.com \
--cc=stefanha@gmail.com \
--cc=thuth@redhat.com \
--cc=wei.w.wang@intel.com \
--cc=z.huo@139.com \
--cc=zhiwei_liu@linux.alibaba.com \
--cc=zwu.kernel@gmail.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).