<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/guest-debug, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/tests/guest-debug?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/guest-debug?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-04-20T15:04:20+00:00</updated>
<entry>
<title>tests/guest-debug: better handle gdb crashes</title>
<updated>2022-04-20T15:04:20+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2022-04-19T09:10:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=caccf599181e2ea5f236345de9d9957a4c23e5ec'/>
<id>urn:sha1:caccf599181e2ea5f236345de9d9957a4c23e5ec</id>
<content type='text'>
There are a number of GDB's on various distros which fail fairly hard
when attempting to talk to a cross-arch guest. The previous attempt to
catch this was incorrect as the shell will deliver signals as 128+n.
Fix the detection and while we are it improve the logging we dump into
the test output.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reported-by: Gautam Agrawal &lt;gautamnagrawal@gmail.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220419091020.3008144-26-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>chardev: do not use short form boolean options in non-QemuOpts character device descriptions</title>
<updated>2021-02-25T14:41:53+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2021-02-25T11:05:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9d902d51154bcbd305ae7138ef31e2843bb3427e'/>
<id>urn:sha1:9d902d51154bcbd305ae7138ef31e2843bb3427e</id>
<content type='text'>
Options such as "-gdb" or "-serial" accept a part-QemuOpts part-parsed-by-hand
character device description.  Do not use short form boolean options in the
QemuOpts part.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>gdbstub: implement a softmmu based test</title>
<updated>2021-01-18T10:04:31+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2021-01-08T22:42:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c00506aa26e975918483d0d1fe17a2192d19098a'/>
<id>urn:sha1:c00506aa26e975918483d0d1fe17a2192d19098a</id>
<content type='text'>
This adds a new tests that allows us to test softmmu only features
including watchpoints. To do achieve this we need to:

  - add _exit: labels to the boot codes
  - write a memory.py test case
  - plumb the test case into the build system
  - tweak the run_test script to:
    - re-direct output when asked
    - use socket based connection for all tests
    - add a small pause before connection

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Message-Id: &lt;20210108224256.2321-6-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>test/guest-debug: echo QEMU command as well</title>
<updated>2021-01-18T10:04:31+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2021-01-08T22:42:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5662ab11f6e70157521913e38e49d4d1b135c4d5'/>
<id>urn:sha1:5662ab11f6e70157521913e38e49d4d1b135c4d5</id>
<content type='text'>
This helps with debugging.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-Id: &lt;20210108224256.2321-3-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/guest-debug: catch hanging guests</title>
<updated>2020-05-15T14:25:07+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2020-05-13T17:51:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b03e4ffffb1e4a34cb0985f5f5c4a2cfb272e697'/>
<id>urn:sha1:b03e4ffffb1e4a34cb0985f5f5c4a2cfb272e697</id>
<content type='text'>
If gdb never actually connected with the guest we need to catch that
and clean-up after ourselves.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20200513175134.19619-2-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/guest-debug: use the unix socket for linux-user tests</title>
<updated>2020-05-06T08:29:26+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2020-04-30T19:01:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b0dc2a8ba5709fe10a57e1ff5ee7d6004942e614'/>
<id>urn:sha1:b0dc2a8ba5709fe10a57e1ff5ee7d6004942e614</id>
<content type='text'>
Now we have support for debugging over a unix socket for linux-user
lets use it in our test harness.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20200430190122.4592-8-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/tcg: better trap gdb failures</title>
<updated>2020-05-06T08:29:26+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2020-04-30T19:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d2fefdedd3a65eaf22d8546835c225c3661e23d8'/>
<id>urn:sha1:d2fefdedd3a65eaf22d8546835c225c3661e23d8</id>
<content type='text'>
It seems older and non-multiarach aware GDBs might not fail gracefully
when faced with something they don't know. For example when faced with
a target XML for s390x the Ubuntu 18.04 gdb will generate an internal
fault and prompt for a core dump.

Work around this by invoking GDB in a more batch orientated way and
then trying to filter out between test failures and gdb failures.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20200430190122.4592-4-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/guest-debug: add a simple test runner</title>
<updated>2020-03-17T17:38:47+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2020-03-16T17:21:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=db2ea0dd1b73c8cfcd53de94bfcec37726587199'/>
<id>urn:sha1:db2ea0dd1b73c8cfcd53de94bfcec37726587199</id>
<content type='text'>
The test runners job is to start QEMU with guest debug enabled and
then spawn a gdb process running a test script that exercises the
functionality it wants to test.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Tested-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-Id: &lt;20200316172155.971-23-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>drop "from __future__ import print_function"</title>
<updated>2020-02-07T14:15:16+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2020-02-04T16:06:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=423edd9a31b3c78007bb5d9c9a9b3c0c618a10a8'/>
<id>urn:sha1:423edd9a31b3c78007bb5d9c9a9b3c0c618a10a8</id>
<content type='text'>
This is only needed for Python 2, which we do not support anymore.

Cc: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Acked-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Acked-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-Id: &lt;20200204160604.19883-1-pbonzini@redhat.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/guest-debug: fix scoping of failcount</title>
<updated>2018-11-13T10:47:59+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2018-11-13T10:47:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f251cb237188d4398edeb47234d9d32fb701516a'/>
<id>urn:sha1:f251cb237188d4398edeb47234d9d32fb701516a</id>
<content type='text'>
You should declare you are using a global version of a variable before
you attempt to modify it in a function.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-id: 20181109152119.9242-5-alex.bennee@linaro.org
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
</feed>
