kumquat-buildroot/package/trinity/0006-kvm-drop-KVM_SET_MEMORY_REGION-42.patch
Waldemar Brodkorb 94edad7ed5 package/trinity: fix compile error with newer kernels
Add two patches from Upstream git to avoid compilation errors with
Linux kernel 6.4.x.

Fixes:
 - http://autobuild.buildroot.net/results/7f9/7f9626827a315b54c42e49ccb0bf75f8b5ec971d

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-08-15 17:16:50 +02:00

31 lines
896 B
Diff

From ca07c86b2aeeb91213922eaf481c9e224679a7fd Mon Sep 17 00:00:00 2001
From: Jiri Slaby <jirislaby@gmail.com>
Date: Fri, 17 Mar 2023 20:28:24 +0100
Subject: [PATCH] kvm: drop KVM_SET_MEMORY_REGION (#42)
It was dropped in upstream in commit 61e15f871241 (KVM: Delete all
references to removed KVM_SET_MEMORY_REGION ioctl).
Co-authored-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Upstream: https://github.com/kernelslacker/trinity/commit/ca07c86b2aeeb91213922eaf481c9e224679a7fd
---
ioctls/kvm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/ioctls/kvm.c b/ioctls/kvm.c
index 14c55ef1..30aeed7a 100644
--- a/ioctls/kvm.c
+++ b/ioctls/kvm.c
@@ -8,7 +8,6 @@
#include "utils.h"
static const struct ioctl kvm_ioctls[] = {
- IOCTL(KVM_SET_MEMORY_REGION),
IOCTL(KVM_CREATE_VCPU),
IOCTL(KVM_GET_DIRTY_LOG),
IOCTL(KVM_SET_NR_MMU_PAGES),
--
2.39.2