<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/migration/guestperf, 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/guestperf?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/migration/guestperf?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/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>
<entry>
<title>machine: remove 'query-cpus' QMP command</title>
<updated>2021-03-18T09:22:55+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
</author>
<published>2021-02-22T12:54:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8af54b9172ff3b9bbdbb3191ed84994d275a0d81'/>
<id>urn:sha1:8af54b9172ff3b9bbdbb3191ed84994d275a0d81</id>
<content type='text'>
The newer 'query-cpus-fast' command avoids side effects on the guest
execution. Note that some of the field names are different in the
'query-cpus-fast' command.

Reviewed-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Tested-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>migrate: remove QMP/HMP commands for speed, downtime and cache size</title>
<updated>2021-03-18T09:22:55+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
</author>
<published>2021-02-19T18:40:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=cbde7be900d2a2279cbc4becb91d1ddd6a014def'/>
<id>urn:sha1:cbde7be900d2a2279cbc4becb91d1ddd6a014def</id>
<content type='text'>
The generic 'migrate_set_parameters' command handle all types of param.

Only the QMP commands were documented in the deprecations page, but the
rationale for deprecating applies equally to HMP, and the replacements
exist. Furthermore the HMP commands are just shims to the QMP commands,
so removing the latter breaks the former unless they get re-implemented.

Reviewed-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/migration: fix unix socket batch migration</title>
<updated>2021-03-17T01:08:37+00:00</updated>
<author>
<name>Hyman</name>
</author>
<published>2021-03-10T17:29:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f9cc00346d3e572ac128bc9b932b02c512490271'/>
<id>urn:sha1:f9cc00346d3e572ac128bc9b932b02c512490271</id>
<content type='text'>
when execute the following test command:
"guestperf-batch.py --dst-host localhost --transport unix ..."
test aborts and error message as the following be throwed:
"launching VM Failed: [Errno 98] Address already in use".

The reason is that batch script use the same monitor socket
in all test cases and do not remove the socket file. The second
migration test will launch vm use the same socket file as
the first, so we get the error message. To fix it, just remove
the socket file each time we have done the migration test.

Signed-off-by: Hyman &lt;huangy81@chinatelecom.cn&gt;
Message-Id: &lt;c3fc438993b87a6ab0bea3d07f6ca0260d29936e.1615397103.git.huangy81@chinatelecom.cn&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: Cleber Rosa &lt;crosa@redhat.com&gt;
</content>
</entry>
</feed>
