I'm developing a product based on KVM/ARM, in which i need to modify the
code that is responsible for entering
into guest mode(i.e. EL1?) and i don't really want to recompile the kernel
and flash it again as part of my development. I need to run
on baremetal(on the board itself) when testing my code.

Any plans for supporting this in the near future? or any other suggestions
on a less painful development process?


On Tue, Apr 10, 2018 at 12:48 PM, James Morse <> wrote:

> Hi Mike,
> On 10/04/18 09:23, Mike Bazov wrote:
> > I'm trying to compile the KVM/ARM as a separate kernel module, just like
> > the x86 modules. When i compile the x86 modules, i get the "kvm.ko" and
> > "kvm-intel.ko" as an output. Is there any way of compiling the KVM/ARM as
> > modules as well?
> Not today. KVM has to map its code to run in a different CPU mode, the
> code that
> does this assumes its physically contiguous and part of the kernel text.
> > There is also no option for specifying "M" (modular) in the menuconfig
> when
> > choosing the virtualization and KVM option, like in x86.
> No, because its not supported. On arm/arm64 KVM is either built as part of
> the
> kernel, or not.
> Why do you need KVM as a loadable module?
> Thanks,
> James
kvmarm mailing list

Reply via email to