From c817d9a34f3f6a2504e197fa17312ea4448f01e6 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Wed, 3 Jun 2026 20:39:10 +0200 Subject: [PATCH] uml: add v6.18 as testing kernel Check out the TESTING_KERNEL option to build OpenWrt UML with v6.18. Be aware that the old UML networking is now gone! Please checkout: https://docs.kernel.org/virt/uml/user_mode_linux_howto_v2.html#setting-up-uml-networking Note: v6.12 already supported vector transports. The README.md has been updated to reflect this change. Signed-off-by: Christian Lamparter --- target/linux/uml/Makefile | 1 + target/linux/uml/README.md | 23 ++++++----------------- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/target/linux/uml/Makefile b/target/linux/uml/Makefile index 1d34a6a9837..142d5dd33a8 100644 --- a/target/linux/uml/Makefile +++ b/target/linux/uml/Makefile @@ -15,6 +15,7 @@ FEATURES:=audio ext4 rootfs-part squashfs SUBTARGETS:=generic KERNEL_PATCHVER:=6.12 +KERNEL_TESTING_PATCHVER:=6.18 include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/uml/README.md b/target/linux/uml/README.md index ffdd2f0fe71..8d1f69a2b53 100644 --- a/target/linux/uml/README.md +++ b/target/linux/uml/README.md @@ -31,21 +31,10 @@ playing in the world of 'embedded routers' along with all the resource restrictions that come with that world. To configure networking and more refer to the *user mode linux* documentation -online. A quick start goes along this line. Install the `uml-utilities` -packages so you have the `uml_switch` in and running, then add a command param -to your uml start like this: +online: +https://docs.kernel.org/virt/uml/user_mode_linux_howto_v2.html#setting-up-uml-networking -```shell -eth0=daemon,00:01:01:01:01:01,unix,/ -``` - -With that in, and uml networking actually functional (can be a challenge at -times), you should be able to `ifconfig` the interface and talk to the host -side or if you bridged the uml switch to your host network, you should be able -to run `udhcp` and be away with networking off to the world. Again, if you are -unfamiliar with uml and uml networking, please read the docs and how-to stuff -available on the net. It does take some fiddling to get it started and working -right the first time, but after that, it opens up a whole new world of virtual -machines. - -http://user-mode-linux.sourceforge.net/ +Actually functional uml networking can be a challenge at times. Again, if you are +unfamiliar with uml and uml networking, please read the docs and how-to stuff available +on the net. It does take some fiddling to get it started and working right the first +time, but after that, it opens up a whole new world of virtual machines. -- 2.47.3