Re: Rust in QEMU roadmap

2024-12-05 Thread Paul Durrant
On 05/12/2024 12:00, Daniel P. Berrangé wrote: On Wed, Nov 27, 2024 at 01:22:00PM +0100, Paolo Bonzini wrote: On Wed, Nov 27, 2024 at 1:18 PM Daniel P. Berrangé wrote: I question the usefulness of the 'syslog' trace target. I can't see it being desirable as a option for 'production' builds, an

Re: Rust in QEMU roadmap

2024-12-05 Thread Daniel P . Berrangé
On Wed, Nov 27, 2024 at 01:22:00PM +0100, Paolo Bonzini wrote: > On Wed, Nov 27, 2024 at 1:18 PM Daniel P. Berrangé > wrote: > > I question the usefulness of the 'syslog' trace target. I can't see > > it being desirable as a option for 'production' builds, and it seems > > uneccessarily indirect

Re: Rust in QEMU roadmap

2024-12-01 Thread Paolo Bonzini
On Tue, Nov 26, 2024 at 6:48 PM Paolo Bonzini wrote: > Callbacks > ' > > This is the least mature of the "urgent" changes, and perhaps the more > important to have a good design for. PL011 has callbacks for character > devices and memory regions, but other usecases include timers, bottom

Re: Rust in QEMU roadmap

2024-11-27 Thread Daniel P . Berrangé
On Tue, Nov 26, 2024 at 06:46:45PM +0100, Paolo Bonzini wrote: > Feature parity for pl011 device > ''' > > Some recent pl011 commits are missing in the Rust version. Philippe > volunteered to port them to teach himself Rust. > > Philippe also has a series to implement

Re: Rust in QEMU roadmap

2024-11-27 Thread Paolo Bonzini
On Wed, Nov 27, 2024 at 1:18 PM Daniel P. Berrangé wrote: > I question the usefulness of the 'syslog' trace target. I can't see > it being desirable as a option for 'production' builds, and it seems > uneccessarily indirect for developers. What's its compelling USP ? > > WRT 'ftrace', IIUC, the Li

Re: Rust in QEMU roadmap

2024-11-27 Thread Daniel P . Berrangé
On Wed, Nov 27, 2024 at 05:47:19AM -0500, Stefan Hajnoczi wrote: > On Tue, 26 Nov 2024 at 13:04, Paolo Bonzini wrote: > > Tracing/logging > > ''' > > > > Tracepoints and logging are not supported yet, and no one has started > > working > > on it. > > > > For tracing, it's not clear to

Re: Rust in QEMU roadmap

2024-11-27 Thread Stefan Hajnoczi
On Tue, 26 Nov 2024 at 13:04, Paolo Bonzini wrote: > Tracing/logging > ''' > > Tracepoints and logging are not supported yet, and no one has started working > on it. > > For tracing, it's not clear to me how much C code can be reused and how > much Rust code can be automatically genera

Re: Rust in QEMU roadmap

2024-11-27 Thread Paolo Bonzini
Il mer 27 nov 2024, 07:28 Zhao Liu ha scritto: > Hi Paolo, thanks for your sharing and summary, do you have the plan > about custom allocator (QemuAllocator in rust/qemu-api/src/lib.rs)? > No plan yet, but we'll see once we introduce C data structures allocated from Rust. Adding the libc crate t

Re: Rust in QEMU roadmap

2024-11-26 Thread Zhao Liu
On Tue, Nov 26, 2024 at 06:46:45PM +0100, Paolo Bonzini wrote: > Date: Tue, 26 Nov 2024 18:46:45 +0100 > From: Paolo Bonzini > Subject: Rust in QEMU roadmap > X-Mailer: git-send-email 2.47.0 > > [several people are in bcc. You can follow the thread at > > https://lo

Rust in QEMU roadmap

2024-11-26 Thread Paolo Bonzini
[several people are in bcc. You can follow the thread at https://lore.kernel.org/r/cc40943e-dec1-4890-a1d9-579350ce296f@pbonzini.local] Based on the content presented in the community calls, here are some ideas for future Rust in QEMU subprojects. This is by no means exhaustive, for example QAP