qemu.tests.qmp_command: Fix and update qmp_cpu
This test previously only checked, if any CPU contains 'current=True'.
With this patch it goes through all cpus and checks, whether the
'current=True' is set only for the last CPU.
Additionally this verification method works with all smp setups.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
Showing
想要评论请 注册 或 登录