From nobody Sun Feb 8 19:59:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1583331390; cv=none; d=zohomail.com; s=zohoarc; b=aBIXbbMEpSJC0CyBLTkYVfDJ2ldqEm/XnMZ1nqFmM4OBu+DONr22b1bMqSnsrnB9aKG3jnvVBdgH8OiBvBatfcvfxamy1HX1LO7x/yGqdzRyrI6Asfdxw8x70KBcUzvK43dP0alUR7wc6SOb3suqzb7K9Czpo5E+KORILOxmypw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583331390; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=7lDSTObmhUHLIu1snSixb4bda60/R/goIk5EWB2pqhU=; b=Ugt1uiohrccvCXxd34cNlR2gyJzRbnLB2NBaSc5zHGgoutWGvfj01gEO+y62+z4CVNWYKRNAM1h/1rFmZuQyHnLawq2GoBkxX5wJca48N/oFYmjAF8WTOmb4wxTGXQ9nmhq0FCobUWIbsCw8ZlTMoGW6c5RJRrE2wu2gqWPugi0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1583331390697799.3834502647786; Wed, 4 Mar 2020 06:16:30 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-3-eWXTbvFqOOC8euUeZOKa6Q-1; Wed, 04 Mar 2020 09:16:25 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 191EE1084450; Wed, 4 Mar 2020 14:16:20 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D363210013A1; Wed, 4 Mar 2020 14:16:19 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7D5A886A0D; Wed, 4 Mar 2020 14:16:19 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 024EGEEN012755 for ; Wed, 4 Mar 2020 09:16:14 -0500 Received: by smtp.corp.redhat.com (Postfix) id 95BAF5DA81; Wed, 4 Mar 2020 14:16:14 +0000 (UTC) Received: from angien.redhat.com (unknown [10.43.2.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id E93A15DA7B for ; Wed, 4 Mar 2020 14:16:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583331389; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=7lDSTObmhUHLIu1snSixb4bda60/R/goIk5EWB2pqhU=; b=I9YZ71mYz1xgZrrcLbvVUX0v6ajWI0mMppaBYAzTymrckAsRGobSQGb4XXAfg46TZZNTFF M84YLF7IE/v2as7hjq08jyR/6rjaZvbocELSXuWkBHZM3RZKKBg5XzemVlT6AfoeUZyg3+ GWQx86rcsuivxIf6NxM+Hh4zqwr0PtI= X-MC-Unique: eWXTbvFqOOC8euUeZOKa6Q-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 3/3] qemuhotplugtestcpus: Always use 'query-cpus-fast' Date: Wed, 4 Mar 2020 15:16:07 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Use the new command in the test suite by asserting the capability and adjusting test data to the correct field names as they changed compared to 'query-cpus'. Signed-off-by: Peter Krempa --- tests/qemuhotplugtest.c | 2 + .../ppc64-modern-bulk-monitor.json | 390 +++++++++--------- .../ppc64-modern-individual-monitor.json | 196 ++++----- .../x86-modern-bulk-monitor.json | 150 +++---- .../x86-modern-individual-add-monitor.json | 92 ++--- .../x86-old-bulk-monitor.json | 150 +++---- 6 files changed, 491 insertions(+), 489 deletions(-) diff --git a/tests/qemuhotplugtest.c b/tests/qemuhotplugtest.c index 9dd42664cd..e008c1bf0d 100644 --- a/tests/qemuhotplugtest.c +++ b/tests/qemuhotplugtest.c @@ -437,6 +437,8 @@ testQemuHotplugCpuPrepare(const char *test, priv =3D data->vm->privateData; + virQEMUCapsSet(priv->qemuCaps, QEMU_CAPS_QUERY_CPUS_FAST); + if (data->modern) virQEMUCapsSet(priv->qemuCaps, QEMU_CAPS_QUERY_HOTPLUGGABLE_CPUS); diff --git a/tests/qemuhotplugtestcpus/ppc64-modern-bulk-monitor.json b/tes= ts/qemuhotplugtestcpus/ppc64-modern-bulk-monitor.json index c139426b7b..068b45e3c0 100644 --- a/tests/qemuhotplugtestcpus/ppc64-modern-bulk-monitor.json +++ b/tests/qemuhotplugtestcpus/ppc64-modern-bulk-monitor.json @@ -35,81 +35,81 @@ "id": "libvirt-15" } -{"execute":"query-cpus","id":"libvirt-2"} +{"execute":"query-cpus-fast","id":"libvirt-2"} { "return": [ { - "arch": "ppc", + "target": "ppc", "current": true, - "CPU": 0, + "cpu-index": 0, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[0]", + "qom-path": "/machine/unattached/device[1]/thread[0]", "halted": false, - "thread_id": 21925 + "thread-id": 21925 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 1, + "cpu-index": 1, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[1]", + "qom-path": "/machine/unattached/device[1]/thread[1]", "halted": false, - "thread_id": 21926 + "thread-id": 21926 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 2, + "cpu-index": 2, "nip": -4611686018422360608, - "qom_path": "/machine/unattached/device[1]/thread[2]", + "qom-path": "/machine/unattached/device[1]/thread[2]", "halted": false, - "thread_id": 21927 + "thread-id": 21927 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 3, + "cpu-index": 3, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[3]", + "qom-path": "/machine/unattached/device[1]/thread[3]", "halted": false, - "thread_id": 21928 + "thread-id": 21928 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 4, + "cpu-index": 4, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[4]", + "qom-path": "/machine/unattached/device[1]/thread[4]", "halted": false, - "thread_id": 21930 + "thread-id": 21930 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 5, + "cpu-index": 5, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[5]", + "qom-path": "/machine/unattached/device[1]/thread[5]", "halted": false, - "thread_id": 21931 + "thread-id": 21931 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 6, + "cpu-index": 6, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[6]", + "qom-path": "/machine/unattached/device[1]/thread[6]", "halted": false, - "thread_id": 21932 + "thread-id": 21932 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 7, + "cpu-index": 7, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[7]", + "qom-path": "/machine/unattached/device[1]/thread[7]", "halted": false, - "thread_id": 21933 + "thread-id": 21933 } ], "id": "libvirt-12" @@ -165,153 +165,153 @@ "id": "libvirt-15" } -{"execute":"query-cpus","id":"libvirt-5"} +{"execute":"query-cpus-fast","id":"libvirt-5"} { "return": [ { - "arch": "ppc", + "target": "ppc", "current": true, - "CPU": 0, + "cpu-index": 0, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[0]", + "qom-path": "/machine/unattached/device[1]/thread[0]", "halted": false, - "thread_id": 21925 + "thread-id": 21925 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 1, + "cpu-index": 1, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[1]", + "qom-path": "/machine/unattached/device[1]/thread[1]", "halted": false, - "thread_id": 21926 + "thread-id": 21926 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 2, + "cpu-index": 2, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[2]", + "qom-path": "/machine/unattached/device[1]/thread[2]", "halted": false, - "thread_id": 21927 + "thread-id": 21927 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 3, + "cpu-index": 3, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[3]", + "qom-path": "/machine/unattached/device[1]/thread[3]", "halted": false, - "thread_id": 21928 + "thread-id": 21928 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 4, + "cpu-index": 4, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[4]", + "qom-path": "/machine/unattached/device[1]/thread[4]", "halted": false, - "thread_id": 21930 + "thread-id": 21930 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 5, + "cpu-index": 5, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[5]", + "qom-path": "/machine/unattached/device[1]/thread[5]", "halted": false, - "thread_id": 21931 + "thread-id": 21931 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 6, + "cpu-index": 6, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[6]", + "qom-path": "/machine/unattached/device[1]/thread[6]", "halted": false, - "thread_id": 21932 + "thread-id": 21932 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 7, + "cpu-index": 7, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[7]", + "qom-path": "/machine/unattached/device[1]/thread[7]", "halted": false, - "thread_id": 21933 + "thread-id": 21933 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 8, + "cpu-index": 8, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[0]", + "qom-path": "/machine/peripheral/vcpu1/thread[0]", "halted": false, - "thread_id": 22131 + "thread-id": 22131 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 9, + "cpu-index": 9, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[1]", + "qom-path": "/machine/peripheral/vcpu1/thread[1]", "halted": false, - "thread_id": 22132 + "thread-id": 22132 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 10, + "cpu-index": 10, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[2]", + "qom-path": "/machine/peripheral/vcpu1/thread[2]", "halted": false, - "thread_id": 22133 + "thread-id": 22133 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 11, + "cpu-index": 11, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[3]", + "qom-path": "/machine/peripheral/vcpu1/thread[3]", "halted": false, - "thread_id": 22134 + "thread-id": 22134 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 12, + "cpu-index": 12, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[4]", + "qom-path": "/machine/peripheral/vcpu1/thread[4]", "halted": false, - "thread_id": 22135 + "thread-id": 22135 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 13, + "cpu-index": 13, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[5]", + "qom-path": "/machine/peripheral/vcpu1/thread[5]", "halted": false, - "thread_id": 22136 + "thread-id": 22136 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 14, + "cpu-index": 14, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[6]", + "qom-path": "/machine/peripheral/vcpu1/thread[6]", "halted": false, - "thread_id": 22137 + "thread-id": 22137 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 15, + "cpu-index": 15, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[7]", + "qom-path": "/machine/peripheral/vcpu1/thread[7]", "halted": false, - "thread_id": 22138 + "thread-id": 22138 } ], "id": "libvirt-14" @@ -368,225 +368,225 @@ "id": "libvirt-15" } -{"execute":"query-cpus","id":"libvirt-8"} +{"execute":"query-cpus-fast","id":"libvirt-8"} { "return": [ { - "arch": "ppc", + "target": "ppc", "current": true, - "CPU": 0, + "cpu-index": 0, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[0]", + "qom-path": "/machine/unattached/device[1]/thread[0]", "halted": false, - "thread_id": 21925 + "thread-id": 21925 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 1, + "cpu-index": 1, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[1]", + "qom-path": "/machine/unattached/device[1]/thread[1]", "halted": false, - "thread_id": 21926 + "thread-id": 21926 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 2, + "cpu-index": 2, "nip": -4611686018422360576, - "qom_path": "/machine/unattached/device[1]/thread[2]", + "qom-path": "/machine/unattached/device[1]/thread[2]", "halted": false, - "thread_id": 21927 + "thread-id": 21927 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 3, + "cpu-index": 3, "nip": -4611686018422360596, - "qom_path": "/machine/unattached/device[1]/thread[3]", + "qom-path": "/machine/unattached/device[1]/thread[3]", "halted": false, - "thread_id": 21928 + "thread-id": 21928 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 4, + "cpu-index": 4, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[4]", + "qom-path": "/machine/unattached/device[1]/thread[4]", "halted": false, - "thread_id": 21930 + "thread-id": 21930 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 5, + "cpu-index": 5, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[5]", + "qom-path": "/machine/unattached/device[1]/thread[5]", "halted": false, - "thread_id": 21931 + "thread-id": 21931 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 6, + "cpu-index": 6, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[6]", + "qom-path": "/machine/unattached/device[1]/thread[6]", "halted": false, - "thread_id": 21932 + "thread-id": 21932 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 7, + "cpu-index": 7, "nip": -4611686018422360596, - "qom_path": "/machine/unattached/device[1]/thread[7]", + "qom-path": "/machine/unattached/device[1]/thread[7]", "halted": false, - "thread_id": 21933 + "thread-id": 21933 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 8, + "cpu-index": 8, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[0]", + "qom-path": "/machine/peripheral/vcpu1/thread[0]", "halted": false, - "thread_id": 22131 + "thread-id": 22131 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 9, + "cpu-index": 9, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[1]", + "qom-path": "/machine/peripheral/vcpu1/thread[1]", "halted": false, - "thread_id": 22132 + "thread-id": 22132 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 10, + "cpu-index": 10, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[2]", + "qom-path": "/machine/peripheral/vcpu1/thread[2]", "halted": false, - "thread_id": 22133 + "thread-id": 22133 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 11, + "cpu-index": 11, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[3]", + "qom-path": "/machine/peripheral/vcpu1/thread[3]", "halted": false, - "thread_id": 22134 + "thread-id": 22134 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 12, + "cpu-index": 12, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[4]", + "qom-path": "/machine/peripheral/vcpu1/thread[4]", "halted": false, - "thread_id": 22135 + "thread-id": 22135 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 13, + "cpu-index": 13, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[5]", + "qom-path": "/machine/peripheral/vcpu1/thread[5]", "halted": false, - "thread_id": 22136 + "thread-id": 22136 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 14, + "cpu-index": 14, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[6]", + "qom-path": "/machine/peripheral/vcpu1/thread[6]", "halted": false, - "thread_id": 22137 + "thread-id": 22137 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 15, + "cpu-index": 15, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu1/thread[7]", + "qom-path": "/machine/peripheral/vcpu1/thread[7]", "halted": false, - "thread_id": 22138 + "thread-id": 22138 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 16, + "cpu-index": 16, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu2/thread[0]", + "qom-path": "/machine/peripheral/vcpu2/thread[0]", "halted": false, - "thread_id": 22223 + "thread-id": 22223 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 17, + "cpu-index": 17, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu2/thread[1]", + "qom-path": "/machine/peripheral/vcpu2/thread[1]", "halted": false, - "thread_id": 22224 + "thread-id": 22224 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 18, + "cpu-index": 18, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu2/thread[2]", + "qom-path": "/machine/peripheral/vcpu2/thread[2]", "halted": false, - "thread_id": 22225 + "thread-id": 22225 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 19, + "cpu-index": 19, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu2/thread[3]", + "qom-path": "/machine/peripheral/vcpu2/thread[3]", "halted": false, - "thread_id": 22226 + "thread-id": 22226 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 20, + "cpu-index": 20, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu2/thread[4]", + "qom-path": "/machine/peripheral/vcpu2/thread[4]", "halted": false, - "thread_id": 22227 + "thread-id": 22227 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 21, + "cpu-index": 21, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu2/thread[5]", + "qom-path": "/machine/peripheral/vcpu2/thread[5]", "halted": false, - "thread_id": 22228 + "thread-id": 22228 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 22, + "cpu-index": 22, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu2/thread[6]", + "qom-path": "/machine/peripheral/vcpu2/thread[6]", "halted": false, - "thread_id": 22229 + "thread-id": 22229 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 23, + "cpu-index": 23, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu2/thread[7]", + "qom-path": "/machine/peripheral/vcpu2/thread[7]", "halted": false, - "thread_id": 22230 + "thread-id": 22230 } ], "id": "libvirt-17" diff --git a/tests/qemuhotplugtestcpus/ppc64-modern-individual-monitor.json= b/tests/qemuhotplugtestcpus/ppc64-modern-individual-monitor.json index ad5cc984a8..b90c4acb73 100644 --- a/tests/qemuhotplugtestcpus/ppc64-modern-individual-monitor.json +++ b/tests/qemuhotplugtestcpus/ppc64-modern-individual-monitor.json @@ -35,81 +35,81 @@ "id": "libvirt-15" } -{"execute":"query-cpus","id":"libvirt-2"} +{"execute":"query-cpus-fast","id":"libvirt-2"} { "return": [ { - "arch": "ppc", + "target": "ppc", "current": true, - "CPU": 0, + "cpu-index": 0, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[0]", + "qom-path": "/machine/unattached/device[1]/thread[0]", "halted": false, - "thread_id": 21925 + "thread-id": 21925 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 1, + "cpu-index": 1, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[1]", + "qom-path": "/machine/unattached/device[1]/thread[1]", "halted": false, - "thread_id": 21926 + "thread-id": 21926 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 2, + "cpu-index": 2, "nip": -4611686018422360608, - "qom_path": "/machine/unattached/device[1]/thread[2]", + "qom-path": "/machine/unattached/device[1]/thread[2]", "halted": false, - "thread_id": 21927 + "thread-id": 21927 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 3, + "cpu-index": 3, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[3]", + "qom-path": "/machine/unattached/device[1]/thread[3]", "halted": false, - "thread_id": 21928 + "thread-id": 21928 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 4, + "cpu-index": 4, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[4]", + "qom-path": "/machine/unattached/device[1]/thread[4]", "halted": false, - "thread_id": 21930 + "thread-id": 21930 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 5, + "cpu-index": 5, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[5]", + "qom-path": "/machine/unattached/device[1]/thread[5]", "halted": false, - "thread_id": 21931 + "thread-id": 21931 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 6, + "cpu-index": 6, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[6]", + "qom-path": "/machine/unattached/device[1]/thread[6]", "halted": false, - "thread_id": 21932 + "thread-id": 21932 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 7, + "cpu-index": 7, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[7]", + "qom-path": "/machine/unattached/device[1]/thread[7]", "halted": false, - "thread_id": 21933 + "thread-id": 21933 } ], "id": "libvirt-12" @@ -165,153 +165,153 @@ "id": "libvirt-15" } -{"execute":"query-cpus","id":"libvirt-5"} +{"execute":"query-cpus-fast","id":"libvirt-5"} { "return": [ { - "arch": "ppc", + "target": "ppc", "current": true, - "CPU": 0, + "cpu-index": 0, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[0]", + "qom-path": "/machine/unattached/device[1]/thread[0]", "halted": false, - "thread_id": 21925 + "thread-id": 21925 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 1, + "cpu-index": 1, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[1]", + "qom-path": "/machine/unattached/device[1]/thread[1]", "halted": false, - "thread_id": 21926 + "thread-id": 21926 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 2, + "cpu-index": 2, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[2]", + "qom-path": "/machine/unattached/device[1]/thread[2]", "halted": false, - "thread_id": 21927 + "thread-id": 21927 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 3, + "cpu-index": 3, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[3]", + "qom-path": "/machine/unattached/device[1]/thread[3]", "halted": false, - "thread_id": 21928 + "thread-id": 21928 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 4, + "cpu-index": 4, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[4]", + "qom-path": "/machine/unattached/device[1]/thread[4]", "halted": false, - "thread_id": 21930 + "thread-id": 21930 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 5, + "cpu-index": 5, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[5]", + "qom-path": "/machine/unattached/device[1]/thread[5]", "halted": false, - "thread_id": 21931 + "thread-id": 21931 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 6, + "cpu-index": 6, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[6]", + "qom-path": "/machine/unattached/device[1]/thread[6]", "halted": false, - "thread_id": 21932 + "thread-id": 21932 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 7, + "cpu-index": 7, "nip": -4611686018426772172, - "qom_path": "/machine/unattached/device[1]/thread[7]", + "qom-path": "/machine/unattached/device[1]/thread[7]", "halted": false, - "thread_id": 21933 + "thread-id": 21933 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 8, + "cpu-index": 8, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu16/thread[0]", + "qom-path": "/machine/peripheral/vcpu16/thread[0]", "halted": false, - "thread_id": 22131 + "thread-id": 22131 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 9, + "cpu-index": 9, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu16/thread[1]", + "qom-path": "/machine/peripheral/vcpu16/thread[1]", "halted": false, - "thread_id": 22132 + "thread-id": 22132 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 10, + "cpu-index": 10, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu16/thread[2]", + "qom-path": "/machine/peripheral/vcpu16/thread[2]", "halted": false, - "thread_id": 22133 + "thread-id": 22133 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 11, + "cpu-index": 11, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu16/thread[3]", + "qom-path": "/machine/peripheral/vcpu16/thread[3]", "halted": false, - "thread_id": 22134 + "thread-id": 22134 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 12, + "cpu-index": 12, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu16/thread[4]", + "qom-path": "/machine/peripheral/vcpu16/thread[4]", "halted": false, - "thread_id": 22135 + "thread-id": 22135 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 13, + "cpu-index": 13, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu16/thread[5]", + "qom-path": "/machine/peripheral/vcpu16/thread[5]", "halted": false, - "thread_id": 22136 + "thread-id": 22136 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 14, + "cpu-index": 14, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu16/thread[6]", + "qom-path": "/machine/peripheral/vcpu16/thread[6]", "halted": false, - "thread_id": 22137 + "thread-id": 22137 }, { - "arch": "ppc", + "target": "ppc", "current": false, - "CPU": 15, + "cpu-index": 15, "nip": -4611686018426772172, - "qom_path": "/machine/peripheral/vcpu16/thread[7]", + "qom-path": "/machine/peripheral/vcpu16/thread[7]", "halted": false, - "thread_id": 22138 + "thread-id": 22138 } ], "id": "libvirt-14" diff --git a/tests/qemuhotplugtestcpus/x86-modern-bulk-monitor.json b/tests= /qemuhotplugtestcpus/x86-modern-bulk-monitor.json index b1d02b8d43..a412ccaf6e 100644 --- a/tests/qemuhotplugtestcpus/x86-modern-bulk-monitor.json +++ b/tests/qemuhotplugtestcpus/x86-modern-bulk-monitor.json @@ -83,54 +83,54 @@ "id": "libvirt-23" } -{"execute":"query-cpus","id":"libvirt-2"} +{"execute":"query-cpus-fast","id":"libvirt-2"} { "return": [ { - "arch": "x86", + "target": "x86", "current": true, - "CPU": 0, - "qom_path": "/machine/unattached/device[0]", + "cpu-index": 0, + "qom-path": "/machine/unattached/device[0]", "pc": -2130415978, "halted": true, - "thread_id": 518291 + "thread-id": 518291 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 1, - "qom_path": "/machine/unattached/device[2]", + "cpu-index": 1, + "qom-path": "/machine/unattached/device[2]", "pc": -2130415978, "halted": true, - "thread_id": 518292 + "thread-id": 518292 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 2, - "qom_path": "/machine/unattached/device[3]", + "cpu-index": 2, + "qom-path": "/machine/unattached/device[3]", "pc": -2130415978, "halted": true, - "thread_id": 518294 + "thread-id": 518294 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 3, - "qom_path": "/machine/unattached/device[4]", + "cpu-index": 3, + "qom-path": "/machine/unattached/device[4]", "pc": -2130415978, "halted": true, - "thread_id": 518295 + "thread-id": 518295 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 4, - "qom_path": "/machine/unattached/device[5]", + "cpu-index": 4, + "qom-path": "/machine/unattached/device[5]", "pc": -2130415978, "halted": true, - "thread_id": 518296 + "thread-id": 518296 } ], "id": "libvirt-22" @@ -236,63 +236,63 @@ "id": "libvirt-23" } -{"execute":"query-cpus","id":"libvirt-5"} +{"execute":"query-cpus-fast","id":"libvirt-5"} { "return": [ { - "arch": "x86", + "target": "x86", "current": true, - "CPU": 0, - "qom_path": "/machine/unattached/device[0]", + "cpu-index": 0, + "qom-path": "/machine/unattached/device[0]", "pc": -2130415978, "halted": true, - "thread_id": 518291 + "thread-id": 518291 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 1, - "qom_path": "/machine/unattached/device[2]", + "cpu-index": 1, + "qom-path": "/machine/unattached/device[2]", "pc": -2130415978, "halted": true, - "thread_id": 518292 + "thread-id": 518292 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 2, - "qom_path": "/machine/unattached/device[3]", + "cpu-index": 2, + "qom-path": "/machine/unattached/device[3]", "pc": -2130415978, "halted": true, - "thread_id": 518294 + "thread-id": 518294 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 3, - "qom_path": "/machine/unattached/device[4]", + "cpu-index": 3, + "qom-path": "/machine/unattached/device[4]", "pc": -2130415978, "halted": true, - "thread_id": 518295 + "thread-id": 518295 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 4, - "qom_path": "/machine/unattached/device[5]", + "cpu-index": 4, + "qom-path": "/machine/unattached/device[5]", "pc": -2130415978, "halted": true, - "thread_id": 518296 + "thread-id": 518296 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 5, - "qom_path": "/machine/peripheral/vcpu5", + "cpu-index": 5, + "qom-path": "/machine/peripheral/vcpu5", "pc": -2130415978, "halted": true, - "thread_id": 518297 + "thread-id": 518297 } ], "id": "libvirt-22" @@ -399,72 +399,72 @@ "id": "libvirt-23" } -{"execute":"query-cpus","id":"libvirt-8"} +{"execute":"query-cpus-fast","id":"libvirt-8"} { "return": [ { - "arch": "x86", + "target": "x86", "current": true, - "CPU": 0, - "qom_path": "/machine/unattached/device[0]", + "cpu-index": 0, + "qom-path": "/machine/unattached/device[0]", "pc": -2130415978, "halted": true, - "thread_id": 518291 + "thread-id": 518291 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 1, - "qom_path": "/machine/unattached/device[2]", + "cpu-index": 1, + "qom-path": "/machine/unattached/device[2]", "pc": -2130415978, "halted": true, - "thread_id": 518292 + "thread-id": 518292 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 2, - "qom_path": "/machine/unattached/device[3]", + "cpu-index": 2, + "qom-path": "/machine/unattached/device[3]", "pc": -2130415978, "halted": true, - "thread_id": 518294 + "thread-id": 518294 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 3, - "qom_path": "/machine/unattached/device[4]", + "cpu-index": 3, + "qom-path": "/machine/unattached/device[4]", "pc": -2130415978, "halted": true, - "thread_id": 518295 + "thread-id": 518295 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 4, - "qom_path": "/machine/unattached/device[5]", + "cpu-index": 4, + "qom-path": "/machine/unattached/device[5]", "pc": -2130415978, "halted": true, - "thread_id": 518296 + "thread-id": 518296 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 5, - "qom_path": "/machine/peripheral/vcpu5", + "cpu-index": 5, + "qom-path": "/machine/peripheral/vcpu5", "pc": -2130415978, "halted": true, - "thread_id": 518297 + "thread-id": 518297 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 6, - "qom_path": "/machine/peripheral/vcpu6", + "cpu-index": 6, + "qom-path": "/machine/peripheral/vcpu6", "pc": -2130415978, "halted": true, - "thread_id": 518298 + "thread-id": 518298 } ], "id": "libvirt-22" diff --git a/tests/qemuhotplugtestcpus/x86-modern-individual-add-monitor.js= on b/tests/qemuhotplugtestcpus/x86-modern-individual-add-monitor.json index df05e5e3a9..0acf2d0cd9 100644 --- a/tests/qemuhotplugtestcpus/x86-modern-individual-add-monitor.json +++ b/tests/qemuhotplugtestcpus/x86-modern-individual-add-monitor.json @@ -83,54 +83,54 @@ "id": "libvirt-23" } -{"execute":"query-cpus","id":"libvirt-2"} +{"execute":"query-cpus-fast","id":"libvirt-2"} { "return": [ { - "arch": "x86", + "target": "x86", "current": true, - "CPU": 0, - "qom_path": "/machine/unattached/device[0]", + "cpu-index": 0, + "qom-path": "/machine/unattached/device[0]", "pc": -2130415978, "halted": true, - "thread_id": 518291 + "thread-id": 518291 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 1, - "qom_path": "/machine/unattached/device[2]", + "cpu-index": 1, + "qom-path": "/machine/unattached/device[2]", "pc": -2130415978, "halted": true, - "thread_id": 518292 + "thread-id": 518292 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 2, - "qom_path": "/machine/unattached/device[3]", + "cpu-index": 2, + "qom-path": "/machine/unattached/device[3]", "pc": -2130415978, "halted": true, - "thread_id": 518294 + "thread-id": 518294 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 3, - "qom_path": "/machine/unattached/device[4]", + "cpu-index": 3, + "qom-path": "/machine/unattached/device[4]", "pc": -2130415978, "halted": true, - "thread_id": 518295 + "thread-id": 518295 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 4, - "qom_path": "/machine/unattached/device[5]", + "cpu-index": 4, + "qom-path": "/machine/unattached/device[5]", "pc": -2130415978, "halted": true, - "thread_id": 518296 + "thread-id": 518296 } ], "id": "libvirt-22" @@ -236,63 +236,63 @@ "id": "libvirt-23" } -{"execute":"query-cpus","id":"libvirt-5"} +{"execute":"query-cpus-fast","id":"libvirt-5"} { "return": [ { - "arch": "x86", + "target": "x86", "current": true, - "CPU": 0, - "qom_path": "/machine/unattached/device[0]", + "cpu-index": 0, + "qom-path": "/machine/unattached/device[0]", "pc": -2130415978, "halted": true, - "thread_id": 518291 + "thread-id": 518291 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 1, - "qom_path": "/machine/unattached/device[2]", + "cpu-index": 1, + "qom-path": "/machine/unattached/device[2]", "pc": -2130415978, "halted": true, - "thread_id": 518292 + "thread-id": 518292 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 2, - "qom_path": "/machine/unattached/device[3]", + "cpu-index": 2, + "qom-path": "/machine/unattached/device[3]", "pc": -2130415978, "halted": true, - "thread_id": 518294 + "thread-id": 518294 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 3, - "qom_path": "/machine/unattached/device[4]", + "cpu-index": 3, + "qom-path": "/machine/unattached/device[4]", "pc": -2130415978, "halted": true, - "thread_id": 518295 + "thread-id": 518295 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 4, - "qom_path": "/machine/unattached/device[5]", + "cpu-index": 4, + "qom-path": "/machine/unattached/device[5]", "pc": -2130415978, "halted": true, - "thread_id": 518296 + "thread-id": 518296 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 5, - "qom_path": "/machine/peripheral/vcpu7", + "cpu-index": 5, + "qom-path": "/machine/peripheral/vcpu7", "pc": -2130415978, "halted": true, - "thread_id": 518297 + "thread-id": 518297 } ], "id": "libvirt-22" diff --git a/tests/qemuhotplugtestcpus/x86-old-bulk-monitor.json b/tests/qe= muhotplugtestcpus/x86-old-bulk-monitor.json index 6caf8cc184..626c0a5699 100644 --- a/tests/qemuhotplugtestcpus/x86-old-bulk-monitor.json +++ b/tests/qemuhotplugtestcpus/x86-old-bulk-monitor.json @@ -1,51 +1,51 @@ -{"execute":"query-cpus","id":"libvirt-1"} +{"execute":"query-cpus-fast","id":"libvirt-1"} { "return": [ { - "arch": "x86", + "target": "x86", "current": true, - "CPU": 0, - "qom_path": "/machine/unattached/device[0]", + "cpu-index": 0, + "qom-path": "/machine/unattached/device[0]", "pc": -2130415978, "halted": true, - "thread_id": 518291 + "thread-id": 518291 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 1, - "qom_path": "/machine/unattached/device[2]", + "cpu-index": 1, + "qom-path": "/machine/unattached/device[2]", "pc": -2130415978, "halted": true, - "thread_id": 518292 + "thread-id": 518292 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 2, - "qom_path": "/machine/unattached/device[3]", + "cpu-index": 2, + "qom-path": "/machine/unattached/device[3]", "pc": -2130415978, "halted": true, - "thread_id": 518294 + "thread-id": 518294 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 3, - "qom_path": "/machine/unattached/device[4]", + "cpu-index": 3, + "qom-path": "/machine/unattached/device[4]", "pc": -2130415978, "halted": true, - "thread_id": 518295 + "thread-id": 518295 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 4, - "qom_path": "/machine/unattached/device[5]", + "cpu-index": 4, + "qom-path": "/machine/unattached/device[5]", "pc": -2130415978, "halted": true, - "thread_id": 518296 + "thread-id": 518296 } ], "id": "libvirt-22" @@ -55,63 +55,63 @@ {"return": {}} -{"execute":"query-cpus","id":"libvirt-3"} +{"execute":"query-cpus-fast","id":"libvirt-3"} { "return": [ { - "arch": "x86", + "target": "x86", "current": true, - "CPU": 0, - "qom_path": "/machine/unattached/device[0]", + "cpu-index": 0, + "qom-path": "/machine/unattached/device[0]", "pc": -2130415978, "halted": true, - "thread_id": 518291 + "thread-id": 518291 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 1, - "qom_path": "/machine/unattached/device[2]", + "cpu-index": 1, + "qom-path": "/machine/unattached/device[2]", "pc": -2130415978, "halted": true, - "thread_id": 518292 + "thread-id": 518292 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 2, - "qom_path": "/machine/unattached/device[3]", + "cpu-index": 2, + "qom-path": "/machine/unattached/device[3]", "pc": -2130415978, "halted": true, - "thread_id": 518294 + "thread-id": 518294 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 3, - "qom_path": "/machine/unattached/device[4]", + "cpu-index": 3, + "qom-path": "/machine/unattached/device[4]", "pc": -2130415978, "halted": true, - "thread_id": 518295 + "thread-id": 518295 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 4, - "qom_path": "/machine/unattached/device[5]", + "cpu-index": 4, + "qom-path": "/machine/unattached/device[5]", "pc": -2130415978, "halted": true, - "thread_id": 518296 + "thread-id": 518296 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 5, - "qom_path": "/machine/peripheral/vcpu5", + "cpu-index": 5, + "qom-path": "/machine/peripheral/vcpu5", "pc": -2130415978, "halted": true, - "thread_id": 518297 + "thread-id": 518297 } ], "id": "libvirt-22" @@ -121,72 +121,72 @@ {"return": {}} -{"execute":"query-cpus","id":"libvirt-5"} +{"execute":"query-cpus-fast","id":"libvirt-5"} { "return": [ { - "arch": "x86", + "target": "x86", "current": true, - "CPU": 0, - "qom_path": "/machine/unattached/device[0]", + "cpu-index": 0, + "qom-path": "/machine/unattached/device[0]", "pc": -2130415978, "halted": true, - "thread_id": 518291 + "thread-id": 518291 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 1, - "qom_path": "/machine/unattached/device[2]", + "cpu-index": 1, + "qom-path": "/machine/unattached/device[2]", "pc": -2130415978, "halted": true, - "thread_id": 518292 + "thread-id": 518292 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 2, - "qom_path": "/machine/unattached/device[3]", + "cpu-index": 2, + "qom-path": "/machine/unattached/device[3]", "pc": -2130415978, "halted": true, - "thread_id": 518294 + "thread-id": 518294 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 3, - "qom_path": "/machine/unattached/device[4]", + "cpu-index": 3, + "qom-path": "/machine/unattached/device[4]", "pc": -2130415978, "halted": true, - "thread_id": 518295 + "thread-id": 518295 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 4, - "qom_path": "/machine/unattached/device[5]", + "cpu-index": 4, + "qom-path": "/machine/unattached/device[5]", "pc": -2130415978, "halted": true, - "thread_id": 518296 + "thread-id": 518296 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 5, - "qom_path": "/machine/peripheral/vcpu5", + "cpu-index": 5, + "qom-path": "/machine/peripheral/vcpu5", "pc": -2130415978, "halted": true, - "thread_id": 518297 + "thread-id": 518297 }, { - "arch": "x86", + "target": "x86", "current": false, - "CPU": 6, - "qom_path": "/machine/peripheral/vcpu6", + "cpu-index": 6, + "qom-path": "/machine/peripheral/vcpu6", "pc": -2130415978, "halted": true, - "thread_id": 518298 + "thread-id": 518298 } ], "id": "libvirt-22" --=20 2.24.1