From: Paolo Bonzini <pbonzini@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>,
"Igor Mammedov" <imammedo@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
Jan Kiszka <jan.kiszka@siemens.com>,
qemu-devel@nongnu.org, "Emilio G. Cota" <cota@braap.org>,
Pranith Kumar <bobby.prani@gmail.com>,
Richard Henderson <rth@twiddle.net>,
KONRAD Frederic <fred.konrad@greensocs.com>
Subject: Re: [Qemu-devel] qemu-2.9 crashes in tcg_handle_interrupt() during winx64 boot
Date: Fri, 31 Mar 2017 14:08:28 +0200 [thread overview]
Message-ID: <4a80467b-016d-0fef-6ab5-4e50a96bad1f@redhat.com> (raw)
In-Reply-To: <87h9294yba.fsf@linaro.org>
On 31/03/2017 10:58, Alex Bennée wrote:
>
> Igor Mammedov <imammedo@redhat.com> writes:
>
>> On Thu, 30 Mar 2017 16:05:58 +0100
>> Alex Bennée <alex.bennee@linaro.org> wrote:
>>
>>> Igor Mammedov <imammedo@redhat.com> writes:
>>>
>>>> (PS: resend due to wrong qemu-devel mail list address in original
>>>> email)
>>>
>>> Le *sigh* another way of x86 generating IRQs ;-)
>>>
>>> Could you test this please?
>>>
>>> target/i386/misc_helper: wrap BQL around another IRQ generator
>>>
>>> Anything that calls into HW emulation must be protected by the BQL.
>>>
>>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> it doesn't help,
>> it asserts in the same place anyway
>
> That's weird. If the lock was already held I could see it failing higher
> up but this seems to imply we are dropping a lock as we descend into
> hardware emulation.
Seems weird to me too.
> How often does this leg of the helper get called?
Continuously under Windows, never on Linux. But you can also try
kvm-unit-tests probably to trigger it:
$ qemu-system-x86_64 \
-kernel x86/vmexit.flat -serial stdio \
--append 'cpuid mov_to_cr8' -device isa-debug-exit,iobase=0xf4
Thanks,
paolo
next prev parent reply other threads:[~2017-03-31 12:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-30 14:46 [Qemu-devel] qemu-2.9 crashes in tcg_handle_interrupt() during winx64 boot Igor Mammedov
2017-03-30 15:05 ` Alex Bennée
2017-03-30 16:14 ` Alex Bennée
2017-03-31 8:21 ` Igor Mammedov
2017-03-31 8:58 ` Alex Bennée
2017-03-31 12:08 ` Paolo Bonzini [this message]
2017-04-05 12:51 ` Igor Mammedov
2017-04-05 13:26 ` Alex Bennée
2017-04-05 16:03 ` Igor Mammedov
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=4a80467b-016d-0fef-6ab5-4e50a96bad1f@redhat.com \
--to=pbonzini@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=bobby.prani@gmail.com \
--cc=cota@braap.org \
--cc=fred.konrad@greensocs.com \
--cc=imammedo@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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).