On Thu, 30 Apr 2026 at 05:48, Markus Armbruster <[email protected]> wrote:
>
> Ruslan Ruslichenko <[email protected]> writes:
>
> > On Mon, Apr 13, 2026 at 4:04 PM Ruslan Ruslichenko
> > <[email protected]> wrote:
> >> Yes, it would be good to include this project within the QEMU source tree.
> >> To build the project, the mentioned SystemC, libsystemctlm-soc and
> >> VCML libraries and their specific dependencies need to be built and
> >> installed separately.
> >> Would this approach be acceptable?
>
> We have a few (small) examples under contrib/.  However, Peter (cc'ed)
> has been trying to clean out that directory.
>
> >>
> >> Alternatively, is there an auxiliary repository within the QEMU
> >> infrastructure that is better suited for these types of sample
> >> projects,
> >> perhaps somewhere under https://gitlab.com/qemu-project?
> >>
> >> --
> >> BR,
> >> Ruslan
> >
> > Hello Markus,
> >
> > Do you have any thoughts on the preferred location for this sample project?


> Peter, what about you?

My general feeling is that we should not have sample projects
in the QEMU repo, because I think they tend to degenerate into
"this is old, unmaintained, and probably breaks without anybody
noticing it". We have enough trouble with the code that is
part of QEMU proper. This is why I am hoping we can clean
up "contrib/" -- I don't want unmaintained code that nobody
takes ownership of, and having a "contrib/" directory is like
a big sign saying "dump your garbage here and run away".

If we do have sample projects, we would need to have a
general approach to them which involved, for instance:
 * integrating them into our documentation, so that the
   docs for the associated QEMU feature could refer to them
 * shipping them in 'make install' as part of the docs
 * some kind of automated testing that they still work
   (by analogy with the way e.g. rust documentation code
   snippets can be tested)

That's a lot of work.

thanks
-- PMM

Reply via email to