You are not logged in.
Hi
I'm not very invested into kernel development and how things are merged/rejected and then packaged into Arch distro so in advance sorry for my ignorance but I'm affected by one KVM bug and basing on Ubuntu One bug report it seems that there is already commit supposedly fixing it:
https://github.com/kvm-x86/linux/commit/a484755ab252
That said issue still occurs on my machine. I know it's fairly fresh commit since it was posted about month ago but considering how relatively bleeding-edge Arch is, I'm not entirely sure if it hasn't been shipped to Arch yet, or just didn't solve my problem and I should look into that issue further.
So is there any way to see exact source code of my particular kernel in Arch so that I could look up whether it has this patch already applied? I'm of course on latest shipped kernel (linux package, 6.6.8-arch1-1)
Last edited by lapsio (2024-01-02 10:40:42)
Offline
All the changes to https://github.com/kvm-x86/linux/commit/a484755ab252 are to arch/x86/kvm/svm/nested.c
Assuming you are using the linux package-> https://archlinux.org/packages/core/x86_64/linux/ -> https://github.com/archlinux/linux -> select a tag -> tree -> navigate to arch/x86/kvm/svm/nested.c -> history
Offline
All the changes to https://github.com/kvm-x86/linux/commit/a484755ab252 are to arch/x86/kvm/svm/nested.c
Assuming you are using the linux package-> https://archlinux.org/packages/core/x86_64/linux/ -> https://github.com/archlinux/linux -> select a tag -> tree -> navigate to arch/x86/kvm/svm/nested.c -> history
Thanks. It seems it's not merged yet into Arch kernel then and it doesn't seem to be in 6.6.9 relased few hours ago either. So I guess I'm just gonna wait a bit more then but it's still much better news than knowing that this patch doesn't work for me ![]()
Offline
Thanks. It seems it's not merged yet into Arch kernel then and it doesn't seem to be in 6.6.9 relased few hours ago either. So I guess I'm just gonna wait a bit more then but it's still much better news than knowing that this patch doesn't work for me
You can test the patch locally. See Patching_packages#Applying_patches. The changes to apply this patch are:
diff --git a/PKGBUILD b/PKGBUILD
index d975d13..9094eff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,6 +30,7 @@ _srctag=v${pkgver%.*}-${pkgver##*.}
source=(
https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign}
$url/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig}
+ https://github.com/kvm-x86/linux/commit/a484755ab252.patch
config # the main kernel config file
)
validpgpkeys=(
@@ -42,11 +43,13 @@ sha256sums=('8ebc65af0cfc891ba63dce0546583da728434db0f5f6a54d979f25ec47f548b3'
'SKIP'
'da9d15179f3a0e1b19c57344c6e10b886d598f5256ea6f82adbe2940ccf68b34'
'SKIP'
+ '79f4a77edd0e85b398bdba707832f3a7c64efd2a02ef2e048fe0759aaa316698'
'18fcff9fa723cef2feb654dae966a149f0ef0fea9dda1780d3de0ff07d4f8ab7')
b2sums=('c7deb1221716144b636018ee2936abe6397e15204c9bdb4cb5806f6bd303cd5d3f953a7da5865c4f211b866e4dfec4cd347c0a1a0a675f18b1a4ad197b099cec'
'SKIP'
'aab29beac241ad2a789c5d0f5536f3d3277e42ee3a0df2b32cdbfbe60bbf02e337c439f7bd6eb18bed266de4ad2751b859de00aab595b3f9565a34327b78fdbf'
'SKIP'
+ '7fdc5d058fb480d1c22aed2e5e301ba8374bdb6b8187ddc2615f73417c5842cc2fdd037ad0d62ceff2c3ed0d2f74bfce347e7ac5ccabdcc371737e3bfcc386a3'
'72b204712173dd109f60c6c81a10dc24c64eba7c2be8182a520b52f31ba2ecc4082fc711656a7e4893aac26120f9271c1fda3e37ad94236db95b14a6fdb56a82')
export KBUILD_BUILD_HOST=archlinuxBuilt package with https://github.com/kvm-x86/linux/commit … b252.patch and pkgver incremented to 1.1:
https://drive.google.com/file/d/1Wdkxb0 … sp=sharing linux-6.6.9.arch1-1.1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1vnH03f … sp=sharing linux-headers-6.6.9.arch1-1.1-x86_64.pkg.tar.zst
Offline