Skip to content

Enable built-in vhost-vsock in Linux 6.16 - #5

Draft
volcaxiao wants to merge 1 commit into
asterinas:mainfrom
volcaxiao:pr/vhost-vsock-built-in
Draft

Enable built-in vhost-vsock in Linux 6.16#5
volcaxiao wants to merge 1 commit into
asterinas:mainfrom
volcaxiao:pr/vhost-vsock-built-in

Conversation

@volcaxiao

Copy link
Copy Markdown

Motivation

The Asterinas vhost-vsock benchmark compares Asterinas and Linux with the same initramfs. The cache publishes only the Linux kernel image, so a modular CONFIG_VHOST_VSOCK leaves /dev/vhost-vsock unavailable because the matching module tree is not present.

Changes

  • Build VSOCKETS, VIRTIO_VSOCKETS_COMMON, VHOST_IOTLB, VHOST, and VHOST_VSOCK into the Linux 6.16 fixture.
  • Rebuild 6.16.0/vmlinuz from the committed configuration.
  • Document the vhost-vsock benchmark dependency.

Validation

  • Kernel release: 6.16.0.
  • The build-tree .config matches the committed 6.16.0/.config.
  • bzImage SHA-256: 9a5400011f0da1089ddb73bd074ed23b65e6651885a036d95c5942f661aa8be3.
  • Three QEMU/KVM benchmark runs completed all host-to-guest and guest-to-host vhost-vsock cases with 64-byte, 4-KiB, and 64-KiB buffers.
  • git diff --check passed.

Build the Linux 6.16 fixture with the vhost-vsock dependency chain built in so the shared initramfs can provide /dev/vhost-vsock without shipping matching modules.
@volcaxiao
volcaxiao force-pushed the pr/vhost-vsock-built-in branch from b36f651 to 217a311 Compare July 29, 2026 14:51
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.

1 participant