From ef3a90e13c5e46d29902aefd162f7c6aae4ea0da Mon Sep 17 00:00:00 2001 From: Gauthier Jolly Date: Thu, 29 May 2025 12:02:45 +0200 Subject: [PATCH] doc: quick-start: Update documentation for new kernel configuration Replace the use of a reference kernel configuration file from this repository with the use of a defconfig from the linux fork. Signed-off-by: Gauthier Jolly --- content/en/docs/prologue/quick-start.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/content/en/docs/prologue/quick-start.md b/content/en/docs/prologue/quick-start.md index 346a4bd3..b75c4271 100644 --- a/content/en/docs/prologue/quick-start.md +++ b/content/en/docs/prologue/quick-start.md @@ -124,14 +124,9 @@ To build the kernel: ```shell # Clone the Cloud Hypervisor Linux branch -$ git clone --depth 1 https://github.com/cloud-hypervisor/linux.git -b ch-6.2 linux-cloud-hypervisor +$ git clone --depth 1 https://github.com/cloud-hypervisor/linux.git -b ch-6.12.8 linux-cloud-hypervisor $ pushd linux-cloud-hypervisor -# Use the x86-64 cloud-hypervisor kernel config to build your kernel for x86-64 -$ wget https://raw.githubusercontent.com/cloud-hypervisor/cloud-hypervisor/main/resources/linux-config-x86_64 -# Use the AArch64 cloud-hypervisor kernel config to build your kernel for AArch64 -$ wget https://raw.githubusercontent.com/cloud-hypervisor/cloud-hypervisor/main/resources/linux-config-aarch64 -$ cp linux-config-x86_64 .config # x86-64 -$ cp linux-config-aarch64 .config # AArch64 +$ make ch_defconfig # Do native build of the x86-64 kernel $ KCFLAGS="-Wa,-mx86-used-note=no" make bzImage -j `nproc` # Do native build of the AArch64 kernel