Linux KVM/arm64 development list
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: aaditya singh <aaditya99983@gmail.com>
Cc: kvmarm@lists.cs.columbia.edu
Subject: Re: Is there any KVM-enabled kernel for android i can find ?
Date: Fri, 27 Aug 2021 09:02:03 +0100	[thread overview]
Message-ID: <87y28nnwn8.wl-maz@kernel.org> (raw)
In-Reply-To: <CAKy_CfD3gYk4ErTP=PaGScj06onymhQ8mosQY1=NDARC+HOpbQ@mail.gmail.com>

On Fri, 27 Aug 2021 03:25:00 +0100,
aaditya singh <aaditya99983@gmail.com> wrote:

Hi Aaditya,

> I'm Aaditya, a student at NYU, currently i was working on putting
> kvm-enabled android kernel for our project and was wondering if you guys
> can help with, would be grateful if you can share the instructions on how
> to install kvm-enabled kernels ?

I'm afraid your question is pretty ambiguous. What do you call a
KVM-enabled kernel? Do you mean as a KVM host? Or as a guest? The fact
that this is Android is pretty much irrelevant as far as KVM is
concerned.

Enabling a KVM guest requires nothing in particular. You only need the
required drivers that match what your VMM is offering as a
platform. Any distro kernel will probably run out of the box.

Enabling a KVM host is just a matter of selecting CONFIG_KVM in your
kernel configuration and installing the kernel.

There are however a bunch of requirements for that host kernel to be
able to serve as a hypervisor. The firmware has to boot the kernel in
the right context (EL2), and most of the Android-based devices are not
exactly cooperative on that front.

It would certainly help if you could more exactly detail what you are
after, as there are no pre-canned answers to your questions.

Thanks,

	M.

-- 
Without deviation from the norm, progress is not possible.
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

      reply	other threads:[~2021-08-27  8:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-27  2:25 Is there any KVM-enabled kernel for android i can find ? aaditya singh
2021-08-27  8:02 ` Marc Zyngier [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=87y28nnwn8.wl-maz@kernel.org \
    --to=maz@kernel.org \
    --cc=aaditya99983@gmail.com \
    --cc=kvmarm@lists.cs.columbia.edu \
    /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