Hi On Tue, Aug 26, 2025 at 6:55 PM Paolo Bonzini <pbonz...@redhat.com> wrote: > > On 8/26/25 16:04, marcandre.lur...@redhat.com wrote: > > From: Marc-André Lureau <marcandre.lur...@redhat.com> > > > > Since "qemu_api" is no longer the unique crate to provide APIs. > > In addition to renaming, maybe you can re-export the macros from the > appropriate crate? > > derive(Object) -> qom > derive(Wrapper) -> common > derive(TryInto) -> common > derive(Device) -> hwcore > > That is, keep a single qemu_api_macros crate for the implementation but > allow using the nicer #[derive(qom::Object)]. >
Good idea! working on it -- Marc-André Lureau