Rate This Document
Findability
Accuracy
Completeness
Readability

"seccomp support is disabled" Displayed During the KVM Startup

Symptom

The KVM is installed on a Kunpeng server running CentOS 7.6. Before libvirt and QEMU are upgraded, the KVM functions properly. After libvirt and QEMU are upgraded, the message "seccomp support is disabled" is displayed during the VM creation and OS installation.

The version information after the upgrade is as follows:

Key Process and Cause Analysis

The issue arises because the libseccomp library is installed, which enables the seccomp feature of libvirt by default. However, the seccomp feature is not enabled during the compilation and installation of QEMU.

Conclusion and Solution

Before upgrading QEMU, install the libseccomp devel dependency to avoid the preceding problem.

yum install libseccomp-devel