On Wed, 27 Nov 2024 08:38:59 +0000, Bernhard Kauer <bk@xxxxxxxxx> wrote: > > On Tue, Nov 26, 2024 at 11:23:10AM +0000, Marc Zyngier wrote: > > > > I'm not overly keen on the command-line flag though, as this is the > > > > sort of things you'd like to be able to control more finely. Or at > > > > least without having to trigger a reboot. > > > > > > I compile KVM as module, so I can reload it with different parameters > > > easily. > > > > arm64 doesn't (and cannot) build KVM as a module. > > Ah, I didn't realize it. But being able to patch EL2 from EL1 is probably > more complicated than what is gained with it. It is mostly pulling the rug from under your feet if you do that on non-VHE systems, and make absolutely for things like pKVM. > > > But I can make the module parameter read-write so that it is modifiable > > > during runtime via /sys/module/kvm/parameters/ even when KVM is compiled > > > into the kernel. > > > > I guess that'd be the next best thing. > > Ok, I will do that in v2 of the patch to be sent next week. Thanks. M. -- Without deviation from the norm, progress is not possible.