All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: peter.maydell@linaro.org, famz@redhat.com, qemu-devel@nongnu.org,
	stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH] gdb command: qemu aios, qemu aiohandlers
Date: Tue, 27 Oct 2015 13:13:22 +0000	[thread overview]
Message-ID: <20151027131321.GB2956@work-vm> (raw)
In-Reply-To: <562D9AA6.6090500@redhat.com>

* Paolo Bonzini (pbonzini@redhat.com) wrote:
> 
> 
> On 20/10/2015 13:05, Dr. David Alan Gilbert (git) wrote:
> > +        entry = cur.dereference()
> > +        gdb.write('----\n%s\n' % entry)
> > +        if cur['io_read'] == sym_fd_coroutine_enter:
> > +            coptr = (cur['opaque'].cast(gdb.lookup_type('FDYieldUntilData').pointer()))['co']
> > +            coptr = coptr.cast(gdb.lookup_type('CoroutineUContext').pointer())
> > +            coroutine.bt_jmpbuf(coptr['env']['__jmpbuf'])
> 
> The last two lines here can be written as
> 
>   coroutine.bt_jmpbuf(coroutine.coroutine_to_jmpbuf(coptr))
> 
> with the head of Stefan's trace branch.

I've just posted a new version with all the other changes in, but
I can easily change that one when the trace change lands.

Dave

> 
> Paolo
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

      reply	other threads:[~2015-10-27 13:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20 11:05 [Qemu-devel] [PATCH] gdb command: qemu aios, qemu aiohandlers Dr. David Alan Gilbert (git)
2015-10-23  9:32 ` Fam Zheng
2015-10-23 10:09   ` Stefan Hajnoczi
2015-10-26  1:27     ` Fam Zheng
2015-10-26  3:14 ` Paolo Bonzini
2015-10-27 13:13   ` Dr. David Alan Gilbert [this message]

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=20151027131321.GB2956@work-vm \
    --to=dgilbert@redhat.com \
    --cc=famz@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /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 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.