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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1921870

Title:
  [UBUNTU 21.04] tools/kvm_stat: Add restart delay

Status in linux package in Ubuntu:
  New

Bug description:
  Description:   tools/kvm_stat: Add restart delay
  Symptom:       If the kvm service is enabled and the system rebooted,
                 Systemd's initial attempt to start the kvm unit file may
                 fail in case the kvm module is not loaded. However, once the
                 kvm module is loaded, the service is _not_ started.
  Problem:       Since the unit file does not specify a delay for the retries,
                 Systemd restarts with a minimum delay a number of times
                 before giving up and disabling the service. Which means a
                 subsequent kvm module load will have kvm running without
                 monitoring.
  Solution:      Add an appropriate delay in the unit file.
  Reproduction:  (1) Enable the kvm service via systemctl
                 (2) Reboot
                 (3) Verify that the kvm module is not loaded & kvm service
                     not running
                 (4) Load the kvm module via 'modprobe kvm'
                 (5) Verify that the kvm service came up within the next
                     minute.
  Preventive:    yes

  Just use the attached patch and you're good!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1921870/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to