summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/x86_cpu_model_versions.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé2021-02-22 13:54:55 +0100
committerDaniel P. Berrangé2021-03-18 10:22:55 +0100
commit8af54b9172ff3b9bbdbb3191ed84994d275a0d81 (patch)
treec664dd47c9b01338d7266c2a71e7219702e66eb6 /tests/acceptance/x86_cpu_model_versions.py
parentmigrate: remove QMP/HMP commands for speed, downtime and cache size (diff)
downloadqemu-8af54b9172ff3b9bbdbb3191ed84994d275a0d81.tar.gz
qemu-8af54b9172ff3b9bbdbb3191ed84994d275a0d81.tar.xz
qemu-8af54b9172ff3b9bbdbb3191ed84994d275a0d81.zip
machine: remove 'query-cpus' QMP command
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 <wainersm@redhat.com> Tested-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'tests/acceptance/x86_cpu_model_versions.py')
-rw-r--r--tests/acceptance/x86_cpu_model_versions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/x86_cpu_model_versions.py b/tests/acceptance/x86_cpu_model_versions.py
index 2b7461bb41..77ed8597a4 100644
--- a/tests/acceptance/x86_cpu_model_versions.py
+++ b/tests/acceptance/x86_cpu_model_versions.py
@@ -246,7 +246,7 @@ class CascadelakeArchCapabilities(avocado_qemu.Test):
:avocado: tags=arch:x86_64
"""
def get_cpu_prop(self, prop):
- cpu_path = self.vm.command('query-cpus')[0].get('qom_path')
+ cpu_path = self.vm.command('query-cpus-fast')[0].get('qom-path')
return self.vm.command('qom-get', path=cpu_path, property=prop)
def test_4_1(self):