OpenWrt Forum Archive

Topic: kvm - Discussion about possible scenarios of virtualisation

The content of this topic has been archived on 25 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Dear Friends,

since kvm (virtualisation by kernel) is integrated in kernel mainline 2.6.20 I guess it is also available in openwrt.
If so, what possibilities do I have as user? One scenario acrossed my mind quickly. I must admit, I am no good hacker, more the user of openwrt.

So, hackers, tell me if I'm on the very wrong way with this scenario:
- I have hardware, that runs with kernel 2.6, except the wifi-device (e.g. Asus wl-500g Deluxe, aka wl-500gD)
- because of some reasons I can't/won't use kernel 2.4
- one device (e.g. broadcom wifi) runs only with (proprietary) 2.4 kernel modules
- I would make a system in a system by running a virtual 2.4 kernel in the booted 2.6 kernel
- that virtual system does communicate with the (2.4) wifi-hardware and for that task presents a virtual network interface that is available for me in the running kernel

In my fantasy I walk through the "make menuconfig" of the openwrt Buildroot and select e.g.:
- Use kvm
- build virtual/alternate openwrt (minimal) subsystem (or show me the tree again, but preconfigured/depending on the "main" system)
- select special kernel modules only for the subsystem
- show options like "configure virtual system/devices now" and "boot virtual system automatically"

hmm, bad english, good idea?

bye Sven

I think that you could better spend that effort in stabilizing broadcom wifi for the 2.6 kernel.

The discussion might have continued from here.