Folks,
 I've been a VMware user for a long time.  However after having various issues running vmware under F43 I decided this was an opportune time to learn about KVM.  So I ran:

 [pgaltieri@terrapin ~]$ virt-host-validate

  QEMU: Checking for cgroup 'devices' controller support      : WARN (Enable 'devices' in kernel Kconfig file or mount/enable cgroup controller in your system)
.
.
.
  QEMU: Checking for secure guest support      : WARN (Unknown if this platform has Secure Guest support)
.
.
   LXC: Checking for cgroup 'devices' controller support      : FAIL (Enable 'devices' in kernel Kconfig file or mount/enable cgroup controller in your system)    LXC: Checking for cgroup 'freezer' controller support      : FAIL (Enable 'freezer' in kernel Kconfig file or mount/enable cgroup controller in your system)

I've googled the issue and I get different responses.  The one I used is

GRUB_CMDLINE_LINUX="rhgb quiet intel_iommu=on cgroup_enable=devices systemd.unified_cgroup_hierarchy=0"

in /etc/default/grub

even after doing the

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

and rebooting I still get the FAIL for cgroup devices and freezer.

I even tried with systemd.unified_cgroup_hierarchy=1 with the same result.  What do I need to do to resolve these failures?

Any help is appreciated.

Paolo
Hi Paolo,
    I found an article in google that indicates that the cgroup warning can be ignored because it doesn't apply to kvm, it is only relevant to LXC, and that virt-host-validate is checking for cgroup V1 support but Fedora is apparently using cgroup V2.     Also I found an article that says that on F40 adding intel_iommu=on systemd.unified_cgroup_hierarchy=0 to GRUB_CMDLINE_LINUX in /etc/sysconfig/grub resolved the fail issues.     The same article also has a response from someone else indicating that systemd.unified_cgroup_hierarchy=0 should not be used as it is forcing the use of cgroups1 which has been deprecated. He also says after using that parameter podman warned that the system was using cgroup1, but the message disappeared by removing that parameter. He is also specifying that the freezer fail is irrelevant for cgroup2 as cgroup_freezer should be disabled as specified at https://cateee.net/lkddb/web-lkddb/CGROUP_FREEZER.html.     He also says that the other parameter is relative to hypervisor performance and for Intel CPU's (VT-d and VT-x) you need iommu=pt intel_iommu=on but for AMD CPU's (VT-Vi) you only need iommu=pt and IOMMU is enabled by default and documented in https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_virtualization/.

    The url for the article I found is https://discussion.fedoraproject.org/t/how-to-enable-devices-and-freezer-in-kconfig-file/118077/2.

regards,
BEGIN:VCARD
VERSION:4.0
N:Morris;Stephen;;;
FN:Stephen Morris
EMAIL;PREF=1;TYPE=home:[email protected]
END:VCARD
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to