profile/paravirt: Correct build on non‐x86

This commit is contained in:
Mikael 2024-11-15 14:22:51 +01:00
parent dcfad13feb
commit d1d25a6682
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -1,12 +1,5 @@
{ option, lib, hostPlatform }: { { option, lib, hostPlatform }: {
HYPERVISOR_GUEST = true;
PARAVIRT = true; PARAVIRT = true;
PARAVIRT_SPINLOCKS = true;
KVM_GUEST = true;
ARCH_CPUIDLE_HALTPOLL = true;
PARAVIRT_CLOCK = true;
HALTPOLL_CPUIDLE = true;
FW_CFG_SYSFS = true; FW_CFG_SYSFS = true;
@ -38,4 +31,11 @@
FUSE_FS = true; FUSE_FS = true;
VIRTIO_FS = true; VIRTIO_FS = true;
} // lib.optionalAttrs hostPlatform.isx86 {
HYPERVISOR_GUEST = true;
PARAVIRT_SPINLOCKS = true;
KVM_GUEST = true;
PARAVIRT_CLOCK = true;
HALTPOLL_CPUIDLE = true;
} }