Re: kvm enable over cortex-a53?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 3, 2014 at 5:11 PM, Marc Zyngier <marc.zyngier@xxxxxxx> wrote:
> On Tue, Jun 03 2014 at  3:14:33 am BST, Lei Wen <adrian.wenl@xxxxxxxxx> wrote:
>> Hi Marc,
>>
>> On Mon, Jun 2, 2014 at 5:27 PM, Marc Zyngier <marc.zyngier@xxxxxxx> wrote:
>>> kvmtool tells you where the console lives (it is one of the virtio-mmio
>>> devices that it prints out when it starts). The address you quote
>>> (assuming that this is an IPA) doesn't seem to have anything to do with
>>> anything kvmtool emulates. Pretty sure your kernel is trying to poke at
>>> some area without parsing the device tree...
>>
>> Do you have any suggestion for how to debug it?...
>
> I suggest you start with a very simple guest kernel config (only virtio
> drivers), no additional stuff. My gut feeling is that you have stuff in
> your 3.10 kernel that shouldn't be there.
>
> Your best bet would probably to use a recent tree for your guests.

I see.
After remove the earlyprintk=uart8250-32bit,0xd4030000 in the kvmtool
command line, the KVM_EXIT_MMIO message is gone.
But the console is silence afterward, supposing there is something
wrong in boot the guest kernel.
Is there some method to access the guest kernel's log buffer?
Or some other way to output the guest kernel's message with earlyprintk?

I see virtio_block is defined in foundation-v8.dts, is it a must to have
such device node? Shall I map the uart phys register range by
this node?

>
>> Would kvmtool auto load the device tree, or shall I put the device
>> tree binary into somewhere?
>
> kvmtool generates the device tree based on what option you give it.
>
>>>> BTW, my lkvm tool is from:
>>>> https://github.com/virtualopensystems/linux-kvm-arm.git
>>>> with some modification to add cortex-a53 support.
>>>
>>> What is wrong with *mainline* kvmtool?
>>
>> The kvmtool seems not mainline yet? Am I wrong?
>
> Mainline in this case means in Pekka Enberg's tree (he is the kvmtool
> maintainer).
>
>> I also try below git, but nothing different...
>> http://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git
>
> This is Will Deacon's staging tree, not the mainline tree.
>
> The real thing is at:
> git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux.git kvmtool/next

Got it, very appreciate your great help.

Thanks,
Lei
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux