---
title: 启动KVM虚拟机提示seccomp support is disabled的解决方法
description: "鲲鹏服务器基于CentOS 7.6安装KVM虚拟机，在libvirt和QEMU升级之前，功能正常。在对libvirt和QEMU升级后，创建虚拟机安装OS时提示“seccomp support is disabled”。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengcpfs/troubleshooting/trouble/kunpengcpfs_09_0012.html
sourcePath: /source/zh/kunpengcpfs/troubleshooting/trouble/kunpengcpfs_09_0012.html
indexId: f570919e3efd657d49a1e4e724a1d7b691a0cf0b91c78c0ae6fa13c46dc7504171
---
# 启动KVM虚拟机提示seccomp support is disabled的解决方法

#### 问题现象描述

鲲鹏服务器基于CentOS 7.6安装KVM虚拟机，在libvirt和QEMU升级之前，功能正常。在对libvirt和QEMU升级后，创建虚拟机安装OS时提示“seccomp support is disabled”。

升级后的版本信息如下：


#### 关键过程、根本原因分析

因为安装了libseccomp库，libvirt默认seccomp特性是打开的。实际编译安装QEMU时未打开seccomp特性。


#### 结论、解决方案及效果

升级QEMU之前，需要先安装libseccomp devel依赖包，避免出现上述问题。

```
yum install libseccomp-devel
```
