mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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>
This commit is contained in:
parent
cbde7be900
commit
8af54b9172
11 changed files with 22 additions and 258 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue