public inbox for kvmarm@lists.cs.columbia.edu
 help / color / mirror / Atom feed
* KVM_COMPAT support on aarch64
@ 2019-11-21 20:16 Daniel Verkamp
  2019-11-22 15:29 ` Marc Zyngier
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Verkamp @ 2019-11-21 20:16 UTC (permalink / raw)
  To: Marc Zyngier, kvmarm; +Cc: Dylan Reid

Hi Marc,

I noticed that in recent kernels (4.19 in our case), KVM no longer
works for 32-bit processes running on arm64 machines. We
(Crostini/crosvm, Linux VM support on Chromebooks) use this KVM_COMPAT
on all arm64-based Chromebooks that support VMs, since our entire
userspace (including crosvm) is 32-bit.

I found this commit (KVM: arm64: Prevent KVM_COMPAT from being
selected): https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=37b65db85f9b2fc98267eee4a18d7506492e6e8c

Is there any particular reason the compat ioctl is disabled (e.g.
actual bugs/breakage), or would it be possible to re-enable KVM_COMPAT
for ARM64?

In my brief testing with a 4.19-stable-based kernel on a new arm64
board, everything seems to work fine with the commit above reverted.

Thanks,
-- Daniel
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-22 18:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-21 20:16 KVM_COMPAT support on aarch64 Daniel Verkamp
2019-11-22 15:29 ` Marc Zyngier
2019-11-22 17:50   ` Daniel Verkamp
2019-11-22 18:31     ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox