Skip to content

VirtIO FS support in 6.12.x for x86 and arm64 #4197

Open
UbiquitousBear wants to merge 3 commits intolinuxkit:masterfrom
UbiquitousBear:feat/virtiofs-6.12.x
Open

VirtIO FS support in 6.12.x for x86 and arm64 #4197
UbiquitousBear wants to merge 3 commits intolinuxkit:masterfrom
UbiquitousBear:feat/virtiofs-6.12.x

Conversation

@UbiquitousBear
Copy link

@UbiquitousBear UbiquitousBear commented Jan 3, 2026

- What I did

  • Add VirtIO FS Support for linux kernel 6.12.x for x86 and amr64 archs
    - How I did it

- How to verify it
Builds and test not possible - make update-kernel-yamls is now adding junk characters.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Shamil Nunhuck <shamil@shamil.email>
Signed-off-by: Shamil Nunhuck <shamil@shamil.email>
This reverts commit c1ef7d4.

Signed-off-by: Shamil Nunhuck <shamil@shamil.email>
@UbiquitousBear
Copy link
Author

@deitch , I've tried running make update-kernel-yamls but I can't generate clean files, I end up with rubbish:

git status
On branch feat/virtiofs-6.12.x
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   ../test/cases/020_kernel/022_config_6.12.x/test.yml
        modified:   ../test/cases/020_kernel/122_kmod_6.12.x/Dockerfile
        modified:   ../test/cases/020_kernel/122_kmod_6.12.x/test.sh
        modified:   ../test/cases/020_kernel/122_kmod_6.12.x/test.yml
        modified:   ../test/cases/020_kernel/222_tags_6.12.x/test.sh

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        ../examples/addbinds.yml''
        ../examples/cadvisor.yml''
        ../examples/containerd-debug.yml''
        ../examples/dm-crypt-loop.yml''
        ../examples/dm-crypt.yml''
        ../examples/docker-for-mac.yml''
        ../examples/docker.yml''
        ../examples/getty.yml''
        ../examples/hostmount-writeable-overlay.yml''
        ../examples/influxdb-os.yml''
        ../examples/logging.yml''
        ../examples/minimal.yml''
        ../examples/node_exporter.yml''
        ../examples/openstack.yml''
        ../examples/platform-aws.yml''
        ../examples/platform-azure.yml''
        ../examples/platform-equinixmetal.arm64.yml''
        ../examples/platform-equinixmetal.yml''
        ../examples/platform-gcp.yml''
        ../examples/platform-hetzner.yml''
        ../examples/platform-scaleway.yml''
        ../examples/platform-vmware.yml''
        ../examples/platform-vultr.yml''
        ../examples/redis-os.yml''
        ../examples/sshd.yml''
        ../examples/static-ip.yml''
        ../examples/swap.yml''
        ../examples/tpm.yml''
        ../examples/volumes.yml''
        ../examples/vpnkit-forwarder.yml''
        ../examples/vsudd-containerd.yml''
        ../examples/wireguard.yml''
        ../linuxkit-template.yml''
        ../linuxkit.yml''
        ../pkg/firmware/Dockerfile''
        ../projects/compose/compose-dynamic.yml''
        ../projects/compose/compose-static.yml''
        ../projects/miragesdk/examples/fdd.yml''
        ../projects/miragesdk/examples/mirage-dhcp.yml''
        ../src/cmd/linuxkit/moby/build/mkimage.yaml''
        ../test/cases/000_build/000_formats/test.yml''
        ../test/cases/000_build/001_tarheaders/test.yml''
        ../test/cases/000_build/010_reproducible/test.yml''
        ../test/cases/000_build/020_binds/test.yml''
        ../test/cases/000_build/050_sbom/test.yml''
        ../test/cases/000_build/060_input_tar/000_build/test1.yml''
        ../test/cases/000_build/060_input_tar/000_build/test2.yml''
        ../test/cases/000_build/060_input_tar/010_same_filename/test.yml''
        ../test/cases/000_build/070_volumes/000_rw_on_rw/test.yml''
        ../test/cases/000_build/070_volumes/001_ro_on_ro/test.yml''
        ../test/cases/000_build/070_volumes/002_rw_on_ro/test.yml''
        ../test/cases/000_build/070_volumes/003_ro_on_rw/test.yml''
        ../test/cases/000_build/070_volumes/004_blank/test.yml''
        ../test/cases/000_build/070_volumes/005_image/test.yml''
        ../test/cases/000_build/070_volumes/006_mount_types/test.yml''
        ../test/cases/000_build/080_mirrors/test.yml''
        ../test/cases/000_build/091_validate_linuxkit_yaml/linuxkit.yml''
        ../test/cases/010_platforms/000_qemu/000_run_kernel+initrd/test.yml''
        ../test/cases/010_platforms/000_qemu/005_run_kernel+squashfs/test.yml''
        ../test/cases/010_platforms/000_qemu/010_run_iso/test.yml''
        ../test/cases/010_platforms/000_qemu/020_run_efi/test.yml''
        ../test/cases/010_platforms/000_qemu/030_run_qcow_bios/test.yml''
        ../test/cases/010_platforms/000_qemu/040_run_raw_bios/test.yml''
        ../test/cases/010_platforms/000_qemu/050_run_aws/test.yml''
        ../test/cases/010_platforms/000_qemu/060_run_raw_efi/test.yml''
        ../test/cases/010_platforms/000_qemu/100_container/test.yml''
        ../test/cases/010_platforms/010_hyperkit/000_run_kernel+initrd/test.yml''
        ../test/cases/010_platforms/010_hyperkit/005_run_kernel+squashfs/test.yml''
        ../test/cases/010_platforms/010_hyperkit/010_acpi/test.yml''
        ../test/cases/010_platforms/110_gcp/000_run/test.yml''
        ../test/cases/020_kernel/019_config_6.6.x/test.yml''
        ../test/cases/020_kernel/022_config_6.12.x/test.yml''
        ../test/cases/020_kernel/119_kmod_6.6.x/Dockerfile''
        ../test/cases/020_kernel/119_kmod_6.6.x/test.sh''
        ../test/cases/020_kernel/119_kmod_6.6.x/test.yml''
        ../test/cases/020_kernel/122_kmod_6.12.x/Dockerfile''
        ../test/cases/020_kernel/122_kmod_6.12.x/test.sh''
        ../test/cases/020_kernel/122_kmod_6.12.x/test.yml''
        ../test/cases/020_kernel/200_namespace/common.yml''
        ../test/cases/020_kernel/219_tags_6.6.x/test.sh''
        ../test/cases/020_kernel/222_tags_6.12.x/test.sh''
        ../test/cases/030_security/000_docker-bench/test.yml''
        ../test/cases/030_security/010_ports/test.yml''
        ../test/cases/040_packages/001_dummy/test.yml''
        ../test/cases/040_packages/002_bcc/test.yml''
        ../test/cases/040_packages/002_binfmt/test.yml''
        ../test/cases/040_packages/002_bpftrace/test.yml''
        ../test/cases/040_packages/003_ca-certificates/test.yml''
        ../test/cases/040_packages/003_cgroupv2/test.yml''
        ../test/cases/040_packages/003_containerd/test.yml''
        ../test/cases/040_packages/004_dhcpcd/test.yml''
        ../test/cases/040_packages/004_dm-crypt/000_simple/test.yml''
        ../test/cases/040_packages/004_dm-crypt/001_luks/test.yml''
        ../test/cases/040_packages/004_dm-crypt/002_key/test.yml''
        ../test/cases/040_packages/005_extend/000_ext4/test-create.yml''
        ../test/cases/040_packages/005_extend/000_ext4/test.yml''
        ../test/cases/040_packages/005_extend/001_btrfs/test-create.yml''
        ../test/cases/040_packages/005_extend/001_btrfs/test.yml''
        ../test/cases/040_packages/005_extend/002_xfs/test-create.yml''
        ../test/cases/040_packages/005_extend/002_xfs/test.yml''
        ../test/cases/040_packages/005_extend/003_gpt/test-create.yml''
        ../test/cases/040_packages/005_extend/003_gpt/test.yml''
        ../test/cases/040_packages/006_format_mount/000_auto/test.yml''
        ../test/cases/040_packages/006_format_mount/001_by_label/test.yml''
        ../test/cases/040_packages/006_format_mount/002_by_name/test.yml.in''
        ../test/cases/040_packages/006_format_mount/003_btrfs/test.yml''
        ../test/cases/040_packages/006_format_mount/004_xfs/test.yml''
        ../test/cases/040_packages/006_format_mount/005_by_device_force/test.yml''
        ../test/cases/040_packages/006_format_mount/006_gpt/test.yml''
        ../test/cases/040_packages/006_format_mount/010_multiple/test.yml''
        ../test/cases/040_packages/007_getty-containerd/test.yml''
        ../test/cases/040_packages/009_init_containerd/test.yml''
        ../test/cases/040_packages/011_kmsg/test.yml''
        ../test/cases/040_packages/012_logwrite/test.yml''
        ../test/cases/040_packages/012_losetup/test.yml''
        ../test/cases/040_packages/013_metadata/000_cidata/test.yml''
        ../test/cases/040_packages/013_mkimage/mkimage.yml''
        ../test/cases/040_packages/013_mkimage/run.yml''
        ../test/cases/040_packages/019_sysctl/test.yml''
        ../test/cases/040_packages/023_wireguard/test.yml''
        ../test/hack/test-ltp.yml''
        ../test/hack/test.yml''
        ../test/pkg/ns/template.yml''

@UbiquitousBear UbiquitousBear changed the title Feat/virtiofs 6.12.x VirtIO FS support in 6.12.x for x86 and amr64 Jan 3, 2026
@UbiquitousBear UbiquitousBear changed the title VirtIO FS support in 6.12.x for x86 and amr64 VirtIO FS support in 6.12.x for x86 and arm64 Jan 3, 2026
@UbiquitousBear
Copy link
Author

@rn or @justincormack - any chance I can get some help here? I'm working on a proof of concept, and I'd like to see this in linuxkit rather than my own image :)

@UbiquitousBear
Copy link
Author

@deitch is there any help you can provide? Trying to generate tests and yamls

@deitch
Copy link
Collaborator

deitch commented Jan 15, 2026

Hi @UbiquitousBear

iIt isn't just about updating the specific lines in kernel/6.12.x/config-aarch64 and kernel/6.12.x/config-x86_64. How did you change those lines?

In general, we do not rerelease new versions of the same kernel. The current 6.12.x is 6.12.59 (see here). So any changes will go into an updated version. I think 6.12.65 is the latest). You would need to change that args file, and follow the process for creating a new version in a given series, in this doc. Further up, it explains modifying the kernel config. Did you follow the linuxkit/kconfig process?

@UbiquitousBear
Copy link
Author

UbiquitousBear commented Jan 15, 2026

@deitch, yes I did follow the instructions (and making yamls still creates junk files).

I can either go to the next patch or minor; what would you prefer?

@deitch
Copy link
Collaborator

deitch commented Jan 15, 2026

Patch, I think

@UbiquitousBear
Copy link
Author

I’ll update it here, expect something tomorrow ish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments