From: Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
To: Luca <kronos.it-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-TtF/mJH4Jtrk1uMJSBkQmQ@public.gmane.org,
Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Subject: Re: [BUG] GPF on hardware breakpoints (preempt_notifier)
Date: Sun, 09 Sep 2007 15:43:39 -0500 [thread overview]
Message-ID: <46E45AFB.9090406@codemonkey.ws> (raw)
In-Reply-To: <68676e00709091323r23c59dch3f75177616b3f7f5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Luca wrote:
> On 9/9/07, Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org> wrote:
>
>> Luca wrote:
>>
>>> On 9/9/07, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
>>>
>>>
>>>> Luca Tettamanti wrote:
>>>>
>>>>
>>>>> Hi,
>>>>> while debugging a program with GDB I got a GPF which seems related to
>>>>> KVM. Note that I was *not* using the debugger inside the guest nor on
>>>>> the virtual machine. The target was an unrelated userspace program.
>>>>>
>>>>>
>>>>>
>>>> Yes, kvm is dirtily misappropriating the debug registers on older
>>>> kernels.
>>>>
>>>>
>>> I'm runninng the current Linus' git tree, shall I test kvm.git?
>>>
>>>
>> Do you have CONFIG_PREEMPT_NOTIFIERS enabled?
>>
>
> No, it's disabled.
>
If you enable it, you probably won't see this problem. KVM emulates
PREEMPT_NOTIFIERS using debug registers.
Regards,
Anthony Liguori
> Luca
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
prev parent reply other threads:[~2007-09-09 20:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-09 17:14 [BUG] GPF on hardware breakpoints (preempt_notifier) Luca Tettamanti
[not found] ` <20070909171422.GA13345-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org>
2007-09-09 17:30 ` Avi Kivity
[not found] ` <46E42D99.6030905-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-09 18:45 ` Luca
[not found] ` <68676e00709091145p34fad472u5cf3e1d939754367-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-09-09 20:14 ` Anthony Liguori
[not found] ` <46E4542F.8040705-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-09-09 20:23 ` Luca
[not found] ` <68676e00709091323r23c59dch3f75177616b3f7f5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-09-09 20:43 ` Anthony Liguori [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=46E45AFB.9090406@codemonkey.ws \
--to=anthony-rdkfgonbjusknkdkm+me6a@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kronos.it-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=kvm-devel-TtF/mJH4Jtrk1uMJSBkQmQ@public.gmane.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 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.