<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts/runqemu, branch hardknott</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=hardknott</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=hardknott'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2021-12-15T07:40:29+00:00</updated>
<entry>
<title>runqemu: check the qemu PID has been set before kill()ing it</title>
<updated>2021-12-15T07:40:29+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross@burtonini.com</email>
</author>
<published>2021-12-08T17:02:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=884efa83d6d420e5e7ce06fe8c871e3f841e442b'/>
<id>urn:sha1:884efa83d6d420e5e7ce06fe8c871e3f841e442b</id>
<content type='text'>
If runqemu is killed, check that we have a valid PID for the qemu before
sending a kill() to it.

[ YOCTO #14651 ]

(From OE-Core rev: 7e37e453e15114dec0b89636e92f93c7fa127ae4)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 0f3afbd3a6a6bef668612f818517df7543c0a683)
Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>runqemu: Fix typo in error message</title>
<updated>2021-08-14T11:01:44+00:00</updated>
<author>
<name>Matthias Klein</name>
<email>matthias@extraklein.de</email>
</author>
<published>2021-08-04T08:53:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9e011511048afc12dd5335b7d074a8aedcb71e5a'/>
<id>urn:sha1:9e011511048afc12dd5335b7d074a8aedcb71e5a</id>
<content type='text'>
(From OE-Core rev: f2f9eb53515c7f1890365aa6441f556fb862e429)

Signed-off-by: Matthias Klein &lt;matthias@extraklein.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 5cc0051d50974e198313f9513b24fd7ae9a96dd4)
Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>runqemu: Remove potential lock races around tap device handling</title>
<updated>2021-07-20T18:05:45+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-07-07T10:08:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a7d713952e20ab181d3243a6b5af008bce786973'/>
<id>urn:sha1:a7d713952e20ab181d3243a6b5af008bce786973</id>
<content type='text'>
The qemu tap device handling is potentially race ridden. We pass the
fd to the main qemu subprocess which is good as it means the lock is held
as long as the qemu process exists. This means we shouldn't unlock it
ourselves though, only close the file. We also can't delete the file
as we have no idea if qemu is still using it. We could try and obtain
an exclusive new lock, then the file would be safe to unlink but it
doesn't seem worth it.

Also fix the same issue in the port lock code.

(From OE-Core rev: 61682a1a8bfe5f7be6e271a4143fa4a02ca5dca9)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 2a87bddabf816d09ec801e33972879e6983627eb)
Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>runqemu: Ensure we cleanup snapshot files after image run</title>
<updated>2021-04-30T13:37:26+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-04-22T09:54:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=461c4d582158ef68a321992cf536a9604302cbd9'/>
<id>urn:sha1:461c4d582158ef68a321992cf536a9604302cbd9</id>
<content type='text'>
We need to cleanup snapshot files if we make a copy of them to ensure
the tmpfs doesn't run out of space. There is already NFS code needing
this so make it a generic code path.

(From OE-Core rev: 63f3c44f51cf36d3ac550ebb2292eb8e08d1b8d4)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit a3e0eec5a4785a0c4859455eb10b43aa832e606d)
Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>oeqa/runqemu: Support RUNQEMU_TMPFS_DIR as a location to copy snapshot images to</title>
<updated>2021-04-06T08:30:10+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-03-31T21:41:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=232cb7b0553f844be695d26f55aaf531029a6a9a'/>
<id>urn:sha1:232cb7b0553f844be695d26f55aaf531029a6a9a</id>
<content type='text'>
We have a working theory that IO queues on the autobuilder are impacting
runtime testing under qemu, particularly async writes which inice does not
influence. We already pass the snapshot option to qemu which copies the
image and runs out of the copy. Add in the ability to copy the image to
a specificed location which can be a tmpfs. This means that writes to the
image would no longer be blocked by other writes to disk in the system.

Preliminary tests show that this does improve the qemu errors at the expense
of sometimes showing qemu startup timeouts as on a loaded system with a large
test image, it can take longer than 120s to copy the image to tmpfs. Having
a most consistent failure mode for loaded tests is probably desireable though.

