All of lore.kernel.org
 help / color / mirror / Atom feed
* Question on preferred location for QEMU sample projects
@ 2026-04-03 14:39 Ruslan Ruslichenko
  2026-04-13  7:24 ` Markus Armbruster
  0 siblings, 1 reply; 7+ messages in thread
From: Ruslan Ruslichenko @ 2026-04-03 14:39 UTC (permalink / raw)
  To: qemu-devel, qemu-arm; +Cc: artem_mygaiev, takahiro.nakata.wr

Hi everyone,

We are currently preparing the v2 patch series for the Remote-Port
Co-simulation protocol for interfacing with SystemC modules. The first
revision was here:
https://lists.nongnu.org/archive/html/qemu-devel/2026-02/msg01760.html.

As part of this submission, we would like to publish a sample project
serving as a demonstration of how to connect a QEMU Remote-Port
frontend to a SystemC backend.

The sample project implements a standard SystemC IP core and uses
several external components such as:
- libsystemctlm-soc: https://github.com/Xilinx/libsystemctlm-soc
- VCML Library: https://github.com/machineware-gmbh/vcml
- SystemC Library: https://github.com/accellera-official/systemc

We have a question regarding the location for this kind of project.
Could you please suggest if there is a preferred location or some
standard practice for hosting such a sample project?

--
BR,
Ruslan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question on preferred location for QEMU sample projects
  2026-04-03 14:39 Question on preferred location for QEMU sample projects Ruslan Ruslichenko
@ 2026-04-13  7:24 ` Markus Armbruster
  2026-04-13 14:04   ` Ruslan Ruslichenko
  0 siblings, 1 reply; 7+ messages in thread
From: Markus Armbruster @ 2026-04-13  7:24 UTC (permalink / raw)
  To: Ruslan Ruslichenko
  Cc: qemu-devel, qemu-arm, artem_mygaiev, takahiro.nakata.wr

Ruslan Ruslichenko <ruslichenko.r@gmail.com> writes:

> Hi everyone,
>
> We are currently preparing the v2 patch series for the Remote-Port
> Co-simulation protocol for interfacing with SystemC modules. The first
> revision was here:
> https://lists.nongnu.org/archive/html/qemu-devel/2026-02/msg01760.html.
>
> As part of this submission, we would like to publish a sample project
> serving as a demonstration of how to connect a QEMU Remote-Port
> frontend to a SystemC backend.
>
> The sample project implements a standard SystemC IP core and uses
> several external components such as:
> - libsystemctlm-soc: https://github.com/Xilinx/libsystemctlm-soc
> - VCML Library: https://github.com/machineware-gmbh/vcml
> - SystemC Library: https://github.com/accellera-official/systemc
>
> We have a question regarding the location for this kind of project.
> Could you please suggest if there is a preferred location or some
> standard practice for hosting such a sample project?

Location within the QEMU source tree?



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question on preferred location for QEMU sample projects
  2026-04-13  7:24 ` Markus Armbruster
@ 2026-04-13 14:04   ` Ruslan Ruslichenko
  2026-04-29 19:25     ` Ruslan Ruslichenko
  0 siblings, 1 reply; 7+ messages in thread
From: Ruslan Ruslichenko @ 2026-04-13 14:04 UTC (permalink / raw)
  To: Markus Armbruster; +Cc: qemu-devel, qemu-arm, artem_mygaiev, takahiro.nakata.wr

On Mon, Apr 13, 2026 at 9:25 AM Markus Armbruster <armbru@redhat.com> wrote:
>
> Ruslan Ruslichenko <ruslichenko.r@gmail.com> writes:
>
> > Hi everyone,
> >
> > We are currently preparing the v2 patch series for the Remote-Port
> > Co-simulation protocol for interfacing with SystemC modules. The first
> > revision was here:
> > https://lists.nongnu.org/archive/html/qemu-devel/2026-02/msg01760.html.
> >
> > As part of this submission, we would like to publish a sample project
> > serving as a demonstration of how to connect a QEMU Remote-Port
> > frontend to a SystemC backend.
> >
> > The sample project implements a standard SystemC IP core and uses
> > several external components such as:
> > - libsystemctlm-soc: https://github.com/Xilinx/libsystemctlm-soc
> > - VCML Library: https://github.com/machineware-gmbh/vcml
> > - SystemC Library: https://github.com/accellera-official/systemc
> >
> > We have a question regarding the location for this kind of project.
> > Could you please suggest if there is a preferred location or some
> > standard practice for hosting such a sample project?
>
> Location within the QEMU source tree?
>

