<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/xback/scripts/qemustart, branch master</title>
<subtitle>Staging tree of Koen Vandeputte</subtitle>
<id>https://git.openwrt.org/openwrt/staging/xback/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/xback/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/'/>
<updated>2026-05-21T14:06:25Z</updated>
<entry>
<title>scripts: add --user-network to qemustart</title>
<updated>2026-05-21T14:06:25Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2026-05-18T17:55:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=a7b5926bbae0900c7a10e625fdee29c8f9ecfcae'/>
<id>urn:sha1:a7b5926bbae0900c7a10e625fdee29c8f9ecfcae</id>
<content type='text'>
qemustart is a handy script to quickly test OpenWrt firmware using
qemu.  Bringing up networking currently requires a bridge-helper
setup with privileged IP and bridge assignment.  To simplify
testing scenarios like the package manager, which need both shell
access and outbound internet, add a user-mode networking option
backed by SLIRP that requires no privileges.

To stay backward compatible, the defaults don't change.  The new
flag --user-network attaches two NICs (LAN + WAN) and forwards
three host ports to the guest LAN interface (192.168.1.1):
2222 -&gt; 22 (ssh), 8080 -&gt; 80 (http) and 8443 -&gt; 443 (https).  The
host-side ports can be overridden with --ssh-port, --http-port
and --https-port.

Link: https://github.com/openwrt/openwrt/pull/23424
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>scripts: fix lan/wan order of malta in qemustart</title>
<updated>2026-05-21T14:06:25Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2026-05-18T17:53:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=b8a67fa8d5d33acfc8a1997ad0070f0609d3b182'/>
<id>urn:sha1:b8a67fa8d5d33acfc8a1997ad0070f0609d3b182</id>
<content type='text'>
OpenWrt's 99-default_network assigns eth0 to lan and eth1 to wan
when no target-specific 02_network is present, which is the case
for malta.  The qemustart bridge block however placed the wan
-device before the lan -device, so the guest's eth0 (lan) ended
up attached to $BR_WAN and eth1 (wan) to $BR_LAN.

Swap the order to match the guest's actual role assignment.

Link: https://github.com/openwrt/openwrt/pull/23424
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>scripts: update malta kernel path in qemustart</title>
<updated>2026-02-10T23:08:34Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2026-02-08T19:14:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=2d0f81f521044ba17adc6b11ec587537446cfad7'/>
<id>urn:sha1:2d0f81f521044ba17adc6b11ec587537446cfad7</id>
<content type='text'>
Update the default kernel path in start_qemu_malta() to match the new
image naming scheme after the malta target was converted to the Device
macro system with device name 'generic'.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>scripts: qemustart: Fix x86/legacy bootup</title>
<updated>2023-08-14T21:37:04Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2023-08-14T21:33:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=497012ab4eb1f37cbbbff9a766d2fecdb43dd0db'/>
<id>urn:sha1:497012ab4eb1f37cbbbff9a766d2fecdb43dd0db</id>
<content type='text'>
The ide-drive option was renamed to ide-hd in qemu 6.0.
With this change qemu is starting again on Debian 12.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>scripts: qemustart: change armvirt references to armsr</title>
<updated>2023-06-10T19:30:24Z</updated>
<author>
<name>Mathew McBride</name>
</author>
<published>2023-06-09T02:19:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=36bf9d861082d30fdb1cf1d00f819e60b8bb84a7'/>
<id>urn:sha1:36bf9d861082d30fdb1cf1d00f819e60b8bb84a7</id>
<content type='text'>
The armvirt target has been renamed to 'armsr' (Arm SystemReady)
after inclusion of EFI support.
Change references (including subtargets) accordingly.

Signed-off-by: Mathew McBride &lt;matt@traverse.com.au&gt;
</content>
</entry>
<entry>
<title>scripts: qemustart: support CONFIG_BINARY_FOLDER</title>
<updated>2023-02-03T20:22:49Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2022-11-13T06:06:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=f56d5932d24f9d2d339088011ffaa5c3e8340e0f'/>
<id>urn:sha1:f56d5932d24f9d2d339088011ffaa5c3e8340e0f</id>
<content type='text'>
If CONFIG_BINARY_FOLDER is set in .config, use that instead of "bin" as
the bindir.

That allows to set that config and easily run e.g.
`./scripts/qemustart armvirt 32`.

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
<entry>
<title>Revert "ethtool: update to v5.14"</title>
<updated>2021-10-23T19:39:00Z</updated>
<author>
<name>Hans Dedecker</name>
</author>
<published>2021-10-23T19:37:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=abc7a97e9c29bcb1e74c3d443d46fefa7517699c'/>
<id>urn:sha1:abc7a97e9c29bcb1e74c3d443d46fefa7517699c</id>
<content type='text'>
This reverts commit 7630001427fa266fa61da0b2533e2c1054eababe

Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
<entry>
<title>ethtool: update to v5.14</title>
<updated>2021-10-23T19:35:38Z</updated>
<author>
<name>Hans Dedecker</name>
</author>
<published>2021-10-23T19:30:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=7630001427fa266fa61da0b2533e2c1054eababe'/>
<id>urn:sha1:7630001427fa266fa61da0b2533e2c1054eababe</id>
<content type='text'>
Update to newly released version 5.14

Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemustart: use squashfs instead of ext4</title>
<updated>2021-01-02T03:49:05Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-12-29T23:11:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=1b002434f0516d682bc8fbefc59b396435205621'/>
<id>urn:sha1:1b002434f0516d682bc8fbefc59b396435205621</id>
<content type='text'>
The qemustart script currently picks the ext4 filesystem rather than
squashfs, while the latter is default for nearly all OpenWrt targets.

Change the default behaviour of qemustart to be in line with the rest.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>scripts/qemustart: update malta to use MIPS64 R2 cpu</title>
<updated>2020-10-11T14:16:24Z</updated>
<author>
<name>Tony Ambardar</name>
</author>
<published>2020-09-25T03:52:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=5b3ff53ebd6846a0f03bfa29d9aa5d22a6a05bfb'/>
<id>urn:sha1:5b3ff53ebd6846a0f03bfa29d9aa5d22a6a05bfb</id>
<content type='text'>
Explicitly set the QEMU cpu type and support the MIPS R2 ISA, for both
64-bit and 32-bit targets. The later previously supported MIPS R2 by
implicit default.

This is needed after commit 93608697f3 ("malta: update MIPS64 ISA to R2"),
otherwise booting malta images with scripts/qemustart will hang.

Signed-off-by: Tony Ambardar &lt;itugrok@yahoo.com&gt;
</content>
</entry>
</feed>