(From OE-Core rev: fd1c26ab426c3699ffd8082b83d65a84c8eb8bff)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>runqemu: do not stop processing graphical options after nographic</title>
<updated>2021-04-05T14:29:01+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2021-04-02T20:46:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=379ee9803483688839eaa22d1b09aaa8a70d8ffd'/>
<id>urn:sha1:379ee9803483688839eaa22d1b09aaa8a70d8ffd</id>
<content type='text'>
Some options such as egl-headless are fully compatible with it, so
there is no need to quit.

(From OE-Core rev: 66d11106f9e76d19e397ba3d14c3a22726033567)

Signed-off-by: Alexander Kanavin &lt;alex.kanavin@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>runqemu: modify novga to conform to documentation</title>
<updated>2021-03-11T14:00:36+00:00</updated>
<author>
<name>Jon Mason</name>
<email>jdmason@kudzu.us</email>
</author>
<published>2021-03-10T23:05:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fae414bb707b742b5676481b164bbf727e4928af'/>
<id>urn:sha1:fae414bb707b742b5676481b164bbf727e4928af</id>
<content type='text'>
Passing 'novga' only adds '-vga none' to the qemu commandline and does
not prevent other vga devices from being added, contrary to the
documentation/help.  Clean-up the vga logic and add the ability to
prevent other vga devices from being added.

(From OE-Core rev: 9f8d049dbbe0b1760979d9f3b745124abfc54c90)

Signed-off-by: Jon Mason &lt;jon.mason@arm.com&gt;
Change-Id: I7ff8f9f3e419ce8bae3f3847d75f9275ca30406a
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>runqemu: correct forcing of ttyS0</title>
<updated>2021-03-11T14:00:36+00:00</updated>
<author>
<name>Jon Mason</name>
<email>jdmason@kudzu.us</email>
</author>
<published>2021-03-10T23:05:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=16d1669ff9f28013db829593c018b418304abad3'/>
<id>urn:sha1:16d1669ff9f28013db829593c018b418304abad3</id>
<content type='text'>
Some platforms do not use ttyS* for their serial consoles (e.g., qemuarm
and qemuarm64).  The hardcoding of this can cause issues.  Modify
runqemu to use the serial consoles defined in SERIAL_CONSOLES instead of
hardcoding.

(From OE-Core rev: 9dea4cd2f9f46ab3a75562639a22d8f56b4d26af)

Signed-off-by: Jon Mason &lt;jon.mason@arm.com&gt;
Change-Id: I746d56de5669c955c5e29d3ded70c0a4d3171f17
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>runqemu: add QB_GRAPHICS</title>
<updated>2021-03-11T14:00:36+00:00</updated>
<author>
<name>Jon Mason</name>
<email>jdmason@kudzu.us</email>
</author>
<published>2021-03-10T23:05:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bd0ada8994ce3c1cb3a2d67dc9e8fae5c348118e'/>
<id>urn:sha1:bd0ada8994ce3c1cb3a2d67dc9e8fae5c348118e</id>
<content type='text'>
Add a new runqemu field for VGA devices.  Currently, these are being set
in QB_OPT_APPEND, which can make them difficult to override if importing
the config file into another one.

(From OE-Core rev: 695c98b6522be4373806c154a2999eaeef205556)

Signed-off-by: Jon Mason &lt;jon.mason@arm.com&gt;
Change-Id: I8cb9527954c5b06c083c42fe2466cb3338584b7d
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>runqemu: use "raw" instead of "bin" for ovmf</title>
<updated>2021-03-06T22:39:03+00:00</updated>
<author>
<name>Jon Mason</name>
<email>jon.mason@arm.com</email>
</author>
<published>2021-03-03T18:29:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ca1382756c0a26b1ff7b46a61079704d4b11c57c'/>
<id>urn:sha1:ca1382756c0a26b1ff7b46a61079704d4b11c57c</id>
<content type='text'>
bin is not an acceptable format for qemu and will throw an error is set.
The correct format in this case is raw.

(From OE-Core rev: cd279aeb986b4676ea8ecb1e7b12c7e29e83460a)

Signed-off-by: Jon Mason &lt;jon.mason@arm.com&gt;
Change-Id: I9d78e356d39ecb15bef886c19870b029d9badd65
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
