<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/migration, 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/migration?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/migration?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-11T10:37:12+00:00</updated>
<entry>
<title>tests/migration: remove the unused local variable</title>
<updated>2022-10-11T10:37:12+00:00</updated>
<author>
<name>dinglimin</name>
</author>
<published>2022-09-28T08:05:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=770beadb984d630a89b5a7327925a4cfba4488d5'/>
<id>urn:sha1:770beadb984d630a89b5a7327925a4cfba4488d5</id>
<content type='text'>
Remove the unused local variable "records".

Signed-off-by: dinglimin &lt;dinglimin@cmss.chinamobile.com&gt;
Reviewed-by: Ján Tomko &lt;jtomko@redhat.com&gt;
Message-Id: &lt;20220928080555.2263-1-dinglimin@cmss.chinamobile.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests: Use g_mkdir_with_parents()</title>
<updated>2022-08-25T13:24:09+00:00</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2022-08-24T09:39:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=413bebc04603d87d1889c919fbdd4adf30d4ebb5'/>
<id>urn:sha1:413bebc04603d87d1889c919fbdd4adf30d4ebb5</id>
<content type='text'>
Use the same g_mkdir_with_parents() call to create a directory on
all platforms.

Signed-off-by: Bin Meng &lt;bin.meng@windriver.com&gt;
Reviewed-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
Message-Id: &lt;20220824094029.1634519-13-bmeng.cn@gmail.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/migration/i386: Speed up the i386 migration test (when using TCG)</title>
<updated>2022-08-24T09:14:49+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2022-08-22T16:56:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=41adc59640b786575ebf002a4ede8169b0a9541e'/>
<id>urn:sha1:41adc59640b786575ebf002a4ede8169b0a9541e</id>
<content type='text'>
When KVM is not available, the i386 migration test also runs in a rather
slow fashion, since the guest code takes a couple of seconds to print
the "B"s on the serial console, and the migration test has to wait for
this each time. Let's increase the frequency here, too, so that the
delays in the migration tests get smaller.

Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-Id: &lt;20220819053802.296584-4-thuth@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220822165608.2980552-5-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/migration/aarch64: Speed up the aarch64 migration test</title>
<updated>2022-08-24T09:14:49+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2022-08-22T16:56:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c398c7618737d7ff36ae49ba31dae1925683a605'/>
<id>urn:sha1:c398c7618737d7ff36ae49ba31dae1925683a605</id>
<content type='text'>
The migration tests spend a lot of time waiting for a sign of live
of the guest on the serial console. The aarch64 migration code only
outputs "B"s every couple of seconds (at least it takes more than 4
seconds between each characeter on my x86 laptop). There are a lot
of migration tests, and if each test that checks for a successful
migration waits for these characters before and after migration, the
wait time sums up to multiple minutes! Let's use a shorter delay to
speed things up.

While we're at it, also remove a superfluous masking with 0xff - we're
reading and storing bytes, so the upper bits of the register do not
matter anyway.

With these changes, the test runs twice as fast on my laptop, decreasing
the total run time from approx. 8 minutes to only 4 minutes!

Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-Id: &lt;20220819053802.296584-3-thuth@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220822165608.2980552-4-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>tests/migration: fix unix socket migration</title>
<updated>2021-07-14T13:15:52+00:00</updated>
<author>
<name>Hyman</name>
</author>
<published>2021-03-09T16:00:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=927fae0eb9af2bcde2cd2030d478d365f2edf7e9'/>
<id>urn:sha1:927fae0eb9af2bcde2cd2030d478d365f2edf7e9</id>
<content type='text'>
The test aborts and error message as the following be throwed:
"No such file or directory: '/var/tmp/qemu-migrate-{pid}.migrate",
when the unix socket migration test nearly done. The reason is
qemu removes the unix socket file after migration before
guestperf.py script do it. So pre-check if the socket file exists
when removing it to prevent the guestperf program from aborting.

