<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/jogo/scripts/qemustart, branch master</title>
<subtitle>Staging tree of Jonas Gorski</subtitle>
<id>https://git.openwrt.org/openwrt/staging/jogo/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/jogo/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/'/>
<updated>2019-04-26T13:09:33Z</updated>
<entry>
<title>scripts/qemustart: add notes on adding new options</title>
<updated>2019-04-26T13:09:33Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2019-04-26T04:17:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=c2fee615ce49332c0cbffc5daf81da2074c622f3'/>
<id>urn:sha1:c2fee615ce49332c0cbffc5daf81da2074c622f3</id>
<content type='text'>
Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemustart: fix network device emulation</title>
<updated>2019-04-26T13:09:33Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2019-04-25T14:05:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=d72687854680af889998c89ebbb40812109a6565'/>
<id>urn:sha1:d72687854680af889998c89ebbb40812109a6565</id>
<content type='text'>
We only enabled pcnet driver for malta machine, and x86/legacy target
was supposed to only support e1000 model

Cc: Petr Štetiar &lt;ynezz@true.cz&gt;
Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemustart: no network by default and enable with -n</title>
<updated>2019-04-26T13:08:38Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2019-04-25T16:07:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=647356a3d2c7f7694434482061ee66bd76601f3f'/>
<id>urn:sha1:647356a3d2c7f7694434482061ee66bd76601f3f</id>
<content type='text'>
This should make it easier to set up and possibly provide a "work out of
the box" experience for most test usage.  Typical wan&amp;lan networking
setup is only two characters argument away.

Cc: Petr Štetiar &lt;ynezz@true.cz&gt;
Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
Acked-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemustart: fix usage with networking support</title>
<updated>2019-04-24T18:02:54Z</updated>
<author>
<name>Hans Dedecker</name>
</author>
<published>2019-04-24T17:54:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=9424b6f998917e2926c0b7afb8d7a968590da335'/>
<id>urn:sha1:9424b6f998917e2926c0b7afb8d7a968590da335</id>
<content type='text'>
Commit 8bf500eb79 added support for qemu usage without networking
support but broke networking support as -n and -z do not work with
unquoted argument; fix this by quoting the arguments.

Fixes 8bf500eb79

Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemustart: Allow specifying custom rootfs for malta</title>
<updated>2019-04-08T16:37:05Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-03-28T21:13:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=4953b3891ad32bae9cbe3843fb42017a156c1a6f'/>
<id>urn:sha1:4953b3891ad32bae9cbe3843fb42017a156c1a6f</id>
<content type='text'>
Currently it's not possible to test boot squashfs root images, so this
patch now allows this use case as well.

Cc: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>scripts/qemustart: Allow specifying custom kernel for x86</title>
<updated>2019-04-08T16:37:05Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-03-28T20:51:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=b0e5e32daa283c2686f529d57360fda828c758bb'/>
<id>urn:sha1:b0e5e32daa283c2686f529d57360fda828c758bb</id>
<content type='text'>
Currently it's not possible to test boot squashfs root images, so this
patch now allows this use case as well.

Cc: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>scripts/qemustart: Allow usage without networking</title>
<updated>2019-04-08T16:37:05Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-03-28T16:44:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=8bf500eb79eba120a6db3a8fff1492d5174acce0'/>
<id>urn:sha1:8bf500eb79eba120a6db3a8fff1492d5174acce0</id>
<content type='text'>
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 &lt;yszhou4tech@gmail.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>scripts/qemustart: allow machine selection with new option --machine</title>
<updated>2019-02-22T01:35:05Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2019-02-19T06:31:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=73c60ef239619784964e9a88c7a361ebd0c425c6'/>
<id>urn:sha1:73c60ef239619784964e9a88c7a361ebd0c425c6</id>
<content type='text'>
This can be used to set machine options like highmem=off for running old
armvirt/32 kernel lacking LPAE support with QEMU version 3.0 or later

 [1] Armv7 guest fails to boot with qemu-3.0.0-1,
     https://bugzilla.redhat.com/show_bug.cgi?id=1633328#c5

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemustart: more compact rand_mac()</title>
<updated>2018-12-17T04:16:34Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2018-12-17T04:15:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=3cc31ea8d385e074909edf7a9173860027d068f0'/>
<id>urn:sha1:3cc31ea8d385e074909edf7a9173860027d068f0</id>
<content type='text'>
Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemustart: more portable array operation</title>
<updated>2018-01-31T08:54:57Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2017-05-11T06:29:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=aa66aa0c9a77c115de0efcaf6ee59650b969b90d'/>
<id>urn:sha1:aa66aa0c9a77c115de0efcaf6ee59650b969b90d</id>
<content type='text'>
The following commands output 1,2,1,1

    cmd0='a=("${a[@]}" 'a'); echo "${#a}"'
    cmd1='a+=('a'); echo "${#a}"'
    bash -c "$cmd0"; zsh -c "$cmd0"
    bash -c "$cmd1"; zsh -c "$cmd1"

The following outputs 0,1,0,0

    cmd2='f() { echo "$#"; }; f "${a[@]}"'
    cmd3="a=(); $cmd2"
    bash -c "$cmd2"; zsh -c "$cmd2"
    bash -c "$cmd3"; zsh -c "$cmd3"

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
</feed>
