On Wed, Aug 27, 2025 at 12:42 PM <marcandre.lur...@redhat.com> wrote: > From: Marc-André Lureau <marcandre.lur...@redhat.com> > Hi, > > qemu-api is providing bindings for various internal libraries. Instead, the > bindings requirements should match the various libraries and use the minimal > set > of dependencies. > > An initial Rust-only "common" crate is introduced, then "util" (for > libqemuutil, > without bql), "migration" (so it doesn't depend on bql), "bql", "qom" > (arguably, > bql shouldn't be required?), and "chardev", "system", "hwcore". Finally the > qemu-api crates are renamed and repurposed.
The only question I have is about having bindings in each crate rather than in a single common crate. I'm okay with doing this on top, especially given that I spent too much time rebasing on top of all the pending patches. :) Right now I'm stuck with doctests failures with the patches that use Meson's new support for mixed C and Rust targets. I'll probably drop that, but (as a heads up) I"m probably not going to send out a pull request until after KVM Forum. Paolo