cloud-hypervisor icon indicating copy to clipboard operation
cloud-hypervisor copied to clipboard

"Custom kernel and Disk image" docs out of date? reference kernel configs missing

Open arianvp opened this issue 9 months ago • 3 comments

Describe the bug

https://www.cloudhypervisor.org/docs/prologue/quick-start/#building-your-kernel

tells me to do

$ 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

but neither file exists

Where can I find the reference kernel config?

To Reproduce

$ 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

Version

Output of cloud-hypervisor --version:

Did you build from source, if so build command line (e.g. features):

VM configuration

What command line did you run (or JSON config data):

Guest OS version details:

Host OS version details:

Logs

Output of cloud-hypervisor -v from either standard error or via --log-file:

Linux kernel output:

arianvp avatar May 10 '25 10:05 arianvp

https://github.com/cloud-hypervisor/linux/blob/ch-6.12.8/arch%2Farm64%2Fconfigs%2Fch_defconfig https://github.com/cloud-hypervisor/linux/blob/ch-6.12.8/arch%2Fx86%2Fconfigs%2Fch_defconfig

iggy avatar May 11 '25 04:05 iggy

Awesome thanks! I guess we should update the docs page to link to the new configs

arianvp avatar May 11 '25 07:05 arianvp

I think I captured this in #7015

rbradford avatar May 11 '25 07:05 rbradford