6.1 kernel & kvm #10950
Unanswered
mwoodpatrick
asked this question in
Q&A
6.1 kernel & kvm
#10950
Replies: 1 comment
-
Hi, I use wsl 6.1 and I suppose it already has kvm feature. My hardware support Virtualization
wsl 6.1 has multiple kvm patch commit and this is the piece of 6.1 wsl kernel config CONFIG_HAVE_KVM=y
CONFIG_HAVE_KVM_PFNCACHE=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQFD=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_DIRTY_RING=y
CONFIG_HAVE_KVM_DIRTY_RING_TSO=y
CONFIG_HAVE_KVM_DIRTY_RING_ACQ_REL=y
CONFIG_HAVE_KVM_EVENTFD=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM_VFIO=y
CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y
CONFIG_KVM_COMPAT=y
CONFIG_HAVE_KVM_IRQ_BYPASS=y
CONFIG_HAVE_KVM_NO_POLL=y
CONFIG_KVM_XFER_TO_GUEST_WORK=y
CONFIG_VIRTUALIZATION=y
CONFIG_KVM=y
CONFIG_KVM_WERROR=y
CONFIG_KVM_INTEL=y
CONFIG_KVM_AMD=y
# CONFIG_KVM_XEN is not set I can see my kvm moudles
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm following the article:
How-to use the Microsoft Linux kernel v6 on WSL2 | Microsoft Learn
The branch mentioned in the article v6.1.x no longer exists so I'm using the linux-msft-wsl-6.1.y branch and during the build, it asks a few questions including:
Mitigate Straight-Line-Speculation (SLS)
What is the recommended answer for this?
During the build I hit the issue:
See bug: #7667. The same fix appears to work:
sudo apt install dwarves
I'm also looking at the articles:
Build An Accelerated KVM Guest Custom Kernel for WSL 2 - 2022 Edition (boxofcables.dev)
Compiling your own WSL2 Kernel for Cilium (harthoover.com)
It would be useful if anyone has any suggestions on how to apply these to the 6.1 kernel.
Any pointers on best way to use this kernel and KVM module with libvirt and virt-manager would be useful
Beta Was this translation helpful? Give feedback.
All reactions