Hello Markus,

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?

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question on preferred location for QEMU sample projects
  2026-04-13 14:04   ` Ruslan Ruslichenko
@ 2026-04-29 19:25     ` Ruslan Ruslichenko
  2026-04-30  4:48       ` Markus Armbruster
  2026-04-30  8:01       ` Daniel P. Berrangé
  0 siblings, 2 replies; 7+ messages in thread
From: Ruslan Ruslichenko @ 2026-04-29 19:25 UTC (permalink / raw)
  To: Markus Armbruster; +Cc: qemu-devel, qemu-arm, artem_mygaiev, takahiro.nakata.wr

On Mon, Apr 13, 2026 at 4:04 PM Ruslan Ruslichenko
<ruslichenko.r@gmail.com> wrote:
>
> On Mon, Apr 13, 2026 at 9:25 AM Markus Armbruster <armbru@redhat.com> wrote:
> >
> > Ruslan Ruslichenko <ruslichenko.r@gmail.com> writes:
> >
> > > Hi everyone,
> > >
> > > We are currently preparing the v2 patch series for the Remote-Port
> > > Co-simulation protocol for interfacing with SystemC modules. The first
> > > revision was here:
> > > https://lists.nongnu.org/archive/html/qemu-devel/2026-02/msg01760.html.
> > >
> > > As part of this submission, we would like to publish a sample project
> > > serving as a demonstration of how to connect a QEMU Remote-Port
> > > frontend to a SystemC backend.
> > >
> > > The sample project implements a standard SystemC IP core and uses
> > > several external components such as:
> > > - libsystemctlm-soc: https://github.com/Xilinx/libsystemctlm-soc
> > > - VCML Library: https://github.com/machineware-gmbh/vcml
> > > - SystemC Library: https://github.com/accellera-official/systemc
> > >
> > > We have a question regarding the location for this kind of project.
> > > Could you please suggest if there is a preferred location or some
> > > standard practice for hosting such a sample project?
> >
> > Location within the QEMU source tree?
> >
>
> Hello Markus,
>
> 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?
>
> 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?

Best regards,
Ruslan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question on preferred location for QEMU sample projects
  2026-04-29 19:25     ` Ruslan Ruslichenko
@ 2026-04-30  4:48       ` Markus Armbruster
  2026-04-30  8:45         ` Peter Maydell
  2026-04-30  8:01       ` Daniel P. Berrangé
  1 sibling, 1 reply; 7+ messages in thread
From: Markus Armbruster @ 2026-04-30  4:48 UTC (permalink / raw)
  To: Ruslan Ruslichenko
  Cc: qemu-devel, qemu-arm, artem_mygaiev, takahiro.nakata.wr,
	Peter Maydell

Ruslan Ruslichenko <ruslichenko.r@gmail.com> writes:

> On Mon, Apr 13, 2026 at 4:04 PM Ruslan Ruslichenko
> <ruslichenko.r@gmail.com> wrote:
>>
>> On Mon, Apr 13, 2026 at 9:25 AM Markus Armbruster <armbru@redhat.com> wrote:
>> >
>> > Ruslan Ruslichenko <ruslichenko.r@gmail.com> writes:
>> >
>> > > Hi everyone,
>> > >
>> > > We are currently preparing the v2 patch series for the Remote-Port
>> > > Co-simulation protocol for interfacing with SystemC modules. The first
>> > > revision was here:
>> > > https://lists.nongnu.org/archive/html/qemu-devel/2026-02/msg01760.html.
>> > >
>> > > As part of this submission, we would like to publish a sample project
>> > > serving as a demonstration of how to connect a QEMU Remote-Port
>> > > frontend to a SystemC backend.
>> > >
>> > > The sample project implements a standard SystemC IP core and uses
>> > > several external components such as:
>> > > - libsystemctlm-soc: https://github.com/Xilinx/libsystemctlm-soc
>> > > - VCML Library: https://github.com/machineware-gmbh/vcml
>> > > - SystemC Library: https://github.com/accellera-official/systemc
>> > >
>> > > We have a question regarding the location for this kind of project.
>> > > Could you please suggest if there is a preferred location or some
>> > > standard practice for hosting such a sample project?
>> >
>> > Location within the QEMU source tree?
>> >
>>
>> Hello Markus,
>>
>> 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?
>
> Best regards,
> Ruslan

