<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/qemu-iotests/124, 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/qemu-iotests/124?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/qemu-iotests/124?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2021-03-18T09:22:55+00:00</updated>
<entry>
<title>block: remove dirty bitmaps 'status' field</title>
<updated>2021-03-18T09:22:55+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
</author>
<published>2021-02-19T19:19:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=81cbfd5088690c53541ffd0d74851c8ab055a829'/>
<id>urn:sha1:81cbfd5088690c53541ffd0d74851c8ab055a829</id>
<content type='text'>
The same information is available via the 'recording' and 'busy' fields.

Reviewed-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: Move try_remove to iotests.py</title>
<updated>2021-01-26T13:36:37+00:00</updated>
<author>
<name>Max Reitz</name>
</author>
<published>2021-01-18T10:57:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c5ff5a3caa16f18bea05db4e2326e9162e7a0ba9'/>
<id>urn:sha1:c5ff5a3caa16f18bea05db4e2326e9162e7a0ba9</id>
<content type='text'>
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Reviewed-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Reviewed-by: Willian Rampazzo &lt;willianr@redhat.com&gt;
Message-Id: &lt;20210118105720.14824-4-mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: define group in each iotest</title>
<updated>2021-01-20T20:53:22+00:00</updated>
<author>
<name>Vladimir Sementsov-Ogievskiy</name>
</author>
<published>2021-01-16T13:44:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9dd003a99842d1d82c336e45c5cce656149de382'/>
<id>urn:sha1:9dd003a99842d1d82c336e45c5cce656149de382</id>
<content type='text'>
We are going to drop group file. Define group in tests as a preparatory
step.

The patch is generated by

    cd tests/qemu-iotests

    grep '^[0-9]\{3\} ' group | while read line; do
        file=$(awk '{print $1}' &lt;&lt;&lt; "$line");
        groups=$(sed -e 's/^... //' &lt;&lt;&lt; "$line");
        awk "NR==2{print \"# group: $groups\"}1" $file &gt; tmp;
        cat tmp &gt; $file;
    done

Signed-off-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Message-Id: &lt;20210116134424.82867-7-vsementsov@virtuozzo.com&gt;
Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__)</title>
<updated>2020-02-07T14:12:48+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2020-01-30T16:32:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=903cb1bf398666014180d00711e2c1a9ffdadd5a'/>
<id>urn:sha1:903cb1bf398666014180d00711e2c1a9ffdadd5a</id>
<content type='text'>
Use the program search path to find the Python 3 interpreter.

Patch created mechanically by running:

  $ sed -i "s,^#\!/usr/bin/\(env\ \)\?python$,#\!/usr/bin/env python3," \
       $(git grep -l 'if __name__.*__main__')

Reported-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Suggested-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Suggested-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Acked-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Acked-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-Id: &lt;20200130163232.10446-4-philmd@redhat.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: prepare 124 and 257 bitmap querying for backup-top filter</title>
<updated>2019-10-10T08:56:17+00:00</updated>
<author>
<name>Vladimir Sementsov-Ogievskiy</name>
</author>
<published>2019-09-20T14:20:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5c4343b89d4ca4383af0a41fd6de9db78bf0b1ac'/>
<id>urn:sha1:5c4343b89d4ca4383af0a41fd6de9db78bf0b1ac</id>
<content type='text'>
After backup-top filter appearing it's not possible to see dirty
bitmaps in top node, so use node-name instead.

Signed-off-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Reviewed-by: Max Reitz &lt;mreitz@redhat.com&gt;
Message-id: 20190920142056.12778-10-vsementsov@virtuozzo.com
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: Restrict file Python tests to file</title>
<updated>2019-09-10T06:58:43+00:00</updated>
<author>
<name>Max Reitz</name>
</author>
<published>2019-09-02T19:33:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=103cbc771e5660d1f5bb458be80aa9e363547ae0'/>
<id>urn:sha1:103cbc771e5660d1f5bb458be80aa9e363547ae0</id>
<content type='text'>
Most of our Python unittest-style tests only support the file protocol.
You can run them with any other protocol, but the test will simply
ignore your choice and use file anyway.

We should let them signal that they require the file protocol so they
are skipped when you want to test some other protocol.

Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: Test incremental backup after truncation</title>
<updated>2019-08-06T11:17:24+00:00</updated>
<author>
<name>Max Reitz</name>
</author>
<published>2019-08-05T15:28:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8a9cb864086269af14bbd13f395472703cf99f8c'/>
<id>urn:sha1:8a9cb864086269af14bbd13f395472703cf99f8c</id>
<content type='text'>
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
Message-id: 20190805152840.32190-1-mreitz@redhat.com
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: add busy/recording bit test to 124</title>
<updated>2019-03-12T16:05:48+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2019-03-12T16:05:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c61b198b63219b489908c87371acae8c986ce4d3'/>
<id>urn:sha1:c61b198b63219b489908c87371acae8c986ce4d3</id>
<content type='text'>
This adds a simple test that ensures the busy bit works for push backups,
as well as doubling as bonus test for incremental backups that get interrupted
by EIO errors.

Recording bit tests are already handled sufficiently by 236.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Tested-by: Eric Blake &lt;eblake@redhat.com&gt;
Message-id: 20190223000614.13894-11-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>dirty-bitmap: Expose persistent flag to 'query-block'</title>
<updated>2019-02-19T22:49:43+00:00</updated>
<author>
<name>Eric Blake</name>
</author>
<published>2019-02-19T22:49:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f67cf661f8b88afe8a5ea2f120583924cba9087f'/>
<id>urn:sha1:f67cf661f8b88afe8a5ea2f120583924cba9087f</id>
<content type='text'>
Since qemu currently doesn't flush persistent bitmaps to disk until
shutdown (which might be MUCH later), it's useful if 'query-block'
at least shows WHICH bitmaps will (eventually) make it to persistent
storage.  Update affected iotests.

Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
Reviewed-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Reviewed-by: John Snow &lt;jsnow@redhat.com&gt;
Message-id: 20190204210512.27458-1-eblake@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: Different iterator behavior in Python 3</title>
<updated>2018-10-31T00:11:52+00:00</updated>
<author>
<name>Max Reitz</name>
</author>
<published>2018-10-22T13:53:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=68474776f354bc728db58cf349fe3ed0f63a306e'/>
<id>urn:sha1:68474776f354bc728db58cf349fe3ed0f63a306e</id>
<content type='text'>
In Python 3, several functions now return iterators instead of lists.
This includes range(), items(), map(), and filter().  This means that if
we really want a list, we have to wrap those instances with list().  But
then again, the two instances where this is the case for map() and
filter(), there are shorter expressions which work without either
function.

On the other hand, sometimes we do just want an iterator, in which case
we have sometimes used xrange() and iteritems() which no longer exist in
Python 3.  Just change these calls to be range() and items(), works in
both Python 2 and 3, and is really what we want in 3 (which is what
matters).  But because it is so simple to do (and to find and remove
once we completely switch to Python 3), make range() be an alias for
xrange() in the two affected tests (044 and 163).

In one instance, we only wanted the first instance of the result of a
filter() call.  Instead of using next(filter()) which would work only in
Python 3, or list(filter())[0] which would work everywhere but is a bit
weird, this instance is changed to use a generator expression with a
next() wrapped around, which works both in 2.7 and 3.

Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
Reviewed-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
Reviewed-by: Cleber Rosa &lt;crosa@redhat.com&gt;
Message-Id: &lt;20181022135307.14398-6-mreitz@redhat.com&gt;
Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
</content>
</entry>
</feed>
