From: Peter Maydell <peter.maydell@linaro.org>
To: "kvmarm@lists.cs.columbia.edu" <kvmarm@lists.cs.columbia.edu>
Cc: Claudio Fontana <hw.claudio@gmail.com>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] kvm control qemu-system-aarch64 state
Date: Tue, 4 Feb 2014 16:52:08 +0000 [thread overview]
Message-ID: <CAFEAcA9G0gx6f0dfyPyNO9d79gxqXxN7NGMDQW4agHtR2rGDXw@mail.gmail.com> (raw)
In-Reply-To: <CANv_3YbxL-eHPi5BRbmc4TLBJpqcChQ80f=P9wH45PcrWt=vqA@mail.gmail.com>
On 4 February 2014 16:37, Claudio Fontana <hw.claudio@gmail.com> wrote:
> On 4 February 2014 16:39, Peter Maydell <peter.maydell@linaro.org> wrote:
>> On 4 February 2014 15:36, Claudio Fontana <hw.claudio@gmail.com> wrote:
>> > I just wanted to ask what is the current state of kvm control for
>> > qemu-system-aarch64.
>> > I tried latest mainline but I think it's not all there yet (it complains
>> > about missing cpu when I use -M virt and -cpu host, so I suspect some of VOS
>> > patches are still missing).
>> >
>> > Is your aarch64-kvm still the one branch to look at?
>>
>> Nope, this should all work in mainline. If it doesn't it's
>> worth investigating what exactly is going wrong.
>>
>> (Sanity check, you did pass -enable-kvm, right? If you don't
>> then QEMU will complain about "-cpu host", because that
>> only exists if KVM is enabled.)
> I tried both, without -enable-kvm I get the complaint about "-cpu
> host" as you mention,
> but with -enable-kvm and the latest kernel I get:
>
>
> [ 8489.895747] BUG: Bad page state in process qemu-system-aar pfn:0a5cd
> [ 8489.895816] page:fffffdfc002444d8 count:-1 mapcount:0 mapping:
> (null) index:0x0
> [ 8489.895870] page flags: 0x0()
> [ 8489.895916] page dumped because: nonzero _count
> [ 8489.895957] Modules linked in:
> [ 8489.896030] CPU: 0 PID: 3031 Comm: qemu-system-aar Tainted: G B
> 3.13.0cla-09218-g0e47c96-dirty #2
> [ 8489.896085] Call trace:
> [ 8489.896154] [<fffffe0000095744>] dump_backtrace+0x0/0x12c
> [ 8489.896231] [<fffffe0000095884>] show_stack+0x14/0x1c
> [ 8489.896307] [<fffffe00003db58c>] dump_stack+0x70/0x8c
> [ 8489.896378] [<fffffe00001210d8>] bad_page+0xe8/0x134
> [ 8489.896453] [<fffffe0000121740>] get_page_from_freelist+0x500/0x608
> [ 8489.896532] [<fffffe00001220d0>] __alloc_pages_nodemask+0x110/0x7ec
> [ 8489.896619] [<fffffe000013ce50>] handle_mm_fault+0x760/0x980
> [ 8489.896704] [<fffffe000009a0cc>] do_page_fault+0x228/0x378
> [ 8489.896773] [<fffffe0000090104>] do_mem_abort+0x3c/0x9c
> [ 8489.896833] Exception stack(0xfffffe0020247e30 to 0xfffffe0020247f50)
> [ 8489.896918] 7e20: 00000001
> 00000000 aa8505b0 000003ff
> [ 8489.897030] 7e40: ffffffff ffffffff aa785a84 000003ff 00000000
> 00000000 0015e5a8 fffffe00
> [ 8489.897142] 7e60: 20247e70 fffffe00 000c2e48 fffffe00 20247ea0
> fffffe00 00095490 fffffe00
> [ 8489.897254] 7e80: 20244000 fffffe00 00000000 00000000 ffffffff
> ffffffff aa86f118 000003ff
> [ 8489.897366] 7ea0: fea46360 000003ff 0009288c fffffe00 fea46580
> 000003ff fea463e0 000003ff
> [ 8489.897476] 7ec0: fea46360 000003ff 000927ec fffffe00 00f3f710
> 00000000 00012e61 00000000
> [ 8489.897584] 7ee0: 00000000 00000000 00f4d1a0 00000000 0000da91
> 00000000 00000001 00000000
> [ 8489.897694] 7f00: 0000000d 00000000 0000036a 00000000 7f7f7f7f
> 7f7f7f7f 00680ca8 00000000
> [ 8489.897800] 7f20: 0000006d 00000000 00000020 00000000 00000078
> 00000000 00000080 00000000
> [ 8489.897884] 7f40: 006812b0 00000000 aa852598 000003ff
If we've managed to trigger a BUG in the host kernel that's
a kernel bug and the kvmarm list is probably the best place
to ask bout it. [cc'd.]
thanks
-- PMM
next prev parent reply other threads:[~2014-02-04 17:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-04 15:36 [Qemu-devel] kvm control qemu-system-aarch64 state Claudio Fontana
2014-02-04 15:39 ` Peter Maydell
2014-02-04 16:37 ` Claudio Fontana
2014-02-04 16:52 ` Peter Maydell [this message]
2014-02-04 19:40 ` Christoffer Dall
2014-02-05 9:36 ` Claudio Fontana
2014-02-05 17:31 ` Christoffer Dall
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=CAFEAcA9G0gx6f0dfyPyNO9d79gxqXxN7NGMDQW4agHtR2rGDXw@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=hw.claudio@gmail.com \
--cc=kvmarm@lists.cs.columbia.edu \
--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).