From: "Michael S. Tsirkin" <mst@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Luiz Capitulino <lcapitulino@redhat.com>,
qemu-devel <qemu-devel@nongnu.org>,
marcel.a@redhat.com
Subject: Re: [Qemu-devel] BUG: QEMU aborts when setting breakpoint in gdb (bisected)
Date: Wed, 6 Nov 2013 23:36:14 +0200 [thread overview]
Message-ID: <20131106213614.GA22469@redhat.com> (raw)
In-Reply-To: <527AB0EC.8080200@redhat.com>
On Wed, Nov 06, 2013 at 10:13:16PM +0100, Paolo Bonzini wrote:
> Il 06/11/2013 19:39, Michael S. Tsirkin ha scritto:
> > Because this will affect performance in unpredicatable way.
>
> It's not really unpredictable. It can be easily unit-tested,
Go ahead, post, test, I'm not stopping you.
> and anyway
> the targets with 64-bit address spaces don't have any particular
> performance problem.
That's only s390x and they happen not to use IO for anything,
instead they do hypercalls. So hard to tell.
> > We can't make such changes in 1.7 IMHO:
> > it would need much more than just a quick "works for me".
>
> I can say the same about phys_page_find.
Why? It's *obvious* this code is not designed to work with
addresses > target address space.
You doubt that?
What is the worry here?
> It's been obviously broken for
> years and nobody ever cared, it cannot be super-urgent now to fix it.
>
> Paolo
Well we added a bunch of code and now it is failing.
> >> > I don't feel confident
> >> > changing phys_page_find, even if it's just 2 lines.
> >> >
> >> > Paolo
> > Well it's *obviously* broken if address is outside target address
> > space.
> > Take a look at the patch first, then argue.
next prev parent reply other threads:[~2013-11-06 21:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-06 16:22 [Qemu-devel] BUG: QEMU aborts when setting breakpoint in gdb (bisected) Luiz Capitulino
2013-11-06 16:26 ` Paolo Bonzini
2013-11-06 16:29 ` Luiz Capitulino
2013-11-06 16:33 ` Michael S. Tsirkin
2013-11-06 16:30 ` Marcel Apfelbaum
2013-11-06 17:39 ` Paolo Bonzini
2013-11-06 17:48 ` Michael S. Tsirkin
2013-11-06 17:50 ` Paolo Bonzini
2013-11-06 18:39 ` Michael S. Tsirkin
2013-11-06 21:13 ` Paolo Bonzini
2013-11-06 21:36 ` Michael S. Tsirkin [this message]
2013-11-06 18:36 ` Luiz Capitulino
2013-11-06 21:11 ` Paolo Bonzini
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=20131106213614.GA22469@redhat.com \
--to=mst@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=marcel.a@redhat.com \
--cc=pbonzini@redhat.com \
--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).