[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] tests/migration: parse the thread-id key of CpuInfoFast
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [PATCH 1/2] tests/migration: parse the thread-id key of CpuInfoFast |
Date: |
Thu, 1 Jul 2021 10:15:56 +0100 |
User-agent: |
Mutt/2.0.7 (2021-05-04) |
* huangy81@chinatelecom.cn (huangy81@chinatelecom.cn) wrote:
> From: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
>
> 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(黄勇) <huangy81@chinatelecom.cn>
Queued (both 1 and 2)
> ---
> tests/migration/guestperf/engine.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/migration/guestperf/engine.py
> b/tests/migration/guestperf/engine.py
> index 208e095794..9e16fa92d2 100644
> --- a/tests/migration/guestperf/engine.py
> +++ b/tests/migration/guestperf/engine.py
> @@ -113,7 +113,7 @@ def _migrate(self, hardware, scenario, src, dst,
> connect_uri):
> vcpus = src.command("query-cpus-fast")
> src_threads = []
> for vcpu in vcpus:
> - src_threads.append(vcpu["thread_id"])
> + src_threads.append(vcpu["thread-id"])
>
> # XXX how to get dst timings on remote host ?
>
> --
> 2.24.3
>
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 1/2] tests/migration: parse the thread-id key of CpuInfoFast,
Dr. David Alan Gilbert <=