Since Ubuntu has KVM built-in (rather than being compiled as module) this should not be needed for Ubuntu.
$ lsb_release -r Release: 21.04 $ arch s390x $ grep -i CONFIG_KVM= /boot/config-5.11.0-13-generic CONFIG_KVM=y $ lsmod | grep -i kvm $ kvm-ok INFO: /dev/kvm exists KVM acceleration can be used
$ lsb_release -r Release: 20.04 $ arch s390x $ grep -i CONFIG_KVM= /boot/config-5.4.0-70-generic CONFIG_KVM=y $ lsmod | grep -i kvm $ kvm-ok INFO: /dev/kvm exists KVM acceleration can be used
Since Ubuntu has KVM built-in (rather than being compiled as module) this should not be needed for Ubuntu.
$ lsb_release -r 5.11.0- 13-generic
Release: 21.04
$ arch
s390x
$ grep -i CONFIG_KVM= /boot/config-
CONFIG_KVM=y
$ lsmod | grep -i kvm
$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
$ lsb_release -r 5.4.0-70- generic
Release: 20.04
$ arch
s390x
$ grep -i CONFIG_KVM= /boot/config-
CONFIG_KVM=y
$ lsmod | grep -i kvm
$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used