From: "Alex Bennée" <alex.bennee@linaro.org>
To: Janosch Frank <frankja@linux.vnet.ibm.com>
Cc: Tyler Baker <tyler.baker@linaro.org>,
Christian Borntraeger <borntraeger@de.ibm.com>,
kvm@vger.kernel.org, pbonzini@redhat.com,
pmorel@linux.vnet.ibm.com, dan.carpenter@oracle.com,
Kevin's boot bot <khilman@kernel.org>
Subject: Re: [PATCH 2/2] KVM: Create debugfs dir and stat files for each VM
Date: Mon, 30 Nov 2015 15:10:53 +0000 [thread overview]
Message-ID: <87a8pvbk02.fsf@linaro.org> (raw)
In-Reply-To: <565C0ACA.9080204@linux.vnet.ibm.com>
Janosch Frank <frankja@linux.vnet.ibm.com> writes:
> On 11/27/2015 09:42 PM, Tyler Baker wrote:
>> On 27 November 2015 at 10:53, Tyler Baker <tyler.baker@linaro.org> wrote:
>>> On 27 November 2015 at 09:08, Tyler Baker <tyler.baker@linaro.org> wrote:
>>>> On 27 November 2015 at 00:54, Christian Borntraeger
>>>> <borntraeger@de.ibm.com> wrote:
>>>>> On 11/26/2015 09:47 PM, Christian Borntraeger wrote:
>>>>>> On 11/26/2015 05:17 PM, Tyler Baker wrote:
>>>>>>> Hi Christian,
>>>>>>>
>>>>>>> The kernelci.org bot recently has been reporting kvm guest boot
>>>>>>> failures[1] on various arm64 platforms in next-20151126. The bot
>>>>>>> bisected[2] the failures to the commit in -next titled "KVM: Create
>>>>>>> debugfs dir and stat files for each VM". I confirmed by reverting this
>>>>>>> commit on top of next-20151126 it resolves the boot issue.
>>>>>>>
<snip>
>>
> After a quick look into qemu I guess I've found the problem:
> kvm_init creates a vm, does checking and self initialization and
> then calls kvm_arch_init. The arch initialization indirectly
> calls kvm_arm_create_scratch_host_vcpu and that's where the
> trouble begins, as it also creates a VM.
>
> My assumption was, that nobody would create multiple VMs under
> the same PID. Christian and I are working on a solution on kernel
> side.
Yeah ARM is a little weird in that respect as the scratch VM is used to
probe capabilities. There is nothing in the API that says you can't have
multiple VMs per PID so I guess a better unique identifier is needed.
--
Alex Bennée
next prev parent reply other threads:[~2015-11-30 15:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-26 16:17 [PATCH 2/2] KVM: Create debugfs dir and stat files for each VM Tyler Baker
2015-11-26 20:47 ` Christian Borntraeger
2015-11-27 8:54 ` Christian Borntraeger
2015-11-27 17:08 ` Tyler Baker
2015-11-27 18:53 ` Tyler Baker
2015-11-27 20:42 ` Tyler Baker
2015-11-30 8:37 ` Janosch Frank
2015-11-30 15:10 ` Alex Bennée [this message]
2015-11-30 8:38 ` Christian Borntraeger
2015-11-30 17:00 ` Tyler Baker
2016-02-02 17:15 ` Paolo Bonzini
2016-02-02 19:37 ` Christian Borntraeger
-- strict thread matches above, loose matches on Subject: below --
2015-11-23 11:24 [PATCH v2 0/2] RFC: kvm stat enhancements Christian Borntraeger
2015-11-23 11:24 ` [PATCH 2/2] KVM: Create debugfs dir and stat files for each VM Christian Borntraeger
2015-11-18 13:11 [PATCH 0/2] kvm: provide kvm stat per process Christian Borntraeger
2015-11-18 13:11 ` [PATCH 2/2] KVM: Create debugfs dir and stat files for each VM Christian Borntraeger
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=87a8pvbk02.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=borntraeger@de.ibm.com \
--cc=dan.carpenter@oracle.com \
--cc=frankja@linux.vnet.ibm.com \
--cc=khilman@kernel.org \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=pmorel@linux.vnet.ibm.com \
--cc=tyler.baker@linaro.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.