gpu: fix build guest kernel with nvidia gpu

- enable CONFIG_MTRR,CONFIG_X86_PAT on x86_64 for nvidia gpu
- optimize -f of build-kernel.sh, clean old kernel path and config before setup
- add kernel 5.16.x

Fixes: #9143

Signed-off-by: Jimmy-Xu <xjimmyshcn@gmail.com>
This commit is contained in:
Jimmy-Xu
2024-02-26 12:39:56 +08:00
parent daab76de36
commit 5ada7329b8
5 changed files with 30 additions and 6 deletions

View File

@@ -0,0 +1 @@