<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/qemu-iotests/223, 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/223?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/qemu-iotests/223?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-04-26T18:15:56+00:00</updated>
<entry>
<title>iotests/223: check new possibility of exporting bitmaps by node/name</title>
<updated>2022-04-26T18:15:56+00:00</updated>
<author>
<name>Vladimir Sementsov-Ogievskiy</name>
</author>
<published>2022-03-14T21:32:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c08c220be70603941b680d5b39f2061222dd74e8'/>
<id>urn:sha1:c08c220be70603941b680d5b39f2061222dd74e8</id>
<content type='text'>
Add simple test that new interface introduced in previous commit works.

Signed-off-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@openvz.org&gt;
Message-Id: &lt;20220314213226.362217-4-v.sementsov-og@mail.ru&gt;
[eblake: Adjust S-o-b to Vladimir's new email, with permission]
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Signed-off-by: Eric Blake &lt;eblake@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>iotests: Enhance 223 to cover qemu-img map improvements</title>
<updated>2020-05-18T16:02:05+00:00</updated>
<author>
<name>Eric Blake</name>
</author>
<published>2020-05-13T17:58:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d8154b0945f795177511ea0e2212bd5c749fe84c'/>
<id>urn:sha1:d8154b0945f795177511ea0e2212bd5c749fe84c</id>
<content type='text'>
Since qemu-img map + x-dirty-bitmap remains the easiest way to read
persistent bitmaps at the moment, it makes a reasonable place to add
coverage to ensure we do not regress on the just-added parameters to
qemu-img map.

Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
Message-Id: &lt;20200513181455.295267-1-eblake@redhat.com&gt;
</content>
</entry>
<entry>
<title>nbd: Allow description when creating NBD blockdev</title>
<updated>2020-02-05T23:22:13+00:00</updated>
<author>
<name>Eric Blake</name>
</author>
<published>2019-11-14T02:46:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=deb6ccb077238660080abe7e667bbf8ede5141c7'/>
<id>urn:sha1:deb6ccb077238660080abe7e667bbf8ede5141c7</id>
<content type='text'>
Allow blockdevs to match the feature already present in qemu-nbd -D.
Enhance iotest 223 to cover it.

Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
Reviewed-by: Maxim Levitsky &lt;mlevitsk@redhat.com&gt;
Reviewed-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Message-Id: &lt;20191114024635.11363-5-eblake@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests: More iotest 223 improvements</title>
<updated>2019-11-19T02:34:37+00:00</updated>
<author>
<name>Eric Blake</name>
</author>
<published>2019-11-14T21:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=296416ff0f519d762fbb87ac59f0770824267f3f'/>
<id>urn:sha1:296416ff0f519d762fbb87ac59f0770824267f3f</id>
<content type='text'>
Run the core of the test twice, once without iothreads, and again
with, for more coverage of both setups.

Suggested-by: Nir Soffer &lt;nsoffer@redhat.com&gt;
Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
Reviewed-by: Max Reitz &lt;mreitz@redhat.com&gt;
Message-Id: &lt;20191114213415.23499-5-eblake@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests/223: Create socket in $SOCK_DIR</title>
<updated>2019-10-28T10:22:31+00:00</updated>
<author>
<name>Max Reitz</name>
</author>
<published>2019-10-17T13:31:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=135a46630683ef79a1c4d4b8f195b65ca65385a5'/>
<id>urn:sha1:135a46630683ef79a1c4d4b8f195b65ca65385a5</id>
<content type='text'>
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Message-id: 20191017133155.5327-21-mreitz@redhat.com
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests: Use iothreads during iotest 223</title>
<updated>2019-09-24T12:30:19+00:00</updated>
<author>
<name>Eric Blake</name>
</author>
<published>2019-09-20T22:07:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=506902c6fa80210b002e30ff33794bfc718b15c6'/>
<id>urn:sha1:506902c6fa80210b002e30ff33794bfc718b15c6</id>
<content type='text'>
Doing so catches the bugs we just fixed with NBD not properly using
correct contexts.

Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
Message-Id: &lt;20190920220729.31801-1-eblake@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2019-03-08' into staging</title>
<updated>2019-03-09T20:55:44+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2019-03-09T20:55:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e2a18635a400b0e68679614132e9ef6316105590'/>
<id>urn:sha1:e2a18635a400b0e68679614132e9ef6316105590</id>
<content type='text'>
nbd patches for 2019-03-08

- support TLS client authorization in NBD servers
- iotest 223 race fix

# gpg: Signature made Fri 08 Mar 2019 17:37:59 GMT
# gpg:                using RSA key A7A16B4A2527436A
# gpg: Good signature from "Eric Blake &lt;eblake@redhat.com&gt;" [full]
# gpg:                 aka "Eric Blake (Free Software Programmer) &lt;ebb9@byu.net&gt;" [full]
# gpg:                 aka "[jpeg image of size 6874]" [full]
# Primary key fingerprint: 71C2 CC22 B1C4 6029 27D2  F3AA A7A1 6B4A 2527 436A

* remotes/ericb/tags/pull-nbd-2019-03-08:
  iotests: Wait for qemu to end in 223
  nbd: fix outdated qapi docs syntax for tls-creds
  nbd: allow authorization with nbd-server-start QMP command
  qemu-nbd: add support for authorization of TLS clients

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>qemu-iotests: Improve portability by searching bash in the $PATH</title>
<updated>2019-03-08T11:26:45+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2019-03-07T14:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=11a82d14293cd66f428f535741717ff338c0722b'/>
<id>urn:sha1:11a82d14293cd66f428f535741717ff338c0722b</id>
<content type='text'>
Bash is not always installed as /bin/bash. In particular on OpenBSD,
the package installs it in /usr/local/bin.
Use the 'env' shebang to search bash in the $PATH.

Patch created mechanically by running:

  $ git grep -lE '#! ?/bin/bash' -- tests/qemu-iotests \
    | while read f; do \
      sed -i 's|^#!.\?/bin/bash$|#!/usr/bin/env bash|' $f; \
    done

Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: Wait for qemu to end in 223</title>
<updated>2019-03-06T17:05:27+00:00</updated>
<author>
<name>Eric Blake</name>
</author>
<published>2019-03-05T18:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=054be3605459d4342e9ee5a82ae0fcffeeb09e4d'/>
<id>urn:sha1:054be3605459d4342e9ee5a82ae0fcffeeb09e4d</id>
<content type='text'>
When iotest 223 was first written, it didn't matter if we waited for
the qemu process to clean up. But with the introduction of a later
qemu-nbd process trying to reuse the same file, there is a race where
even though the asynchronous qemu process has responded to "quit", it
has not yet had time to unlock the file and exit, resulting in:

-[{ "start": 0, "length": 65536, "depth": 0, "zero": false, "data": false},
-{ "start": 65536, "length": 2031616, "depth": 0, "zero": false, "data": true},
-{ "start": 2097152, "length": 2097152, "depth": 0, "zero": false, "data": false}]
+qemu-nbd: Failed to blk_new_open 'tests/qemu-iotests/scratch/t.qcow2': Failed to get shared "write" lock
+Is another process using the image [tests/qemu-iotests/scratch/t.qcow2]?
+qemu-img: Could not open 'driver=nbd,server.type=unix,server.path=tests/qemu-iotests/scratch/qemu-nbd.sock,x-dirty-bitmap=qemu:dirty-bitmap:b': Failed to connect socket tests/qemu-iotests/scratch/qemu-nbd.sock: Connection refused
+./common.nbd: line 33: kill: (11122) - No such process

Fixes: ddd09448
Reported-by: Alberto Garcia &lt;berto@igalia.com&gt;
Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
Message-Id: &lt;20190305182908.13557-1-eblake@redhat.com&gt;
Tested-by: Alberto Garcia &lt;berto@igalia.com&gt;
Reviewed-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
</feed>
