From d1d25a6682949d643743e57af40a5fbeb4241916 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Fri, 15 Nov 2024 14:22:51 +0100 Subject: [PATCH] =?UTF-8?q?profile/paravirt:=20Correct=20build=20on=20non?= =?UTF-8?q?=E2=80=90x86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- profile/paravirt.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/profile/paravirt.nix b/profile/paravirt.nix index e75aecf..9d75bcc 100644 --- a/profile/paravirt.nix +++ b/profile/paravirt.nix @@ -1,12 +1,5 @@ { option, lib, hostPlatform }: { - HYPERVISOR_GUEST = true; PARAVIRT = true; - PARAVIRT_SPINLOCKS = true; - KVM_GUEST = true; - ARCH_CPUIDLE_HALTPOLL = true; - PARAVIRT_CLOCK = true; - - HALTPOLL_CPUIDLE = true; FW_CFG_SYSFS = true; @@ -38,4 +31,11 @@ FUSE_FS = true; VIRTIO_FS = true; +} // lib.optionalAttrs hostPlatform.isx86 { + HYPERVISOR_GUEST = true; + PARAVIRT_SPINLOCKS = true; + KVM_GUEST = true; + PARAVIRT_CLOCK = true; + + HALTPOLL_CPUIDLE = true; }