[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 14/25] scripts/cpu-x86-uarch-abi: switch to AQMP
From: |
Beraldo Leal |
Subject: |
Re: [PATCH v2 14/25] scripts/cpu-x86-uarch-abi: switch to AQMP |
Date: |
Thu, 16 Dec 2021 10:46:03 -0300 |
On Wed, Dec 15, 2021 at 02:39:28PM -0500, John Snow wrote:
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> scripts/cpu-x86-uarch-abi.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/scripts/cpu-x86-uarch-abi.py b/scripts/cpu-x86-uarch-abi.py
> index 8963d90f0b..c262d2f027 100644
> --- a/scripts/cpu-x86-uarch-abi.py
> +++ b/scripts/cpu-x86-uarch-abi.py
> @@ -6,7 +6,7 @@
> # compatibility levels for each CPU model.
> #
>
> -from qemu import qmp
> +from qemu.aqmp.legacy import QEMUMonitorProtocol
> import sys
>
> if len(sys.argv) != 2:
> @@ -66,7 +66,7 @@
>
>
> sock = sys.argv[1]
> -shell = qmp.QEMUMonitorProtocol(sock)
> +shell = QEMUMonitorProtocol(sock)
> shell.connect()
>
> models = shell.cmd("query-cpu-definitions")
Reviewed-by: Beraldo Leal <bleal@redhat.com>
--
Beraldo
- Re: [PATCH v2 13/25] scripts/cpu-x86-uarch-abi: fix CLI parsing, (continued)
- [PATCH v2 12/25] python/machine: permanently switch to AQMP, John Snow, 2021/12/15
- [PATCH v2 10/25] python: move qmp utilities to python/qemu/utils, John Snow, 2021/12/15
- [PATCH v2 14/25] scripts/cpu-x86-uarch-abi: switch to AQMP, John Snow, 2021/12/15
- [PATCH v2 15/25] scripts/render-block-graph: switch to AQMP, John Snow, 2021/12/15
- [PATCH v2 16/25] scripts/bench-block-job: switch to AQMP, John Snow, 2021/12/15
- [PATCH v2 18/25] iotests: switch to AQMP, John Snow, 2021/12/15