我要评分
获取效率
正确性
完整性
易理解

"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