scripts/qemustart: Allow usage without networking
authorPetr Štetiar <ynezz@true.cz>
Thu, 28 Mar 2019 16:44:17 +0000 (16:44 +0000)
committerPetr Štetiar <ynezz@true.cz>
Mon, 8 Apr 2019 16:37:05 +0000 (18:37 +0200)
commit8bf500eb79eba120a6db3a8fff1492d5174acce0
tree24c18aa2dfdd345ac7b7fd792d97c9c624d8e0ab
parent93d23aced24c2e620461e1b0448d35be21f7e501
scripts/qemustart: Allow usage without networking

For basic tests it's not necessary to have the networking setup and this
allows testing as a normal user as well, without root privileges.

So this patch adds `--no-network` long option or `-n` short option,
which allows starting QEMU without network.

Cc: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
scripts/qemustart