KVM host support for the arm architecture was removed in commit 541ad0150ca4 ("arm: Remove 32bit KVM host support"). When trying to sync KVM headers we get this error message: $ util/update_headers.sh /path/to/linux cp: cannot stat '/path/to/linux/arch/arm/include/uapi/asm/kvm.h': No such file or directory Do not attempting to copy KVM headers for that architecture. Signed-off-by: Alexandru Elisei <alexandru.elisei@xxxxxxx> --- util/update_headers.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/util/update_headers.sh b/util/update_headers.sh index bf87ef601019..049dfe4ef9d0 100755 --- a/util/update_headers.sh +++ b/util/update_headers.sh @@ -36,10 +36,9 @@ copy_optional_arch () { fi } -for arch in arm arm64 mips powerpc x86 +for arch in arm64 mips powerpc x86 do case "$arch" in - arm) KVMTOOL_PATH=arm/aarch32 ;; arm64) KVMTOOL_PATH=arm/aarch64 copy_optional_arch asm/sve_context.h ;; *) KVMTOOL_PATH=$arch ;; -- 2.28.0