Skip to content

runqemu: disable network

Juro Bystricky openembedded-core 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 0 repliesNew
  2. v11 patch 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1runqemu: allow bypassing of network setupmeta/classes/qemuboot.bbclass scripts/runqemu+5 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] runqemu: disable network

Not all QEMU machines support network hardware emulation.
Those machines cannot be run by "runqemu", as network hardware is implicitly always assumed. Trying to run them using "runqemu" would end up in raise Exception('Failed to run %s' % cmd)

There is no way to disable network setup using qemuboot.conf nor command line argument.

The patch for runqemu contains a simple fix that can disable the network using qemuboot.conf, all that is required is to set the pre-existing variable QB_NETWORK_DEVICE to "none".

A slightly more complex patch could contain support for command line argument "nonetwork", similar to "nographic

Juro Bystricky (1):
runqemu: allow bypassing of network setup

 meta/classes/qemuboot.bbclass | 3 ++-
 scripts/runqemu               | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.4