See also commit f9cc00346d3 ("tests/migration: fix unix socket batch
migration").

Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Reviewed-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Signed-off-by: Hyman &lt;huangy81@chinatelecom.cn&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/migration: fix "downtime_limit" type when "migrate-set-parameters"</title>
<updated>2021-07-05T09:51:26+00:00</updated>
<author>
<name>Hyman Huang(黄勇)</name>
</author>
<published>2021-06-03T14:20:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fa264f426642245eb623e9f86cf57022d854dc69'/>
<id>urn:sha1:fa264f426642245eb623e9f86cf57022d854dc69</id>
<content type='text'>
migrate-set-parameters parse "downtime_limit" as integer type when
execute "migrate-set-parameters" before migration, and, the unit
dowtime_limit is milliseconds, fix this two so that test can go
smoothly.

Signed-off-by: Hyman Huang(黄勇) &lt;huangy81@chinatelecom.cn&gt;
Message-Id: &lt;31d82df24cc0c468dbe4d2d86730158ebf248071.1622729934.git.huangy81@chinatelecom.cn&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/migration: parse the thread-id key of CpuInfoFast</title>
<updated>2021-07-05T09:51:26+00:00</updated>
<author>
<name>Hyman Huang(黄勇)</name>
</author>
<published>2021-06-03T14:19:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c99fb3a50db983402e85423139e5d4449cda9111'/>
<id>urn:sha1:c99fb3a50db983402e85423139e5d4449cda9111</id>
<content type='text'>
thread_id in CpuInfoFast is deprecated, parse thread-id instead
after execute qmp query-cpus-fast. fix this so that test can
go smoothly.

Signed-off-by: Hyman Huang(黄勇) &lt;huangy81@chinatelecom.cn&gt;
Message-Id: &lt;584578c0a0dd781cee45f72ddf517f6e6a41c504.1622729934.git.huangy81@chinatelecom.cn&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/migration: introduce multifd into guestperf</title>
<updated>2021-05-13T17:21:14+00:00</updated>
<author>
<name>Hyman</name>
</author>
<published>2021-03-19T17:04:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1c3baa1ac4dee2b52837fda89d1d9deeb5da512e'/>
<id>urn:sha1:1c3baa1ac4dee2b52837fda89d1d9deeb5da512e</id>
<content type='text'>
Guestperf tool does not cover the multifd-enabled migration
currently, it is worth supporting so that developers can
analysis the migration performance with all kinds of
migration.

To request that multifd is enabled, with 4 channels:
$ ./tests/migration/guestperf.py \
    --multifd --multifd-channels 4 --output output.json

To run the entire standardized set of multifd-enabled
comparisons, with unix migration:
$ ./tests/migration/guestperf-batch.py \
    --dst-host localhost --transport unix \
    --filter compr-multifd* --output outputdir

Signed-off-by: Hyman Huang(黄勇) &lt;huangy81@chinatelecom.cn&gt;
Message-Id: &lt;cfeeb04d17ad932c42a9871294058b77429ad1b7.1616171924.git.huangy81@chinatelecom.cn&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/migration: fix parameter of auto-converge migration</title>
<updated>2021-04-07T17:37:56+00:00</updated>
<author>
<name>Hyman Huang(黄勇)</name>
</author>
<published>2021-03-23T15:43:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e999fa47b220274082cb238d5ccb2c9bacd42bf1'/>
<id>urn:sha1:e999fa47b220274082cb238d5ccb2c9bacd42bf1</id>
<content type='text'>
when execute the following test command:
$ ./guestperf-batch.py --auto-converge \
    --auto-converge-step {percent} ...
test aborts and error message be throwed as the following:
"Parameter 'x-cpu-throttle-increment' is unexpected"

The reason is that 'x-cpu-throttle-increment' has been
deprecated and 'cpu-throttle-increment' was introduced
Since v2.7. Use the new parameter instead.

Signed-off-by: Hyman Huang(黄勇) &lt;huangy81@chinatelecom.cn&gt;
Message-Id: &lt;0195d34a317ce3cc417b3efd275e30cad35a7618.1616513998.git.huangy81@chinatelecom.cn&gt;
Reviewed-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'remotes/berrange-gitlab/tags/dep-many-pull-request' into staging</title>
<updated>2021-03-18T19:00:50+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2021-03-18T19:00:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1b507e55f8199eaad99744613823f6929e4d57c6'/>
<id>urn:sha1:1b507e55f8199eaad99744613823f6929e4d57c6</id>
<content type='text'>
Remove many old deprecated features

The following features have been deprecated for well over the 2
release cycle we promise

  ``-drive file=json:{...{'driver':'file'}}`` (since 3.0)
  ``-vnc acl`` (since 4.0.0)
  ``-mon ...,control=readline,pretty=on|off`` (since 4.1)
  ``migrate_set_downtime`` and ``migrate_set_speed`` (since 2.8.0)
  ``query-named-block-nodes`` result ``encryption_key_missing`` (since 2.10.0)
  ``query-block`` result ``inserted.encryption_key_missing`` (since 2.10.0)
  ``migrate-set-cache-size`` and ``query-migrate-cache-size`` (since 2.11.0)
  ``query-named-block-nodes`` and ``query-block`` result dirty-bitmaps[i].status (since 4.0)
  ``query-cpus`` (since 2.12.0)
  ``query-cpus-fast`` ``arch`` output member (since 3.0.0)
  ``query-events`` (since 4.0)
  chardev client socket with ``wait`` option (since 4.0)
  ``acl_show``, ``acl_reset``, ``acl_policy``, ``acl_add``, ``acl_remove`` (since 4.0.0)
  ``ide-drive`` (since 4.2)
  ``scsi-disk`` (since 4.2)

# gpg: Signature made Thu 18 Mar 2021 09:23:39 GMT
# gpg:                using RSA key DAF3A6FDB26B62912D0E8E3FBE86EBB415104FDF
# gpg: Good signature from "Daniel P. Berrange &lt;dan@berrange.com&gt;" [full]
# gpg:                 aka "Daniel P. Berrange &lt;berrange@redhat.com&gt;" [full]
# Primary key fingerprint: DAF3 A6FD B26B 6291 2D0E  8E3F BE86 EBB4 1510 4FDF

* remotes/berrange-gitlab/tags/dep-many-pull-request:
  block: remove support for using "file" driver with block/char devices
  block: remove 'dirty-bitmaps' field from 'BlockInfo' struct
  block: remove dirty bitmaps 'status' field
  block: remove 'encryption_key_missing' flag from QAPI
  hw/scsi: remove 'scsi-disk' device
  hw/ide: remove 'ide-drive' device
  chardev: reject use of 'wait' flag for socket client chardevs
  machine: remove 'arch' field from 'query-cpus-fast' QMP command
  machine: remove 'query-cpus' QMP command
  migrate: remove QMP/HMP commands for speed, downtime and cache size
  monitor: remove 'query-events' QMP command
  monitor: raise error when 'pretty' option is used with HMP
  ui, monitor: remove deprecated VNC ACL option and HMP commands

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
</feed>
