vmm, virtio-devices: Extend mshv feature

There are some seccomp rules needed for MSHV
in virtio-devices but not for KVM. We only want to
add those rules based on MSHV feature guard.

Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
Muminul Islam 2021-07-12 14:40:50 -07:00 committed by Bo Chen
parent d68c388cac
commit 3937e03c02
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ edition = "2018"
[features]
default = []
io_uring = ["block_util/io_uring"]
mshv = []
[dependencies]
anyhow = "1.0"

View File

@ -10,7 +10,7 @@ acpi = ["acpi_tables","devices/acpi", "arch/acpi"]
cmos = ["devices/cmos"]
fwdebug = ["devices/fwdebug"]
kvm = ["hypervisor/kvm", "vfio-ioctls/kvm", "vm-device/kvm"]
mshv = ["hypervisor/mshv"]
mshv = ["hypervisor/mshv", "virtio-devices/mshv"]
io_uring = ["virtio-devices/io_uring"]
tdx = ["arch/tdx", "hypervisor/tdx"]