qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: "Alex Bennée" <alex.bennee@linaro.org>,
	"Paolo Bonzini" <pbonzini@redhat.com>
Cc: "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>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"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 17:42:10 +0100	[thread overview]
Message-ID: <887b8dba-2a23-4e14-8388-729cbbccfd6e@linaro.org> (raw)
In-Reply-To: <87o6yzjlni.fsf@draig.linaro.org>

On 18/2/25 16:52, Alex Bennée wrote:
> Alex Bennée <alex.bennee@linaro.org> writes:
> 
>> Hi,
>>
>> The KVM/QEMU community call is at:
>>
>> https://meet.jit.si/kvmcallmeeting
>> @
>> 18/02/2025 14:00 UTC
>>
>> Paolo is going to give another rust update along with an overview of
>> how a rust backend goes together.
> 
> You can view/download the video from:
> https://fileserver.linaro.org/s/zQzSmd92ecaT5dN

My notes and few questions for Paolo:

- w.r.t. endianness API, this form seems more natural to my
   C background:

     let hval: address_space_memory.load::<LE16>(hwaddr);

- w.r.t. VMState I understand we'll have machines with a mix of C
   and Rust device model implementations, so we'll have to stick to
   the C migration serialization, and can't take benefit of Rust one.

- Can the Fifo implementation in rust/hw/char/pl011/src/device.rs
   be extracted as "qemu/fifo32.h"?

- Can we remove native_endian() from rust/qemu-api/src/memory.rs,
   as we are trying to get rid of DEVICE_NATIVE_ENDIAN?

- 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.

- I noticed trace event calls are commented, what is the plan?

Regards,

Phil.


  reply	other threads:[~2025-02-18 16:42 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é [this message]
2025-02-18 16:51     ` Peter Maydell

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=887b8dba-2a23-4e14-8388-729cbbccfd6e@linaro.org \
    --to=philmd@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=peter.maydell@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).