<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/scripts/device-crash-test, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/scripts/device-crash-test?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/scripts/device-crash-test?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-06-06T07:26:54+00:00</updated>
<entry>
<title>tests: run 'device-crash-test' from tests/venv</title>
<updated>2022-06-06T07:26:54+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2022-05-26T00:09:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1d8cf47e5b8b4faa95954824cb6610d81c50d7d2'/>
<id>urn:sha1:1d8cf47e5b8b4faa95954824cb6610d81c50d7d2</id>
<content type='text'>
Remove the sys.path hacking from device-crash-test, and add in a little
user-friendly message for anyone who was used to running this script
directly from the source tree.

Modify the GitLab job recipes to create the tests/venv first, then run
device-crash-test from that venv.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-Id: &lt;20220526000921.1581503-10-jsnow@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>hw/pxb: Allow creation of a CXL PXB (host bridge)</title>
<updated>2022-05-13T10:13:36+00:00</updated>
<author>
<name>Ben Widawsky</name>
</author>
<published>2022-04-29T14:40:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=4f8db8711cbd27c9acf17e685987e9e74815e087'/>
<id>urn:sha1:4f8db8711cbd27c9acf17e685987e9e74815e087</id>
<content type='text'>
This works like adding a typical pxb device, except the name is
'pxb-cxl' instead of 'pxb-pcie'. An example command line would be as
follows:
  -device pxb-cxl,id=cxl.0,bus="pcie.0",bus_nr=1

A CXL PXB is backward compatible with PCIe. What this means in practice
is that an operating system that is unaware of CXL should still be able
to enumerate this topology as if it were PCIe.

One can create multiple CXL PXB host bridges, but a host bridge can only
be connected to the main root bus. Host bridges cannot appear elsewhere
in the topology.

Note that as of this patch, the ACPI tables needed for the host bridge
(specifically, an ACPI object in _SB named ACPI0016 and the CEDT) aren't
created. So while this patch internally creates it, it cannot be
properly used by an operating system or other system software.

Also necessary is to add an exception to scripts/device-crash-test
similar to that for exiting pxb as both must created on a PCIexpress
host bus.

Signed-off-by: Ben Widawsky &lt;ben.widawsky@intel.com&gt;
Signed-off-by: Jonathan.Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220429144110.25167-15-Jonathan.Cameron@huawei.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>python: rename qemu.aqmp to qemu.qmp</title>
<updated>2022-04-21T15:01:00+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2022-03-30T17:28:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=37094b6dd59f56978b918e79cadf17c6fd5d36e2'/>
<id>urn:sha1:37094b6dd59f56978b918e79cadf17c6fd5d36e2</id>
<content type='text'>
Now that we are fully switched over to the new QMP library, move it back
over the old namespace. This is being done primarily so that we may
upload this package simply as "qemu.qmp" without introducing confusion
over whether or not "aqmp" is a new protocol or not.

The trade-off is increased confusion inside the QEMU developer
tree. Sorry!

Note: the 'private' member "_aqmp" in legacy.py also changes to "_qmp";
not out of necessity, but just to remove any traces of the "aqmp"
name.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Beraldo Leal &lt;bleal@redhat.com&gt;
Acked-by: Hanna Reitz &lt;hreitz@redhat.com&gt;
Reviewed-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@openvz.org&gt;
Message-id: 20220330172812.3427355-8-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/device-crash-test: Use a QMP timeout</title>
<updated>2021-11-22T23:41:21+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-11-18T20:46:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=206439cd8937a3dc556537074d5d37e5d74eb0d0'/>
<id>urn:sha1:206439cd8937a3dc556537074d5d37e5d74eb0d0</id>
<content type='text'>
Despite all the previous fixes, it's still possible for
device-crash-test to wedge itself in the case that QEMU terminates *so
quickly* that it doesn't even begin a connection attempt to our QMP
client. Python will just joyfully wait ad infinitum for a connection
that will now never arrive.

The real fix is to use asyncio to simultaneously poll both the health of
the launched process AND the connection attempt. That's quite a bit more
invasive than just setting a connection timeout, though.

