qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Paolo Bonzini <pbonzini@redhat.com>,
	Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel <qemu-devel@nongnu.org>, kvm <kvm@vger.kernel.org>,
	Jailhouse <jailhouse-dev@googlegroups.com>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Philippe Mathieu-Daudé" <philippe@mathieu-daude.net>,
	"Alistair Francis" <alistair23@gmail.com>
Subject: Re: [Qemu-devel] Call for GSoC & Outreachy 2018 mentors & project ideas
Date: Tue, 20 Feb 2018 10:36:43 +0000	[thread overview]
Message-ID: <20180220103643.GC19724@stefanha-x1.localdomain> (raw)
In-Reply-To: <CAKmqyKMoqyyr2oBWyEarZhxxBS+F_=zCJARdVvpFkyPv+L3xJQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 5094 bytes --]

On Wed, Feb 14, 2018 at 11:00:36AM -0800, Alistair Francis wrote:
> On Mon, Jan 15, 2018 at 4:59 AM, Stefan Hajnoczi <stefanha@gmail.com> wrote:
> > On Thu, Jan 11, 2018 at 03:25:56PM -0800, Alistair Francis wrote:
> >> On Wed, Jan 10, 2018 at 4:52 AM, Stefan Hajnoczi <stefanha@gmail.com> wrote:
> >> > On Tue, Jan 9, 2018 at 9:45 PM, Alistair Francis <alistair23@gmail.com> wrote:
> >> >> Can anyone who has done this before chime in.
> >> >>
> >> >> What do you think about getting someone to cleanup and improve the GDB
> >> >> support in QEMU? Would that be the right difficulty of task for a GSoC
> >> >> project?
> >> >
> >> > There is not enough information to give feedback on whether this
> >> > project idea is suitable.  What are the specific tasks you'd like the
> >> > student to work on?
> >> >
> >> > In general, I'm sure there are well-defined 12-week project ideas
> >> > around the GDB stub.  New features are easy to propose and are usually
> >> > well-defined (e.g. implement these commands that are documented in the
> >> > GDB protocol documentation).  Cleaning up code is less clear and it
> >> > would depend on exactly what needs to be done.  Interns will not have
> >> > a background in the QEMU codebase and may not be able to make
> >> > judgements about how to structure things, so I would be more careful
> >> > about refactoring/cleanup projects.
> >> >
> >> > Please see my talk about QEMU GSoC for guidelines on project ideas:
> >> > https://www.youtube.com/watch?v=xNVCX7YMUL8&t=19m11s
> >> > http://vmsplice.net/~stefan/stefanha-kvm-forum-2016.pdf
> >>
> >> That helps a lot, thanks for that.
> >>
> >> So for a more concrete solution, how would adding support for multi
> >> CPU support to the GDB server sound?
> >>
> >> This would allow GDB debugging for the A53 and the R5 on the Xilinx
> >> ZynqMP for example. This is something we have in the Xilinx tree, but
> >> it is in no state to go upstream and really needs to be re-write to be
> >> upstreamable and more generic.
> >
> > Excellent.  Then they'll already have an idea of "how" it can be
> > achieved but have the freedom to write code that is most suitable for
> > upstream.  That is a good starting point for a project.
> >
> > Here is the project idea template:
> >
> > === TITLE ===
> >
> >  '''Summary:''' Short description of the project
> >
> >  Detailed description of the project.
> >
> >  '''Links:'''
> >  * Wiki links to relevant material
> >  * External links to mailing lists or web sites
> >
> >  '''Details:'''
> >  * Skill level: beginner or intermediate or advanced
> >  * Language: C
> >  * Mentor: Email address and IRC nick
> >  * Suggested by: Person who suggested the idea
> >
> > Once you have written down the project idea, please post it under
> > Internships/ProjectIdeas/MultiCPUGDBStub and then add it to the
> > Google_Summer_of_Code_2018 wiki page using the
> > "{{:Internships/ProjectIdeas/MultiCPUGDBStub}}" inlining syntax.
> >
> > Or if you prefer, just reply with the project idea to this email and
> > I'll post it on the wiki for you.
> >
> > Can you think of a co-mentor who would be willing to participate?  It
> > makes internships easier when there are multiple mentors - less stress
> > for mentors, faster communication for students.
> 
> Yep, here is my proposal. I don't have wiki access, so I can't add it myself.
> 
> I think Philippe would be a good co-mentor, if he is happy to. I am
> also welcome to mentor other ideas, it doesn't have to be this one.

Paolo and Peter, could you please review this project idea, mainly to
see if this is likely to be mergeable (uncontroversial).

Thanks!

> === Multi-CPU cluster support for GDB server in QEMU ===
> 
> There are many examples in modern computing where multiple CPU
> clusters are grouped together in a single SoC. This is common in the
> ARM world especially. There are numerous examples such as ARM's
> big.LITTLE implementations and Xilinx's 4xA53s and 2xR5s on the ZynqMP
> SoC. The goal of this task is to add support to the GDB server to
> allow users to debug across these clusters.
> 
> This is another step towards single binary QEMU as well.
> 
>  Detailed description of the project.
> 
> Xilinx has an out of tree implementation that can be used as a
> starting point. Work will need to be done on top of this to prepare it
> for upstream submission and to ensure the implementation is more
> generic.
> 
> This will mostly involve extending GDB server to tell GDB about
> different architectures and then allow the user to swap between them.
> 
> The Xilinx implementation can be seen here:
> https://github.com/Xilinx/qemu/blob/master/gdbstub.c
> There has been some steps in preparing the work to go upstream, which
> can be seen here:
> https://github.com/Xilinx/qemu/tree/mainline/alistair/gdb
> 
>  '''Details:'''
>  * Skill level: advanced
>  * Language: C
>  * Mentor: alistair23@gmail.com, Philippe?
>  * Suggested by: Alistair Francis
> 
> >
> > Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

  reply	other threads:[~2018-02-20 10:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-02 20:23 [Qemu-devel] Call for GSoC & Outreachy 2018 mentors & project ideas Stefan Hajnoczi
2018-01-09 21:45 ` Alistair Francis
2018-01-10  1:58   ` Fam Zheng
2018-01-10 12:52   ` Stefan Hajnoczi
2018-01-11 23:25     ` Alistair Francis
2018-01-15 12:59       ` Stefan Hajnoczi
2018-02-14 19:00         ` Alistair Francis
2018-02-20 10:36           ` Stefan Hajnoczi [this message]
2018-02-20 11:13             ` Paolo Bonzini
2018-02-21  1:19               ` Alistair Francis
2018-02-21 11:08               ` Stefan Hajnoczi
2018-02-27 23:54           ` Philippe Mathieu-Daudé
2018-03-05  9:11             ` Stefan Hajnoczi
2018-01-18 16:49       ` David Hildenbrand
2018-01-24  0:39         ` Alistair Francis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180220103643.GC19724@stefanha-x1.localdomain \
    --to=stefanha@gmail.com \
    --cc=alistair23@gmail.com \
    --cc=f4bug@amsat.org \
    --cc=jailhouse-dev@googlegroups.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philippe@mathieu-daude.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).