Peter, what about you?



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question on preferred location for QEMU sample projects
  2026-04-29 19:25     ` Ruslan Ruslichenko
  2026-04-30  4:48       ` Markus Armbruster
@ 2026-04-30  8:01       ` Daniel P. Berrangé
  1 sibling, 0 replies; 7+ messages in thread
From: Daniel P. Berrangé @ 2026-04-30  8:01 UTC (permalink / raw)
  To: Ruslan Ruslichenko
  Cc: Markus Armbruster, qemu-devel, qemu-arm, artem_mygaiev,
	takahiro.nakata.wr

On Wed, Apr 29, 2026 at 09:25:21PM +0200, Ruslan Ruslichenko wrote:
> On Mon, Apr 13, 2026 at 4:04 PM Ruslan Ruslichenko
> <ruslichenko.r@gmail.com> wrote:
> >
> > On Mon, Apr 13, 2026 at 9:25 AM Markus Armbruster <armbru@redhat.com> wrote:
> > >
> > > Ruslan Ruslichenko <ruslichenko.r@gmail.com> writes:
> > >
> > > > Hi everyone,
> > > >
> > > > We are currently preparing the v2 patch series for the Remote-Port
> > > > Co-simulation protocol for interfacing with SystemC modules. The first
> > > > revision was here:
> > > > https://lists.nongnu.org/archive/html/qemu-devel/2026-02/msg01760.html.
> > > >
> > > > As part of this submission, we would like to publish a sample project
> > > > serving as a demonstration of how to connect a QEMU Remote-Port
> > > > frontend to a SystemC backend.
> > > >
> > > > The sample project implements a standard SystemC IP core and uses
> > > > several external components such as:
> > > > - libsystemctlm-soc: https://github.com/Xilinx/libsystemctlm-soc
> > > > - VCML Library: https://github.com/machineware-gmbh/vcml
> > > > - SystemC Library: https://github.com/accellera-official/systemc
> > > >
> > > > We have a question regarding the location for this kind of project.
> > > > Could you please suggest if there is a preferred location or some
> > > > standard practice for hosting such a sample project?
> > >
> > > Location within the QEMU source tree?
> >
> > 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?
> >
> > 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?
> 
> Do you have any thoughts on the preferred location for this sample project?

Why not just publish it under its own standalone git repo ? 

With regards,
Daniel



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question on preferred location for QEMU sample projects
  2026-04-30  4:48       ` Markus Armbruster
@ 2026-04-30  8:45         ` Peter Maydell
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Maydell @ 2026-04-30  8:45 UTC (permalink / raw)
  To: Markus Armbruster
  Cc: Ruslan Ruslichenko, qemu-devel, qemu-arm, artem_mygaiev,
	takahiro.nakata.wr

On Thu, 30 Apr 2026 at 05:48, Markus Armbruster <armbru@redhat.com> wrote:
>
> Ruslan Ruslichenko <ruslichenko.r@gmail.com> writes:
>
> > On Mon, Apr 13, 2026 at 4:04 PM Ruslan Ruslichenko
> > <ruslichenko.r@gmail.com> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-04-30  8:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 14:39 Question on preferred location for QEMU sample projects Ruslan Ruslichenko
2026-04-13  7:24 ` Markus Armbruster
2026-04-13 14:04   ` Ruslan Ruslichenko
2026-04-29 19:25     ` Ruslan Ruslichenko
2026-04-30  4:48       ` Markus Armbruster
2026-04-30  8:45         ` Peter Maydell
2026-04-30  8:01       ` Daniel P. Berrangé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.