Finalize and merge PR #938: Virtualization support for LibreMesh with QEMU

Open
#1,172 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
linux, lua

Research direction

The issue names README, VIRTUALIZING.md, TESTING.md, qemu_dev_start, and qemu_cloud_start.yml. Read PR #938 and its review first, then check the README link, the OpenWrt 23.05 image guidance, the WAN setup, and the clusterssh option. Done means the listed documentation and script updates are resolved and the QEMU workflow is verified; the optional combined image support can be documented as future work.

Written by the indexing model from the issue text.

Description

This issue tracks the remaining steps needed to finalize and merge PR #938

Most of the work has been tested and reviewed, and the overall consensus is to merge it, however, a few technical and editorial details remain.

  1. Fix README link to VIRTUALIZING.md
    The README currently links to the author's fork/branch. It should point to the final location in the main repo.

  2. Document recent image naming changes in OpenWrt ≥ 22.03
    OpenWrt no longer generates ramfs.bzImage in x86 targets. The documentation and/or script should clarify:

    • That the user can use generic-kernel.bin with a rootfs tarball,
    • Or ideally, that *-initramfs-kernel.bin is the preferred option for QEMU.

    This ensures that the workflow still applies to LibreMesh 2024.1 (based on OpenWrt 23.05).

  3. Optionally support or document how to boot .img.gz combined images
    Currently qemu_dev_start expects a .tar.gz rootfs. However, users may try to use *-combined.img.gz from ImageBuilder or LibreRouterOS. While this is not required for merging, it would be helpful to mention:

    • That such images can be booted in QEMU using -drive file=...,
    • Or plan future support for them.
  4. Verify NAT/WAN setup
    Ensure the --enable-wan logic correctly sets up NAT and dnsmasq for WAN connectivity in the host. It seems to work in tests (via iptables and dnsmasq on port 5353), but a final check would help.

  5. Changing the files of OpenWRT from old version to 23.05 on TESTING.md

  6. Use --options in clusterssh:
    Update qemu_cloud_start.yml to use the long --options flag in clusterssh for better readability

Dominant language
Lua
Stars
338
Forks
113
Avg merge
8d 3h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from libremesh/lime-packages

All issues in libremesh/lime-packages

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.