Do the very simplest thing for now.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Message-id: 20211118204620.1897674-7-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>Revert "device-crash-test: Ignore errors about a bus not being available"</title>
<updated>2021-11-17T09:20:17+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2021-11-12T07:22:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=418ce0201ff6f4c9d9560eaea15ff393c2cd7412'/>
<id>urn:sha1:418ce0201ff6f4c9d9560eaea15ff393c2cd7412</id>
<content type='text'>
This reverts commit ca89d15f8e42f2e5eac5bd200af38fdbfb32e875.

There is already an entry for this kind of messages earlier in the
ERROR_RULE_LIST - when I added this patch, I just got fooled by
the other errors that occur due to a race between QMP connection
and QEMU terminating early (which still spit out the 'No bus found'
messages in their backtrace), but these other problems have now
fortunately been tackled by John Snow, so we certainly don't need
this duplicated entry here anymore.

Message-Id: &lt;20211112072220.108580-1-thuth@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/device-crash-test: hide tracebacks for QMP connect errors</title>
<updated>2021-11-16T19:26:36+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-11-11T14:37:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c398a241ec4138e0b995a0215dea84ca93b0384f'/>
<id>urn:sha1:c398a241ec4138e0b995a0215dea84ca93b0384f</id>
<content type='text'>
Generally, the traceback for a connection failure is uninteresting and
all we need to know is that the connection attempt failed.

Reduce the verbosity in these cases, except when debugging.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reported-by: Thomas Huth &lt;thuth@redhat.com&gt;
Tested-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-id: 20211111143719.2162525-6-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/device-crash-test: don't emit AQMP connection errors to stdout</title>
<updated>2021-11-16T19:26:36+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-11-11T14:37:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=76f86e78b255d17aad2ebd1177069c86f08039ef'/>
<id>urn:sha1:76f86e78b255d17aad2ebd1177069c86f08039ef</id>
<content type='text'>
These errors are expected, so they shouldn't clog up terminal output. In
the event that they're *not* expected, we'll be seeing an awful lot more
output concerning the nature of the failure.

Reported-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Tested-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-id: 20211111143719.2162525-5-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/device-crash-test: simplify Exception handling</title>
<updated>2021-11-16T19:26:36+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-11-11T14:37:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=47b43acd57e6e0b2910683f00a758adbc418dde6'/>
<id>urn:sha1:47b43acd57e6e0b2910683f00a758adbc418dde6</id>
<content type='text'>
We don't need to handle KeyboardInterruptError specifically; we can
instead tighten the scope of the broad Exception handlers to only catch
"Exception", which has the effect of allowing all BaseException classes
that do not inherit from Exception to be raised through.

KeyboardInterruptError and a few other important ones are
BaseExceptions, so this does the same thing with less code.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reported-by: Thomas Huth &lt;thuth@redhat.com&gt;
Tested-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-id: 20211111143719.2162525-4-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>device-crash-test: Ignore errors about a bus not being available</title>
<updated>2021-04-01T12:28:39+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2021-03-23T16:47:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ca89d15f8e42f2e5eac5bd200af38fdbfb32e875'/>
<id>urn:sha1:ca89d15f8e42f2e5eac5bd200af38fdbfb32e875</id>
<content type='text'>
Recent QEMU versions now sometimes exit cleanly with an error message
that a bus is not available for a specified device. Don't flag those
as an error in the device-crash-test script.

Message-Id: &lt;20210323164718.1393792-1-thuth@redhat.com&gt;
Acked-by: John Snow &lt;jsnow@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>hw/scsi: remove 'scsi-disk' device</title>
<updated>2021-03-18T09:22:55+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
</author>
<published>2021-02-22T13:40:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=879be3af49132d232602e0ca783ec9b4112530fa'/>
<id>urn:sha1:879be3af49132d232602e0ca783ec9b4112530fa</id>
<content type='text'>
The 'scsi-hd' and 'scsi-cd' devices provide suitable alternatives.

Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
</feed>
