[OE-core] [PATCH v2 0/1] runqemu: disable network

Juro Bystricky juro.bystricky at intel.com
Mon Jan 30 18:02:12 UTC 2017


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(-)

-- 
2.7.4




More information about the Openembedded-core mailing list