From nobody Thu Apr 25 12:35:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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=1605721214; cv=none; d=zohomail.com; s=zohoarc; b=DaD5aHotjMdQopKs23CtCifpxfML7JN6CxvHuvc1SkMmtGc+bECzIqjgIXPWpaXn4rSAfVxrbpZt4BZTSL6dVVOiiclX+w7vl/w1jiloxwugIFGG0BrPQz0uFyKN+aWnlFPulRkybUTTrwLHzVm9AS+bg0fypTXGhHn1bzxb0qo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605721214; 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=zAX6BNx2/73eRaiTZVF3jMcQmT8iXK7qZ7jjbj8BlO4=; b=lihStTVnMfbGQWemEw6oQm6XaELufC+xpzN6J9wCVNh7x/uj/AsR6B2AH9+yd16D+vPNYMDstELOf0c9bjEh/K9Kp8M7x3cLfqJDFFvQ6hBGNPSsa2GQk8Wez5Y8bDuojJ5dIlPHzqUtLgWIPvQveukV1tz/8hDMI7m1javE3vo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1605721214770365.02140389637714; Wed, 18 Nov 2020 09:40:14 -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-516-ZRsLFH6-Nuu-UxVF5SOBtA-1; Wed, 18 Nov 2020 12:40:11 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 90E1C10CE7B5; Wed, 18 Nov 2020 17:40:05 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6B9CA5D9E4; Wed, 18 Nov 2020 17:40:05 +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 2C1041809CA0; Wed, 18 Nov 2020 17:40:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AIHe04N004353 for ; Wed, 18 Nov 2020 12:40:00 -0500 Received: by smtp.corp.redhat.com (Postfix) id 7AE0219651; Wed, 18 Nov 2020 17:40:00 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-115-41.ams2.redhat.com [10.36.115.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 972D719482; Wed, 18 Nov 2020 17:39:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605721213; 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=zAX6BNx2/73eRaiTZVF3jMcQmT8iXK7qZ7jjbj8BlO4=; b=B1dm+9IJuhVKXK0A8H4mMbboi8kM/bYA07bbOVbjUTPHFUcaBe0kf2M93+98jeywbI8Pin Tsme78bUtWSWILlpmjiDOXRhPOMDcQqK3+JugvFA4GyMMpNnLzIO384ViaHvYz/LPXDHsE LxBWs9wkSX2IR4UzK2oCv14adB7p30E= X-MC-Unique: ZRsLFH6-Nuu-UxVF5SOBtA-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 01/10] util: add ARCH_IS_MIPS64 helper macro Date: Wed, 18 Nov 2020 17:39:44 +0000 Message-Id: <20201118173953.576417-2-berrange@redhat.com> In-Reply-To: <20201118173953.576417-1-berrange@redhat.com> References: <20201118173953.576417-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) In most cases logic for MIPS64 and MIPS64EL will be identical. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Daniel Henrique Barboza --- src/util/virarch.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/virarch.h b/src/util/virarch.h index 46b4609dd5..528f84f8a5 100644 --- a/src/util/virarch.h +++ b/src/util/virarch.h @@ -95,6 +95,9 @@ typedef enum { #define ARCH_IS_S390(arch) ((arch) =3D=3D VIR_ARCH_S390 ||\ (arch) =3D=3D VIR_ARCH_S390X) =20 +#define ARCH_IS_MIPS64(arch) ((arch) =3D=3D VIR_ARCH_MIPS64 ||\ + (arch) =3D=3D VIR_ARCH_MIPS64EL) + typedef enum { VIR_ARCH_LITTLE_ENDIAN, VIR_ARCH_BIG_ENDIAN, --=20 2.28.0 From nobody Thu Apr 25 12:35:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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=1605721216; cv=none; d=zohomail.com; s=zohoarc; b=ICgbhDZnOPc3fLFeC2t/KEGq4gxAlvZRGsLwYqZ12pgCNBdj2pJ+4Z7wHWKhvVaL7qb6epk40+r2oMmjidxt8jhWg8Z9UncK/+Ne0WQ4O/4oMOJNwZ8EAnzwPIAa32+9iINWO/KQFS/eP3ZE704SLtpppNFpFJX1tXrF7Ers4W4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605721216; 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=bTOg0xy885MmzLePbYnQzN4XN8ClQhjQ+VV4lS384aA=; b=oH9c+jfAW+8eLWkQsOlBEwWrFv4CaQP37PLcahz5G1aNs63QDADObFuyrMUc4ksTMvPCaJbCFBGwbf/QdwIEhxu1gG4LDoA06LbRQC2GXAX2PmGsE6bdFsr1WXfpnqWxmR5egyaINu/agaZ+5B01RxUXz8wgOZ7AyltdMftvHRY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1605721216406238.17142678394134; Wed, 18 Nov 2020 09:40:16 -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-142--PtKWw5IN22RW7CAts9eQA-1; Wed, 18 Nov 2020 12:40:12 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4F4DC835DF0; Wed, 18 Nov 2020 17:40:05 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2A7FA5D9E2; Wed, 18 Nov 2020 17:40:05 +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 E1E5B18095C9; Wed, 18 Nov 2020 17:40:04 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AIHe3gX004374 for ; Wed, 18 Nov 2020 12:40:03 -0500 Received: by smtp.corp.redhat.com (Postfix) id 0DCA119486; Wed, 18 Nov 2020 17:40:03 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-115-41.ams2.redhat.com [10.36.115.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id DDA9B1964E; Wed, 18 Nov 2020 17:40:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605721215; 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=bTOg0xy885MmzLePbYnQzN4XN8ClQhjQ+VV4lS384aA=; b=idl/W9SQffrQam/enIudMzbWWZZDg4C+RcVs6tCPIIp2aGzOLJ1QU0/PDt/9se+K47zEF+ Gm27rYIR3S3cDaO8uUdWm/S0fNkCORiY/QORvVZdGd5YU93UYk0qnLdhd2xJWD6xKX/B/F MdTXEkMYYwc8CgJ10AR/jOTNg93Qebo= X-MC-Unique: -PtKWw5IN22RW7CAts9eQA-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 02/10] qemu: fix default devices on sparc machines Date: Wed, 18 Nov 2020 17:39:45 +0000 Message-Id: <20201118173953.576417-3-berrange@redhat.com> In-Reply-To: <20201118173953.576417-1-berrange@redhat.com> References: <20201118173953.576417-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The sparc machines have little in common with sparc64 machines. No sparc machine type includes a PCI bus, so we should not be adding one to the XML. This further means that we should not be adding a memory balloon device, nor USB controller as these are both PCI based. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Daniel Henrique Barboza --- src/qemu/qemu_domain.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 2158080a56..e85ca80929 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -3561,6 +3561,10 @@ qemuDomainDefAddDefaultDevices(virDomainDefPtr def, break; =20 case VIR_ARCH_SPARC: + addDefaultUSB =3D false; + addDefaultMemballoon =3D false; + break; + case VIR_ARCH_SPARC64: addPCIRoot =3D true; break; --=20 2.28.0 From nobody Thu Apr 25 12:35:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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=1605721219; cv=none; d=zohomail.com; s=zohoarc; b=lJde9YY880CqfjlxX7gAMjMjjpEBH+LCLntXZhSmhaewOfXnK3WynWWpLAXRsU+2fN3Ho7mIVvvI9RhvA8N8JM01pmq3YKz9EUUjbiN0CTwiiakUqkrljVe8HDuon8yCNr1eS5FTfDb/i3BFJIx8FE4YcUWcFhWF7xOCuy5EoMA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605721219; 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=ij1dBsONbMiEPXCYXYsakxI+4DFcjOQkXZ4gZEDasLg=; b=aYLlkL6YYRHNzhemmkQfdkLCP6AOMI5gd9ELykI4p8s2RC9uhmQJtXBNzvy+ED4H3TRQX/IaUzDoIaWg58biHJ92c78+rqsdEsJ6R0P0xkMtaRIEiX1gxC8nVabgdyXd05PTMjH8SG2MD0EhbGrSzpSZidhlaN0MsVCl9ZNmAiU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 160572121918466.70092047982439; Wed, 18 Nov 2020 09:40:19 -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-144-_v5uzfWpPLWV9ffVGbndrg-1; Wed, 18 Nov 2020 12:40:15 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2648B1087D68; Wed, 18 Nov 2020 17:40:09 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 01EE360864; Wed, 18 Nov 2020 17:40:09 +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 BF2111809CA4; Wed, 18 Nov 2020 17:40:08 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AIHe6Eg004388 for ; Wed, 18 Nov 2020 12:40:06 -0500 Received: by smtp.corp.redhat.com (Postfix) id 6C4B41A268; Wed, 18 Nov 2020 17:40:06 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-115-41.ams2.redhat.com [10.36.115.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 779BF19486; Wed, 18 Nov 2020 17:40:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605721218; 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=ij1dBsONbMiEPXCYXYsakxI+4DFcjOQkXZ4gZEDasLg=; b=b7zlfvrYINq0Kgyqh+bAXDDDed1maHmk848eXtLaVwg48HCOQmpkmweqSiapsmM7KtSGOx vLD7dw7qA2vyo316P/QpLeIcevx3028Dgmj9PM1ZOFyG9GDOq1GNSTRyXrhQ3XcXoSjjVI QKBFeSKzoeqtwLq0Vgp/mNbRxNeXL7w= X-MC-Unique: _v5uzfWpPLWV9ffVGbndrg-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 03/10] qemu: add helper method for checking if ESP SCSI is builtin Date: Wed, 18 Nov 2020 17:39:46 +0000 Message-Id: <20201118173953.576417-4-berrange@redhat.com> In-Reply-To: <20201118173953.576417-1-berrange@redhat.com> References: <20201118173953.576417-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The NCR53C90 ESP SCSI controller is only usable when built-in to the machine type. This method will facilitate checking that restriction across many places. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Daniel Henrique Barboza --- src/qemu/qemu_domain.c | 17 +++++++++++++++++ src/qemu/qemu_domain.h | 1 + 2 files changed, 18 insertions(+) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index e85ca80929..1a80aa4c69 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -8289,6 +8289,23 @@ qemuDomainMachineHasBuiltinIDE(const char *machine, } =20 =20 +bool qemuDomainHasBuiltinESP(const virDomainDef *def) +{ + /* These machines use ncr53c90 (ESP) SCSI controller built-in */ + if (def->os.arch =3D=3D VIR_ARCH_SPARC) { + return true; + } else if (ARCH_IS_MIPS64(def->os.arch) && + (STREQ(def->os.machine, "magnum") || + STREQ(def->os.machine, "pica61"))) { + return true; + } else if (def->os.arch =3D=3D VIR_ARCH_M68K && + STREQ(def->os.machine, "q800")) { + return true; + } + return false; +} + + static bool qemuDomainMachineNeedsFDC(const char *machine, const virArch arch) diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h index 8dbec6e33f..6b75b828c0 100644 --- a/src/qemu/qemu_domain.h +++ b/src/qemu/qemu_domain.h @@ -780,6 +780,7 @@ bool qemuDomainIsPSeries(const virDomainDef *def); bool qemuDomainHasPCIRoot(const virDomainDef *def); bool qemuDomainHasPCIeRoot(const virDomainDef *def); bool qemuDomainHasBuiltinIDE(const virDomainDef *def); +bool qemuDomainHasBuiltinESP(const virDomainDef *def); bool qemuDomainNeedsFDC(const virDomainDef *def); bool qemuDomainSupportsPCI(virDomainDefPtr def, virQEMUCapsPtr qemuCaps); --=20 2.28.0 From nobody Thu Apr 25 12:35:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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=1605721222; cv=none; d=zohomail.com; s=zohoarc; b=LEGHfE9X+tGhzPgdjwWMtZRQDOypwKoTimnfJEbGLBAR4Lb9BREqhVk0Ytg3Rif9z2UKHhmA8ODrqisZMtKqL+6S63NmwfOAO0zZNtg6HogOnYpAvBiGhSXf/fhAy/+qmOvBwaWQ5Yp6jM3iKCUp52t4PnIITPHx++Pdyce+B5c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605721222; 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=eCl1gpVp5sgIMk26Ypla3RXuifUik3bOAQDUUHbZ1WM=; b=nLSaqoeTc8OfWTeTDZGBqBKQ5kN/Lirl4nyLprmsxVABN7Y7WST1dQWu7DbQ5DPAoGiB9N9GgeHNMqmbPhD5SbgFE/m8c2pKI8tjmVBsDCcShC2azT8bmT6dykWlmE47qhiTi+u+sr/LU306BP5WjHQ4cOjY8NNj31saJsCZjdw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1605721222868772.5235697540655; Wed, 18 Nov 2020 09:40:22 -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-119-fgGzYxV4MpmkjS7VW-wpJQ-1; Wed, 18 Nov 2020 12:40:18 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4A7AF1926DAD; Wed, 18 Nov 2020 17:40:12 +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 1C7881964D; Wed, 18 Nov 2020 17:40:12 +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 D69EA86BE9; Wed, 18 Nov 2020 17:40:11 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AIHeAch004408 for ; Wed, 18 Nov 2020 12:40:10 -0500 Received: by smtp.corp.redhat.com (Postfix) id DAD071A268; Wed, 18 Nov 2020 17:40:10 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-115-41.ams2.redhat.com [10.36.115.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id B80EF171CB; Wed, 18 Nov 2020 17:40:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605721221; 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=eCl1gpVp5sgIMk26Ypla3RXuifUik3bOAQDUUHbZ1WM=; b=V9a0YgrnFUDAWSzBOra6NJu2uYxT5w+7yldaRv1mkZfl647z3k9PEVGRdF1/sr4KJzGj7C 8YWnLEUocHB8YnmuEV1VbzZNLSwm9xpxT1u9t1d7rsaO5acEK7SYGYAM2tRrpGzY+dTugF athymwRmjTZjQsq6RFlyiG11cNHZa/A= X-MC-Unique: fgGzYxV4MpmkjS7VW-wpJQ-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 04/10] conf: add support for ESP SCSI controller family Date: Wed, 18 Nov 2020 17:39:47 +0000 Message-Id: <20201118173953.576417-5-berrange@redhat.com> In-Reply-To: <20201118173953.576417-1-berrange@redhat.com> References: <20201118173953.576417-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The NCR53C90 is the built-in SCSI controller on all sparc machine types, and some mips and m68k machine types. The DC390 and AM53C974 are PCI SCSI controllers that can be added to any PCI machine. These are only interesting for emulating obsolete hardware platforms. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Daniel Henrique Barboza --- docs/formatdomain.rst | 3 ++- docs/schemas/domaincommon.rng | 3 +++ src/conf/domain_conf.c | 8 ++++++++ src/conf/domain_conf.h | 3 +++ src/qemu/qemu_command.c | 3 +++ src/qemu/qemu_domain_address.c | 3 +++ src/qemu/qemu_validate.c | 6 ++++++ src/vbox/vbox_common.c | 3 +++ src/vmx/vmx.c | 3 +++ 9 files changed, 34 insertions(+), 1 deletion(-) diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst index c2c23371b1..ff64996af2 100644 --- a/docs/formatdomain.rst +++ b/docs/formatdomain.rst @@ -3426,7 +3426,8 @@ specific features, such as: ``scsi`` A ``scsi`` controller has an optional attribute ``model``, which is one= of 'auto', 'buslogic', 'ibmvscsi', 'lsilogic', 'lsisas1068', 'lsisas1078', - 'virtio-scsi', 'vmpvscsi', 'virtio-transitional', 'virtio-non-transitio= nal'. + 'virtio-scsi', 'vmpvscsi', 'virtio-transitional', 'virtio-non-transitio= nal', + 'ncr53c90' (as builtin implicit controller only), 'am53c974', 'dc390'. See `Virtio transitional devices <#elementsVirtioTransitional>`__ for m= ore details. ``usb`` diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index f86a854863..1ccc9759ea 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -2381,6 +2381,9 @@ lsisas1078 virtio-transitional virtio-non-transitional + ncr53c90 + dc390 + am53c974 diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 498a8b6ef0..abfde5b161 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -445,6 +445,9 @@ VIR_ENUM_IMPL(virDomainControllerModelSCSI, "lsisas1078", "virtio-transitional", "virtio-non-transitional", + "ncr53c90", + "dc390", + "am53c974", ); =20 VIR_ENUM_IMPL(virDomainControllerModelISA, VIR_DOMAIN_CONTROLLER_MODEL_ISA= _LAST, @@ -4971,6 +4974,11 @@ virDomainSCSIDriveAddressIsUsed(const virDomainDef *= def, case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_BUSLOGIC: reserved =3D 7; break; + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DC390: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AM53C974: + max =3D 6; + break; case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DEFAULT: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AUTO: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LAST: diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 3e3d4bd002..96e6c34553 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -649,6 +649,9 @@ typedef enum { VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LSISAS1078, VIR_DOMAIN_CONTROLLER_MODEL_SCSI_VIRTIO_TRANSITIONAL, VIR_DOMAIN_CONTROLLER_MODEL_SCSI_VIRTIO_NON_TRANSITIONAL, + VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90, + VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DC390, + VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AM53C974, =20 VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LAST } virDomainControllerModelSCSI; diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 34b5746c1a..d3de13c6ee 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -2473,6 +2473,9 @@ qemuBuildControllerDevStr(const virDomainDef *domainD= ef, break; case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AUTO: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_BUSLOGIC: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DC390: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AM53C974: virReportError(VIR_ERR_CONFIG_UNSUPPORTED, _("Unsupported controller model: %s"), virDomainControllerModelSCSITypeToString(def->m= odel)); diff --git a/src/qemu/qemu_domain_address.c b/src/qemu/qemu_domain_address.c index dd87915a97..f1fb532f39 100644 --- a/src/qemu/qemu_domain_address.c +++ b/src/qemu/qemu_domain_address.c @@ -637,6 +637,7 @@ qemuDomainDeviceCalculatePCIConnectFlags(virDomainDevic= eDefPtr dev, case VIR_DOMAIN_CONTROLLER_TYPE_SCSI: switch ((virDomainControllerModelSCSI) cont->model) { case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DEFAULT: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90: return 0; =20 case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_VIRTIO_SCSI: @@ -652,6 +653,8 @@ qemuDomainDeviceCalculatePCIConnectFlags(virDomainDevic= eDefPtr dev, case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_VMPVSCSI: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_IBMVSCSI: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LSISAS1078: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DC390: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AM53C974: return pciFlags; =20 case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LAST: diff --git a/src/qemu/qemu_validate.c b/src/qemu/qemu_validate.c index 09cdcb20c2..2cd9ee8230 100644 --- a/src/qemu/qemu_validate.c +++ b/src/qemu/qemu_validate.c @@ -2998,6 +2998,9 @@ qemuValidateCheckSCSIControllerModel(virQEMUCapsPtr q= emuCaps, break; case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AUTO: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_BUSLOGIC: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DC390: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AM53C974: virReportError(VIR_ERR_CONFIG_UNSUPPORTED, _("Unsupported controller model: %s"), virDomainControllerModelSCSITypeToString(model)); @@ -3116,6 +3119,9 @@ qemuValidateDomainDeviceDefControllerSCSI(const virDo= mainControllerDef *controll case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_VMPVSCSI: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_IBMVSCSI: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LSISAS1078: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DC390: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AM53C974: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DEFAULT: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LAST: break; diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c index fc897735b0..138403b034 100644 --- a/src/vbox/vbox_common.c +++ b/src/vbox/vbox_common.c @@ -433,6 +433,9 @@ vboxSetStorageController(virDomainControllerDefPtr cont= roller, case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_VIRTIO_TRANSITIONAL: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_VIRTIO_NON_TRANSITIONAL: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LSISAS1078: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DC390: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AM53C974: virReportError(VIR_ERR_CONFIG_UNSUPPORTED, _("The vbox driver does not support %s SCSI " "controller model"), diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c index 4001174380..0d79b8f0ec 100644 --- a/src/vmx/vmx.c +++ b/src/vmx/vmx.c @@ -560,6 +560,9 @@ VIR_ENUM_IMPL(virVMXControllerModelSCSI, "UNUSED lsisas1078", "UNUSED virtio-transitional", "UNUSED virtio-non-transitional", + "UNUSED ncr53c90", + "UNUSED dc390", + "UNUSED am53c974", ); =20 static int virVMXParseVNC(virConfPtr conf, virDomainGraphicsDefPtr *def); --=20 2.28.0 From nobody Thu Apr 25 12:35:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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=1605721227; cv=none; d=zohomail.com; s=zohoarc; b=nLh+yMeXB31SPpB7gtJngtn7TiNb5+YMmerjmFlwleN8SUo4OZoahRwCCyxvs2/3QVkujwl+P6qMQmCoRfAFDT0pNrd5rDv0aM94RT7kf6MaOAG3cBNzD1DzRI/gZ/j5dChC90qu1EVSFRt1nAZPXjZSGsjcRAbhbn/NawQXTNY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605721227; 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=SPBv7MdxoGf2QVbHf428WFi23fMyyRDayZPZ3CqRmDs=; b=jhx2cJftXWIFgTddGLKWRqF+oc15yafCYyNemCrJLranWayX/dl7oAxPJWUvTH1pofHPIG3aATk1Y7gGZJtLaTeJvptETTywvvtzt1vfdV4rQC5HX5Rg17tVmRG/LAXjjZ0bS1kdBKZoyQttlV5ehHtQkIBfyKfsrE7nhBq4ISs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1605721227314406.8450704330239; Wed, 18 Nov 2020 09:40:27 -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-373-8T-s---fOcqLXUk2JkHw5w-1; Wed, 18 Nov 2020 12:40:22 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A4A7C1087D90; Wed, 18 Nov 2020 17:40:14 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 813B55D9F1; Wed, 18 Nov 2020 17:40:14 +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 4BF801809CA5; Wed, 18 Nov 2020 17:40:14 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AIHeD5T004421 for ; Wed, 18 Nov 2020 12:40:13 -0500 Received: by smtp.corp.redhat.com (Postfix) id 59D2916EFD; Wed, 18 Nov 2020 17:40:13 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-115-41.ams2.redhat.com [10.36.115.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4705D1948A; Wed, 18 Nov 2020 17:40:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605721226; 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=SPBv7MdxoGf2QVbHf428WFi23fMyyRDayZPZ3CqRmDs=; b=NAn2LSgw/+zYspD56lORQusaJfeH6FK241LqZwdj3KgpCa9IXSP5JRAumHl6CxjXQPZtRD 7v3gB1fGK9VARz4rCvr9pZ8DEJszfufGeRwTCQEZ1YzK/mwYrwvTNDBAKA76awKZWMTT4L oOFg34Etq1PbK6mYP+rIXgeD60CQPLk= X-MC-Unique: 8T-s---fOcqLXUk2JkHw5w-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 05/10] qemu: add capabilities for the three ESP family SCSI controllers Date: Wed, 18 Nov 2020 17:39:48 +0000 Message-Id: <20201118173953.576417-6-berrange@redhat.com> In-Reply-To: <20201118173953.576417-1-berrange@redhat.com> References: <20201118173953.576417-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Probing for the NCR53C90 controller is a little unusual. The qom-list-types QMP command returns a list of all types known to the QEMU binary. It does not distinguish devices which are user creatable from those which are built-in. Any QEMU target that supports PCI will have the DC390 / AM53C974 devices because they are PCI based. Due to code dependencies in QEMU though, existance of these two devices will also pull in the NCR53C90 device (called just 'esp' in QEMU). The NCR53C90 is not user-creatable and can only be used when built-in to the machine type. This is only the case on sparc machines, and certain mips64 and m68k machines. IOW, we don't rely on qom-list-types as a guide for existance of NCR53C90, as it shouldn't really exist in most QEMU binaries. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Daniel Henrique Barboza --- src/qemu/qemu_capabilities.c | 27 +++++++++++++++++++ src/qemu/qemu_capabilities.h | 5 ++++ .../caps_1.5.3.x86_64.xml | 2 ++ .../caps_1.6.0.x86_64.xml | 2 ++ .../caps_1.7.0.x86_64.xml | 2 ++ .../caps_2.1.1.x86_64.xml | 2 ++ .../caps_2.10.0.aarch64.xml | 2 ++ .../caps_2.10.0.ppc64.xml | 2 ++ .../caps_2.10.0.x86_64.xml | 2 ++ .../caps_2.11.0.x86_64.xml | 2 ++ .../caps_2.12.0.aarch64.xml | 2 ++ .../caps_2.12.0.ppc64.xml | 2 ++ .../caps_2.12.0.x86_64.xml | 2 ++ .../caps_2.4.0.x86_64.xml | 2 ++ .../caps_2.5.0.x86_64.xml | 2 ++ .../caps_2.6.0.aarch64.xml | 2 ++ .../qemucapabilitiesdata/caps_2.6.0.ppc64.xml | 2 ++ .../caps_2.6.0.x86_64.xml | 2 ++ .../caps_2.7.0.x86_64.xml | 2 ++ .../caps_2.8.0.x86_64.xml | 2 ++ .../qemucapabilitiesdata/caps_2.9.0.ppc64.xml | 2 ++ .../caps_2.9.0.x86_64.xml | 2 ++ .../qemucapabilitiesdata/caps_3.0.0.ppc64.xml | 2 ++ .../caps_3.0.0.x86_64.xml | 2 ++ .../qemucapabilitiesdata/caps_3.1.0.ppc64.xml | 2 ++ .../caps_3.1.0.x86_64.xml | 2 ++ .../caps_4.0.0.aarch64.xml | 2 ++ .../qemucapabilitiesdata/caps_4.0.0.ppc64.xml | 2 ++ .../caps_4.0.0.riscv32.xml | 2 ++ .../caps_4.0.0.riscv64.xml | 2 ++ .../caps_4.0.0.x86_64.xml | 2 ++ .../caps_4.1.0.x86_64.xml | 2 ++ .../caps_4.2.0.aarch64.xml | 2 ++ .../qemucapabilitiesdata/caps_4.2.0.ppc64.xml | 2 ++ .../caps_4.2.0.x86_64.xml | 2 ++ .../caps_5.0.0.aarch64.xml | 2 ++ .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml | 2 ++ .../caps_5.0.0.riscv64.xml | 2 ++ .../caps_5.0.0.x86_64.xml | 2 ++ .../caps_5.1.0.x86_64.xml | 2 ++ .../caps_5.2.0.x86_64.xml | 2 ++ 41 files changed, 110 insertions(+) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 9f9f976754..c9e5a17919 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -604,6 +604,11 @@ VIR_ENUM_IMPL(virQEMUCaps, "block-export-add", "netdev.vhost-vdpa", "fsdev.createmode", + + /* 385 */ + "ncr53c90", + "dc390", + "am53c974", ); =20 =20 @@ -1306,6 +1311,20 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes= [] =3D { { "tcg-accel", QEMU_CAPS_TCG }, { "pvscsi", QEMU_CAPS_SCSI_PVSCSI }, { "spapr-tpm-proxy", QEMU_CAPS_DEVICE_SPAPR_TPM_PROXY }, + /* + * We don't probe 'esp' directly, because it is often reported + * as present for all QEMU binaries, due to it being enabled + * for built as a dependancy of dc390/am53c974 PCI SCSI + * controllers. + * + * The base 'esp' device is only used as a biult-in device + * and is not user-creatable. So we turn this cap on later + * based on arch. + * + * { "esp", QEMU_CAPS_SCSI_NCR53C90 }, + */ + { "dc390", QEMU_CAPS_SCSI_DC390 }, + { "am53c974", QEMU_CAPS_SCSI_AM53C974 }, }; =20 =20 @@ -5121,6 +5140,14 @@ virQEMUCapsInitProcessCaps(virQEMUCapsPtr qemuCaps) virQEMUCapsGet(qemuCaps, QEMU_CAPS_SAVEVM_MONITOR_NODES)) virQEMUCapsSet(qemuCaps, QEMU_CAPS_BLOCKDEV); =20 + /* We can't probe "esp" as a type via virQEMUCapsObjectTypes + * array as it is only usable when builtin to the machine type + */ + if (qemuCaps->arch =3D=3D VIR_ARCH_SPARC || + qemuCaps->arch =3D=3D VIR_ARCH_M68K || + qemuCaps->arch =3D=3D VIR_ARCH_MIPS) + virQEMUCapsSet(qemuCaps, QEMU_CAPS_SCSI_NCR53C90); + virQEMUCapsInitProcessCapsInterlock(qemuCaps); } =20 diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h index 9d3f73b2ab..a64b63682d 100644 --- a/src/qemu/qemu_capabilities.h +++ b/src/qemu/qemu_capabilities.h @@ -585,6 +585,11 @@ typedef enum { /* virQEMUCapsFlags grouping marker for= syntax-check */ QEMU_CAPS_NETDEV_VHOST_VDPA, /* -netdev vhost-vdpa*/ QEMU_CAPS_FSDEV_CREATEMODE, /* fsdev.createmode */ =20 + /* 385 */ + QEMU_CAPS_SCSI_NCR53C90, /* built-in SCSI */ + QEMU_CAPS_SCSI_DC390, /* -device dc-390 */ + QEMU_CAPS_SCSI_AM53C974, /* -device am53c974 */ + QEMU_CAPS_LAST /* this must always be the last item */ } virQEMUCapsFlags; =20 diff --git a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_1.5.3.x86_64.xml index ad8ef54464..040508199b 100644 --- a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml @@ -88,6 +88,8 @@ + + 1005003 0 43100245 diff --git a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_1.6.0.x86_64.xml index a9650bfa58..8718bb1332 100644 --- a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml @@ -93,6 +93,8 @@ + + 1006000 0 43100243 diff --git a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_1.7.0.x86_64.xml index b53c2f977f..c7732bff58 100644 --- a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml @@ -95,6 +95,8 @@ + + 1007000 0 43100244 diff --git a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.1.1.x86_64.xml index 97b29df47d..2223f41470 100644 --- a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml @@ -111,6 +111,8 @@ + + 2001001 0 43100240 diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml b/tests/qem= ucapabilitiesdata/caps_2.10.0.aarch64.xml index 80ded97e7b..5b7df57b50 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml @@ -147,6 +147,8 @@ + + 2010000 0 61700287 diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml b/tests/qemuc= apabilitiesdata/caps_2.10.0.ppc64.xml index a6cc20da15..fcd375da3b 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml @@ -147,6 +147,8 @@ + + 2010000 0 42900287 diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml b/tests/qemu= capabilitiesdata/caps_2.10.0.x86_64.xml index cc7b42a287..2fe1888535 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml @@ -191,6 +191,8 @@ + + 2010000 0 43100287 diff --git a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml b/tests/qemu= capabilitiesdata/caps_2.11.0.x86_64.xml index 1d49e92355..56024cfa5d 100644 --- a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml @@ -198,6 +198,8 @@ + + 2011000 0 43100288 diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml b/tests/qem= ucapabilitiesdata/caps_2.12.0.aarch64.xml index 4748a56cc9..a4574f70f6 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml @@ -164,6 +164,8 @@ + + 2012000 0 61700289 diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml b/tests/qemuc= apabilitiesdata/caps_2.12.0.ppc64.xml index ea0c6b91b7..ab5ab06084 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml @@ -165,6 +165,8 @@ + + 2011090 0 42900289 diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml b/tests/qemu= capabilitiesdata/caps_2.12.0.x86_64.xml index edd54db633..13b61fcfe5 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml @@ -208,6 +208,8 @@ + + 2011090 0 43100289 diff --git a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.4.0.x86_64.xml index 64aeaeef5b..dc8c17c230 100644 --- a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml @@ -138,6 +138,8 @@ + + 2004000 0 43100242 diff --git a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.5.0.x86_64.xml index 51c3c00cb7..ff2f789ba3 100644 --- a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml @@ -144,6 +144,8 @@ + + 2005000 0 43100243 diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml b/tests/qemu= capabilitiesdata/caps_2.6.0.aarch64.xml index 5f74659837..b43cc3aa4d 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml @@ -127,6 +127,8 @@ + + 2006000 0 61700244 diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_2.6.0.ppc64.xml index 1f5ccbcd08..efad707714 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml @@ -123,6 +123,8 @@ + + 2006000 0 42900244 diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.6.0.x86_64.xml index a6419f1efb..5c383c190a 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml @@ -156,6 +156,8 @@ + + 2006000 0 43100244 diff --git a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.7.0.x86_64.xml index 984b62b7b3..95f38ca41d 100644 --- a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml @@ -161,6 +161,8 @@ + + 2007000 0 43100245 diff --git a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.8.0.x86_64.xml index 855a1a7392..d24c3c71e0 100644 --- a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml @@ -166,6 +166,8 @@ + + 2008000 0 43100246 diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_2.9.0.ppc64.xml index 94e990da0f..04fd9abfff 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml @@ -138,6 +138,8 @@ + + 2009000 0 42900247 diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.9.0.x86_64.xml index 2990242a18..d984ad3066 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml @@ -184,6 +184,8 @@ + + 2009000 0 43100247 diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_3.0.0.ppc64.xml index 1ad4ef7d71..c92bb5f6a3 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml @@ -167,6 +167,8 @@ + + 2012050 0 42900239 diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_3.0.0.x86_64.xml index 09d54e0f29..d7f1d6cd84 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml @@ -214,6 +214,8 @@ + + 3000000 0 43100239 diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_3.1.0.ppc64.xml index 79cff6e4fb..f4b4566ea8 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml @@ -172,6 +172,8 @@ + + 3000091 0 42900240 diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_3.1.0.x86_64.xml index 5f291f5a0f..b8391f1353 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml @@ -217,6 +217,8 @@ + + 3000092 0 43100240 diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.xml b/tests/qemu= capabilitiesdata/caps_4.0.0.aarch64.xml index 44ad2b260d..4722557eaf 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.xml @@ -178,6 +178,8 @@ + + 4000000 0 61700240 diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_4.0.0.ppc64.xml index 3e6a19dce5..6f549902ca 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.xml @@ -186,6 +186,8 @@ + + 4000000 0 42900240 diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.xml b/tests/qemu= capabilitiesdata/caps_4.0.0.riscv32.xml index 925d9a0735..b1dc08eb4d 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.xml +++ b/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.xml @@ -179,6 +179,8 @@ + + 4000000 0 0 diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.xml b/tests/qemu= capabilitiesdata/caps_4.0.0.riscv64.xml index b5a61c16c8..babb8fb8ab 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.xml +++ b/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.xml @@ -179,6 +179,8 @@ + + 4000000 0 0 diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_4.0.0.x86_64.xml index 8319ee831f..43b70ccc94 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml @@ -223,6 +223,8 @@ + + 4000000 0 43100240 diff --git a/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_4.1.0.x86_64.xml index 44b22e2f70..58774fddcc 100644 --- a/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml @@ -229,6 +229,8 @@ + + 4001000 0 43100241 diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml b/tests/qemu= capabilitiesdata/caps_4.2.0.aarch64.xml index 640f8fe513..77fdc73415 100644 --- a/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml @@ -191,6 +191,8 @@ + + 4001050 0 61700242 diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_4.2.0.ppc64.xml index 252ecc5860..15eaac77a6 100644 --- a/tests/qemucapabilitiesdata/caps_4.2.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_4.2.0.ppc64.xml @@ -192,6 +192,8 @@ + + 4001050 0 42900242 diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_4.2.0.x86_64.xml index bad4dce440..1ba8c09374 100644 --- a/tests/qemucapabilitiesdata/caps_4.2.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_4.2.0.x86_64.xml @@ -238,6 +238,8 @@ + + 4002000 0 43100242 diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml b/tests/qemu= capabilitiesdata/caps_5.0.0.aarch64.xml index 8e4e888cd4..d584642bff 100644 --- a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml @@ -201,6 +201,8 @@ + + 5000000 0 61700241 diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_5.0.0.ppc64.xml index e0519fe7eb..596bccd70a 100644 --- a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml @@ -210,6 +210,8 @@ + + 5000000 0 42900241 diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml b/tests/qemu= capabilitiesdata/caps_5.0.0.riscv64.xml index c9f7a24282..eb760f2911 100644 --- a/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml +++ b/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml @@ -197,6 +197,8 @@ + + 5000000 0 0 diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_5.0.0.x86_64.xml index c897bd3c63..849727eb40 100644 --- a/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml @@ -245,6 +245,8 @@ + + 5000000 0 43100241 diff --git a/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_5.1.0.x86_64.xml index 8dd48812b9..ff5f42a563 100644 --- a/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.xml @@ -247,6 +247,8 @@ + + 5001000 0 43100242 diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_5.2.0.x86_64.xml index 6706a8b8d4..5e9fa8575a 100644 --- a/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml @@ -249,6 +249,8 @@ + + 5001091 0 43100243 --=20 2.28.0 From nobody Thu Apr 25 12:35:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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=1605721227; cv=none; d=zohomail.com; s=zohoarc; b=DUfhXsTw+/JmDoxwqm+ckFACQf2PnOqvcxGRS7tR5l1Pr4bnP83EzIvalSc+JTv4DW7YgjMMpOBRd5A5o8GSATY/oAAk3yNdLWAKGZ05ZT05vKly5pVEKBxrNtAaEzx/KzMJwFjm6bsnKV4cQpEgL34V81H4if8QqQdi8H+RBwQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605721227; 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=LB0ufTUAXuwftPHCIHQ1hcsNFuSzGPI1QAC2ONmedr0=; b=VtpJZ8HYX218LRK9Za+dAFWijQBa9mNkBA8aR+VAYeo2EeW9JfTwsGJg4/Dmlw31jeJCsMzSa9m4SHsROR2S/vo6QAwjbV/iHDEshfFzTCQbxGVPJby1r6gbajhD5QCF5uikFsdtaOSk7ojGaq8WAP4umq4UwajZ52ky2BzgK/U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1605721227508789.4401741698252; Wed, 18 Nov 2020 09:40:27 -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-346-6qN9AQuLM1Chps0DMCS4-A-1; Wed, 18 Nov 2020 12:40:23 -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 913201926DB2; Wed, 18 Nov 2020 17:40:17 +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 6C2FA10016F5; Wed, 18 Nov 2020 17:40:17 +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 32EFA8C7A0; Wed, 18 Nov 2020 17:40:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AIHeEwu004431 for ; Wed, 18 Nov 2020 12:40:14 -0500 Received: by smtp.corp.redhat.com (Postfix) id 9BC0D19482; Wed, 18 Nov 2020 17:40:14 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-115-41.ams2.redhat.com [10.36.115.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id A11372633B; Wed, 18 Nov 2020 17:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605721226; 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=LB0ufTUAXuwftPHCIHQ1hcsNFuSzGPI1QAC2ONmedr0=; b=FxloDbd8d9P4Og/uH2MLMT8gT63T7YVDtWDE1AvVmu9pROves71EJj7I2niWx8IUQsC6zW ATRrSUr27cmlipyt2qfJ3nlv2vpCmYDhBixlJzaWVv8O7QXfbsZ9ZIvCli0zIX4hiSeWM3 0/yUt7fE7FNVMgj/Ey8wujW8+hm5wdc= X-MC-Unique: 6qN9AQuLM1Chps0DMCS4-A-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 06/10] qemu: enable support for ESP SCSI controller family Date: Wed, 18 Nov 2020 17:39:49 +0000 Message-Id: <20201118173953.576417-7-berrange@redhat.com> In-Reply-To: <20201118173953.576417-1-berrange@redhat.com> References: <20201118173953.576417-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The NCR53C90 is the built-in SCSI controller on all sparc machine types, but not sparc64. Note that it has the fixed alias "scsi", which differs from our normal naming convention of "scsi0". The DC390 and AM53C974 are PCI SCSI controllers that can be added to any PCI machine. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Daniel Henrique Barboza --- src/qemu/qemu_alias.c | 6 ++++++ src/qemu/qemu_command.c | 18 +++++++++++++--- src/qemu/qemu_domain_address.c | 7 +++++++ src/qemu/qemu_validate.c | 38 ++++++++++++++++++++++++++++++---- 4 files changed, 62 insertions(+), 7 deletions(-) diff --git a/src/qemu/qemu_alias.c b/src/qemu/qemu_alias.c index 101ab5608f..dcb6c7156d 100644 --- a/src/qemu/qemu_alias.c +++ b/src/qemu/qemu_alias.c @@ -176,6 +176,12 @@ qemuAssignDeviceControllerAlias(virDomainDefPtr domain= Def, controller->info.alias =3D g_strdup("usb"); return 0; } + } else if (controller->type =3D=3D VIR_DOMAIN_CONTROLLER_TYPE_SCSI) { + if (controller->model =3D=3D VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR5= 3C90 && + controller->idx =3D=3D 0) { + controller->info.alias =3D g_strdup("scsi"); + return 0; + } } /* all other controllers use the default ${type}${index} naming * scheme for alias/id. diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index d3de13c6ee..fbaacb8dd8 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -2471,11 +2471,15 @@ qemuBuildControllerDevStr(const virDomainDef *domai= nDef, case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_VMPVSCSI: virBufferAddLit(&buf, "pvscsi"); break; + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AM53C974: + virBufferAddLit(&buf, "am53c974"); + break; + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DC390: + virBufferAddLit(&buf, "dc-390"); + break; case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AUTO: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_BUSLOGIC: - case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90: - case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DC390: - case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AM53C974: + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90: /* It is built-in = dev */ virReportError(VIR_ERR_CONFIG_UNSUPPORTED, _("Unsupported controller model: %s"), virDomainControllerModelSCSITypeToString(def->m= odel)); @@ -2713,6 +2717,14 @@ qemuBuildSkipController(const virDomainControllerDef= *controller, controller->idx =3D=3D 0 && qemuDomainHasBuiltinIDE(def)) return true; =20 + /* first ESP SCSI controller is implicit on certain machine types */ + if (controller->type =3D=3D VIR_DOMAIN_CONTROLLER_TYPE_SCSI && + controller->idx =3D=3D 0 && + controller->model =3D=3D VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90= && + qemuDomainHasBuiltinESP(def)) { + return true; + } + return false; } =20 diff --git a/src/qemu/qemu_domain_address.c b/src/qemu/qemu_domain_address.c index f1fb532f39..2788dc7fb3 100644 --- a/src/qemu/qemu_domain_address.c +++ b/src/qemu/qemu_domain_address.c @@ -64,6 +64,8 @@ qemuDomainGetSCSIControllerModel(const virDomainDef *def, return VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LSILOGIC; else if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_VIRTIO_SCSI)) return VIR_DOMAIN_CONTROLLER_MODEL_SCSI_VIRTIO_SCSI; + else if (qemuDomainHasBuiltinESP(def)) + return VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90; =20 virReportError(VIR_ERR_INTERNAL_ERROR, _("Unable to determine model for SCSI controller idx=3D= %d"), @@ -2249,6 +2251,11 @@ qemuDomainAssignDevicePCISlots(virDomainDefPtr def, cont->idx =3D=3D 0) continue; =20 + /* NCR53C90 SCSI controller is always a built-in device */ + if (cont->type =3D=3D VIR_DOMAIN_CONTROLLER_TYPE_SCSI && + cont->model =3D=3D VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90) + continue; + if (!virDeviceInfoPCIAddressIsWanted(&cont->info)) continue; =20 diff --git a/src/qemu/qemu_validate.c b/src/qemu/qemu_validate.c index 2cd9ee8230..96636d1cff 100644 --- a/src/qemu/qemu_validate.c +++ b/src/qemu/qemu_validate.c @@ -2998,13 +2998,31 @@ qemuValidateCheckSCSIControllerModel(virQEMUCapsPtr= qemuCaps, break; case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AUTO: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_BUSLOGIC: - case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90: - case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DC390: - case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AM53C974: virReportError(VIR_ERR_CONFIG_UNSUPPORTED, _("Unsupported controller model: %s"), virDomainControllerModelSCSITypeToString(model)); return false; + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90: + if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_SCSI_NCR53C90)) { + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", + _("This QEMU doesn't support " + "the NCR53C90 (ESP) controller")); + } + return true; + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DC390: + if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_SCSI_DC390)) { + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", + _("This QEMU doesn't support " + "the DC390 (ESP) controller")); + } + return true; + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AM53C974: + if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_SCSI_AM53C974)) { + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", + _("This QEMU doesn't support " + "the AM53C974 (ESP) controller")); + } + return true; case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DEFAULT: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LAST: virReportError(VIR_ERR_INTERNAL_ERROR, @@ -3112,6 +3130,19 @@ qemuValidateDomainDeviceDefControllerSCSI(const virD= omainControllerDef *controll return -1; break; =20 + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90: + if (controller->idx !=3D 0) { + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", + _("ncr53c90 can only be used as first SCSI = controller")); + return -1; + } + if (!qemuDomainHasBuiltinESP(def)) { + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", + _("ncr53c90 SCSI controller is not a built-= in for this machine")); + return -1; + } + break; + case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AUTO: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_BUSLOGIC: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LSILOGIC: @@ -3119,7 +3150,6 @@ qemuValidateDomainDeviceDefControllerSCSI(const virDo= mainControllerDef *controll case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_VMPVSCSI: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_IBMVSCSI: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LSISAS1078: - case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_NCR53C90: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DC390: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AM53C974: case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DEFAULT: --=20 2.28.0 From nobody Thu Apr 25 12:35:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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=1605721252; cv=none; d=zohomail.com; s=zohoarc; b=nqHJxekZjhp0nBHST+maOrpS+sWeBK9AiYFcf4EmuISFtoEdcl8CbfIwPc9ULSnqtQ/nyZ2M2+Ovckm6Zyu4OtJ5pX+9kNrW/AmtS5FMOC4jByePI8dgsS0xB/QCGhCRL60K0XjOX0XyrS9VMvG9aeEOF2jTOVTFy7/qILmaLpk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605721252; 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=cb0dYrrRDU0WwMvlQBj9f4+qFL4/fqIjvKPwxRN1fLU=; b=gEf0deNbxOGIOvujolU1zNTZsnT3ue3u0xUIM7S/pQq1uZhobuxMY3EUf0ompH3YmZBL018Kox3rKqSXpKDPrik4FXxkh5GX+Nn1lMXbNXC6RpywaBjZvhaBdzP9Tc/MluoNm+JxYIuRxzlsMMOOSehB14ZsvO3rt01x40q6MQM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1605721252883938.7773562035815; Wed, 18 Nov 2020 09:40:52 -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-39-Pzi4psz_MT2BzN0TW65OLg-1; Wed, 18 Nov 2020 12:40:48 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5B78B100F360; Wed, 18 Nov 2020 17:40:41 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 307525C1D7; Wed, 18 Nov 2020 17:40:41 +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 E9E361809C9F; Wed, 18 Nov 2020 17:40:40 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AIHeddJ004635 for ; Wed, 18 Nov 2020 12:40:39 -0500 Received: by smtp.corp.redhat.com (Postfix) id 66CE91964E; Wed, 18 Nov 2020 17:40:39 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-115-41.ams2.redhat.com [10.36.115.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 89B481A268; Wed, 18 Nov 2020 17:40:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605721251; 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=cb0dYrrRDU0WwMvlQBj9f4+qFL4/fqIjvKPwxRN1fLU=; b=WJudsjAQ02cT09obmDREtdM4LKjNg7CSF8Rfcx+tXZZQBbHssS7p4S8WLrni5nE6QJO5kx I8BGcEhc8u6h0TlOEFqhu8BL4R6cnUGxGJHzV5lQWQBXw43IE71XC3J0zlaXNWP66Rw/N7 ehZxCBsvT7W9brK+qBzkgQg5S0xP5nc= X-MC-Unique: Pzi4psz_MT2BzN0TW65OLg-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 07/10] tests: add fake host CPU for sparc architecture Date: Wed, 18 Nov 2020 17:39:50 +0000 Message-Id: <20201118173953.576417-8-berrange@redhat.com> In-Reply-To: <20201118173953.576417-1-berrange@redhat.com> References: <20201118173953.576417-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Daniel Henrique Barboza --- tests/testutilshostcpus.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/testutilshostcpus.h b/tests/testutilshostcpus.h index a54b181c09..91d9c153d9 100644 --- a/tests/testutilshostcpus.h +++ b/tests/testutilshostcpus.h @@ -130,6 +130,14 @@ static virCPUDef cpuS390Data =3D { .threads =3D 1, }; =20 +static virCPUDef cpuSparcData =3D { + .type =3D VIR_CPU_TYPE_HOST, + .arch =3D VIR_ARCH_SPARC, + .sockets =3D 1, + .cores =3D 1, + .threads =3D 1, +}; + static inline virCPUDefPtr testUtilsHostCpusGetDefForModel(const char *model) { @@ -161,6 +169,8 @@ testUtilsHostCpusGetDefForArch(virArch arch) return virCPUDefCopy(&cpuS390Data); else if (arch =3D=3D VIR_ARCH_AARCH64) return virCPUDefCopy(&cpuAarch64Data); + else if (arch =3D=3D VIR_ARCH_SPARC) + return virCPUDefCopy(&cpuSparcData); =20 return NULL; } --=20 2.28.0 From nobody Thu Apr 25 12:35:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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=1605721262; cv=none; d=zohomail.com; s=zohoarc; b=dJ5KAO/wkQgLrV34jLLuyeHkh5DfJBFiCNm0DhaVQRSdVIHG4nE4lQDmehLnv8AMM8JrV7+qNaMpgEld9Tn036brkGmhPW9dCkQDPuDJFD7DAHAdSSyQ5dp/C5etXwxQyBBgJI75MOrij9CSEmjk2TdkBac1amwnGvXcglGgUao= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605721262; 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=Qlbc7e63fQ8fBF0nxOwgviGAIjj68gdPiF6ru5Hcnw4=; b=Xj24dAXUlF/ufR8FW4nwPcoC8KqF2srvservYjOguZCMURpeI9NvB7gYPW1nQQ1atk8NKJ6AkUUeHFksaZG9uEbfzP1PXzeYqWTbmdmaUnJdNO6s/r5qjHI4X4SifZjY/GtFYlJBW8/FBKt52XXO8g/Hp2u4v+0pIM+BA1i39JE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 160572126224033.49572506454194; Wed, 18 Nov 2020 09:41:02 -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-530-CA1yEJHzOO-2WjlpAGZIPg-1; Wed, 18 Nov 2020 12:40:54 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1D8D96D5B3; Wed, 18 Nov 2020 17:40:47 +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 B568F5C1DA; Wed, 18 Nov 2020 17:40:46 +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 73C298C7A2; Wed, 18 Nov 2020 17:40:46 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AIHeiIJ004670 for ; Wed, 18 Nov 2020 12:40:44 -0500 Received: by smtp.corp.redhat.com (Postfix) id D3CD616E38; Wed, 18 Nov 2020 17:40:44 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-115-41.ams2.redhat.com [10.36.115.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id C684D1964E; Wed, 18 Nov 2020 17:40:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605721260; 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=Qlbc7e63fQ8fBF0nxOwgviGAIjj68gdPiF6ru5Hcnw4=; b=BB8t3NqLmqNKmbfYSH6U6vRrmGLHrJUrZOOBd8WsApDzTCScKJ3lB4Q5XdsJY17kmokcu+ y79GIAFsm9AG7RqusV2I103e82+AwpSJ/4a+nLjHP/5BH5H7Sn2L9fPGiqsHY9lTUx4RWO XaR6SeXvivt41XA42+Lsg3iG+WD3veA= X-MC-Unique: CA1yEJHzOO-2WjlpAGZIPg-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 08/10] tests: add capabilities data files for sparc emulator target Date: Wed, 18 Nov 2020 17:39:51 +0000 Message-Id: <20201118173953.576417-9-berrange@redhat.com> In-Reply-To: <20201118173953.576417-1-berrange@redhat.com> References: <20201118173953.576417-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Daniel Henrique Barboza --- tests/domaincapsdata/qemu_5.1.0.sparc.xml | 101 + .../caps_5.1.0.sparc.replies | 17294 ++++++++++++++++ .../qemucapabilitiesdata/caps_5.1.0.sparc.xml | 133 + tests/qemucaps2xmloutdata/caps.sparc.xml | 25 + 4 files changed, 17553 insertions(+) create mode 100644 tests/domaincapsdata/qemu_5.1.0.sparc.xml create mode 100644 tests/qemucapabilitiesdata/caps_5.1.0.sparc.replies create mode 100644 tests/qemucapabilitiesdata/caps_5.1.0.sparc.xml create mode 100644 tests/qemucaps2xmloutdata/caps.sparc.xml diff --git a/tests/domaincapsdata/qemu_5.1.0.sparc.xml b/tests/domaincapsda= ta/qemu_5.1.0.sparc.xml new file mode 100644 index 0000000000..1fb8e352ab --- /dev/null +++ b/tests/domaincapsdata/qemu_5.1.0.sparc.xml @@ -0,0 +1,101 @@ + + /usr/bin/qemu-system-sparc + kvm + SS-5 + sparc + + + + + /usr/share/AAVMF/AAVMF_CODE.fd + /usr/share/AAVMF/AAVMF32_CODE.fd + /usr/share/OVMF/OVMF_CODE.fd + + rom + pflash + + + yes + no + + + no + + + + + + + off + + + + + + + + + disk + cdrom + floppy + lun + + + fdc + scsi + virtio + + + virtio + + + + + sdl + vnc + spice + + + + + + subsystem + + + default + mandatory + requisite + optional + + + pci + scsi + + + + default + vfio + + + + + + random + egd + builtin + + + + + + + + + + + + diff --git a/tests/qemucapabilitiesdata/caps_5.1.0.sparc.replies b/tests/qe= mucapabilitiesdata/caps_5.1.0.sparc.replies new file mode 100644 index 0000000000..35714eccd0 --- /dev/null +++ b/tests/qemucapabilitiesdata/caps_5.1.0.sparc.replies @@ -0,0 +1,17294 @@ +{ + "execute": "qmp_capabilities", + "id": "libvirt-1" +} + +{ + "return": { + }, + "id": "libvirt-1" +} + +{ + "execute": "query-version", + "id": "libvirt-2" +} + +{ + "return": { + "qemu": { + "micro": 0, + "minor": 1, + "major": 5 + }, + "package": "qemu-5.1.0-5.fc33" + }, + "id": "libvirt-2" +} + +{ + "execute": "query-target", + "id": "libvirt-3" +} + +{ + "return": { + "arch": "sparc" + }, + "id": "libvirt-3" +} + +{ + "execute": "query-commands", + "id": "libvirt-4" +} + +{ + "return": [ + { + "name": "object-add" + }, + { + "name": "device_add" + }, + { + "name": "query-qmp-schema" + }, + { + "name": "query-vm-generation-id" + }, + { + "name": "xen-load-devices-state" + }, + { + "name": "query-acpi-ospm-status" + }, + { + "name": "query-memory-devices" + }, + { + "name": "query-command-line-options" + }, + { + "name": "query-fdsets" + }, + { + "name": "remove-fd" + }, + { + "name": "add-fd" + }, + { + "name": "query-memory-size-summary" + }, + { + "name": "closefd" + }, + { + "name": "getfd" + }, + { + "name": "xen-set-global-dirty-log" + }, + { + "name": "change" + }, + { + "name": "human-monitor-command" + }, + { + "name": "balloon" + }, + { + "name": "inject-nmi" + }, + { + "name": "system_wakeup" + }, + { + "name": "x-exit-preconfig" + }, + { + "name": "cont" + }, + { + "name": "pmemsave" + }, + { + "name": "memsave" + }, + { + "name": "system_powerdown" + }, + { + "name": "system_reset" + }, + { + "name": "stop" + }, + { + "name": "query-pci" + }, + { + "name": "query-balloon" + }, + { + "name": "query-iothreads" + }, + { + "name": "query-uuid" + }, + { + "name": "query-kvm" + }, + { + "name": "query-name" + }, + { + "name": "add_client" + }, + { + "name": "set-numa-node" + }, + { + "name": "query-hotpluggable-cpus" + }, + { + "name": "query-memdev" + }, + { + "name": "query-target" + }, + { + "name": "query-current-machine" + }, + { + "name": "query-machines" + }, + { + "name": "cpu-add" + }, + { + "name": "query-cpus-fast" + }, + { + "name": "query-cpus" + }, + { + "name": "device_del" + }, + { + "name": "device-list-properties" + }, + { + "name": "object-del" + }, + { + "name": "qom-list-properties" + }, + { + "name": "qom-list-types" + }, + { + "name": "qom-set" + }, + { + "name": "qom-get" + }, + { + "name": "qom-list" + }, + { + "name": "quit" + }, + { + "name": "query-events" + }, + { + "name": "query-commands" + }, + { + "name": "query-version" + }, + { + "name": "qmp_capabilities" + }, + { + "name": "trace-event-set-state" + }, + { + "name": "trace-event-get-state" + }, + { + "name": "transaction" + }, + { + "name": "migrate-pause" + }, + { + "name": "migrate-recover" + }, + { + "name": "query-colo-status" + }, + { + "name": "xen-colo-do-checkpoint" + }, + { + "name": "query-xen-replication-status" + }, + { + "name": "xen-set-replication" + }, + { + "name": "xen-save-devices-state" + }, + { + "name": "migrate-incoming" + }, + { + "name": "migrate" + }, + { + "name": "query-migrate-cache-size" + }, + { + "name": "migrate-set-cache-size" + }, + { + "name": "migrate_set_speed" + }, + { + "name": "migrate_set_downtime" + }, + { + "name": "migrate-continue" + }, + { + "name": "migrate_cancel" + }, + { + "name": "x-colo-lost-heartbeat" + }, + { + "name": "migrate-start-postcopy" + }, + { + "name": "client_migrate_info" + }, + { + "name": "query-migrate-parameters" + }, + { + "name": "migrate-set-parameters" + }, + { + "name": "query-migrate-capabilities" + }, + { + "name": "migrate-set-capabilities" + }, + { + "name": "query-migrate" + }, + { + "name": "query-display-options" + }, + { + "name": "input-send-event" + }, + { + "name": "send-key" + }, + { + "name": "query-mice" + }, + { + "name": "change-vnc-password" + }, + { + "name": "query-vnc-servers" + }, + { + "name": "query-vnc" + }, + { + "name": "query-spice" + }, + { + "name": "screendump" + }, + { + "name": "expire_password" + }, + { + "name": "set_password" + }, + { + "name": "query-tpm" + }, + { + "name": "query-tpm-types" + }, + { + "name": "query-tpm-models" + }, + { + "name": "query-rocker-of-dpa-groups" + }, + { + "name": "query-rocker-of-dpa-flows" + }, + { + "name": "query-rocker-ports" + }, + { + "name": "query-rocker" + }, + { + "name": "announce-self" + }, + { + "name": "query-rx-filter" + }, + { + "name": "netdev_del" + }, + { + "name": "netdev_add" + }, + { + "name": "set_link" + }, + { + "name": "query-dump-guest-memory-capability" + }, + { + "name": "query-dump" + }, + { + "name": "dump-guest-memory" + }, + { + "name": "chardev-send-break" + }, + { + "name": "chardev-remove" + }, + { + "name": "chardev-change" + }, + { + "name": "chardev-add" + }, + { + "name": "ringbuf-read" + }, + { + "name": "ringbuf-write" + }, + { + "name": "query-chardev-backends" + }, + { + "name": "query-chardev" + }, + { + "name": "query-jobs" + }, + { + "name": "job-finalize" + }, + { + "name": "job-dismiss" + }, + { + "name": "job-complete" + }, + { + "name": "job-cancel" + }, + { + "name": "job-resume" + }, + { + "name": "job-pause" + }, + { + "name": "blockdev-snapshot-delete-internal-sync" + }, + { + "name": "blockdev-snapshot-internal-sync" + }, + { + "name": "nbd-server-stop" + }, + { + "name": "nbd-server-remove" + }, + { + "name": "nbd-server-add" + }, + { + "name": "nbd-server-start" + }, + { + "name": "x-blockdev-set-iothread" + }, + { + "name": "x-blockdev-change" + }, + { + "name": "block-set-write-threshold" + }, + { + "name": "x-blockdev-amend" + }, + { + "name": "blockdev-create" + }, + { + "name": "blockdev-del" + }, + { + "name": "x-blockdev-reopen" + }, + { + "name": "blockdev-add" + }, + { + "name": "block-job-finalize" + }, + { + "name": "block-job-dismiss" + }, + { + "name": "block-job-complete" + }, + { + "name": "block-job-resume" + }, + { + "name": "block-job-pause" + }, + { + "name": "block-job-cancel" + }, + { + "name": "block-job-set-speed" + }, + { + "name": "block-stream" + }, + { + "name": "blockdev-mirror" + }, + { + "name": "x-debug-block-dirty-bitmap-sha256" + }, + { + "name": "block-dirty-bitmap-merge" + }, + { + "name": "block-dirty-bitmap-disable" + }, + { + "name": "block-dirty-bitmap-enable" + }, + { + "name": "block-dirty-bitmap-clear" + }, + { + "name": "block-dirty-bitmap-remove" + }, + { + "name": "block-dirty-bitmap-add" + }, + { + "name": "drive-mirror" + }, + { + "name": "x-debug-query-block-graph" + }, + { + "name": "query-named-block-nodes" + }, + { + "name": "blockdev-backup" + }, + { + "name": "drive-backup" + }, + { + "name": "block-commit" + }, + { + "name": "change-backing-file" + }, + { + "name": "blockdev-snapshot" + }, + { + "name": "blockdev-snapshot-sync" + }, + { + "name": "block_resize" + }, + { + "name": "block_passwd" + }, + { + "name": "query-block-jobs" + }, + { + "name": "query-blockstats" + }, + { + "name": "query-block" + }, + { + "name": "block-latency-histogram-set" + }, + { + "name": "block_set_io_throttle" + }, + { + "name": "blockdev-change-medium" + }, + { + "name": "blockdev-insert-medium" + }, + { + "name": "blockdev-remove-medium" + }, + { + "name": "blockdev-close-tray" + }, + { + "name": "blockdev-open-tray" + }, + { + "name": "eject" + }, + { + "name": "query-pr-managers" + }, + { + "name": "watchdog-set-action" + }, + { + "name": "query-status" + } + ], + "id": "libvirt-4" +} + +{ + "execute": "query-kvm", + "id": "libvirt-5" +} + +{ + "return": { + "enabled": false, + "present": false + }, + "id": "libvirt-5" +} + +{ + "execute": "qom-list-types", + "id": "libvirt-6" +} + +{ + "return": [ + { + "name": "none-machine", + "parent": "machine" + }, + { + "name": "tls-cipher-suites", + "parent": "tls-creds" + }, + { + "name": "secret", + "parent": "secret_common" + }, + { + "name": "chardev-mux", + "parent": "chardev" + }, + { + "name": "empty_slot", + "parent": "sys-bus-device" + }, + { + "name": "Fujitsu-MB86904-sparc-cpu", + "parent": "sparc-cpu" + }, + { + "name": "grlib,apbuart", + "parent": "sys-bus-device" + }, + { + "name": "Voyager-machine", + "parent": "machine" + }, + { + "name": "cryptodev-backend-builtin", + "parent": "cryptodev-backend" + }, + { + "name": "qio-channel-rdma", + "parent": "qio-channel" + }, + { + "name": "slavio_misc", + "parent": "sys-bus-device" + }, + { + "name": "ISA", + "parent": "bus" + }, + { + "name": "SS-10-machine", + "parent": "machine" + }, + { + "name": "usb-redir", + "parent": "usb-device" + }, + { + "name": "migration", + "parent": "device" + }, + { + "name": "sb16", + "parent": "isa-device" + }, + { + "name": "SS-600MP-machine", + "parent": "machine" + }, + { + "name": "slavio_intctl", + "parent": "sys-bus-device" + }, + { + "name": "pr-manager-helper", + "parent": "pr-manager" + }, + { + "name": "tls-creds-x509", + "parent": "tls-creds" + }, + { + "name": "chardev-udp", + "parent": "chardev" + }, + { + "name": "chardev-ringbuf", + "parent": "chardev" + }, + { + "name": "TI-SuperSparc-61-sparc-cpu", + "parent": "sparc-cpu" + }, + { + "name": "cpu-cluster", + "parent": "device" + }, + { + "name": "cgthree", + "parent": "sys-bus-device" + }, + { + "name": "grlib,irqmp", + "parent": "sys-bus-device" + }, + { + "name": "Fujitsu-MB86907-sparc-cpu", + "parent": "sparc-cpu" + }, + { + "name": "chardev-braille", + "parent": "chardev" + }, + { + "name": "scsi-hd", + "parent": "scsi-disk-base" + }, + { + "name": "qemu:memory-region", + "parent": "object" + }, + { + "name": "qio-channel-tls", + "parent": "qio-channel" + }, + { + "name": "scsi-block", + "parent": "scsi-disk-base" + }, + { + "name": "SUNW,tcx", + "parent": "sys-bus-device" + }, + { + "name": "SS-4-machine", + "parent": "machine" + }, + { + "name": "chardev-pty", + "parent": "chardev" + }, + { + "name": "apc", + "parent": "sys-bus-device" + }, + { + "name": "rng-egd", + "parent": "rng-backend" + }, + { + "name": "TI-MicroSparc-IIep-sparc-cpu", + "parent": "sparc-cpu" + }, + { + "name": "qio-channel-websock", + "parent": "qio-channel" + }, + { + "name": "chardev-spiceport", + "parent": "chardev-spice" + }, + { + "name": "TI-MicroSparc-I-sparc-cpu", + "parent": "sparc-cpu" + }, + { + "name": "qtest-accel", + "parent": "accel" + }, + { + "name": "memory-backend-file", + "parent": "memory-backend" + }, + { + "name": "chardev-serial", + "parent": "chardev-fd" + }, + { + "name": "qio-dns-resolver", + "parent": "object" + }, + { + "name": "dbus-vmstate", + "parent": "object" + }, + { + "name": "iothread", + "parent": "object" + }, + { + "name": "SCSI", + "parent": "bus" + }, + { + "name": "chardev-socket", + "parent": "chardev" + }, + { + "name": "sysbus-m48t59", + "parent": "sysbus-m48txx" + }, + { + "name": "chardev-stdio", + "parent": "chardev-fd" + }, + { + "name": "clock", + "parent": "object" + }, + { + "name": "tcg-accel", + "parent": "accel" + }, + { + "name": "qemu-console", + "parent": "object" + }, + { + "name": "chardev-memory", + "parent": "chardev-ringbuf" + }, + { + "name": "qio-channel-socket", + "parent": "qio-channel" + }, + { + "name": "authz-list", + "parent": "authz" + }, + { + "name": "isa-m48t59", + "parent": "isa-m48txx" + }, + { + "name": "qio-channel-command", + "parent": "qio-channel" + }, + { + "name": "LEON2-sparc-cpu", + "parent": "sparc-cpu" + }, + { + "name": "scsi-cd", + "parent": "scsi-disk-base" + }, + { + "name": "chardev-vc", + "parent": "chardev" + }, + { + "name": "esp", + "parent": "sys-bus-device" + }, + { + "name": "sun4m-iommu", + "parent": "sys-bus-device" + }, + { + "name": "input-linux", + "parent": "object" + }, + { + "name": "authz-simple", + "parent": "authz" + }, + { + "name": "filter-dump", + "parent": "netfilter" + }, + { + "name": "LEON3-sparc-cpu", + "parent": "sparc-cpu" + }, + { + "name": "isa-parallel", + "parent": "isa-device" + }, + { + "name": "grlib,apbpnp", + "parent": "sys-bus-device" + }, + { + "name": "memory-backend-memfd", + "parent": "memory-backend" + }, + { + "name": "serial-io", + "parent": "sys-bus-device" + }, + { + "name": "filter-rewriter", + "parent": "netfilter" + }, + { + "name": "sun4m-iommu-memory-region", + "parent": "qemu:iommu-memory-region" + }, + { + "name": "escc", + "parent": "sys-bus-device" + }, + { + "name": "colo-compare", + "parent": "object" + }, + { + "name": "chardev-parallel", + "parent": "chardev" + }, + { + "name": "floppy", + "parent": "device" + }, + { + "name": "usb-bus", + "parent": "bus" + }, + { + "name": "cs4231a", + "parent": "isa-device" + }, + { + "name": "TI-SuperSparc-II-sparc-cpu", + "parent": "sparc-cpu" + }, + { + "name": "grlib,ahbpnp", + "parent": "sys-bus-device" + }, + { + "name": "chardev-null", + "parent": "chardev" + }, + { + "name": "scsi-disk", + "parent": "scsi-disk-base" + }, + { + "name": "authz-pam", + "parent": "authz" + }, + { + "name": "sysbus-m48t08", + "parent": "sysbus-m48txx" + }, + { + "name": "SS-5-machine", + "parent": "machine" + }, + { + "name": "TI-SuperSparc-60-sparc-cpu", + "parent": "sparc-cpu" + }, + { + "name": "isa-fdc", + "parent": "isa-device" + }, + { + "name": "sparc32-espdma", + "parent": "sparc32-dma-device" + }, + { + "name": "tls-creds-anon", + "parent": "tls-creds" + }, + { + "name": "isabus-bridge", + "parent": "sys-bus-device" + }, + { + "name": "sysbus-fdc", + "parent": "base-sysbus-fdc" + }, + { + "name": "cryptodev-backend", + "parent": "object" + }, + { + "name": "loader", + "parent": "device" + }, + { + "name": "secret_keyring", + "parent": "secret_common" + }, + { + "name": "sparc32-ledma", + "parent": "sparc32-dma-device" + }, + { + "name": "rng-builtin", + "parent": "rng-backend" + }, + { + "name": "macio_idreg", + "parent": "sys-bus-device" + }, + { + "name": "filter-redirector", + "parent": "netfilter" + }, + { + "name": "memory-backend-ram", + "parent": "memory-backend" + }, + { + "name": "filter-mirror", + "parent": "netfilter" + }, + { + "name": "grlib,gptimer", + "parent": "sys-bus-device" + }, + { + "name": "isa-serial", + "parent": "isa-device" + }, + { + "name": "chardev-wctablet", + "parent": "chardev" + }, + { + "name": "tls-creds-psk", + "parent": "tls-creds" + }, + { + "name": "openprom", + "parent": "sys-bus-device" + }, + { + "name": "accel", + "parent": "object" + }, + { + "name": "fw_cfg_mem", + "parent": "fw_cfg" + }, + { + "name": "tcx_afx", + "parent": "sys-bus-device" + }, + { + "name": "chardev-pipe", + "parent": "chardev-fd" + }, + { + "name": "serial", + "parent": "device" + }, + { + "name": "fw_cfg_io", + "parent": "fw_cfg" + }, + { + "name": "SPARCbook-machine", + "parent": "machine" + }, + { + "name": "ib700", + "parent": "isa-device" + }, + { + "name": "leon3_generic-machine", + "parent": "machine" + }, + { + "name": "chardev-testdev", + "parent": "chardev" + }, + { + "name": "TI-SuperSparc-40-sparc-cpu", + "parent": "sparc-cpu" + }, + { + "name": "TI-MicroSparc-II-sparc-cpu", + "parent": "sparc-cpu" + }, + { + "name": "qio-net-listener", + "parent": "object" + }, + { + "name": "serial-mm", + "parent": "sys-bus-device" + }, + { + "name": "authz-list-file", + "parent": "authz" + }, + { + "name": "slavio_timer", + "parent": "sys-bus-device" + }, + { + "name": "System", + "parent": "bus" + }, + { + "name": "memory", + "parent": "sys-bus-device" + }, + { + "name": "filter-replay", + "parent": "netfilter" + }, + { + "name": "lance", + "parent": "sys-bus-device" + }, + { + "name": "filter-buffer", + "parent": "netfilter" + }, + { + "name": "SUNW,fdtwo", + "parent": "base-sysbus-fdc" + }, + { + "name": "throttle-group", + "parent": "object" + }, + { + "name": "qio-channel-file", + "parent": "qio-channel" + }, + { + "name": "floppy-bus", + "parent": "bus" + }, + { + "name": "sysbus-m48t02", + "parent": "sysbus-m48txx" + }, + { + "name": "chardev-msmouse", + "parent": "chardev" + }, + { + "name": "SPARCClassic-machine", + "parent": "machine" + }, + { + "name": "scsi-generic", + "parent": "scsi-device" + }, + { + "name": "unimplemented-device", + "parent": "sys-bus-device" + }, + { + "name": "chardev-spicevmc", + "parent": "chardev-spice" + }, + { + "name": "qio-channel-buffer", + "parent": "qio-channel" + }, + { + "name": "input-barrier", + "parent": "object" + }, + { + "name": "adlib", + "parent": "isa-device" + }, + { + "name": "chardev-gdb", + "parent": "chardev" + }, + { + "name": "eccmemctl", + "parent": "sys-bus-device" + }, + { + "name": "irq", + "parent": "object" + }, + { + "name": "sparc32-dma", + "parent": "sys-bus-device" + }, + { + "name": "TI-SuperSparc-50-sparc-cpu", + "parent": "sparc-cpu" + }, + { + "name": "LX-machine", + "parent": "machine" + }, + { + "name": "ne2k_isa", + "parent": "isa-device" + }, + { + "name": "gus", + "parent": "isa-device" + }, + { + "name": "container", + "parent": "object" + }, + { + "name": "rng-random", + "parent": "rng-backend" + }, + { + "name": "SUNW,CS4231", + "parent": "sys-bus-device" + }, + { + "name": "chardev-file", + "parent": "chardev-fd" + }, + { + "name": "SS-20-machine", + "parent": "machine" + }, + { + "name": "TI-SuperSparc-51-sparc-cpu", + "parent": "sparc-cpu" + } + ], + "id": "libvirt-6" +} + +{ + "execute": "device-list-properties", + "arguments": { + "typename": "virtio-blk-pci" + }, + "id": "libvirt-7" +} + +{ + "id": "libvirt-7", + "error": { + "class": "DeviceNotFound", + "desc": "Device 'virtio-blk-pci' not found" + } +} + +{ + "execute": "device-list-properties", + "arguments": { + "typename": "scsi-hd" + }, + "id": "libvirt-8" +} + +{ + "return": [ + { + "default-value": 4294967295, + "name": "scsi-id", + "type": "uint32" + }, + { + "default-value": 4294967295, + "name": "lun", + "type": "uint32" + }, + { + "default-value": 0, + "name": "channel", + "type": "uint32" + }, + { + "default-value": 0, + "name": "lsecs", + "type": "uint32" + }, + { + "name": "device_id", + "type": "str" + }, + { + "default-value": 0, + "name": "logical_block_size", + "description": "A power of two between 512 B and 2 MiB", + "type": "size" + }, + { + "default-value": 2147483647, + "name": "max_io_size", + "type": "uint64" + }, + { + "default-value": false, + "name": "dpofua", + "description": "on/off", + "type": "bool" + }, + { + "name": "drive", + "description": "Node name or ID of a block device to use as a backen= d", + "type": "str" + }, + { + "default-value": 0, + "name": "lheads", + "type": "uint32" + }, + { + "name": "serial", + "type": "str" + }, + { + "name": "ver", + "type": "str" + }, + { + "default-value": "auto", + "name": "write-cache", + "description": "on/off/auto", + "type": "OnOffAuto" + }, + { + "default-value": false, + "name": "share-rw", + "type": "bool" + }, + { + "default-value": 5, + "name": "scsi_version", + "type": "int32" + }, + { + "default-value": false, + "name": "removable", + "description": "on/off", + "type": "bool" + }, + { + "default-value": 0, + "name": "wwn", + "type": "uint64" + }, + { + "default-value": 4294967295, + "name": "discard_granularity", + "type": "size" + }, + { + "default-value": 0, + "name": "heads", + "type": "uint32" + }, + { + "name": "vendor", + "type": "str" + }, + { + "default-value": 1073741824, + "name": "max_unmap_size", + "type": "uint64" + }, + { + "default-value": 0, + "name": "cyls", + "type": "uint32" + }, + { + "default-value": 0, + "name": "lcyls", + "type": "uint32" + }, + { + "name": "product", + "type": "str" + }, + { + "default-value": 0, + "name": "opt_io_size", + "type": "size" + }, + { + "default-value": "auto", + "name": "rerror", + "description": "Error handling policy, report/ignore/enospc/stop/aut= o", + "type": "BlockdevOnError" + }, + { + "default-value": 0, + "name": "secs", + "type": "uint32" + }, + { + "default-value": 0, + "name": "rotation_rate", + "type": "uint16" + }, + { + "default-value": 0, + "name": "min_io_size", + "type": "size" + }, + { + "default-value": 0, + "name": "physical_block_size", + "description": "A power of two between 512 B and 2 MiB", + "type": "size" + }, + { + "default-value": 0, + "name": "port_wwn", + "type": "uint64" + }, + { + "default-value": 0, + "name": "port_index", + "type": "uint16" + }, + { + "default-value": "auto", + "name": "werror", + "description": "Error handling policy, report/ignore/enospc/stop/aut= o", + "type": "BlockdevOnError" + }, + { + "name": "bootindex", + "type": "int32" + } + ], + "id": "libvirt-8" +} + +{ + "execute": "device-list-properties", + "arguments": { + "typename": "ide-hd" + }, + "id": "libvirt-9" +} + +{ + "id": "libvirt-9", + "error": { + "class": "DeviceNotFound", + "desc": "Device 'ide-hd' not found" + } +} + +{ + "execute": "device-list-properties", + "arguments": { + "typename": "PIIX4_PM" + }, + "id": "libvirt-10" +} + +{ + "id": "libvirt-10", + "error": { + "class": "DeviceNotFound", + "desc": "Device 'PIIX4_PM' not found" + } +} + +{ + "execute": "device-list-properties", + "arguments": { + "typename": "usb-redir" + }, + "id": "libvirt-11" +} + +{ + "return": [ + { + "default-value": true, + "name": "full-path", + "description": "on/off", + "type": "bool" + }, + { + "name": "port", + "type": "str" + }, + { + "default-value": true, + "name": "msos-desc", + "description": "on/off", + "type": "bool" + }, + { + "name": "serial", + "type": "str" + }, + { + "name": "filter", + "type": "str" + }, + { + "default-value": true, + "name": "streams", + "type": "bool" + }, + { + "name": "chardev", + "description": "ID of a chardev to use as a backend", + "type": "str" + }, + { + "default-value": 2, + "name": "debug", + "type": "uint8" + }, + { + "default-value": true, + "name": "suppress-remote-wake", + "type": "bool" + }, + { + "name": "bootindex", + "type": "int32" + }, + { + "name": "attached", + "type": "bool" + } + ], + "id": "libvirt-11" +} + +{ + "execute": "device-list-properties", + "arguments": { + "typename": "i440FX-pcihost" + }, + "id": "libvirt-12" +} + +{ + "id": "libvirt-12", + "error": { + "class": "DeviceNotFound", + "desc": "Device 'i440FX-pcihost' not found" + } +} + +{ + "execute": "device-list-properties", + "arguments": { + "typename": "q35-pcihost" + }, + "id": "libvirt-13" +} + +{ + "id": "libvirt-13", + "error": { + "class": "DeviceNotFound", + "desc": "Device 'q35-pcihost' not found" + } +} + +{ + "execute": "device-list-properties", + "arguments": { + "typename": "kvm-pit" + }, + "id": "libvirt-14" +} + +{ + "id": "libvirt-14", + "error": { + "class": "DeviceNotFound", + "desc": "Device 'kvm-pit' not found" + } +} + +{ + "execute": "device-list-properties", + "arguments": { + "typename": "ICH9-LPC" + }, + "id": "libvirt-15" +} + +{ + "id": "libvirt-15", + "error": { + "class": "DeviceNotFound", + "desc": "Device 'ICH9-LPC' not found" + } +} + +{ + "execute": "device-list-properties", + "arguments": { + "typename": "virtio-balloon-pci" + }, + "id": "libvirt-16" +} + +{ + "id": "libvirt-16", + "error": { + "class": "DeviceNotFound", + "desc": "Device 'virtio-balloon-pci' not found" + } +} + +{ + "execute": "device-list-properties", + "arguments": { + "typename": "virtio-balloon-ccw" + }, + "id": "libvirt-17" +} + +{ + "id": "libvirt-17", + "error": { + "class": "DeviceNotFound", + "desc": "Device 'virtio-balloon-ccw' not found" + } +} + +{ + "execute": "device-list-properties", + "arguments": { + "typename": "virtio-balloon-device" + }, + "id": "libvirt-18" +} + +{ + "id": "libvirt-18", + "error": { + "class": "DeviceNotFound", + "desc": "Device 'virtio-balloon-device' not found" + } +} + +{ + "execute": "device-list-properties", + "arguments": { + "typename": "usb-host" + }, + "id": "libvirt-19" +} + +{ + "id": "libvirt-19", + "error": { + "class": "DeviceNotFound", + "desc": "Device 'usb-host' not found" + } +} + +{ + "execute": "qom-list-properties", + "arguments": { + "typename": "memory-backend-file" + }, + "id": "libvirt-20" +} + +{ + "return": [ + { + "name": "type", + "type": "string" + }, + { + "name": "share", + "description": "Mark the memory as private to QEMU or shared", + "type": "bool" + }, + { + "name": "dump", + "description": "Set to 'off' to exclude from core dump", + "type": "bool" + }, + { + "name": "prealloc-threads", + "description": "Number of CPU threads to use for prealloc", + "type": "int" + }, + { + "name": "x-use-canonical-path-for-ramblock-id", + "type": "bool" + }, + { + "name": "policy", + "description": "Set the NUMA policy", + "type": "HostMemPolicy" + }, + { + "name": "size", + "description": "Size of the memory region (ex: 500M)", + "type": "int" + }, + { + "name": "prealloc", + "description": "Preallocate memory", + "type": "bool" + }, + { + "name": "host-nodes", + "description": "Binds memory to the list of NUMA host nodes", + "type": "int" + }, + { + "name": "merge", + "description": "Mark memory as mergeable", + "type": "bool" + }, + { + "name": "align", + "type": "int" + }, + { + "name": "pmem", + "type": "bool" + }, + { + "name": "mem-path", + "type": "string" + }, + { + "name": "discard-data", + "type": "bool" + } + ], + "id": "libvirt-20" +} + +{ + "execute": "qom-list-properties", + "arguments": { + "typename": "memory-backend-memfd" + }, + "id": "libvirt-21" +} + +{ + "return": [ + { + "name": "type", + "type": "string" + }, + { + "name": "share", + "description": "Mark the memory as private to QEMU or shared", + "type": "bool" + }, + { + "name": "dump", + "description": "Set to 'off' to exclude from core dump", + "type": "bool" + }, + { + "name": "prealloc-threads", + "description": "Number of CPU threads to use for prealloc", + "type": "int" + }, + { + "name": "x-use-canonical-path-for-ramblock-id", + "type": "bool" + }, + { + "name": "policy", + "description": "Set the NUMA policy", + "type": "HostMemPolicy" + }, + { + "name": "size", + "description": "Size of the memory region (ex: 500M)", + "type": "int" + }, + { + "name": "prealloc", + "description": "Preallocate memory", + "type": "bool" + }, + { + "name": "host-nodes", + "description": "Binds memory to the list of NUMA host nodes", + "type": "int" + }, + { + "name": "merge", + "description": "Mark memory as mergeable", + "type": "bool" + }, + { + "name": "hugetlb", + "description": "Use huge pages", + "type": "bool" + }, + { + "name": "seal", + "description": "Seal growing & shrinking", + "type": "bool" + }, + { + "name": "hugetlbsize", + "description": "Huge pages size (ex: 2M, 1G)", + "type": "int" + } + ], + "id": "libvirt-21" +} + +{ + "execute": "query-machines", + "id": "libvirt-22" +} + +{ + "return": [ + { + "hotpluggable-cpus": false, + "name": "SS-20", + "numa-mem-supported": false, + "default-cpu-type": "TI-SuperSparc-II-sparc-cpu", + "cpu-max": 4, + "deprecated": false + }, + { + "hotpluggable-cpus": false, + "name": "LX", + "numa-mem-supported": false, + "default-cpu-type": "TI-MicroSparc-I-sparc-cpu", + "cpu-max": 1, + "deprecated": false + }, + { + "hotpluggable-cpus": false, + "name": "SPARCClassic", + "numa-mem-supported": false, + "default-cpu-type": "TI-MicroSparc-I-sparc-cpu", + "cpu-max": 1, + "deprecated": false + }, + { + "hotpluggable-cpus": false, + "name": "leon3_generic", + "numa-mem-supported": false, + "default-cpu-type": "LEON3-sparc-cpu", + "cpu-max": 1, + "deprecated": false + }, + { + "hotpluggable-cpus": false, + "name": "SPARCbook", + "numa-mem-supported": false, + "default-cpu-type": "TI-MicroSparc-I-sparc-cpu", + "cpu-max": 1, + "deprecated": false + }, + { + "hotpluggable-cpus": false, + "name": "SS-5", + "numa-mem-supported": false, + "default-cpu-type": "Fujitsu-MB86904-sparc-cpu", + "is-default": true, + "cpu-max": 1, + "deprecated": false + }, + { + "hotpluggable-cpus": false, + "name": "SS-4", + "numa-mem-supported": false, + "default-cpu-type": "Fujitsu-MB86904-sparc-cpu", + "cpu-max": 1, + "deprecated": false + }, + { + "hotpluggable-cpus": false, + "name": "SS-600MP", + "numa-mem-supported": false, + "default-cpu-type": "TI-SuperSparc-II-sparc-cpu", + "cpu-max": 4, + "deprecated": false + }, + { + "hotpluggable-cpus": false, + "name": "SS-10", + "numa-mem-supported": false, + "default-cpu-type": "TI-SuperSparc-II-sparc-cpu", + "cpu-max": 4, + "deprecated": false + }, + { + "hotpluggable-cpus": false, + "name": "Voyager", + "numa-mem-supported": false, + "default-cpu-type": "Fujitsu-MB86904-sparc-cpu", + "cpu-max": 1, + "deprecated": false + }, + { + "hotpluggable-cpus": false, + "name": "none", + "numa-mem-supported": false, + "cpu-max": 1, + "deprecated": false + } + ], + "id": "libvirt-22" +} + +{ + "execute": "query-tpm-models", + "id": "libvirt-23" +} + +{ + "return": [ + ], + "id": "libvirt-23" +} + +{ + "execute": "query-tpm-types", + "id": "libvirt-24" +} + +{ + "return": [ + ], + "id": "libvirt-24" +} + +{ + "execute": "query-command-line-options", + "id": "libvirt-25" +} + +{ + "return": [ + { + "parameters": [ + { + "name": "timeout", + "help": "Request timeout in seconds (default 0 =3D no timeout)", + "type": "number" + }, + { + "name": "initiator-name", + "help": "Initiator iqn name to use when connecting", + "type": "string" + }, + { + "name": "header-digest", + "help": "HeaderDigest setting. {CRC32C|CRC32C-NONE|NONE-CRC32C|N= ONE}", + "type": "string" + }, + { + "name": "password-secret", + "help": "ID of the secret providing password for CHAP authentica= tion to target", + "type": "string" + }, + { + "name": "password", + "help": "password for CHAP authentication to target", + "type": "string" + }, + { + "name": "user", + "help": "username for CHAP authentication to target", + "type": "string" + } + ], + "option": "iscsi" + }, + { + "parameters": [ + { + "name": "audiodev", + "type": "string" + }, + { + "name": "non-adaptive", + "type": "boolean" + }, + { + "name": "lossy", + "type": "boolean" + }, + { + "name": "sasl-authz", + "type": "string" + }, + { + "name": "tls-authz", + "type": "string" + }, + { + "name": "acl", + "type": "boolean" + }, + { + "name": "sasl", + "type": "boolean" + }, + { + "name": "key-delay-ms", + "type": "number" + }, + { + "name": "lock-key-sync", + "type": "boolean" + }, + { + "name": "reverse", + "type": "boolean" + }, + { + "name": "password", + "type": "boolean" + }, + { + "name": "ipv6", + "type": "boolean" + }, + { + "name": "ipv4", + "type": "boolean" + }, + { + "name": "to", + "type": "number" + }, + { + "name": "connections", + "type": "number" + }, + { + "name": "head", + "type": "number" + }, + { + "name": "display", + "type": "string" + }, + { + "name": "share", + "type": "string" + }, + { + "name": "tls-creds", + "type": "string" + }, + { + "name": "websocket", + "type": "string" + }, + { + "name": "vnc", + "type": "string" + } + ], + "option": "vnc" + }, + { + "parameters": [ + { + "name": "rendernode", + "type": "string" + }, + { + "name": "gl", + "type": "boolean" + }, + { + "name": "head", + "type": "number" + }, + { + "name": "display", + "type": "string" + }, + { + "name": "seamless-migration", + "type": "boolean" + }, + { + "name": "playback-compression", + "type": "boolean" + }, + { + "name": "agent-mouse", + "type": "boolean" + }, + { + "name": "streaming-video", + "type": "string" + }, + { + "name": "zlib-glz-wan-compression", + "type": "string" + }, + { + "name": "jpeg-wan-compression", + "type": "string" + }, + { + "name": "image-compression", + "type": "string" + }, + { + "name": "plaintext-channel", + "type": "string" + }, + { + "name": "tls-channel", + "type": "string" + }, + { + "name": "tls-ciphers", + "type": "string" + }, + { + "name": "x509-dh-key-file", + "type": "string" + }, + { + "name": "x509-cacert-file", + "type": "string" + }, + { + "name": "x509-cert-file", + "type": "string" + }, + { + "name": "x509-key-password", + "type": "string" + }, + { + "name": "x509-key-file", + "type": "string" + }, + { + "name": "x509-dir", + "type": "string" + }, + { + "name": "sasl", + "type": "boolean" + }, + { + "name": "disable-agent-file-xfer", + "type": "boolean" + }, + { + "name": "disable-copy-paste", + "type": "boolean" + }, + { + "name": "disable-ticketing", + "type": "boolean" + }, + { + "name": "password", + "type": "string" + }, + { + "name": "unix", + "type": "boolean" + }, + { + "name": "ipv6", + "type": "boolean" + }, + { + "name": "ipv4", + "type": "boolean" + }, + { + "name": "addr", + "type": "string" + }, + { + "name": "tls-port", + "type": "number" + }, + { + "name": "port", + "type": "number" + } + ], + "option": "spice" + }, + { + "parameters": [ + { + "name": "dmode", + "type": "number" + }, + { + "name": "fmode", + "type": "number" + }, + { + "name": "sock_fd", + "type": "number" + }, + { + "name": "socket", + "type": "string" + }, + { + "name": "multidevs", + "type": "string" + }, + { + "name": "readonly", + "type": "boolean" + }, + { + "name": "writeout", + "type": "string" + }, + { + "name": "security_model", + "type": "string" + }, + { + "name": "mount_tag", + "type": "string" + }, + { + "name": "path", + "type": "string" + }, + { + "name": "fsdriver", + "type": "string" + } + ], + "option": "virtfs" + }, + { + "parameters": [ + { + "name": "throttling.iops-size", + "help": "when limiting by iops max size of an I/O in bytes", + "type": "number" + }, + { + "name": "throttling.bps-write-max-length", + "help": "length of the bps-write-max burst period, in seconds", + "type": "number" + }, + { + "name": "throttling.bps-read-max-length", + "help": "length of the bps-read-max burst period, in seconds", + "type": "number" + }, + { + "name": "throttling.bps-total-max-length", + "help": "length of the bps-total-max burst period, in seconds", + "type": "number" + }, + { + "name": "throttling.iops-write-max-length", + "help": "length of the iops-write-max burst period, in seconds", + "type": "number" + }, + { + "name": "throttling.iops-read-max-length", + "help": "length of the iops-read-max burst period, in seconds", + "type": "number" + }, + { + "name": "throttling.iops-total-max-length", + "help": "length of the iops-total-max burst period, in seconds", + "type": "number" + }, + { + "name": "throttling.bps-write-max", + "help": "total bytes write burst", + "type": "number" + }, + { + "name": "throttling.bps-read-max", + "help": "total bytes read burst", + "type": "number" + }, + { + "name": "throttling.bps-total-max", + "help": "total bytes burst", + "type": "number" + }, + { + "name": "throttling.iops-write-max", + "help": "I/O operations write burst", + "type": "number" + }, + { + "name": "throttling.iops-read-max", + "help": "I/O operations read burst", + "type": "number" + }, + { + "name": "throttling.iops-total-max", + "help": "I/O operations burst", + "type": "number" + }, + { + "name": "throttling.bps-write", + "help": "limit write bytes per second", + "type": "number" + }, + { + "name": "throttling.bps-read", + "help": "limit read bytes per second", + "type": "number" + }, + { + "name": "throttling.bps-total", + "help": "limit total bytes per second", + "type": "number" + }, + { + "name": "throttling.iops-write", + "help": "limit write operations per second", + "type": "number" + }, + { + "name": "throttling.iops-read", + "help": "limit read operations per second", + "type": "number" + }, + { + "name": "throttling.iops-total", + "help": "limit total I/O operations per second", + "type": "number" + }, + { + "name": "dmode", + "type": "number" + }, + { + "name": "fmode", + "type": "number" + }, + { + "name": "sock_fd", + "type": "number" + }, + { + "name": "socket", + "type": "string" + }, + { + "name": "multidevs", + "type": "string" + }, + { + "name": "readonly", + "type": "boolean" + }, + { + "name": "writeout", + "type": "string" + }, + { + "name": "security_model", + "type": "string" + }, + { + "name": "path", + "type": "string" + }, + { + "name": "fsdriver", + "type": "string" + } + ], + "option": "fsdev" + }, + { + "parameters": [ + { + "name": "resourcecontrol", + "type": "string" + }, + { + "name": "spawn", + "type": "string" + }, + { + "name": "elevateprivileges", + "type": "string" + }, + { + "name": "obsolete", + "type": "string" + }, + { + "name": "enable", + "type": "boolean" + } + ], + "option": "sandbox" + }, + { + "parameters": [ + { + "name": "gen_id", + "help": "Sets id of the object generating the fw_cfg blob to be = inserted", + "type": "string" + }, + { + "name": "string", + "help": "Sets content of the blob to be inserted from a string", + "type": "string" + }, + { + "name": "file", + "help": "Sets the name of the file from which the fw_cfg blob wi= ll be loaded", + "type": "string" + }, + { + "name": "name", + "help": "Sets the fw_cfg name of the blob to be inserted", + "type": "string" + } + ], + "option": "fw_cfg" + }, + { + "parameters": [ + ], + "option": "" + }, + { + "parameters": [ + { + "name": "rrsnapshot", + "type": "string" + }, + { + "name": "rrfile", + "type": "string" + }, + { + "name": "rr", + "type": "string" + }, + { + "name": "sleep", + "type": "boolean" + }, + { + "name": "align", + "type": "boolean" + }, + { + "name": "shift", + "type": "string" + } + ], + "option": "icount" + }, + { + "parameters": [ + ], + "option": "numa" + }, + { + "parameters": [ + { + "name": "debug-threads", + "help": "When enabled, name the individual threads; defaults off= .\nNOTE: The thread names are for debugging and not a\nstable API.", + "type": "boolean" + }, + { + "name": "process", + "help": "Sets the name of the QEMU process, as shown in top etc", + "type": "string" + }, + { + "name": "guest", + "help": "Sets the name of the guest.\nThis name will be displaye= d in the SDL window caption.\nThe name will also be used for the VNC server= ", + "type": "string" + } + ], + "option": "name" + }, + { + "parameters": [ + { + "name": "guest-name", + "help": "Prepends guest name for error messages but only if -nam= e guest is set otherwise option is ignored\n", + "type": "boolean" + }, + { + "name": "timestamp", + "type": "boolean" + } + ], + "option": "msg" + }, + { + "parameters": [ + { + "name": "cpu-pm", + "type": "boolean" + }, + { + "name": "mem-lock", + "type": "boolean" + } + ], + "option": "overcommit" + }, + { + "parameters": [ + { + "name": "mlock", + "type": "boolean" + } + ], + "option": "realtime" + }, + { + "parameters": [ + ], + "option": "tpmdev" + }, + { + "parameters": [ + ], + "option": "object" + }, + { + "parameters": [ + { + "name": "opaque", + "help": "free-form string used to describe fd", + "type": "string" + }, + { + "name": "set", + "help": "ID of the fd set to add fd to", + "type": "number" + }, + { + "name": "fd", + "help": "file descriptor of which a duplicate is added to fd set= ", + "type": "number" + } + ], + "option": "add-fd" + }, + { + "parameters": [ + { + "name": "strict", + "type": "boolean" + }, + { + "name": "reboot-timeout", + "type": "number" + }, + { + "name": "splash-time", + "type": "number" + }, + { + "name": "splash", + "type": "string" + }, + { + "name": "menu", + "type": "boolean" + }, + { + "name": "once", + "type": "string" + }, + { + "name": "order", + "type": "string" + } + ], + "option": "boot-opts" + }, + { + "parameters": [ + { + "name": "maxcpus", + "type": "number" + }, + { + "name": "threads", + "type": "number" + }, + { + "name": "cores", + "type": "number" + }, + { + "name": "dies", + "type": "number" + }, + { + "name": "sockets", + "type": "number" + }, + { + "name": "cpus", + "type": "number" + } + ], + "option": "smp-opts" + }, + { + "parameters": [ + { + "name": "maxmem", + "type": "size" + }, + { + "name": "slots", + "type": "number" + }, + { + "name": "size", + "type": "size" + } + ], + "option": "memory" + }, + { + "parameters": [ + ], + "option": "accel" + }, + { + "parameters": [ + { + "name": "loadparm", + "help": "Up to 8 chars in set of [A-Za-z0-9. ](lower case chars = converted to upper case) to pass to machine loader, boot manager, and guest= kernel", + "type": "string" + }, + { + "name": "dea-key-wrap", + "help": "enable/disable DEA key wrapping using the CPACF wrappin= g key", + "type": "boolean" + }, + { + "name": "aes-key-wrap", + "help": "enable/disable AES key wrapping using the CPACF wrappin= g key", + "type": "boolean" + }, + { + "name": "suppress-vmdesc", + "help": "Set on to disable self-describing migration", + "type": "boolean" + }, + { + "name": "iommu", + "help": "Set on/off to enable/disable Intel IOMMU (VT-d)", + "type": "boolean" + }, + { + "name": "firmware", + "help": "firmware image", + "type": "string" + }, + { + "name": "usb", + "help": "Set on/off to enable/disable usb", + "type": "boolean" + }, + { + "name": "mem-merge", + "help": "enable/disable memory merge support", + "type": "boolean" + }, + { + "name": "dump-guest-core", + "help": "Include guest memory in a core dump", + "type": "boolean" + }, + { + "name": "dt_compatible", + "help": "Overrides the \"compatible\" property of the dt root no= de", + "type": "string" + }, + { + "name": "phandle_start", + "help": "The first phandle ID we may generate dynamically", + "type": "number" + }, + { + "name": "dumpdtb", + "help": "Dump current dtb to a file and quit", + "type": "string" + }, + { + "name": "dtb", + "help": "Linux kernel device tree file", + "type": "string" + }, + { + "name": "append", + "help": "Linux kernel command line", + "type": "string" + }, + { + "name": "initrd", + "help": "Linux initial ramdisk file", + "type": "string" + }, + { + "name": "kernel", + "help": "Linux kernel image file", + "type": "string" + }, + { + "name": "kvm_shadow_mem", + "help": "KVM shadow MMU size", + "type": "size" + }, + { + "name": "kernel_irqchip", + "help": "use KVM in-kernel irqchip", + "type": "boolean" + }, + { + "name": "accel", + "help": "accelerator list", + "type": "string" + }, + { + "name": "type", + "help": "emulated machine", + "type": "string" + } + ], + "option": "machine" + }, + { + "parameters": [ + { + "name": "romfile", + "type": "string" + }, + { + "name": "bootindex", + "type": "number" + } + ], + "option": "option-rom" + }, + { + "parameters": [ + { + "name": "file", + "type": "string" + }, + { + "name": "events", + "type": "string" + }, + { + "name": "enable", + "type": "string" + } + ], + "option": "trace" + }, + { + "parameters": [ + { + "name": "pretty", + "type": "boolean" + }, + { + "name": "chardev", + "type": "string" + }, + { + "name": "mode", + "type": "string" + } + ], + "option": "mon" + }, + { + "parameters": [ + { + "name": "value", + "type": "string" + }, + { + "name": "property", + "type": "string" + }, + { + "name": "driver", + "type": "string" + } + ], + "option": "global" + }, + { + "parameters": [ + { + "name": "driftfix", + "type": "string" + }, + { + "name": "clock", + "type": "string" + }, + { + "name": "base", + "type": "string" + } + ], + "option": "rtc" + }, + { + "parameters": [ + ], + "option": "net" + }, + { + "parameters": [ + ], + "option": "nic" + }, + { + "parameters": [ + ], + "option": "netdev" + }, + { + "parameters": [ + ], + "option": "device" + }, + { + "parameters": [ + { + "name": "abstract", + "type": "boolean" + }, + { + "name": "tight", + "default": "on", + "type": "boolean" + }, + { + "name": "logappend", + "type": "boolean" + }, + { + "name": "logfile", + "type": "string" + }, + { + "name": "append", + "type": "boolean" + }, + { + "name": "chardev", + "type": "string" + }, + { + "name": "size", + "type": "size" + }, + { + "name": "debug", + "type": "number" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "signal", + "type": "boolean" + }, + { + "name": "mux", + "type": "boolean" + }, + { + "name": "rows", + "type": "number" + }, + { + "name": "cols", + "type": "number" + }, + { + "name": "height", + "type": "number" + }, + { + "name": "width", + "type": "number" + }, + { + "name": "websocket", + "type": "boolean" + }, + { + "name": "tls-authz", + "type": "string" + }, + { + "name": "tls-creds", + "type": "string" + }, + { + "name": "tn3270", + "type": "boolean" + }, + { + "name": "telnet", + "type": "boolean" + }, + { + "name": "reconnect", + "type": "number" + }, + { + "name": "delay", + "type": "boolean" + }, + { + "name": "server", + "type": "boolean" + }, + { + "name": "wait", + "type": "boolean" + }, + { + "name": "ipv6", + "type": "boolean" + }, + { + "name": "ipv4", + "type": "boolean" + }, + { + "name": "to", + "type": "number" + }, + { + "name": "localport", + "type": "string" + }, + { + "name": "localaddr", + "type": "string" + }, + { + "name": "fd", + "type": "string" + }, + { + "name": "port", + "type": "string" + }, + { + "name": "host", + "type": "string" + }, + { + "name": "path", + "type": "string" + }, + { + "name": "backend", + "type": "string" + } + ], + "option": "chardev" + }, + { + "parameters": [ + { + "name": "copy-on-read", + "help": "copy read data from backing file into image file", + "type": "boolean" + }, + { + "name": "werror", + "help": "write error action", + "type": "string" + }, + { + "name": "rerror", + "help": "read error action", + "type": "string" + }, + { + "name": "read-only", + "help": "open drive file as read-only", + "type": "boolean" + }, + { + "name": "file", + "help": "file name", + "type": "string" + }, + { + "name": "if", + "help": "interface (ide, scsi, sd, mtd, floppy, pflash, virtio)", + "type": "string" + }, + { + "name": "media", + "help": "media type (disk, cdrom)", + "type": "string" + }, + { + "name": "index", + "help": "index number", + "type": "number" + }, + { + "name": "unit", + "help": "unit number (i.e. lun for scsi)", + "type": "number" + }, + { + "name": "bus", + "help": "bus number", + "type": "number" + }, + { + "name": "stats-account-failed", + "help": "whether to account for failed I/O operations in the sta= tistics", + "type": "boolean" + }, + { + "name": "stats-account-invalid", + "help": "whether to account for invalid I/O operations in the st= atistics", + "type": "boolean" + }, + { + "name": "detect-zeroes", + "help": "try to optimize zero writes (off, on, unmap)", + "type": "string" + }, + { + "name": "throttling.group", + "help": "name of the block throttling group", + "type": "string" + }, + { + "name": "throttling.iops-size", + "help": "when limiting by iops max size of an I/O in bytes", + "type": "number" + }, + { + "name": "throttling.bps-write-max-length", + "help": "length of the bps-write-max burst period, in seconds", + "type": "number" + }, + { + "name": "throttling.bps-read-max-length", + "help": "length of the bps-read-max burst period, in seconds", + "type": "number" + }, + { + "name": "throttling.bps-total-max-length", + "help": "length of the bps-total-max burst period, in seconds", + "type": "number" + }, + { + "name": "throttling.iops-write-max-length", + "help": "length of the iops-write-max burst period, in seconds", + "type": "number" + }, + { + "name": "throttling.iops-read-max-length", + "help": "length of the iops-read-max burst period, in seconds", + "type": "number" + }, + { + "name": "throttling.iops-total-max-length", + "help": "length of the iops-total-max burst period, in seconds", + "type": "number" + }, + { + "name": "throttling.bps-write-max", + "help": "total bytes write burst", + "type": "number" + }, + { + "name": "throttling.bps-read-max", + "help": "total bytes read burst", + "type": "number" + }, + { + "name": "throttling.bps-total-max", + "help": "total bytes burst", + "type": "number" + }, + { + "name": "throttling.iops-write-max", + "help": "I/O operations write burst", + "type": "number" + }, + { + "name": "throttling.iops-read-max", + "help": "I/O operations read burst", + "type": "number" + }, + { + "name": "throttling.iops-total-max", + "help": "I/O operations burst", + "type": "number" + }, + { + "name": "throttling.bps-write", + "help": "limit write bytes per second", + "type": "number" + }, + { + "name": "throttling.bps-read", + "help": "limit read bytes per second", + "type": "number" + }, + { + "name": "throttling.bps-total", + "help": "limit total bytes per second", + "type": "number" + }, + { + "name": "throttling.iops-write", + "help": "limit write operations per second", + "type": "number" + }, + { + "name": "throttling.iops-read", + "help": "limit read operations per second", + "type": "number" + }, + { + "name": "throttling.iops-total", + "help": "limit total I/O operations per second", + "type": "number" + }, + { + "name": "werror", + "help": "write error action", + "type": "string" + }, + { + "name": "format", + "help": "disk format (raw, qcow2, ...)", + "type": "string" + }, + { + "name": "cache.writeback", + "help": "Enable writeback mode", + "type": "boolean" + }, + { + "name": "aio", + "help": "host AIO implementation (threads, native, io_uring)", + "type": "string" + }, + { + "name": "snapshot", + "help": "enable/disable snapshot mode", + "type": "boolean" + }, + { + "name": "force-share", + "help": "always accept other writers (default: off)", + "type": "boolean" + }, + { + "name": "discard", + "help": "discard operation (ignore/off, unmap/on)", + "type": "string" + }, + { + "name": "auto-read-only", + "help": "Node can become read-only if opening read-write fails", + "type": "boolean" + }, + { + "name": "cache.no-flush", + "help": "Ignore flush requests", + "type": "boolean" + }, + { + "name": "cache.direct", + "help": "Bypass software writeback cache on the host", + "type": "boolean" + }, + { + "name": "driver", + "help": "Block driver to use for the node", + "type": "string" + }, + { + "name": "node-name", + "help": "Node name of the block device node", + "type": "string" + } + ], + "option": "drive" + } + ], + "id": "libvirt-25" +} + +{ + "execute": "query-migrate-capabilities", + "id": "libvirt-26" +} + +{ + "return": [ + { + "state": false, + "capability": "xbzrle" + }, + { + "state": false, + "capability": "rdma-pin-all" + }, + { + "state": false, + "capability": "auto-converge" + }, + { + "state": false, + "capability": "zero-blocks" + }, + { + "state": false, + "capability": "compress" + }, + { + "state": false, + "capability": "events" + }, + { + "state": false, + "capability": "postcopy-ram" + }, + { + "state": false, + "capability": "x-colo" + }, + { + "state": false, + "capability": "release-ram" + }, + { + "state": false, + "capability": "block" + }, + { + "state": false, + "capability": "return-path" + }, + { + "state": false, + "capability": "pause-before-switchover" + }, + { + "state": false, + "capability": "multifd" + }, + { + "state": false, + "capability": "dirty-bitmaps" + }, + { + "state": false, + "capability": "postcopy-blocktime" + }, + { + "state": false, + "capability": "late-block-activate" + }, + { + "state": false, + "capability": "x-ignore-shared" + }, + { + "state": false, + "capability": "validate-uuid" + } + ], + "id": "libvirt-26" +} + +{ + "execute": "query-qmp-schema", + "id": "libvirt-27" +} + +{ + "return": [ + { + "name": "query-status", + "ret-type": "1", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "SHUTDOWN", + "meta-type": "event", + "arg-type": "2" + }, + { + "name": "POWERDOWN", + "meta-type": "event", + "arg-type": "0" + }, + { + "name": "RESET", + "meta-type": "event", + "arg-type": "3" + }, + { + "name": "STOP", + "meta-type": "event", + "arg-type": "0" + }, + { + "name": "RESUME", + "meta-type": "event", + "arg-type": "0" + }, + { + "name": "SUSPEND", + "meta-type": "event", + "arg-type": "0" + }, + { + "name": "SUSPEND_DISK", + "meta-type": "event", + "arg-type": "0" + }, + { + "name": "WAKEUP", + "meta-type": "event", + "arg-type": "0" + }, + { + "name": "WATCHDOG", + "meta-type": "event", + "arg-type": "4" + }, + { + "name": "watchdog-set-action", + "ret-type": "0", + "meta-type": "command", + "arg-type": "5" + }, + { + "name": "GUEST_PANICKED", + "meta-type": "event", + "arg-type": "6" + }, + { + "name": "GUEST_CRASHLOADED", + "meta-type": "event", + "arg-type": "7" + }, + { + "name": "query-pr-managers", + "ret-type": "[8]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "eject", + "ret-type": "0", + "meta-type": "command", + "arg-type": "9" + }, + { + "name": "blockdev-open-tray", + "ret-type": "0", + "meta-type": "command", + "arg-type": "10" + }, + { + "name": "blockdev-close-tray", + "ret-type": "0", + "meta-type": "command", + "arg-type": "11" + }, + { + "name": "blockdev-remove-medium", + "ret-type": "0", + "meta-type": "command", + "arg-type": "12" + }, + { + "name": "blockdev-insert-medium", + "ret-type": "0", + "meta-type": "command", + "arg-type": "13" + }, + { + "name": "blockdev-change-medium", + "ret-type": "0", + "meta-type": "command", + "arg-type": "14" + }, + { + "name": "DEVICE_TRAY_MOVED", + "meta-type": "event", + "arg-type": "15" + }, + { + "name": "PR_MANAGER_STATUS_CHANGED", + "meta-type": "event", + "arg-type": "16" + }, + { + "name": "block_set_io_throttle", + "ret-type": "0", + "meta-type": "command", + "arg-type": "17" + }, + { + "name": "block-latency-histogram-set", + "ret-type": "0", + "meta-type": "command", + "arg-type": "18" + }, + { + "name": "query-block", + "ret-type": "[19]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-blockstats", + "ret-type": "[21]", + "meta-type": "command", + "arg-type": "20" + }, + { + "name": "query-block-jobs", + "ret-type": "[22]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "block_passwd", + "ret-type": "0", + "meta-type": "command", + "arg-type": "23" + }, + { + "name": "block_resize", + "ret-type": "0", + "meta-type": "command", + "arg-type": "24" + }, + { + "name": "blockdev-snapshot-sync", + "ret-type": "0", + "meta-type": "command", + "arg-type": "25" + }, + { + "name": "blockdev-snapshot", + "ret-type": "0", + "meta-type": "command", + "arg-type": "26", + "features": [ + "allow-write-only-overlay" + ] + }, + { + "name": "change-backing-file", + "ret-type": "0", + "meta-type": "command", + "arg-type": "27" + }, + { + "name": "block-commit", + "ret-type": "0", + "meta-type": "command", + "arg-type": "28" + }, + { + "name": "drive-backup", + "ret-type": "0", + "meta-type": "command", + "arg-type": "29" + }, + { + "name": "blockdev-backup", + "ret-type": "0", + "meta-type": "command", + "arg-type": "30" + }, + { + "name": "query-named-block-nodes", + "ret-type": "[32]", + "meta-type": "command", + "arg-type": "31" + }, + { + "name": "x-debug-query-block-graph", + "ret-type": "33", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "drive-mirror", + "ret-type": "0", + "meta-type": "command", + "arg-type": "34" + }, + { + "name": "block-dirty-bitmap-add", + "ret-type": "0", + "meta-type": "command", + "arg-type": "35" + }, + { + "name": "block-dirty-bitmap-remove", + "ret-type": "0", + "meta-type": "command", + "arg-type": "36" + }, + { + "name": "block-dirty-bitmap-clear", + "ret-type": "0", + "meta-type": "command", + "arg-type": "36" + }, + { + "name": "block-dirty-bitmap-enable", + "ret-type": "0", + "meta-type": "command", + "arg-type": "36" + }, + { + "name": "block-dirty-bitmap-disable", + "ret-type": "0", + "meta-type": "command", + "arg-type": "36" + }, + { + "name": "block-dirty-bitmap-merge", + "ret-type": "0", + "meta-type": "command", + "arg-type": "37" + }, + { + "name": "x-debug-block-dirty-bitmap-sha256", + "ret-type": "38", + "meta-type": "command", + "arg-type": "36" + }, + { + "name": "blockdev-mirror", + "ret-type": "0", + "meta-type": "command", + "arg-type": "39" + }, + { + "name": "block-stream", + "ret-type": "0", + "meta-type": "command", + "arg-type": "40" + }, + { + "name": "block-job-set-speed", + "ret-type": "0", + "meta-type": "command", + "arg-type": "41" + }, + { + "name": "block-job-cancel", + "ret-type": "0", + "meta-type": "command", + "arg-type": "42" + }, + { + "name": "block-job-pause", + "ret-type": "0", + "meta-type": "command", + "arg-type": "43" + }, + { + "name": "block-job-resume", + "ret-type": "0", + "meta-type": "command", + "arg-type": "44" + }, + { + "name": "block-job-complete", + "ret-type": "0", + "meta-type": "command", + "arg-type": "45" + }, + { + "name": "block-job-dismiss", + "ret-type": "0", + "meta-type": "command", + "arg-type": "46" + }, + { + "name": "block-job-finalize", + "ret-type": "0", + "meta-type": "command", + "arg-type": "47" + }, + { + "name": "blockdev-add", + "ret-type": "0", + "meta-type": "command", + "arg-type": "48" + }, + { + "name": "x-blockdev-reopen", + "ret-type": "0", + "meta-type": "command", + "arg-type": "48" + }, + { + "name": "blockdev-del", + "ret-type": "0", + "meta-type": "command", + "arg-type": "49" + }, + { + "name": "blockdev-create", + "ret-type": "0", + "meta-type": "command", + "arg-type": "50" + }, + { + "name": "x-blockdev-amend", + "ret-type": "0", + "meta-type": "command", + "arg-type": "51" + }, + { + "name": "BLOCK_IMAGE_CORRUPTED", + "meta-type": "event", + "arg-type": "52" + }, + { + "name": "BLOCK_IO_ERROR", + "meta-type": "event", + "arg-type": "53" + }, + { + "name": "BLOCK_JOB_COMPLETED", + "meta-type": "event", + "arg-type": "54" + }, + { + "name": "BLOCK_JOB_CANCELLED", + "meta-type": "event", + "arg-type": "55" + }, + { + "name": "BLOCK_JOB_ERROR", + "meta-type": "event", + "arg-type": "56" + }, + { + "name": "BLOCK_JOB_READY", + "meta-type": "event", + "arg-type": "57" + }, + { + "name": "BLOCK_JOB_PENDING", + "meta-type": "event", + "arg-type": "58" + }, + { + "name": "BLOCK_WRITE_THRESHOLD", + "meta-type": "event", + "arg-type": "59" + }, + { + "name": "block-set-write-threshold", + "ret-type": "0", + "meta-type": "command", + "arg-type": "60" + }, + { + "name": "x-blockdev-change", + "ret-type": "0", + "meta-type": "command", + "arg-type": "61" + }, + { + "name": "x-blockdev-set-iothread", + "ret-type": "0", + "meta-type": "command", + "arg-type": "62" + }, + { + "name": "nbd-server-start", + "ret-type": "0", + "meta-type": "command", + "arg-type": "63" + }, + { + "name": "nbd-server-add", + "ret-type": "0", + "meta-type": "command", + "arg-type": "64" + }, + { + "name": "nbd-server-remove", + "ret-type": "0", + "meta-type": "command", + "arg-type": "65" + }, + { + "name": "nbd-server-stop", + "ret-type": "0", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "QUORUM_FAILURE", + "meta-type": "event", + "arg-type": "66" + }, + { + "name": "QUORUM_REPORT_BAD", + "meta-type": "event", + "arg-type": "67" + }, + { + "name": "blockdev-snapshot-internal-sync", + "ret-type": "0", + "meta-type": "command", + "arg-type": "68" + }, + { + "name": "blockdev-snapshot-delete-internal-sync", + "ret-type": "70", + "meta-type": "command", + "arg-type": "69" + }, + { + "name": "JOB_STATUS_CHANGE", + "meta-type": "event", + "arg-type": "71" + }, + { + "name": "job-pause", + "ret-type": "0", + "meta-type": "command", + "arg-type": "72" + }, + { + "name": "job-resume", + "ret-type": "0", + "meta-type": "command", + "arg-type": "73" + }, + { + "name": "job-cancel", + "ret-type": "0", + "meta-type": "command", + "arg-type": "74" + }, + { + "name": "job-complete", + "ret-type": "0", + "meta-type": "command", + "arg-type": "75" + }, + { + "name": "job-dismiss", + "ret-type": "0", + "meta-type": "command", + "arg-type": "76" + }, + { + "name": "job-finalize", + "ret-type": "0", + "meta-type": "command", + "arg-type": "77" + }, + { + "name": "query-jobs", + "ret-type": "[78]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-chardev", + "ret-type": "[79]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-chardev-backends", + "ret-type": "[80]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "ringbuf-write", + "ret-type": "0", + "meta-type": "command", + "arg-type": "81" + }, + { + "name": "ringbuf-read", + "ret-type": "str", + "meta-type": "command", + "arg-type": "82" + }, + { + "name": "chardev-add", + "ret-type": "84", + "meta-type": "command", + "arg-type": "83" + }, + { + "name": "chardev-change", + "ret-type": "84", + "meta-type": "command", + "arg-type": "85" + }, + { + "name": "chardev-remove", + "ret-type": "0", + "meta-type": "command", + "arg-type": "86" + }, + { + "name": "chardev-send-break", + "ret-type": "0", + "meta-type": "command", + "arg-type": "87" + }, + { + "name": "VSERPORT_CHANGE", + "meta-type": "event", + "arg-type": "88" + }, + { + "name": "dump-guest-memory", + "ret-type": "0", + "meta-type": "command", + "arg-type": "89" + }, + { + "name": "query-dump", + "ret-type": "90", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "DUMP_COMPLETED", + "meta-type": "event", + "arg-type": "91" + }, + { + "name": "query-dump-guest-memory-capability", + "ret-type": "92", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "set_link", + "ret-type": "0", + "meta-type": "command", + "arg-type": "93" + }, + { + "name": "netdev_add", + "ret-type": "0", + "meta-type": "command", + "arg-type": "94" + }, + { + "name": "netdev_del", + "ret-type": "0", + "meta-type": "command", + "arg-type": "95" + }, + { + "name": "query-rx-filter", + "ret-type": "[97]", + "meta-type": "command", + "arg-type": "96" + }, + { + "name": "NIC_RX_FILTER_CHANGED", + "meta-type": "event", + "arg-type": "98" + }, + { + "name": "announce-self", + "ret-type": "0", + "meta-type": "command", + "arg-type": "99" + }, + { + "name": "FAILOVER_NEGOTIATED", + "meta-type": "event", + "arg-type": "100" + }, + { + "name": "RDMA_GID_STATUS_CHANGED", + "meta-type": "event", + "arg-type": "101" + }, + { + "name": "query-rocker", + "ret-type": "103", + "meta-type": "command", + "arg-type": "102" + }, + { + "name": "query-rocker-ports", + "ret-type": "[105]", + "meta-type": "command", + "arg-type": "104" + }, + { + "name": "query-rocker-of-dpa-flows", + "ret-type": "[107]", + "meta-type": "command", + "arg-type": "106" + }, + { + "name": "query-rocker-of-dpa-groups", + "ret-type": "[109]", + "meta-type": "command", + "arg-type": "108" + }, + { + "name": "query-tpm-models", + "ret-type": "[110]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-tpm-types", + "ret-type": "[111]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-tpm", + "ret-type": "[112]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "set_password", + "ret-type": "0", + "meta-type": "command", + "arg-type": "113" + }, + { + "name": "expire_password", + "ret-type": "0", + "meta-type": "command", + "arg-type": "114" + }, + { + "name": "screendump", + "ret-type": "0", + "meta-type": "command", + "arg-type": "115" + }, + { + "name": "query-spice", + "ret-type": "116", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "SPICE_CONNECTED", + "meta-type": "event", + "arg-type": "117" + }, + { + "name": "SPICE_INITIALIZED", + "meta-type": "event", + "arg-type": "118" + }, + { + "name": "SPICE_DISCONNECTED", + "meta-type": "event", + "arg-type": "119" + }, + { + "name": "SPICE_MIGRATE_COMPLETED", + "meta-type": "event", + "arg-type": "0" + }, + { + "name": "query-vnc", + "ret-type": "120", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-vnc-servers", + "ret-type": "[121]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "change-vnc-password", + "ret-type": "0", + "meta-type": "command", + "arg-type": "122" + }, + { + "name": "VNC_CONNECTED", + "meta-type": "event", + "arg-type": "123" + }, + { + "name": "VNC_INITIALIZED", + "meta-type": "event", + "arg-type": "124" + }, + { + "name": "VNC_DISCONNECTED", + "meta-type": "event", + "arg-type": "125" + }, + { + "name": "query-mice", + "ret-type": "[126]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "send-key", + "ret-type": "0", + "meta-type": "command", + "arg-type": "127" + }, + { + "name": "input-send-event", + "ret-type": "0", + "meta-type": "command", + "arg-type": "128" + }, + { + "name": "query-display-options", + "ret-type": "129", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-migrate", + "ret-type": "130", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "migrate-set-capabilities", + "ret-type": "0", + "meta-type": "command", + "arg-type": "131" + }, + { + "name": "query-migrate-capabilities", + "ret-type": "[132]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "migrate-set-parameters", + "ret-type": "0", + "meta-type": "command", + "arg-type": "133" + }, + { + "name": "query-migrate-parameters", + "ret-type": "134", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "client_migrate_info", + "ret-type": "0", + "meta-type": "command", + "arg-type": "135" + }, + { + "name": "migrate-start-postcopy", + "ret-type": "0", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "MIGRATION", + "meta-type": "event", + "arg-type": "136" + }, + { + "name": "MIGRATION_PASS", + "meta-type": "event", + "arg-type": "137" + }, + { + "name": "COLO_EXIT", + "meta-type": "event", + "arg-type": "138" + }, + { + "name": "x-colo-lost-heartbeat", + "ret-type": "0", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "migrate_cancel", + "ret-type": "0", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "migrate-continue", + "ret-type": "0", + "meta-type": "command", + "arg-type": "139" + }, + { + "name": "migrate_set_downtime", + "ret-type": "0", + "meta-type": "command", + "arg-type": "140", + "features": [ + "deprecated" + ] + }, + { + "name": "migrate_set_speed", + "ret-type": "0", + "meta-type": "command", + "arg-type": "141", + "features": [ + "deprecated" + ] + }, + { + "name": "migrate-set-cache-size", + "ret-type": "0", + "meta-type": "command", + "arg-type": "142", + "features": [ + "deprecated" + ] + }, + { + "name": "query-migrate-cache-size", + "ret-type": "int", + "meta-type": "command", + "arg-type": "0", + "features": [ + "deprecated" + ] + }, + { + "name": "migrate", + "ret-type": "0", + "meta-type": "command", + "arg-type": "143" + }, + { + "name": "migrate-incoming", + "ret-type": "0", + "meta-type": "command", + "arg-type": "144" + }, + { + "name": "xen-save-devices-state", + "ret-type": "0", + "meta-type": "command", + "arg-type": "145" + }, + { + "name": "xen-set-replication", + "ret-type": "0", + "meta-type": "command", + "arg-type": "146" + }, + { + "name": "query-xen-replication-status", + "ret-type": "147", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "xen-colo-do-checkpoint", + "ret-type": "0", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-colo-status", + "ret-type": "148", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "migrate-recover", + "ret-type": "0", + "allow-oob": true, + "meta-type": "command", + "arg-type": "149" + }, + { + "name": "migrate-pause", + "ret-type": "0", + "allow-oob": true, + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "UNPLUG_PRIMARY", + "meta-type": "event", + "arg-type": "150" + }, + { + "name": "transaction", + "ret-type": "0", + "meta-type": "command", + "arg-type": "151" + }, + { + "name": "trace-event-get-state", + "ret-type": "[153]", + "meta-type": "command", + "arg-type": "152" + }, + { + "name": "trace-event-set-state", + "ret-type": "0", + "meta-type": "command", + "arg-type": "154" + }, + { + "name": "qmp_capabilities", + "ret-type": "0", + "meta-type": "command", + "arg-type": "155" + }, + { + "name": "query-version", + "ret-type": "156", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-commands", + "ret-type": "[157]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-events", + "ret-type": "[158]", + "meta-type": "command", + "arg-type": "0", + "features": [ + "deprecated" + ] + }, + { + "name": "quit", + "ret-type": "0", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-qmp-schema", + "ret-type": "[159]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "qom-list", + "ret-type": "[161]", + "meta-type": "command", + "arg-type": "160" + }, + { + "name": "qom-get", + "ret-type": "any", + "meta-type": "command", + "arg-type": "162" + }, + { + "name": "qom-set", + "ret-type": "0", + "meta-type": "command", + "arg-type": "163" + }, + { + "name": "qom-list-types", + "ret-type": "[165]", + "meta-type": "command", + "arg-type": "164" + }, + { + "name": "qom-list-properties", + "ret-type": "[161]", + "meta-type": "command", + "arg-type": "166" + }, + { + "name": "object-add", + "ret-type": "0", + "meta-type": "command", + "arg-type": "167" + }, + { + "name": "object-del", + "ret-type": "0", + "meta-type": "command", + "arg-type": "168" + }, + { + "name": "device-list-properties", + "ret-type": "[161]", + "meta-type": "command", + "arg-type": "169" + }, + { + "name": "device_add", + "ret-type": "0", + "meta-type": "command", + "arg-type": "170" + }, + { + "name": "device_del", + "ret-type": "0", + "meta-type": "command", + "arg-type": "171" + }, + { + "name": "DEVICE_DELETED", + "meta-type": "event", + "arg-type": "172" + }, + { + "name": "query-cpus", + "ret-type": "[173]", + "meta-type": "command", + "arg-type": "0", + "features": [ + "deprecated" + ] + }, + { + "name": "query-cpus-fast", + "ret-type": "[174]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "cpu-add", + "ret-type": "0", + "meta-type": "command", + "arg-type": "175", + "features": [ + "deprecated" + ] + }, + { + "name": "query-machines", + "ret-type": "[176]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-current-machine", + "ret-type": "177", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-target", + "ret-type": "178", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-memdev", + "ret-type": "[179]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-hotpluggable-cpus", + "ret-type": "[180]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "set-numa-node", + "ret-type": "0", + "meta-type": "command", + "arg-type": "181" + }, + { + "name": "add_client", + "ret-type": "0", + "meta-type": "command", + "arg-type": "189" + }, + { + "name": "query-name", + "ret-type": "190", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-kvm", + "ret-type": "191", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-uuid", + "ret-type": "192", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-iothreads", + "ret-type": "[193]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-balloon", + "ret-type": "194", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "BALLOON_CHANGE", + "meta-type": "event", + "arg-type": "195" + }, + { + "name": "query-pci", + "ret-type": "[196]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "stop", + "ret-type": "0", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "system_reset", + "ret-type": "0", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "system_powerdown", + "ret-type": "0", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "memsave", + "ret-type": "0", + "meta-type": "command", + "arg-type": "197" + }, + { + "name": "pmemsave", + "ret-type": "0", + "meta-type": "command", + "arg-type": "198" + }, + { + "name": "cont", + "ret-type": "0", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "x-exit-preconfig", + "ret-type": "0", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "system_wakeup", + "ret-type": "0", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "inject-nmi", + "ret-type": "0", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "balloon", + "ret-type": "0", + "meta-type": "command", + "arg-type": "199" + }, + { + "name": "human-monitor-command", + "ret-type": "str", + "meta-type": "command", + "arg-type": "200", + "features": [ + "savevm-monitor-nodes" + ] + }, + { + "name": "change", + "ret-type": "0", + "meta-type": "command", + "arg-type": "201", + "features": [ + "deprecated" + ] + }, + { + "name": "xen-set-global-dirty-log", + "ret-type": "0", + "meta-type": "command", + "arg-type": "202" + }, + { + "name": "getfd", + "ret-type": "0", + "meta-type": "command", + "arg-type": "203" + }, + { + "name": "closefd", + "ret-type": "0", + "meta-type": "command", + "arg-type": "204" + }, + { + "name": "query-memory-size-summary", + "ret-type": "205", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "add-fd", + "ret-type": "207", + "meta-type": "command", + "arg-type": "206" + }, + { + "name": "remove-fd", + "ret-type": "0", + "meta-type": "command", + "arg-type": "208" + }, + { + "name": "query-fdsets", + "ret-type": "[209]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "query-command-line-options", + "ret-type": "[211]", + "meta-type": "command", + "arg-type": "210" + }, + { + "name": "query-memory-devices", + "ret-type": "[212]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "MEMORY_DEVICE_SIZE_CHANGE", + "meta-type": "event", + "arg-type": "213" + }, + { + "name": "MEM_UNPLUG_ERROR", + "meta-type": "event", + "arg-type": "214" + }, + { + "name": "query-acpi-ospm-status", + "ret-type": "[215]", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "ACPI_DEVICE_OST", + "meta-type": "event", + "arg-type": "216" + }, + { + "name": "xen-load-devices-state", + "ret-type": "0", + "meta-type": "command", + "arg-type": "217" + }, + { + "name": "query-vm-generation-id", + "ret-type": "218", + "meta-type": "command", + "arg-type": "0" + }, + { + "name": "RTC_CHANGE", + "meta-type": "event", + "arg-type": "219" + }, + { + "name": "0", + "members": [ + ], + "meta-type": "object" + }, + { + "name": "1", + "members": [ + { + "name": "running", + "type": "bool" + }, + { + "name": "singlestep", + "type": "bool" + }, + { + "name": "status", + "type": "225" + } + ], + "meta-type": "object" + }, + { + "name": "2", + "members": [ + { + "name": "guest", + "type": "bool" + }, + { + "name": "reason", + "type": "226" + } + ], + "meta-type": "object" + }, + { + "name": "3", + "members": [ + { + "name": "guest", + "type": "bool" + }, + { + "name": "reason", + "type": "226" + } + ], + "meta-type": "object" + }, + { + "name": "4", + "members": [ + { + "name": "action", + "type": "227" + } + ], + "meta-type": "object" + }, + { + "name": "5", + "members": [ + { + "name": "action", + "type": "227" + } + ], + "meta-type": "object" + }, + { + "name": "6", + "members": [ + { + "name": "action", + "type": "228" + }, + { + "name": "info", + "default": null, + "type": "229" + } + ], + "meta-type": "object" + }, + { + "name": "7", + "members": [ + { + "name": "action", + "type": "228" + }, + { + "name": "info", + "default": null, + "type": "229" + } + ], + "meta-type": "object" + }, + { + "name": "[8]", + "element-type": "8", + "meta-type": "array" + }, + { + "name": "8", + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "connected", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "9", + "members": [ + { + "name": "device", + "default": null, + "type": "str", + "features": [ + "deprecated" + ] + }, + { + "name": "id", + "default": null, + "type": "str" + }, + { + "name": "force", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "10", + "members": [ + { + "name": "device", + "default": null, + "type": "str", + "features": [ + "deprecated" + ] + }, + { + "name": "id", + "default": null, + "type": "str" + }, + { + "name": "force", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "11", + "members": [ + { + "name": "device", + "default": null, + "type": "str", + "features": [ + "deprecated" + ] + }, + { + "name": "id", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "12", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "13", + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "node-name", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "14", + "members": [ + { + "name": "device", + "default": null, + "type": "str", + "features": [ + "deprecated" + ] + }, + { + "name": "id", + "default": null, + "type": "str" + }, + { + "name": "filename", + "type": "str" + }, + { + "name": "format", + "default": null, + "type": "str" + }, + { + "name": "read-only-mode", + "default": null, + "type": "230" + } + ], + "meta-type": "object" + }, + { + "name": "15", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "id", + "type": "str" + }, + { + "name": "tray-open", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "16", + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "connected", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "17", + "members": [ + { + "name": "device", + "default": null, + "type": "str", + "features": [ + "deprecated" + ] + }, + { + "name": "id", + "default": null, + "type": "str" + }, + { + "name": "bps", + "type": "int" + }, + { + "name": "bps_rd", + "type": "int" + }, + { + "name": "bps_wr", + "type": "int" + }, + { + "name": "iops", + "type": "int" + }, + { + "name": "iops_rd", + "type": "int" + }, + { + "name": "iops_wr", + "type": "int" + }, + { + "name": "bps_max", + "default": null, + "type": "int" + }, + { + "name": "bps_rd_max", + "default": null, + "type": "int" + }, + { + "name": "bps_wr_max", + "default": null, + "type": "int" + }, + { + "name": "iops_max", + "default": null, + "type": "int" + }, + { + "name": "iops_rd_max", + "default": null, + "type": "int" + }, + { + "name": "iops_wr_max", + "default": null, + "type": "int" + }, + { + "name": "bps_max_length", + "default": null, + "type": "int" + }, + { + "name": "bps_rd_max_length", + "default": null, + "type": "int" + }, + { + "name": "bps_wr_max_length", + "default": null, + "type": "int" + }, + { + "name": "iops_max_length", + "default": null, + "type": "int" + }, + { + "name": "iops_rd_max_length", + "default": null, + "type": "int" + }, + { + "name": "iops_wr_max_length", + "default": null, + "type": "int" + }, + { + "name": "iops_size", + "default": null, + "type": "int" + }, + { + "name": "group", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "18", + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "boundaries", + "default": null, + "type": "[int]" + }, + { + "name": "boundaries-read", + "default": null, + "type": "[int]" + }, + { + "name": "boundaries-write", + "default": null, + "type": "[int]" + }, + { + "name": "boundaries-flush", + "default": null, + "type": "[int]" + } + ], + "meta-type": "object" + }, + { + "name": "[19]", + "element-type": "19", + "meta-type": "array" + }, + { + "name": "19", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "qdev", + "default": null, + "type": "str" + }, + { + "name": "type", + "type": "str" + }, + { + "name": "removable", + "type": "bool" + }, + { + "name": "locked", + "type": "bool" + }, + { + "name": "inserted", + "default": null, + "type": "32" + }, + { + "name": "tray_open", + "default": null, + "type": "bool" + }, + { + "name": "io-status", + "default": null, + "type": "231" + }, + { + "name": "dirty-bitmaps", + "default": null, + "type": "[232]", + "features": [ + "deprecated" + ] + } + ], + "meta-type": "object" + }, + { + "name": "20", + "members": [ + { + "name": "query-nodes", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "[21]", + "element-type": "21", + "meta-type": "array" + }, + { + "name": "21", + "members": [ + { + "name": "device", + "default": null, + "type": "str" + }, + { + "name": "qdev", + "default": null, + "type": "str" + }, + { + "name": "node-name", + "default": null, + "type": "str" + }, + { + "name": "stats", + "type": "233" + }, + { + "name": "driver-specific", + "default": null, + "type": "234" + }, + { + "name": "parent", + "default": null, + "type": "21" + }, + { + "name": "backing", + "default": null, + "type": "21" + } + ], + "meta-type": "object" + }, + { + "name": "[22]", + "element-type": "22", + "meta-type": "array" + }, + { + "name": "22", + "members": [ + { + "name": "type", + "type": "str" + }, + { + "name": "device", + "type": "str" + }, + { + "name": "len", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "busy", + "type": "bool" + }, + { + "name": "paused", + "type": "bool" + }, + { + "name": "speed", + "type": "int" + }, + { + "name": "io-status", + "type": "231" + }, + { + "name": "ready", + "type": "bool" + }, + { + "name": "status", + "type": "235" + }, + { + "name": "auto-finalize", + "type": "bool" + }, + { + "name": "auto-dismiss", + "type": "bool" + }, + { + "name": "error", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "23", + "members": [ + { + "name": "device", + "default": null, + "type": "str" + }, + { + "name": "node-name", + "default": null, + "type": "str" + }, + { + "name": "password", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "24", + "members": [ + { + "name": "device", + "default": null, + "type": "str" + }, + { + "name": "node-name", + "default": null, + "type": "str" + }, + { + "name": "size", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "25", + "members": [ + { + "name": "device", + "default": null, + "type": "str" + }, + { + "name": "node-name", + "default": null, + "type": "str" + }, + { + "name": "snapshot-file", + "type": "str" + }, + { + "name": "snapshot-node-name", + "default": null, + "type": "str" + }, + { + "name": "format", + "default": null, + "type": "str" + }, + { + "name": "mode", + "default": null, + "type": "236" + } + ], + "meta-type": "object" + }, + { + "name": "26", + "members": [ + { + "name": "node", + "type": "str" + }, + { + "name": "overlay", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "27", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "image-node-name", + "type": "str" + }, + { + "name": "backing-file", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "28", + "members": [ + { + "name": "job-id", + "default": null, + "type": "str" + }, + { + "name": "device", + "type": "str" + }, + { + "name": "base-node", + "default": null, + "type": "str" + }, + { + "name": "base", + "default": null, + "type": "str", + "features": [ + "deprecated" + ] + }, + { + "name": "top-node", + "default": null, + "type": "str" + }, + { + "name": "top", + "default": null, + "type": "str", + "features": [ + "deprecated" + ] + }, + { + "name": "backing-file", + "default": null, + "type": "str" + }, + { + "name": "speed", + "default": null, + "type": "int" + }, + { + "name": "on-error", + "default": null, + "type": "237" + }, + { + "name": "filter-node-name", + "default": null, + "type": "str" + }, + { + "name": "auto-finalize", + "default": null, + "type": "bool" + }, + { + "name": "auto-dismiss", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "29", + "members": [ + { + "name": "job-id", + "default": null, + "type": "str" + }, + { + "name": "device", + "type": "str" + }, + { + "name": "sync", + "type": "238" + }, + { + "name": "speed", + "default": null, + "type": "int" + }, + { + "name": "bitmap", + "default": null, + "type": "str" + }, + { + "name": "bitmap-mode", + "default": null, + "type": "239" + }, + { + "name": "compress", + "default": null, + "type": "bool" + }, + { + "name": "on-source-error", + "default": null, + "type": "237" + }, + { + "name": "on-target-error", + "default": null, + "type": "237" + }, + { + "name": "auto-finalize", + "default": null, + "type": "bool" + }, + { + "name": "auto-dismiss", + "default": null, + "type": "bool" + }, + { + "name": "filter-node-name", + "default": null, + "type": "str" + }, + { + "name": "target", + "type": "str" + }, + { + "name": "format", + "default": null, + "type": "str" + }, + { + "name": "mode", + "default": null, + "type": "236" + } + ], + "meta-type": "object" + }, + { + "name": "30", + "members": [ + { + "name": "job-id", + "default": null, + "type": "str" + }, + { + "name": "device", + "type": "str" + }, + { + "name": "sync", + "type": "238" + }, + { + "name": "speed", + "default": null, + "type": "int" + }, + { + "name": "bitmap", + "default": null, + "type": "str" + }, + { + "name": "bitmap-mode", + "default": null, + "type": "239" + }, + { + "name": "compress", + "default": null, + "type": "bool" + }, + { + "name": "on-source-error", + "default": null, + "type": "237" + }, + { + "name": "on-target-error", + "default": null, + "type": "237" + }, + { + "name": "auto-finalize", + "default": null, + "type": "bool" + }, + { + "name": "auto-dismiss", + "default": null, + "type": "bool" + }, + { + "name": "filter-node-name", + "default": null, + "type": "str" + }, + { + "name": "target", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "31", + "members": [ + { + "name": "flat", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "[32]", + "element-type": "32", + "meta-type": "array" + }, + { + "name": "32", + "members": [ + { + "name": "file", + "type": "str" + }, + { + "name": "node-name", + "default": null, + "type": "str" + }, + { + "name": "ro", + "type": "bool" + }, + { + "name": "drv", + "type": "str" + }, + { + "name": "backing_file", + "default": null, + "type": "str" + }, + { + "name": "backing_file_depth", + "type": "int" + }, + { + "name": "encrypted", + "type": "bool" + }, + { + "name": "encryption_key_missing", + "type": "bool", + "features": [ + "deprecated" + ] + }, + { + "name": "detect_zeroes", + "type": "240" + }, + { + "name": "bps", + "type": "int" + }, + { + "name": "bps_rd", + "type": "int" + }, + { + "name": "bps_wr", + "type": "int" + }, + { + "name": "iops", + "type": "int" + }, + { + "name": "iops_rd", + "type": "int" + }, + { + "name": "iops_wr", + "type": "int" + }, + { + "name": "image", + "type": "241" + }, + { + "name": "bps_max", + "default": null, + "type": "int" + }, + { + "name": "bps_rd_max", + "default": null, + "type": "int" + }, + { + "name": "bps_wr_max", + "default": null, + "type": "int" + }, + { + "name": "iops_max", + "default": null, + "type": "int" + }, + { + "name": "iops_rd_max", + "default": null, + "type": "int" + }, + { + "name": "iops_wr_max", + "default": null, + "type": "int" + }, + { + "name": "bps_max_length", + "default": null, + "type": "int" + }, + { + "name": "bps_rd_max_length", + "default": null, + "type": "int" + }, + { + "name": "bps_wr_max_length", + "default": null, + "type": "int" + }, + { + "name": "iops_max_length", + "default": null, + "type": "int" + }, + { + "name": "iops_rd_max_length", + "default": null, + "type": "int" + }, + { + "name": "iops_wr_max_length", + "default": null, + "type": "int" + }, + { + "name": "iops_size", + "default": null, + "type": "int" + }, + { + "name": "group", + "default": null, + "type": "str" + }, + { + "name": "cache", + "type": "242" + }, + { + "name": "write_threshold", + "type": "int" + }, + { + "name": "dirty-bitmaps", + "default": null, + "type": "[232]" + } + ], + "meta-type": "object" + }, + { + "name": "33", + "members": [ + { + "name": "nodes", + "type": "[243]" + }, + { + "name": "edges", + "type": "[244]" + } + ], + "meta-type": "object" + }, + { + "name": "34", + "members": [ + { + "name": "job-id", + "default": null, + "type": "str" + }, + { + "name": "device", + "type": "str" + }, + { + "name": "target", + "type": "str" + }, + { + "name": "format", + "default": null, + "type": "str" + }, + { + "name": "node-name", + "default": null, + "type": "str" + }, + { + "name": "replaces", + "default": null, + "type": "str" + }, + { + "name": "sync", + "type": "238" + }, + { + "name": "mode", + "default": null, + "type": "236" + }, + { + "name": "speed", + "default": null, + "type": "int" + }, + { + "name": "granularity", + "default": null, + "type": "int" + }, + { + "name": "buf-size", + "default": null, + "type": "int" + }, + { + "name": "on-source-error", + "default": null, + "type": "237" + }, + { + "name": "on-target-error", + "default": null, + "type": "237" + }, + { + "name": "unmap", + "default": null, + "type": "bool" + }, + { + "name": "copy-mode", + "default": null, + "type": "245" + }, + { + "name": "auto-finalize", + "default": null, + "type": "bool" + }, + { + "name": "auto-dismiss", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "35", + "members": [ + { + "name": "node", + "type": "str" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "granularity", + "default": null, + "type": "int" + }, + { + "name": "persistent", + "default": null, + "type": "bool" + }, + { + "name": "disabled", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "36", + "members": [ + { + "name": "node", + "type": "str" + }, + { + "name": "name", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "37", + "members": [ + { + "name": "node", + "type": "str" + }, + { + "name": "target", + "type": "str" + }, + { + "name": "bitmaps", + "type": "[246]" + } + ], + "meta-type": "object" + }, + { + "name": "38", + "members": [ + { + "name": "sha256", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "39", + "members": [ + { + "name": "job-id", + "default": null, + "type": "str" + }, + { + "name": "device", + "type": "str" + }, + { + "name": "target", + "type": "str" + }, + { + "name": "replaces", + "default": null, + "type": "str" + }, + { + "name": "sync", + "type": "238" + }, + { + "name": "speed", + "default": null, + "type": "int" + }, + { + "name": "granularity", + "default": null, + "type": "int" + }, + { + "name": "buf-size", + "default": null, + "type": "int" + }, + { + "name": "on-source-error", + "default": null, + "type": "237" + }, + { + "name": "on-target-error", + "default": null, + "type": "237" + }, + { + "name": "filter-node-name", + "default": null, + "type": "str" + }, + { + "name": "copy-mode", + "default": null, + "type": "245" + }, + { + "name": "auto-finalize", + "default": null, + "type": "bool" + }, + { + "name": "auto-dismiss", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "40", + "members": [ + { + "name": "job-id", + "default": null, + "type": "str" + }, + { + "name": "device", + "type": "str" + }, + { + "name": "base", + "default": null, + "type": "str" + }, + { + "name": "base-node", + "default": null, + "type": "str" + }, + { + "name": "backing-file", + "default": null, + "type": "str" + }, + { + "name": "speed", + "default": null, + "type": "int" + }, + { + "name": "on-error", + "default": null, + "type": "237" + }, + { + "name": "auto-finalize", + "default": null, + "type": "bool" + }, + { + "name": "auto-dismiss", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "41", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "speed", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "42", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "force", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "43", + "members": [ + { + "name": "device", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "44", + "members": [ + { + "name": "device", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "45", + "members": [ + { + "name": "device", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "46", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "47", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "48", + "tag": "driver", + "variants": [ + { + "case": "blkdebug", + "type": "250" + }, + { + "case": "blklogwrites", + "type": "251" + }, + { + "case": "blkverify", + "type": "252" + }, + { + "case": "blkreplay", + "type": "253" + }, + { + "case": "bochs", + "type": "254" + }, + { + "case": "cloop", + "type": "254" + }, + { + "case": "compress", + "type": "254" + }, + { + "case": "copy-on-read", + "type": "254" + }, + { + "case": "dmg", + "type": "254" + }, + { + "case": "file", + "type": "255" + }, + { + "case": "ftp", + "type": "256" + }, + { + "case": "ftps", + "type": "257" + }, + { + "case": "gluster", + "type": "258" + }, + { + "case": "host_cdrom", + "type": "255" + }, + { + "case": "host_device", + "type": "255" + }, + { + "case": "http", + "type": "259" + }, + { + "case": "https", + "type": "260" + }, + { + "case": "iscsi", + "type": "261" + }, + { + "case": "luks", + "type": "262" + }, + { + "case": "nbd", + "type": "263" + }, + { + "case": "nfs", + "type": "264" + }, + { + "case": "null-aio", + "type": "265" + }, + { + "case": "null-co", + "type": "265" + }, + { + "case": "nvme", + "type": "266" + }, + { + "case": "parallels", + "type": "254" + }, + { + "case": "qcow2", + "type": "267" + }, + { + "case": "qcow", + "type": "268" + }, + { + "case": "qed", + "type": "269" + }, + { + "case": "quorum", + "type": "270" + }, + { + "case": "raw", + "type": "271" + }, + { + "case": "rbd", + "type": "272" + }, + { + "case": "replication", + "type": "273" + }, + { + "case": "sheepdog", + "type": "274" + }, + { + "case": "ssh", + "type": "275" + }, + { + "case": "throttle", + "type": "276" + }, + { + "case": "vdi", + "type": "254" + }, + { + "case": "vhdx", + "type": "254" + }, + { + "case": "vmdk", + "type": "269" + }, + { + "case": "vpc", + "type": "254" + }, + { + "case": "vvfat", + "type": "277" + } + ], + "members": [ + { + "name": "driver", + "type": "247" + }, + { + "name": "node-name", + "default": null, + "type": "str" + }, + { + "name": "discard", + "default": null, + "type": "248" + }, + { + "name": "cache", + "default": null, + "type": "249" + }, + { + "name": "read-only", + "default": null, + "type": "bool" + }, + { + "name": "auto-read-only", + "default": null, + "type": "bool" + }, + { + "name": "force-share", + "default": null, + "type": "bool" + }, + { + "name": "detect-zeroes", + "default": null, + "type": "240" + } + ], + "meta-type": "object" + }, + { + "name": "49", + "members": [ + { + "name": "node-name", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "50", + "members": [ + { + "name": "job-id", + "type": "str" + }, + { + "name": "options", + "type": "278" + } + ], + "meta-type": "object" + }, + { + "name": "51", + "members": [ + { + "name": "job-id", + "type": "str" + }, + { + "name": "node-name", + "type": "str" + }, + { + "name": "options", + "type": "279" + }, + { + "name": "force", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "52", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "node-name", + "default": null, + "type": "str" + }, + { + "name": "msg", + "type": "str" + }, + { + "name": "offset", + "default": null, + "type": "int" + }, + { + "name": "size", + "default": null, + "type": "int" + }, + { + "name": "fatal", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "53", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "node-name", + "default": null, + "type": "str" + }, + { + "name": "operation", + "type": "280" + }, + { + "name": "action", + "type": "281" + }, + { + "name": "nospace", + "default": null, + "type": "bool" + }, + { + "name": "reason", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "54", + "members": [ + { + "name": "type", + "type": "282" + }, + { + "name": "device", + "type": "str" + }, + { + "name": "len", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "speed", + "type": "int" + }, + { + "name": "error", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "55", + "members": [ + { + "name": "type", + "type": "282" + }, + { + "name": "device", + "type": "str" + }, + { + "name": "len", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "speed", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "56", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "operation", + "type": "280" + }, + { + "name": "action", + "type": "281" + } + ], + "meta-type": "object" + }, + { + "name": "57", + "members": [ + { + "name": "type", + "type": "282" + }, + { + "name": "device", + "type": "str" + }, + { + "name": "len", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "speed", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "58", + "members": [ + { + "name": "type", + "type": "282" + }, + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "59", + "members": [ + { + "name": "node-name", + "type": "str" + }, + { + "name": "amount-exceeded", + "type": "int" + }, + { + "name": "write-threshold", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "60", + "members": [ + { + "name": "node-name", + "type": "str" + }, + { + "name": "write-threshold", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "61", + "members": [ + { + "name": "parent", + "type": "str" + }, + { + "name": "child", + "default": null, + "type": "str" + }, + { + "name": "node", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "62", + "members": [ + { + "name": "node-name", + "type": "str" + }, + { + "name": "iothread", + "type": "283" + }, + { + "name": "force", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "63", + "members": [ + { + "name": "addr", + "type": "284" + }, + { + "name": "tls-creds", + "default": null, + "type": "str" + }, + { + "name": "tls-authz", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "64", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "name", + "default": null, + "type": "str" + }, + { + "name": "description", + "default": null, + "type": "str" + }, + { + "name": "writable", + "default": null, + "type": "bool" + }, + { + "name": "bitmap", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "65", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "mode", + "default": null, + "type": "285" + } + ], + "meta-type": "object" + }, + { + "name": "66", + "members": [ + { + "name": "reference", + "type": "str" + }, + { + "name": "sector-num", + "type": "int" + }, + { + "name": "sectors-count", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "67", + "members": [ + { + "name": "type", + "type": "286" + }, + { + "name": "error", + "default": null, + "type": "str" + }, + { + "name": "node-name", + "type": "str" + }, + { + "name": "sector-num", + "type": "int" + }, + { + "name": "sectors-count", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "68", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "name", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "69", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "id", + "default": null, + "type": "str" + }, + { + "name": "name", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "70", + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "vm-state-size", + "type": "int" + }, + { + "name": "date-sec", + "type": "int" + }, + { + "name": "date-nsec", + "type": "int" + }, + { + "name": "vm-clock-sec", + "type": "int" + }, + { + "name": "vm-clock-nsec", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "71", + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "status", + "type": "235" + } + ], + "meta-type": "object" + }, + { + "name": "72", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "73", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "74", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "75", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "76", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "77", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[78]", + "element-type": "78", + "meta-type": "array" + }, + { + "name": "78", + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "type", + "type": "282" + }, + { + "name": "status", + "type": "235" + }, + { + "name": "current-progress", + "type": "int" + }, + { + "name": "total-progress", + "type": "int" + }, + { + "name": "error", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[79]", + "element-type": "79", + "meta-type": "array" + }, + { + "name": "79", + "members": [ + { + "name": "label", + "type": "str" + }, + { + "name": "filename", + "type": "str" + }, + { + "name": "frontend-open", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "[80]", + "element-type": "80", + "meta-type": "array" + }, + { + "name": "80", + "members": [ + { + "name": "name", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "81", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "data", + "type": "str" + }, + { + "name": "format", + "default": null, + "type": "287" + } + ], + "meta-type": "object" + }, + { + "name": "82", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "format", + "default": null, + "type": "287" + } + ], + "meta-type": "object" + }, + { + "name": "str", + "json-type": "string", + "meta-type": "builtin" + }, + { + "name": "83", + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "backend", + "type": "288" + } + ], + "meta-type": "object" + }, + { + "name": "84", + "members": [ + { + "name": "pty", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "85", + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "backend", + "type": "288" + } + ], + "meta-type": "object" + }, + { + "name": "86", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "87", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "88", + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "open", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "89", + "members": [ + { + "name": "paging", + "type": "bool" + }, + { + "name": "protocol", + "type": "str" + }, + { + "name": "detach", + "default": null, + "type": "bool" + }, + { + "name": "begin", + "default": null, + "type": "int" + }, + { + "name": "length", + "default": null, + "type": "int" + }, + { + "name": "format", + "default": null, + "type": "289" + } + ], + "meta-type": "object" + }, + { + "name": "90", + "members": [ + { + "name": "status", + "type": "290" + }, + { + "name": "completed", + "type": "int" + }, + { + "name": "total", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "91", + "members": [ + { + "name": "result", + "type": "90" + }, + { + "name": "error", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "92", + "members": [ + { + "name": "formats", + "type": "[289]" + } + ], + "meta-type": "object" + }, + { + "name": "93", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "up", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "94", + "tag": "type", + "variants": [ + { + "case": "nic", + "type": "292" + }, + { + "case": "user", + "type": "293" + }, + { + "case": "tap", + "type": "294" + }, + { + "case": "l2tpv3", + "type": "295" + }, + { + "case": "socket", + "type": "296" + }, + { + "case": "vde", + "type": "297" + }, + { + "case": "bridge", + "type": "298" + }, + { + "case": "hubport", + "type": "299" + }, + { + "case": "netmap", + "type": "300" + }, + { + "case": "vhost-user", + "type": "301" + }, + { + "case": "vhost-vdpa", + "type": "302" + }, + { + "case": "none", + "type": "0" + } + ], + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "type", + "type": "291" + } + ], + "meta-type": "object" + }, + { + "name": "95", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "96", + "members": [ + { + "name": "name", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[97]", + "element-type": "97", + "meta-type": "array" + }, + { + "name": "97", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "promiscuous", + "type": "bool" + }, + { + "name": "multicast", + "type": "303" + }, + { + "name": "unicast", + "type": "303" + }, + { + "name": "vlan", + "type": "303" + }, + { + "name": "broadcast-allowed", + "type": "bool" + }, + { + "name": "multicast-overflow", + "type": "bool" + }, + { + "name": "unicast-overflow", + "type": "bool" + }, + { + "name": "main-mac", + "type": "str" + }, + { + "name": "vlan-table", + "type": "[int]" + }, + { + "name": "unicast-table", + "type": "[str]" + }, + { + "name": "multicast-table", + "type": "[str]" + } + ], + "meta-type": "object" + }, + { + "name": "98", + "members": [ + { + "name": "name", + "default": null, + "type": "str" + }, + { + "name": "path", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "99", + "members": [ + { + "name": "initial", + "type": "int" + }, + { + "name": "max", + "type": "int" + }, + { + "name": "rounds", + "type": "int" + }, + { + "name": "step", + "type": "int" + }, + { + "name": "interfaces", + "default": null, + "type": "[str]" + }, + { + "name": "id", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "100", + "members": [ + { + "name": "device-id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "101", + "members": [ + { + "name": "netdev", + "type": "str" + }, + { + "name": "gid-status", + "type": "bool" + }, + { + "name": "subnet-prefix", + "type": "int" + }, + { + "name": "interface-id", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "102", + "members": [ + { + "name": "name", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "103", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "ports", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "104", + "members": [ + { + "name": "name", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[105]", + "element-type": "105", + "meta-type": "array" + }, + { + "name": "105", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "enabled", + "type": "bool" + }, + { + "name": "link-up", + "type": "bool" + }, + { + "name": "speed", + "type": "int" + }, + { + "name": "duplex", + "type": "304" + }, + { + "name": "autoneg", + "type": "305" + } + ], + "meta-type": "object" + }, + { + "name": "106", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "tbl-id", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "[107]", + "element-type": "107", + "meta-type": "array" + }, + { + "name": "107", + "members": [ + { + "name": "cookie", + "type": "int" + }, + { + "name": "hits", + "type": "int" + }, + { + "name": "key", + "type": "306" + }, + { + "name": "mask", + "type": "307" + }, + { + "name": "action", + "type": "308" + } + ], + "meta-type": "object" + }, + { + "name": "108", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "type", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "[109]", + "element-type": "109", + "meta-type": "array" + }, + { + "name": "109", + "members": [ + { + "name": "id", + "type": "int" + }, + { + "name": "type", + "type": "int" + }, + { + "name": "vlan-id", + "default": null, + "type": "int" + }, + { + "name": "pport", + "default": null, + "type": "int" + }, + { + "name": "index", + "default": null, + "type": "int" + }, + { + "name": "out-pport", + "default": null, + "type": "int" + }, + { + "name": "group-id", + "default": null, + "type": "int" + }, + { + "name": "set-vlan-id", + "default": null, + "type": "int" + }, + { + "name": "pop-vlan", + "default": null, + "type": "int" + }, + { + "name": "group-ids", + "default": null, + "type": "[int]" + }, + { + "name": "set-eth-src", + "default": null, + "type": "str" + }, + { + "name": "set-eth-dst", + "default": null, + "type": "str" + }, + { + "name": "ttl-check", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "[110]", + "element-type": "110", + "meta-type": "array" + }, + { + "name": "110", + "meta-type": "enum", + "values": [ + "tpm-tis", + "tpm-crb", + "tpm-spapr" + ] + }, + { + "name": "[111]", + "element-type": "111", + "meta-type": "array" + }, + { + "name": "111", + "meta-type": "enum", + "values": [ + "passthrough", + "emulator" + ] + }, + { + "name": "[112]", + "element-type": "112", + "meta-type": "array" + }, + { + "name": "112", + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "model", + "type": "110" + }, + { + "name": "options", + "type": "309" + } + ], + "meta-type": "object" + }, + { + "name": "113", + "members": [ + { + "name": "protocol", + "type": "str" + }, + { + "name": "password", + "type": "str" + }, + { + "name": "connected", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "114", + "members": [ + { + "name": "protocol", + "type": "str" + }, + { + "name": "time", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "115", + "members": [ + { + "name": "filename", + "type": "str" + }, + { + "name": "device", + "default": null, + "type": "str" + }, + { + "name": "head", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "116", + "members": [ + { + "name": "enabled", + "type": "bool" + }, + { + "name": "migrated", + "type": "bool" + }, + { + "name": "host", + "default": null, + "type": "str" + }, + { + "name": "port", + "default": null, + "type": "int" + }, + { + "name": "tls-port", + "default": null, + "type": "int" + }, + { + "name": "auth", + "default": null, + "type": "str" + }, + { + "name": "compiled-version", + "default": null, + "type": "str" + }, + { + "name": "mouse-mode", + "type": "310" + }, + { + "name": "channels", + "default": null, + "type": "[311]" + } + ], + "meta-type": "object" + }, + { + "name": "117", + "members": [ + { + "name": "server", + "type": "312" + }, + { + "name": "client", + "type": "312" + } + ], + "meta-type": "object" + }, + { + "name": "118", + "members": [ + { + "name": "server", + "type": "313" + }, + { + "name": "client", + "type": "311" + } + ], + "meta-type": "object" + }, + { + "name": "119", + "members": [ + { + "name": "server", + "type": "312" + }, + { + "name": "client", + "type": "312" + } + ], + "meta-type": "object" + }, + { + "name": "120", + "members": [ + { + "name": "enabled", + "type": "bool" + }, + { + "name": "host", + "default": null, + "type": "str" + }, + { + "name": "family", + "default": null, + "type": "314" + }, + { + "name": "service", + "default": null, + "type": "str" + }, + { + "name": "auth", + "default": null, + "type": "str" + }, + { + "name": "clients", + "default": null, + "type": "[315]" + } + ], + "meta-type": "object" + }, + { + "name": "[121]", + "element-type": "121", + "meta-type": "array" + }, + { + "name": "121", + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "server", + "type": "[316]" + }, + { + "name": "clients", + "type": "[315]" + }, + { + "name": "auth", + "type": "317" + }, + { + "name": "vencrypt", + "default": null, + "type": "318" + }, + { + "name": "display", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "122", + "members": [ + { + "name": "password", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "123", + "members": [ + { + "name": "server", + "type": "319" + }, + { + "name": "client", + "type": "320" + } + ], + "meta-type": "object" + }, + { + "name": "124", + "members": [ + { + "name": "server", + "type": "319" + }, + { + "name": "client", + "type": "315" + } + ], + "meta-type": "object" + }, + { + "name": "125", + "members": [ + { + "name": "server", + "type": "319" + }, + { + "name": "client", + "type": "315" + } + ], + "meta-type": "object" + }, + { + "name": "[126]", + "element-type": "126", + "meta-type": "array" + }, + { + "name": "126", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "index", + "type": "int" + }, + { + "name": "current", + "type": "bool" + }, + { + "name": "absolute", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "127", + "members": [ + { + "name": "keys", + "type": "[321]" + }, + { + "name": "hold-time", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "128", + "members": [ + { + "name": "device", + "default": null, + "type": "str" + }, + { + "name": "head", + "default": null, + "type": "int" + }, + { + "name": "events", + "type": "[322]" + } + ], + "meta-type": "object" + }, + { + "name": "129", + "tag": "type", + "variants": [ + { + "case": "gtk", + "type": "325" + }, + { + "case": "curses", + "type": "326" + }, + { + "case": "egl-headless", + "type": "327" + }, + { + "case": "default", + "type": "0" + }, + { + "case": "none", + "type": "0" + }, + { + "case": "sdl", + "type": "0" + }, + { + "case": "cocoa", + "type": "0" + }, + { + "case": "spice-app", + "type": "0" + } + ], + "members": [ + { + "name": "type", + "type": "323" + }, + { + "name": "full-screen", + "default": null, + "type": "bool" + }, + { + "name": "window-close", + "default": null, + "type": "bool" + }, + { + "name": "show-cursor", + "default": null, + "type": "bool" + }, + { + "name": "gl", + "default": null, + "type": "324" + } + ], + "meta-type": "object" + }, + { + "name": "130", + "members": [ + { + "name": "status", + "default": null, + "type": "328" + }, + { + "name": "ram", + "default": null, + "type": "329" + }, + { + "name": "disk", + "default": null, + "type": "329" + }, + { + "name": "xbzrle-cache", + "default": null, + "type": "330" + }, + { + "name": "total-time", + "default": null, + "type": "int" + }, + { + "name": "expected-downtime", + "default": null, + "type": "int" + }, + { + "name": "downtime", + "default": null, + "type": "int" + }, + { + "name": "setup-time", + "default": null, + "type": "int" + }, + { + "name": "cpu-throttle-percentage", + "default": null, + "type": "int" + }, + { + "name": "error-desc", + "default": null, + "type": "str" + }, + { + "name": "postcopy-blocktime", + "default": null, + "type": "int" + }, + { + "name": "postcopy-vcpu-blocktime", + "default": null, + "type": "[int]" + }, + { + "name": "compression", + "default": null, + "type": "331" + }, + { + "name": "socket-address", + "default": null, + "type": "[332]" + } + ], + "meta-type": "object" + }, + { + "name": "131", + "members": [ + { + "name": "capabilities", + "type": "[132]" + } + ], + "meta-type": "object" + }, + { + "name": "[132]", + "element-type": "132", + "meta-type": "array" + }, + { + "name": "132", + "members": [ + { + "name": "capability", + "type": "333" + }, + { + "name": "state", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "133", + "members": [ + { + "name": "announce-initial", + "default": null, + "type": "int" + }, + { + "name": "announce-max", + "default": null, + "type": "int" + }, + { + "name": "announce-rounds", + "default": null, + "type": "int" + }, + { + "name": "announce-step", + "default": null, + "type": "int" + }, + { + "name": "compress-level", + "default": null, + "type": "int" + }, + { + "name": "compress-threads", + "default": null, + "type": "int" + }, + { + "name": "compress-wait-thread", + "default": null, + "type": "bool" + }, + { + "name": "decompress-threads", + "default": null, + "type": "int" + }, + { + "name": "throttle-trigger-threshold", + "default": null, + "type": "int" + }, + { + "name": "cpu-throttle-initial", + "default": null, + "type": "int" + }, + { + "name": "cpu-throttle-increment", + "default": null, + "type": "int" + }, + { + "name": "cpu-throttle-tailslow", + "default": null, + "type": "bool" + }, + { + "name": "tls-creds", + "default": null, + "type": "283" + }, + { + "name": "tls-hostname", + "default": null, + "type": "283" + }, + { + "name": "tls-authz", + "default": null, + "type": "283" + }, + { + "name": "max-bandwidth", + "default": null, + "type": "int" + }, + { + "name": "downtime-limit", + "default": null, + "type": "int" + }, + { + "name": "x-checkpoint-delay", + "default": null, + "type": "int" + }, + { + "name": "block-incremental", + "default": null, + "type": "bool" + }, + { + "name": "multifd-channels", + "default": null, + "type": "int" + }, + { + "name": "xbzrle-cache-size", + "default": null, + "type": "int" + }, + { + "name": "max-postcopy-bandwidth", + "default": null, + "type": "int" + }, + { + "name": "max-cpu-throttle", + "default": null, + "type": "int" + }, + { + "name": "multifd-compression", + "default": null, + "type": "334" + }, + { + "name": "multifd-zlib-level", + "default": null, + "type": "int" + }, + { + "name": "multifd-zstd-level", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "134", + "members": [ + { + "name": "announce-initial", + "default": null, + "type": "int" + }, + { + "name": "announce-max", + "default": null, + "type": "int" + }, + { + "name": "announce-rounds", + "default": null, + "type": "int" + }, + { + "name": "announce-step", + "default": null, + "type": "int" + }, + { + "name": "compress-level", + "default": null, + "type": "int" + }, + { + "name": "compress-threads", + "default": null, + "type": "int" + }, + { + "name": "compress-wait-thread", + "default": null, + "type": "bool" + }, + { + "name": "decompress-threads", + "default": null, + "type": "int" + }, + { + "name": "throttle-trigger-threshold", + "default": null, + "type": "int" + }, + { + "name": "cpu-throttle-initial", + "default": null, + "type": "int" + }, + { + "name": "cpu-throttle-increment", + "default": null, + "type": "int" + }, + { + "name": "cpu-throttle-tailslow", + "default": null, + "type": "bool" + }, + { + "name": "tls-creds", + "default": null, + "type": "str" + }, + { + "name": "tls-hostname", + "default": null, + "type": "str" + }, + { + "name": "tls-authz", + "default": null, + "type": "str" + }, + { + "name": "max-bandwidth", + "default": null, + "type": "int" + }, + { + "name": "downtime-limit", + "default": null, + "type": "int" + }, + { + "name": "x-checkpoint-delay", + "default": null, + "type": "int" + }, + { + "name": "block-incremental", + "default": null, + "type": "bool" + }, + { + "name": "multifd-channels", + "default": null, + "type": "int" + }, + { + "name": "xbzrle-cache-size", + "default": null, + "type": "int" + }, + { + "name": "max-postcopy-bandwidth", + "default": null, + "type": "int" + }, + { + "name": "max-cpu-throttle", + "default": null, + "type": "int" + }, + { + "name": "multifd-compression", + "default": null, + "type": "334" + }, + { + "name": "multifd-zlib-level", + "default": null, + "type": "int" + }, + { + "name": "multifd-zstd-level", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "135", + "members": [ + { + "name": "protocol", + "type": "str" + }, + { + "name": "hostname", + "type": "str" + }, + { + "name": "port", + "default": null, + "type": "int" + }, + { + "name": "tls-port", + "default": null, + "type": "int" + }, + { + "name": "cert-subject", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "136", + "members": [ + { + "name": "status", + "type": "328" + } + ], + "meta-type": "object" + }, + { + "name": "137", + "members": [ + { + "name": "pass", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "138", + "members": [ + { + "name": "mode", + "type": "335" + }, + { + "name": "reason", + "type": "336" + } + ], + "meta-type": "object" + }, + { + "name": "139", + "members": [ + { + "name": "state", + "type": "328" + } + ], + "meta-type": "object" + }, + { + "name": "140", + "members": [ + { + "name": "value", + "type": "number" + } + ], + "meta-type": "object" + }, + { + "name": "141", + "members": [ + { + "name": "value", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "142", + "members": [ + { + "name": "value", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "int", + "json-type": "int", + "meta-type": "builtin" + }, + { + "name": "143", + "members": [ + { + "name": "uri", + "type": "str" + }, + { + "name": "blk", + "default": null, + "type": "bool" + }, + { + "name": "inc", + "default": null, + "type": "bool" + }, + { + "name": "detach", + "default": null, + "type": "bool" + }, + { + "name": "resume", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "144", + "members": [ + { + "name": "uri", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "145", + "members": [ + { + "name": "filename", + "type": "str" + }, + { + "name": "live", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "146", + "members": [ + { + "name": "enable", + "type": "bool" + }, + { + "name": "primary", + "type": "bool" + }, + { + "name": "failover", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "147", + "members": [ + { + "name": "error", + "type": "bool" + }, + { + "name": "desc", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "148", + "members": [ + { + "name": "mode", + "type": "335" + }, + { + "name": "last-mode", + "type": "335" + }, + { + "name": "reason", + "type": "336" + } + ], + "meta-type": "object" + }, + { + "name": "149", + "members": [ + { + "name": "uri", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "150", + "members": [ + { + "name": "device-id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "151", + "members": [ + { + "name": "actions", + "type": "[337]" + }, + { + "name": "properties", + "default": null, + "type": "338" + } + ], + "meta-type": "object" + }, + { + "name": "152", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "vcpu", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "[153]", + "element-type": "153", + "meta-type": "array" + }, + { + "name": "153", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "state", + "type": "339" + }, + { + "name": "vcpu", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "154", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "enable", + "type": "bool" + }, + { + "name": "ignore-unavailable", + "default": null, + "type": "bool" + }, + { + "name": "vcpu", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "155", + "members": [ + { + "name": "enable", + "default": null, + "type": "[340]" + } + ], + "meta-type": "object" + }, + { + "name": "156", + "members": [ + { + "name": "qemu", + "type": "341" + }, + { + "name": "package", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[157]", + "element-type": "157", + "meta-type": "array" + }, + { + "name": "157", + "members": [ + { + "name": "name", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[158]", + "element-type": "158", + "meta-type": "array" + }, + { + "name": "158", + "members": [ + { + "name": "name", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[159]", + "element-type": "159", + "meta-type": "array" + }, + { + "name": "159", + "tag": "meta-type", + "variants": [ + { + "case": "builtin", + "type": "343" + }, + { + "case": "enum", + "type": "344" + }, + { + "case": "array", + "type": "345" + }, + { + "case": "object", + "type": "346" + }, + { + "case": "alternate", + "type": "347" + }, + { + "case": "command", + "type": "348" + }, + { + "case": "event", + "type": "349" + } + ], + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "meta-type", + "type": "342" + }, + { + "name": "features", + "default": null, + "type": "[str]" + } + ], + "meta-type": "object" + }, + { + "name": "160", + "members": [ + { + "name": "path", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[161]", + "element-type": "161", + "meta-type": "array" + }, + { + "name": "161", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "type", + "type": "str" + }, + { + "name": "description", + "default": null, + "type": "str" + }, + { + "name": "default-value", + "default": null, + "type": "any" + } + ], + "meta-type": "object" + }, + { + "name": "162", + "members": [ + { + "name": "path", + "type": "str" + }, + { + "name": "property", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "any", + "json-type": "value", + "meta-type": "builtin" + }, + { + "name": "163", + "members": [ + { + "name": "path", + "type": "str" + }, + { + "name": "property", + "type": "str" + }, + { + "name": "value", + "type": "any" + } + ], + "meta-type": "object" + }, + { + "name": "164", + "members": [ + { + "name": "implements", + "default": null, + "type": "str" + }, + { + "name": "abstract", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "[165]", + "element-type": "165", + "meta-type": "array" + }, + { + "name": "165", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "abstract", + "default": null, + "type": "bool" + }, + { + "name": "parent", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "166", + "members": [ + { + "name": "typename", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "167", + "members": [ + { + "name": "qom-type", + "type": "str" + }, + { + "name": "id", + "type": "str" + }, + { + "name": "props", + "default": null, + "type": "any" + } + ], + "meta-type": "object" + }, + { + "name": "168", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "169", + "members": [ + { + "name": "typename", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "170", + "members": [ + { + "name": "driver", + "type": "str" + }, + { + "name": "bus", + "default": null, + "type": "str" + }, + { + "name": "id", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "171", + "members": [ + { + "name": "id", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "172", + "members": [ + { + "name": "device", + "default": null, + "type": "str" + }, + { + "name": "path", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[173]", + "element-type": "173", + "meta-type": "array" + }, + { + "name": "173", + "tag": "arch", + "variants": [ + { + "case": "x86", + "type": "352" + }, + { + "case": "sparc", + "type": "353" + }, + { + "case": "ppc", + "type": "354" + }, + { + "case": "mips", + "type": "355" + }, + { + "case": "tricore", + "type": "356" + }, + { + "case": "s390", + "type": "357" + }, + { + "case": "riscv", + "type": "358" + }, + { + "case": "other", + "type": "0" + } + ], + "members": [ + { + "name": "CPU", + "type": "int" + }, + { + "name": "current", + "type": "bool" + }, + { + "name": "halted", + "type": "bool" + }, + { + "name": "qom_path", + "type": "str" + }, + { + "name": "thread_id", + "type": "int" + }, + { + "name": "props", + "default": null, + "type": "350" + }, + { + "name": "arch", + "type": "351" + } + ], + "meta-type": "object" + }, + { + "name": "[174]", + "element-type": "174", + "meta-type": "array" + }, + { + "name": "174", + "tag": "target", + "variants": [ + { + "case": "s390x", + "type": "357" + }, + { + "case": "aarch64", + "type": "0" + }, + { + "case": "alpha", + "type": "0" + }, + { + "case": "arm", + "type": "0" + }, + { + "case": "avr", + "type": "0" + }, + { + "case": "cris", + "type": "0" + }, + { + "case": "hppa", + "type": "0" + }, + { + "case": "i386", + "type": "0" + }, + { + "case": "lm32", + "type": "0" + }, + { + "case": "m68k", + "type": "0" + }, + { + "case": "microblaze", + "type": "0" + }, + { + "case": "microblazeel", + "type": "0" + }, + { + "case": "mips", + "type": "0" + }, + { + "case": "mips64", + "type": "0" + }, + { + "case": "mips64el", + "type": "0" + }, + { + "case": "mipsel", + "type": "0" + }, + { + "case": "moxie", + "type": "0" + }, + { + "case": "nios2", + "type": "0" + }, + { + "case": "or1k", + "type": "0" + }, + { + "case": "ppc", + "type": "0" + }, + { + "case": "ppc64", + "type": "0" + }, + { + "case": "riscv32", + "type": "0" + }, + { + "case": "riscv64", + "type": "0" + }, + { + "case": "rx", + "type": "0" + }, + { + "case": "sh4", + "type": "0" + }, + { + "case": "sh4eb", + "type": "0" + }, + { + "case": "sparc", + "type": "0" + }, + { + "case": "sparc64", + "type": "0" + }, + { + "case": "tricore", + "type": "0" + }, + { + "case": "unicore32", + "type": "0" + }, + { + "case": "x86_64", + "type": "0" + }, + { + "case": "xtensa", + "type": "0" + }, + { + "case": "xtensaeb", + "type": "0" + } + ], + "members": [ + { + "name": "cpu-index", + "type": "int" + }, + { + "name": "qom-path", + "type": "str" + }, + { + "name": "thread-id", + "type": "int" + }, + { + "name": "props", + "default": null, + "type": "350" + }, + { + "name": "arch", + "type": "351", + "features": [ + "deprecated" + ] + }, + { + "name": "target", + "type": "359" + } + ], + "meta-type": "object" + }, + { + "name": "175", + "members": [ + { + "name": "id", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "[176]", + "element-type": "176", + "meta-type": "array" + }, + { + "name": "176", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "alias", + "default": null, + "type": "str" + }, + { + "name": "is-default", + "default": null, + "type": "bool" + }, + { + "name": "cpu-max", + "type": "int" + }, + { + "name": "hotpluggable-cpus", + "type": "bool" + }, + { + "name": "numa-mem-supported", + "type": "bool" + }, + { + "name": "deprecated", + "type": "bool" + }, + { + "name": "default-cpu-type", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "177", + "members": [ + { + "name": "wakeup-suspend-support", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "178", + "members": [ + { + "name": "arch", + "type": "359" + } + ], + "meta-type": "object" + }, + { + "name": "[179]", + "element-type": "179", + "meta-type": "array" + }, + { + "name": "179", + "members": [ + { + "name": "id", + "default": null, + "type": "str" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "merge", + "type": "bool" + }, + { + "name": "dump", + "type": "bool" + }, + { + "name": "prealloc", + "type": "bool" + }, + { + "name": "host-nodes", + "type": "[int]" + }, + { + "name": "policy", + "type": "360" + } + ], + "meta-type": "object" + }, + { + "name": "[180]", + "element-type": "180", + "meta-type": "array" + }, + { + "name": "180", + "members": [ + { + "name": "type", + "type": "str" + }, + { + "name": "vcpus-count", + "type": "int" + }, + { + "name": "props", + "type": "350" + }, + { + "name": "qom-path", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "181", + "tag": "type", + "variants": [ + { + "case": "node", + "type": "362" + }, + { + "case": "dist", + "type": "363" + }, + { + "case": "cpu", + "type": "364" + }, + { + "case": "hmat-lb", + "type": "365" + }, + { + "case": "hmat-cache", + "type": "366" + } + ], + "members": [ + { + "name": "type", + "type": "361" + } + ], + "meta-type": "object" + }, + { + "name": "189", + "members": [ + { + "name": "protocol", + "type": "str" + }, + { + "name": "fdname", + "type": "str" + }, + { + "name": "skipauth", + "default": null, + "type": "bool" + }, + { + "name": "tls", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "190", + "members": [ + { + "name": "name", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "191", + "members": [ + { + "name": "enabled", + "type": "bool" + }, + { + "name": "present", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "192", + "members": [ + { + "name": "UUID", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[193]", + "element-type": "193", + "meta-type": "array" + }, + { + "name": "193", + "members": [ + { + "name": "id", + "type": "str" + }, + { + "name": "thread-id", + "type": "int" + }, + { + "name": "poll-max-ns", + "type": "int" + }, + { + "name": "poll-grow", + "type": "int" + }, + { + "name": "poll-shrink", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "194", + "members": [ + { + "name": "actual", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "195", + "members": [ + { + "name": "actual", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "[196]", + "element-type": "196", + "meta-type": "array" + }, + { + "name": "196", + "members": [ + { + "name": "bus", + "type": "int" + }, + { + "name": "devices", + "type": "[370]" + } + ], + "meta-type": "object" + }, + { + "name": "197", + "members": [ + { + "name": "val", + "type": "int" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "filename", + "type": "str" + }, + { + "name": "cpu-index", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "198", + "members": [ + { + "name": "val", + "type": "int" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "filename", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "199", + "members": [ + { + "name": "value", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "200", + "members": [ + { + "name": "command-line", + "type": "str" + }, + { + "name": "cpu-index", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "201", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "target", + "type": "str" + }, + { + "name": "arg", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "202", + "members": [ + { + "name": "enable", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "203", + "members": [ + { + "name": "fdname", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "204", + "members": [ + { + "name": "fdname", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "205", + "members": [ + { + "name": "base-memory", + "type": "int" + }, + { + "name": "plugged-memory", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "206", + "members": [ + { + "name": "fdset-id", + "default": null, + "type": "int" + }, + { + "name": "opaque", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "207", + "members": [ + { + "name": "fdset-id", + "type": "int" + }, + { + "name": "fd", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "208", + "members": [ + { + "name": "fdset-id", + "type": "int" + }, + { + "name": "fd", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "[209]", + "element-type": "209", + "meta-type": "array" + }, + { + "name": "209", + "members": [ + { + "name": "fdset-id", + "type": "int" + }, + { + "name": "fds", + "type": "[371]" + } + ], + "meta-type": "object" + }, + { + "name": "210", + "members": [ + { + "name": "option", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[211]", + "element-type": "211", + "meta-type": "array" + }, + { + "name": "211", + "members": [ + { + "name": "option", + "type": "str" + }, + { + "name": "parameters", + "type": "[372]" + } + ], + "meta-type": "object" + }, + { + "name": "[212]", + "element-type": "212", + "meta-type": "array" + }, + { + "name": "212", + "tag": "type", + "variants": [ + { + "case": "dimm", + "type": "374" + }, + { + "case": "nvdimm", + "type": "374" + }, + { + "case": "virtio-pmem", + "type": "375" + }, + { + "case": "virtio-mem", + "type": "376" + } + ], + "members": [ + { + "name": "type", + "type": "373" + } + ], + "meta-type": "object" + }, + { + "name": "213", + "members": [ + { + "name": "id", + "default": null, + "type": "str" + }, + { + "name": "size", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "214", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "msg", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[215]", + "element-type": "215", + "meta-type": "array" + }, + { + "name": "215", + "members": [ + { + "name": "device", + "default": null, + "type": "str" + }, + { + "name": "slot", + "type": "str" + }, + { + "name": "slot-type", + "type": "377" + }, + { + "name": "source", + "type": "int" + }, + { + "name": "status", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "216", + "members": [ + { + "name": "info", + "type": "215" + } + ], + "meta-type": "object" + }, + { + "name": "217", + "members": [ + { + "name": "filename", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "218", + "members": [ + { + "name": "guid", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "219", + "members": [ + { + "name": "offset", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "bool", + "json-type": "boolean", + "meta-type": "builtin" + }, + { + "name": "225", + "meta-type": "enum", + "values": [ + "debug", + "inmigrate", + "internal-error", + "io-error", + "paused", + "postmigrate", + "prelaunch", + "finish-migrate", + "restore-vm", + "running", + "save-vm", + "shutdown", + "suspended", + "watchdog", + "guest-panicked", + "colo", + "preconfig" + ] + }, + { + "name": "226", + "meta-type": "enum", + "values": [ + "none", + "host-error", + "host-qmp-quit", + "host-qmp-system-reset", + "host-signal", + "host-ui", + "guest-shutdown", + "guest-reset", + "guest-panic", + "subsystem-reset" + ] + }, + { + "name": "227", + "meta-type": "enum", + "values": [ + "reset", + "shutdown", + "poweroff", + "pause", + "debug", + "none", + "inject-nmi" + ] + }, + { + "name": "228", + "meta-type": "enum", + "values": [ + "pause", + "poweroff", + "run" + ] + }, + { + "name": "229", + "tag": "type", + "variants": [ + { + "case": "hyper-v", + "type": "380" + }, + { + "case": "s390", + "type": "381" + } + ], + "members": [ + { + "name": "type", + "type": "379" + } + ], + "meta-type": "object" + }, + { + "name": "230", + "meta-type": "enum", + "values": [ + "retain", + "read-only", + "read-write" + ] + }, + { + "name": "[int]", + "element-type": "int", + "meta-type": "array" + }, + { + "name": "231", + "meta-type": "enum", + "values": [ + "ok", + "failed", + "nospace" + ] + }, + { + "name": "[232]", + "element-type": "232", + "meta-type": "array" + }, + { + "name": "232", + "members": [ + { + "name": "name", + "default": null, + "type": "str" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "granularity", + "type": "int" + }, + { + "name": "recording", + "type": "bool" + }, + { + "name": "busy", + "type": "bool" + }, + { + "name": "status", + "type": "382", + "features": [ + "deprecated" + ] + }, + { + "name": "persistent", + "type": "bool" + }, + { + "name": "inconsistent", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "233", + "members": [ + { + "name": "rd_bytes", + "type": "int" + }, + { + "name": "wr_bytes", + "type": "int" + }, + { + "name": "unmap_bytes", + "type": "int" + }, + { + "name": "rd_operations", + "type": "int" + }, + { + "name": "wr_operations", + "type": "int" + }, + { + "name": "flush_operations", + "type": "int" + }, + { + "name": "unmap_operations", + "type": "int" + }, + { + "name": "rd_total_time_ns", + "type": "int" + }, + { + "name": "wr_total_time_ns", + "type": "int" + }, + { + "name": "flush_total_time_ns", + "type": "int" + }, + { + "name": "unmap_total_time_ns", + "type": "int" + }, + { + "name": "wr_highest_offset", + "type": "int" + }, + { + "name": "rd_merged", + "type": "int" + }, + { + "name": "wr_merged", + "type": "int" + }, + { + "name": "unmap_merged", + "type": "int" + }, + { + "name": "idle_time_ns", + "default": null, + "type": "int" + }, + { + "name": "failed_rd_operations", + "type": "int" + }, + { + "name": "failed_wr_operations", + "type": "int" + }, + { + "name": "failed_flush_operations", + "type": "int" + }, + { + "name": "failed_unmap_operations", + "type": "int" + }, + { + "name": "invalid_rd_operations", + "type": "int" + }, + { + "name": "invalid_wr_operations", + "type": "int" + }, + { + "name": "invalid_flush_operations", + "type": "int" + }, + { + "name": "invalid_unmap_operations", + "type": "int" + }, + { + "name": "account_invalid", + "type": "bool" + }, + { + "name": "account_failed", + "type": "bool" + }, + { + "name": "timed_stats", + "type": "[383]" + }, + { + "name": "rd_latency_histogram", + "default": null, + "type": "384" + }, + { + "name": "wr_latency_histogram", + "default": null, + "type": "384" + }, + { + "name": "flush_latency_histogram", + "default": null, + "type": "384" + } + ], + "meta-type": "object" + }, + { + "name": "234", + "tag": "driver", + "variants": [ + { + "case": "file", + "type": "385" + }, + { + "case": "host_device", + "type": "385" + }, + { + "case": "blkdebug", + "type": "0" + }, + { + "case": "blklogwrites", + "type": "0" + }, + { + "case": "blkreplay", + "type": "0" + }, + { + "case": "blkverify", + "type": "0" + }, + { + "case": "bochs", + "type": "0" + }, + { + "case": "cloop", + "type": "0" + }, + { + "case": "compress", + "type": "0" + }, + { + "case": "copy-on-read", + "type": "0" + }, + { + "case": "dmg", + "type": "0" + }, + { + "case": "ftp", + "type": "0" + }, + { + "case": "ftps", + "type": "0" + }, + { + "case": "gluster", + "type": "0" + }, + { + "case": "host_cdrom", + "type": "0" + }, + { + "case": "http", + "type": "0" + }, + { + "case": "https", + "type": "0" + }, + { + "case": "iscsi", + "type": "0" + }, + { + "case": "luks", + "type": "0" + }, + { + "case": "nbd", + "type": "0" + }, + { + "case": "nfs", + "type": "0" + }, + { + "case": "null-aio", + "type": "0" + }, + { + "case": "null-co", + "type": "0" + }, + { + "case": "nvme", + "type": "0" + }, + { + "case": "parallels", + "type": "0" + }, + { + "case": "qcow", + "type": "0" + }, + { + "case": "qcow2", + "type": "0" + }, + { + "case": "qed", + "type": "0" + }, + { + "case": "quorum", + "type": "0" + }, + { + "case": "raw", + "type": "0" + }, + { + "case": "rbd", + "type": "0" + }, + { + "case": "replication", + "type": "0" + }, + { + "case": "sheepdog", + "type": "0" + }, + { + "case": "ssh", + "type": "0" + }, + { + "case": "throttle", + "type": "0" + }, + { + "case": "vdi", + "type": "0" + }, + { + "case": "vhdx", + "type": "0" + }, + { + "case": "vmdk", + "type": "0" + }, + { + "case": "vpc", + "type": "0" + }, + { + "case": "vvfat", + "type": "0" + } + ], + "members": [ + { + "name": "driver", + "type": "247" + } + ], + "meta-type": "object" + }, + { + "name": "235", + "meta-type": "enum", + "values": [ + "undefined", + "created", + "running", + "paused", + "ready", + "standby", + "waiting", + "pending", + "aborting", + "concluded", + "null" + ] + }, + { + "name": "236", + "meta-type": "enum", + "values": [ + "existing", + "absolute-paths" + ] + }, + { + "name": "237", + "meta-type": "enum", + "values": [ + "report", + "ignore", + "enospc", + "stop", + "auto" + ] + }, + { + "name": "238", + "meta-type": "enum", + "values": [ + "top", + "full", + "none", + "incremental", + "bitmap" + ] + }, + { + "name": "239", + "meta-type": "enum", + "values": [ + "on-success", + "never", + "always" + ] + }, + { + "name": "240", + "meta-type": "enum", + "values": [ + "off", + "on", + "unmap" + ] + }, + { + "name": "241", + "members": [ + { + "name": "filename", + "type": "str" + }, + { + "name": "format", + "type": "str" + }, + { + "name": "dirty-flag", + "default": null, + "type": "bool" + }, + { + "name": "actual-size", + "default": null, + "type": "int" + }, + { + "name": "virtual-size", + "type": "int" + }, + { + "name": "cluster-size", + "default": null, + "type": "int" + }, + { + "name": "encrypted", + "default": null, + "type": "bool" + }, + { + "name": "compressed", + "default": null, + "type": "bool" + }, + { + "name": "backing-filename", + "default": null, + "type": "str" + }, + { + "name": "full-backing-filename", + "default": null, + "type": "str" + }, + { + "name": "backing-filename-format", + "default": null, + "type": "str" + }, + { + "name": "snapshots", + "default": null, + "type": "[70]" + }, + { + "name": "backing-image", + "default": null, + "type": "241" + }, + { + "name": "format-specific", + "default": null, + "type": "386" + } + ], + "meta-type": "object" + }, + { + "name": "242", + "members": [ + { + "name": "writeback", + "type": "bool" + }, + { + "name": "direct", + "type": "bool" + }, + { + "name": "no-flush", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "[243]", + "element-type": "243", + "meta-type": "array" + }, + { + "name": "243", + "members": [ + { + "name": "id", + "type": "int" + }, + { + "name": "type", + "type": "387" + }, + { + "name": "name", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[244]", + "element-type": "244", + "meta-type": "array" + }, + { + "name": "244", + "members": [ + { + "name": "parent", + "type": "int" + }, + { + "name": "child", + "type": "int" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "perm", + "type": "[388]" + }, + { + "name": "shared-perm", + "type": "[388]" + } + ], + "meta-type": "object" + }, + { + "name": "245", + "meta-type": "enum", + "values": [ + "background", + "write-blocking" + ] + }, + { + "name": "[246]", + "element-type": "246", + "meta-type": "array" + }, + { + "name": "246", + "members": [ + { + "type": "str" + }, + { + "type": "36" + } + ], + "meta-type": "alternate" + }, + { + "name": "247", + "meta-type": "enum", + "values": [ + "blkdebug", + "blklogwrites", + "blkreplay", + "blkverify", + "bochs", + "cloop", + "compress", + "copy-on-read", + "dmg", + "file", + "ftp", + "ftps", + "gluster", + "host_cdrom", + "host_device", + "http", + "https", + "iscsi", + "luks", + "nbd", + "nfs", + "null-aio", + "null-co", + "nvme", + "parallels", + "qcow", + "qcow2", + "qed", + "quorum", + "raw", + "rbd", + "replication", + "sheepdog", + "ssh", + "throttle", + "vdi", + "vhdx", + "vmdk", + "vpc", + "vvfat" + ] + }, + { + "name": "248", + "meta-type": "enum", + "values": [ + "ignore", + "unmap" + ] + }, + { + "name": "249", + "members": [ + { + "name": "direct", + "default": null, + "type": "bool" + }, + { + "name": "no-flush", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "250", + "members": [ + { + "name": "image", + "type": "389" + }, + { + "name": "config", + "default": null, + "type": "str" + }, + { + "name": "align", + "default": null, + "type": "int" + }, + { + "name": "max-transfer", + "default": null, + "type": "int" + }, + { + "name": "opt-write-zero", + "default": null, + "type": "int" + }, + { + "name": "max-write-zero", + "default": null, + "type": "int" + }, + { + "name": "opt-discard", + "default": null, + "type": "int" + }, + { + "name": "max-discard", + "default": null, + "type": "int" + }, + { + "name": "inject-error", + "default": null, + "type": "[390]" + }, + { + "name": "set-state", + "default": null, + "type": "[391]" + }, + { + "name": "take-child-perms", + "default": null, + "type": "[388]" + }, + { + "name": "unshare-child-perms", + "default": null, + "type": "[388]" + } + ], + "meta-type": "object" + }, + { + "name": "251", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "log", + "type": "389" + }, + { + "name": "log-sector-size", + "default": null, + "type": "int" + }, + { + "name": "log-append", + "default": null, + "type": "bool" + }, + { + "name": "log-super-update-interval", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "252", + "members": [ + { + "name": "test", + "type": "389" + }, + { + "name": "raw", + "type": "389" + } + ], + "meta-type": "object" + }, + { + "name": "253", + "members": [ + { + "name": "image", + "type": "389" + } + ], + "meta-type": "object" + }, + { + "name": "254", + "members": [ + { + "name": "file", + "type": "389" + } + ], + "meta-type": "object" + }, + { + "name": "255", + "members": [ + { + "name": "filename", + "type": "str" + }, + { + "name": "pr-manager", + "default": null, + "type": "str" + }, + { + "name": "locking", + "default": null, + "type": "392" + }, + { + "name": "aio", + "default": null, + "type": "393" + }, + { + "name": "drop-cache", + "default": null, + "type": "bool" + }, + { + "name": "x-check-cache-dropped", + "default": null, + "type": "bool" + } + ], + "meta-type": "object", + "features": [ + "dynamic-auto-read-only" + ] + }, + { + "name": "256", + "members": [ + { + "name": "url", + "type": "str" + }, + { + "name": "readahead", + "default": null, + "type": "int" + }, + { + "name": "timeout", + "default": null, + "type": "int" + }, + { + "name": "username", + "default": null, + "type": "str" + }, + { + "name": "password-secret", + "default": null, + "type": "str" + }, + { + "name": "proxy-username", + "default": null, + "type": "str" + }, + { + "name": "proxy-password-secret", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "257", + "members": [ + { + "name": "url", + "type": "str" + }, + { + "name": "readahead", + "default": null, + "type": "int" + }, + { + "name": "timeout", + "default": null, + "type": "int" + }, + { + "name": "username", + "default": null, + "type": "str" + }, + { + "name": "password-secret", + "default": null, + "type": "str" + }, + { + "name": "proxy-username", + "default": null, + "type": "str" + }, + { + "name": "proxy-password-secret", + "default": null, + "type": "str" + }, + { + "name": "sslverify", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "258", + "members": [ + { + "name": "volume", + "type": "str" + }, + { + "name": "path", + "type": "str" + }, + { + "name": "server", + "type": "[332]" + }, + { + "name": "debug", + "default": null, + "type": "int" + }, + { + "name": "logfile", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "259", + "members": [ + { + "name": "url", + "type": "str" + }, + { + "name": "readahead", + "default": null, + "type": "int" + }, + { + "name": "timeout", + "default": null, + "type": "int" + }, + { + "name": "username", + "default": null, + "type": "str" + }, + { + "name": "password-secret", + "default": null, + "type": "str" + }, + { + "name": "proxy-username", + "default": null, + "type": "str" + }, + { + "name": "proxy-password-secret", + "default": null, + "type": "str" + }, + { + "name": "cookie", + "default": null, + "type": "str" + }, + { + "name": "cookie-secret", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "260", + "members": [ + { + "name": "url", + "type": "str" + }, + { + "name": "readahead", + "default": null, + "type": "int" + }, + { + "name": "timeout", + "default": null, + "type": "int" + }, + { + "name": "username", + "default": null, + "type": "str" + }, + { + "name": "password-secret", + "default": null, + "type": "str" + }, + { + "name": "proxy-username", + "default": null, + "type": "str" + }, + { + "name": "proxy-password-secret", + "default": null, + "type": "str" + }, + { + "name": "cookie", + "default": null, + "type": "str" + }, + { + "name": "sslverify", + "default": null, + "type": "bool" + }, + { + "name": "cookie-secret", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "261", + "members": [ + { + "name": "transport", + "type": "394" + }, + { + "name": "portal", + "type": "str" + }, + { + "name": "target", + "type": "str" + }, + { + "name": "lun", + "default": null, + "type": "int" + }, + { + "name": "user", + "default": null, + "type": "str" + }, + { + "name": "password-secret", + "default": null, + "type": "str" + }, + { + "name": "initiator-name", + "default": null, + "type": "str" + }, + { + "name": "header-digest", + "default": null, + "type": "395" + }, + { + "name": "timeout", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "262", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "key-secret", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "263", + "members": [ + { + "name": "server", + "type": "332" + }, + { + "name": "export", + "default": null, + "type": "str" + }, + { + "name": "tls-creds", + "default": null, + "type": "str" + }, + { + "name": "x-dirty-bitmap", + "default": null, + "type": "str" + }, + { + "name": "reconnect-delay", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "264", + "members": [ + { + "name": "server", + "type": "396" + }, + { + "name": "path", + "type": "str" + }, + { + "name": "user", + "default": null, + "type": "int" + }, + { + "name": "group", + "default": null, + "type": "int" + }, + { + "name": "tcp-syn-count", + "default": null, + "type": "int" + }, + { + "name": "readahead-size", + "default": null, + "type": "int" + }, + { + "name": "page-cache-size", + "default": null, + "type": "int" + }, + { + "name": "debug", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "265", + "members": [ + { + "name": "size", + "default": null, + "type": "int" + }, + { + "name": "latency-ns", + "default": null, + "type": "int" + }, + { + "name": "read-zeroes", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "266", + "members": [ + { + "name": "device", + "type": "str" + }, + { + "name": "namespace", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "267", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "backing", + "default": null, + "type": "397" + }, + { + "name": "lazy-refcounts", + "default": null, + "type": "bool" + }, + { + "name": "pass-discard-request", + "default": null, + "type": "bool" + }, + { + "name": "pass-discard-snapshot", + "default": null, + "type": "bool" + }, + { + "name": "pass-discard-other", + "default": null, + "type": "bool" + }, + { + "name": "overlap-check", + "default": null, + "type": "398" + }, + { + "name": "cache-size", + "default": null, + "type": "int" + }, + { + "name": "l2-cache-size", + "default": null, + "type": "int" + }, + { + "name": "l2-cache-entry-size", + "default": null, + "type": "int" + }, + { + "name": "refcount-cache-size", + "default": null, + "type": "int" + }, + { + "name": "cache-clean-interval", + "default": null, + "type": "int" + }, + { + "name": "encrypt", + "default": null, + "type": "399" + }, + { + "name": "data-file", + "default": null, + "type": "389" + } + ], + "meta-type": "object" + }, + { + "name": "268", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "backing", + "default": null, + "type": "397" + }, + { + "name": "encrypt", + "default": null, + "type": "400" + } + ], + "meta-type": "object" + }, + { + "name": "269", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "backing", + "default": null, + "type": "397" + } + ], + "meta-type": "object" + }, + { + "name": "270", + "members": [ + { + "name": "blkverify", + "default": null, + "type": "bool" + }, + { + "name": "children", + "type": "[389]" + }, + { + "name": "vote-threshold", + "type": "int" + }, + { + "name": "rewrite-corrupted", + "default": null, + "type": "bool" + }, + { + "name": "read-pattern", + "default": null, + "type": "401" + } + ], + "meta-type": "object" + }, + { + "name": "271", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "offset", + "default": null, + "type": "int" + }, + { + "name": "size", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "272", + "members": [ + { + "name": "pool", + "type": "str" + }, + { + "name": "namespace", + "default": null, + "type": "str" + }, + { + "name": "image", + "type": "str" + }, + { + "name": "conf", + "default": null, + "type": "str" + }, + { + "name": "snapshot", + "default": null, + "type": "str" + }, + { + "name": "user", + "default": null, + "type": "str" + }, + { + "name": "auth-client-required", + "default": null, + "type": "[402]" + }, + { + "name": "key-secret", + "default": null, + "type": "str" + }, + { + "name": "server", + "default": null, + "type": "[403]" + } + ], + "meta-type": "object" + }, + { + "name": "273", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "mode", + "type": "404" + }, + { + "name": "top-id", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "274", + "members": [ + { + "name": "server", + "type": "332" + }, + { + "name": "vdi", + "type": "str" + }, + { + "name": "snap-id", + "default": null, + "type": "int" + }, + { + "name": "tag", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "275", + "members": [ + { + "name": "server", + "type": "405" + }, + { + "name": "path", + "type": "str" + }, + { + "name": "user", + "default": null, + "type": "str" + }, + { + "name": "host-key-check", + "default": null, + "type": "406" + } + ], + "meta-type": "object" + }, + { + "name": "276", + "members": [ + { + "name": "throttle-group", + "type": "str" + }, + { + "name": "file", + "type": "389" + } + ], + "meta-type": "object" + }, + { + "name": "277", + "members": [ + { + "name": "dir", + "type": "str" + }, + { + "name": "fat-type", + "default": null, + "type": "int" + }, + { + "name": "floppy", + "default": null, + "type": "bool" + }, + { + "name": "label", + "default": null, + "type": "str" + }, + { + "name": "rw", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "278", + "tag": "driver", + "variants": [ + { + "case": "file", + "type": "407" + }, + { + "case": "gluster", + "type": "408" + }, + { + "case": "luks", + "type": "409" + }, + { + "case": "nfs", + "type": "410" + }, + { + "case": "parallels", + "type": "411" + }, + { + "case": "qcow", + "type": "412" + }, + { + "case": "qcow2", + "type": "413" + }, + { + "case": "qed", + "type": "414" + }, + { + "case": "rbd", + "type": "415" + }, + { + "case": "sheepdog", + "type": "416" + }, + { + "case": "ssh", + "type": "417" + }, + { + "case": "vdi", + "type": "418" + }, + { + "case": "vhdx", + "type": "419" + }, + { + "case": "vmdk", + "type": "420" + }, + { + "case": "vpc", + "type": "421" + }, + { + "case": "blkdebug", + "type": "0" + }, + { + "case": "blklogwrites", + "type": "0" + }, + { + "case": "blkreplay", + "type": "0" + }, + { + "case": "blkverify", + "type": "0" + }, + { + "case": "bochs", + "type": "0" + }, + { + "case": "cloop", + "type": "0" + }, + { + "case": "compress", + "type": "0" + }, + { + "case": "copy-on-read", + "type": "0" + }, + { + "case": "dmg", + "type": "0" + }, + { + "case": "ftp", + "type": "0" + }, + { + "case": "ftps", + "type": "0" + }, + { + "case": "host_cdrom", + "type": "0" + }, + { + "case": "host_device", + "type": "0" + }, + { + "case": "http", + "type": "0" + }, + { + "case": "https", + "type": "0" + }, + { + "case": "iscsi", + "type": "0" + }, + { + "case": "nbd", + "type": "0" + }, + { + "case": "null-aio", + "type": "0" + }, + { + "case": "null-co", + "type": "0" + }, + { + "case": "nvme", + "type": "0" + }, + { + "case": "quorum", + "type": "0" + }, + { + "case": "raw", + "type": "0" + }, + { + "case": "replication", + "type": "0" + }, + { + "case": "throttle", + "type": "0" + }, + { + "case": "vvfat", + "type": "0" + } + ], + "members": [ + { + "name": "driver", + "type": "247" + } + ], + "meta-type": "object" + }, + { + "name": "279", + "tag": "driver", + "variants": [ + { + "case": "luks", + "type": "422" + }, + { + "case": "qcow2", + "type": "423" + }, + { + "case": "blkdebug", + "type": "0" + }, + { + "case": "blklogwrites", + "type": "0" + }, + { + "case": "blkreplay", + "type": "0" + }, + { + "case": "blkverify", + "type": "0" + }, + { + "case": "bochs", + "type": "0" + }, + { + "case": "cloop", + "type": "0" + }, + { + "case": "compress", + "type": "0" + }, + { + "case": "copy-on-read", + "type": "0" + }, + { + "case": "dmg", + "type": "0" + }, + { + "case": "file", + "type": "0" + }, + { + "case": "ftp", + "type": "0" + }, + { + "case": "ftps", + "type": "0" + }, + { + "case": "gluster", + "type": "0" + }, + { + "case": "host_cdrom", + "type": "0" + }, + { + "case": "host_device", + "type": "0" + }, + { + "case": "http", + "type": "0" + }, + { + "case": "https", + "type": "0" + }, + { + "case": "iscsi", + "type": "0" + }, + { + "case": "nbd", + "type": "0" + }, + { + "case": "nfs", + "type": "0" + }, + { + "case": "null-aio", + "type": "0" + }, + { + "case": "null-co", + "type": "0" + }, + { + "case": "nvme", + "type": "0" + }, + { + "case": "parallels", + "type": "0" + }, + { + "case": "qcow", + "type": "0" + }, + { + "case": "qed", + "type": "0" + }, + { + "case": "quorum", + "type": "0" + }, + { + "case": "raw", + "type": "0" + }, + { + "case": "rbd", + "type": "0" + }, + { + "case": "replication", + "type": "0" + }, + { + "case": "sheepdog", + "type": "0" + }, + { + "case": "ssh", + "type": "0" + }, + { + "case": "throttle", + "type": "0" + }, + { + "case": "vdi", + "type": "0" + }, + { + "case": "vhdx", + "type": "0" + }, + { + "case": "vmdk", + "type": "0" + }, + { + "case": "vpc", + "type": "0" + }, + { + "case": "vvfat", + "type": "0" + } + ], + "members": [ + { + "name": "driver", + "type": "247" + } + ], + "meta-type": "object" + }, + { + "name": "280", + "meta-type": "enum", + "values": [ + "read", + "write" + ] + }, + { + "name": "281", + "meta-type": "enum", + "values": [ + "ignore", + "report", + "stop" + ] + }, + { + "name": "282", + "meta-type": "enum", + "values": [ + "commit", + "stream", + "mirror", + "backup", + "create", + "amend" + ] + }, + { + "name": "283", + "members": [ + { + "type": "str" + }, + { + "type": "null" + } + ], + "meta-type": "alternate" + }, + { + "name": "284", + "tag": "type", + "variants": [ + { + "case": "inet", + "type": "425" + }, + { + "case": "unix", + "type": "426" + }, + { + "case": "vsock", + "type": "427" + }, + { + "case": "fd", + "type": "428" + } + ], + "members": [ + { + "name": "type", + "type": "424" + } + ], + "meta-type": "object" + }, + { + "name": "285", + "meta-type": "enum", + "values": [ + "safe", + "hard" + ] + }, + { + "name": "286", + "meta-type": "enum", + "values": [ + "read", + "write", + "flush" + ] + }, + { + "name": "287", + "meta-type": "enum", + "values": [ + "utf8", + "base64" + ] + }, + { + "name": "288", + "tag": "type", + "variants": [ + { + "case": "file", + "type": "430" + }, + { + "case": "serial", + "type": "431" + }, + { + "case": "parallel", + "type": "431" + }, + { + "case": "pipe", + "type": "431" + }, + { + "case": "socket", + "type": "432" + }, + { + "case": "udp", + "type": "433" + }, + { + "case": "pty", + "type": "434" + }, + { + "case": "null", + "type": "434" + }, + { + "case": "mux", + "type": "435" + }, + { + "case": "msmouse", + "type": "434" + }, + { + "case": "wctablet", + "type": "434" + }, + { + "case": "braille", + "type": "434" + }, + { + "case": "testdev", + "type": "434" + }, + { + "case": "stdio", + "type": "436" + }, + { + "case": "console", + "type": "434" + }, + { + "case": "spicevmc", + "type": "437" + }, + { + "case": "spiceport", + "type": "438" + }, + { + "case": "vc", + "type": "439" + }, + { + "case": "ringbuf", + "type": "440" + }, + { + "case": "memory", + "type": "440" + } + ], + "members": [ + { + "name": "type", + "type": "429" + } + ], + "meta-type": "object" + }, + { + "name": "289", + "meta-type": "enum", + "values": [ + "elf", + "kdump-zlib", + "kdump-lzo", + "kdump-snappy", + "win-dmp" + ] + }, + { + "name": "290", + "meta-type": "enum", + "values": [ + "none", + "active", + "completed", + "failed" + ] + }, + { + "name": "[289]", + "element-type": "289", + "meta-type": "array" + }, + { + "name": "291", + "meta-type": "enum", + "values": [ + "none", + "nic", + "user", + "tap", + "l2tpv3", + "socket", + "vde", + "bridge", + "hubport", + "netmap", + "vhost-user", + "vhost-vdpa" + ] + }, + { + "name": "292", + "members": [ + { + "name": "netdev", + "default": null, + "type": "str" + }, + { + "name": "macaddr", + "default": null, + "type": "str" + }, + { + "name": "model", + "default": null, + "type": "str" + }, + { + "name": "addr", + "default": null, + "type": "str" + }, + { + "name": "vectors", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "293", + "members": [ + { + "name": "hostname", + "default": null, + "type": "str" + }, + { + "name": "restrict", + "default": null, + "type": "bool" + }, + { + "name": "ipv4", + "default": null, + "type": "bool" + }, + { + "name": "ipv6", + "default": null, + "type": "bool" + }, + { + "name": "ip", + "default": null, + "type": "str" + }, + { + "name": "net", + "default": null, + "type": "str" + }, + { + "name": "host", + "default": null, + "type": "str" + }, + { + "name": "tftp", + "default": null, + "type": "str" + }, + { + "name": "bootfile", + "default": null, + "type": "str" + }, + { + "name": "dhcpstart", + "default": null, + "type": "str" + }, + { + "name": "dns", + "default": null, + "type": "str" + }, + { + "name": "dnssearch", + "default": null, + "type": "[441]" + }, + { + "name": "domainname", + "default": null, + "type": "str" + }, + { + "name": "ipv6-prefix", + "default": null, + "type": "str" + }, + { + "name": "ipv6-prefixlen", + "default": null, + "type": "int" + }, + { + "name": "ipv6-host", + "default": null, + "type": "str" + }, + { + "name": "ipv6-dns", + "default": null, + "type": "str" + }, + { + "name": "smb", + "default": null, + "type": "str" + }, + { + "name": "smbserver", + "default": null, + "type": "str" + }, + { + "name": "hostfwd", + "default": null, + "type": "[441]" + }, + { + "name": "guestfwd", + "default": null, + "type": "[441]" + }, + { + "name": "tftp-server-name", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "294", + "members": [ + { + "name": "ifname", + "default": null, + "type": "str" + }, + { + "name": "fd", + "default": null, + "type": "str" + }, + { + "name": "fds", + "default": null, + "type": "str" + }, + { + "name": "script", + "default": null, + "type": "str" + }, + { + "name": "downscript", + "default": null, + "type": "str" + }, + { + "name": "br", + "default": null, + "type": "str" + }, + { + "name": "helper", + "default": null, + "type": "str" + }, + { + "name": "sndbuf", + "default": null, + "type": "int" + }, + { + "name": "vnet_hdr", + "default": null, + "type": "bool" + }, + { + "name": "vhost", + "default": null, + "type": "bool" + }, + { + "name": "vhostfd", + "default": null, + "type": "str" + }, + { + "name": "vhostfds", + "default": null, + "type": "str" + }, + { + "name": "vhostforce", + "default": null, + "type": "bool" + }, + { + "name": "queues", + "default": null, + "type": "int" + }, + { + "name": "poll-us", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "295", + "members": [ + { + "name": "src", + "type": "str" + }, + { + "name": "dst", + "type": "str" + }, + { + "name": "srcport", + "default": null, + "type": "str" + }, + { + "name": "dstport", + "default": null, + "type": "str" + }, + { + "name": "ipv6", + "default": null, + "type": "bool" + }, + { + "name": "udp", + "default": null, + "type": "bool" + }, + { + "name": "cookie64", + "default": null, + "type": "bool" + }, + { + "name": "counter", + "default": null, + "type": "bool" + }, + { + "name": "pincounter", + "default": null, + "type": "bool" + }, + { + "name": "txcookie", + "default": null, + "type": "int" + }, + { + "name": "rxcookie", + "default": null, + "type": "int" + }, + { + "name": "txsession", + "type": "int" + }, + { + "name": "rxsession", + "default": null, + "type": "int" + }, + { + "name": "offset", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "296", + "members": [ + { + "name": "fd", + "default": null, + "type": "str" + }, + { + "name": "listen", + "default": null, + "type": "str" + }, + { + "name": "connect", + "default": null, + "type": "str" + }, + { + "name": "mcast", + "default": null, + "type": "str" + }, + { + "name": "localaddr", + "default": null, + "type": "str" + }, + { + "name": "udp", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "297", + "members": [ + { + "name": "sock", + "default": null, + "type": "str" + }, + { + "name": "port", + "default": null, + "type": "int" + }, + { + "name": "group", + "default": null, + "type": "str" + }, + { + "name": "mode", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "298", + "members": [ + { + "name": "br", + "default": null, + "type": "str" + }, + { + "name": "helper", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "299", + "members": [ + { + "name": "hubid", + "type": "int" + }, + { + "name": "netdev", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "300", + "members": [ + { + "name": "ifname", + "type": "str" + }, + { + "name": "devname", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "301", + "members": [ + { + "name": "chardev", + "type": "str" + }, + { + "name": "vhostforce", + "default": null, + "type": "bool" + }, + { + "name": "queues", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "302", + "members": [ + { + "name": "vhostdev", + "default": null, + "type": "str" + }, + { + "name": "queues", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "303", + "meta-type": "enum", + "values": [ + "normal", + "none", + "all" + ] + }, + { + "name": "[str]", + "element-type": "str", + "meta-type": "array" + }, + { + "name": "304", + "meta-type": "enum", + "values": [ + "half", + "full" + ] + }, + { + "name": "305", + "meta-type": "enum", + "values": [ + "off", + "on" + ] + }, + { + "name": "306", + "members": [ + { + "name": "priority", + "type": "int" + }, + { + "name": "tbl-id", + "type": "int" + }, + { + "name": "in-pport", + "default": null, + "type": "int" + }, + { + "name": "tunnel-id", + "default": null, + "type": "int" + }, + { + "name": "vlan-id", + "default": null, + "type": "int" + }, + { + "name": "eth-type", + "default": null, + "type": "int" + }, + { + "name": "eth-src", + "default": null, + "type": "str" + }, + { + "name": "eth-dst", + "default": null, + "type": "str" + }, + { + "name": "ip-proto", + "default": null, + "type": "int" + }, + { + "name": "ip-tos", + "default": null, + "type": "int" + }, + { + "name": "ip-dst", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "307", + "members": [ + { + "name": "in-pport", + "default": null, + "type": "int" + }, + { + "name": "tunnel-id", + "default": null, + "type": "int" + }, + { + "name": "vlan-id", + "default": null, + "type": "int" + }, + { + "name": "eth-src", + "default": null, + "type": "str" + }, + { + "name": "eth-dst", + "default": null, + "type": "str" + }, + { + "name": "ip-proto", + "default": null, + "type": "int" + }, + { + "name": "ip-tos", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "308", + "members": [ + { + "name": "goto-tbl", + "default": null, + "type": "int" + }, + { + "name": "group-id", + "default": null, + "type": "int" + }, + { + "name": "tunnel-lport", + "default": null, + "type": "int" + }, + { + "name": "vlan-id", + "default": null, + "type": "int" + }, + { + "name": "new-vlan-id", + "default": null, + "type": "int" + }, + { + "name": "out-pport", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "309", + "tag": "type", + "variants": [ + { + "case": "passthrough", + "type": "443" + }, + { + "case": "emulator", + "type": "444" + } + ], + "members": [ + { + "name": "type", + "type": "442" + } + ], + "meta-type": "object" + }, + { + "name": "310", + "meta-type": "enum", + "values": [ + "client", + "server", + "unknown" + ] + }, + { + "name": "[311]", + "element-type": "311", + "meta-type": "array" + }, + { + "name": "311", + "members": [ + { + "name": "host", + "type": "str" + }, + { + "name": "port", + "type": "str" + }, + { + "name": "family", + "type": "314" + }, + { + "name": "connection-id", + "type": "int" + }, + { + "name": "channel-type", + "type": "int" + }, + { + "name": "channel-id", + "type": "int" + }, + { + "name": "tls", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "312", + "members": [ + { + "name": "host", + "type": "str" + }, + { + "name": "port", + "type": "str" + }, + { + "name": "family", + "type": "314" + } + ], + "meta-type": "object" + }, + { + "name": "313", + "members": [ + { + "name": "host", + "type": "str" + }, + { + "name": "port", + "type": "str" + }, + { + "name": "family", + "type": "314" + }, + { + "name": "auth", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "314", + "meta-type": "enum", + "values": [ + "ipv4", + "ipv6", + "unix", + "vsock", + "unknown" + ] + }, + { + "name": "[315]", + "element-type": "315", + "meta-type": "array" + }, + { + "name": "315", + "members": [ + { + "name": "host", + "type": "str" + }, + { + "name": "service", + "type": "str" + }, + { + "name": "family", + "type": "314" + }, + { + "name": "websocket", + "type": "bool" + }, + { + "name": "x509_dname", + "default": null, + "type": "str" + }, + { + "name": "sasl_username", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[316]", + "element-type": "316", + "meta-type": "array" + }, + { + "name": "316", + "members": [ + { + "name": "host", + "type": "str" + }, + { + "name": "service", + "type": "str" + }, + { + "name": "family", + "type": "314" + }, + { + "name": "websocket", + "type": "bool" + }, + { + "name": "auth", + "type": "317" + }, + { + "name": "vencrypt", + "default": null, + "type": "318" + } + ], + "meta-type": "object" + }, + { + "name": "317", + "meta-type": "enum", + "values": [ + "none", + "vnc", + "ra2", + "ra2ne", + "tight", + "ultra", + "tls", + "vencrypt", + "sasl" + ] + }, + { + "name": "318", + "meta-type": "enum", + "values": [ + "plain", + "tls-none", + "x509-none", + "tls-vnc", + "x509-vnc", + "tls-plain", + "x509-plain", + "tls-sasl", + "x509-sasl" + ] + }, + { + "name": "319", + "members": [ + { + "name": "host", + "type": "str" + }, + { + "name": "service", + "type": "str" + }, + { + "name": "family", + "type": "314" + }, + { + "name": "websocket", + "type": "bool" + }, + { + "name": "auth", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "320", + "members": [ + { + "name": "host", + "type": "str" + }, + { + "name": "service", + "type": "str" + }, + { + "name": "family", + "type": "314" + }, + { + "name": "websocket", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "[321]", + "element-type": "321", + "meta-type": "array" + }, + { + "name": "321", + "tag": "type", + "variants": [ + { + "case": "number", + "type": "446" + }, + { + "case": "qcode", + "type": "447" + } + ], + "members": [ + { + "name": "type", + "type": "445" + } + ], + "meta-type": "object" + }, + { + "name": "[322]", + "element-type": "322", + "meta-type": "array" + }, + { + "name": "322", + "tag": "type", + "variants": [ + { + "case": "key", + "type": "449" + }, + { + "case": "btn", + "type": "450" + }, + { + "case": "rel", + "type": "451" + }, + { + "case": "abs", + "type": "451" + } + ], + "members": [ + { + "name": "type", + "type": "448" + } + ], + "meta-type": "object" + }, + { + "name": "323", + "meta-type": "enum", + "values": [ + "default", + "none", + "gtk", + "sdl", + "egl-headless", + "curses", + "cocoa", + "spice-app" + ] + }, + { + "name": "324", + "meta-type": "enum", + "values": [ + "off", + "on", + "core", + "es" + ] + }, + { + "name": "325", + "members": [ + { + "name": "grab-on-hover", + "default": null, + "type": "bool" + }, + { + "name": "zoom-to-fit", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "326", + "members": [ + { + "name": "charset", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "327", + "members": [ + { + "name": "rendernode", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "328", + "meta-type": "enum", + "values": [ + "none", + "setup", + "cancelling", + "cancelled", + "active", + "postcopy-active", + "postcopy-paused", + "postcopy-recover", + "completed", + "failed", + "colo", + "pre-switchover", + "device", + "wait-unplug" + ] + }, + { + "name": "329", + "members": [ + { + "name": "transferred", + "type": "int" + }, + { + "name": "remaining", + "type": "int" + }, + { + "name": "total", + "type": "int" + }, + { + "name": "duplicate", + "type": "int" + }, + { + "name": "skipped", + "type": "int" + }, + { + "name": "normal", + "type": "int" + }, + { + "name": "normal-bytes", + "type": "int" + }, + { + "name": "dirty-pages-rate", + "type": "int" + }, + { + "name": "mbps", + "type": "number" + }, + { + "name": "dirty-sync-count", + "type": "int" + }, + { + "name": "postcopy-requests", + "type": "int" + }, + { + "name": "page-size", + "type": "int" + }, + { + "name": "multifd-bytes", + "type": "int" + }, + { + "name": "pages-per-second", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "330", + "members": [ + { + "name": "cache-size", + "type": "int" + }, + { + "name": "bytes", + "type": "int" + }, + { + "name": "pages", + "type": "int" + }, + { + "name": "cache-miss", + "type": "int" + }, + { + "name": "cache-miss-rate", + "type": "number" + }, + { + "name": "encoding-rate", + "type": "number" + }, + { + "name": "overflow", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "331", + "members": [ + { + "name": "pages", + "type": "int" + }, + { + "name": "busy", + "type": "int" + }, + { + "name": "busy-rate", + "type": "number" + }, + { + "name": "compressed-size", + "type": "int" + }, + { + "name": "compression-rate", + "type": "number" + } + ], + "meta-type": "object" + }, + { + "name": "[332]", + "element-type": "332", + "meta-type": "array" + }, + { + "name": "332", + "tag": "type", + "variants": [ + { + "case": "inet", + "type": "405" + }, + { + "case": "unix", + "type": "453" + }, + { + "case": "vsock", + "type": "454" + }, + { + "case": "fd", + "type": "441" + } + ], + "members": [ + { + "name": "type", + "type": "452" + } + ], + "meta-type": "object" + }, + { + "name": "333", + "meta-type": "enum", + "values": [ + "xbzrle", + "rdma-pin-all", + "auto-converge", + "zero-blocks", + "compress", + "events", + "postcopy-ram", + "x-colo", + "release-ram", + "block", + "return-path", + "pause-before-switchover", + "multifd", + "dirty-bitmaps", + "postcopy-blocktime", + "late-block-activate", + "x-ignore-shared", + "validate-uuid" + ] + }, + { + "name": "334", + "meta-type": "enum", + "values": [ + "none", + "zlib", + "zstd" + ] + }, + { + "name": "335", + "meta-type": "enum", + "values": [ + "none", + "primary", + "secondary" + ] + }, + { + "name": "336", + "meta-type": "enum", + "values": [ + "none", + "request", + "error", + "processing" + ] + }, + { + "name": "number", + "json-type": "number", + "meta-type": "builtin" + }, + { + "name": "[337]", + "element-type": "337", + "meta-type": "array" + }, + { + "name": "337", + "tag": "type", + "variants": [ + { + "case": "abort", + "type": "456" + }, + { + "case": "block-dirty-bitmap-add", + "type": "457" + }, + { + "case": "block-dirty-bitmap-remove", + "type": "458" + }, + { + "case": "block-dirty-bitmap-clear", + "type": "458" + }, + { + "case": "block-dirty-bitmap-enable", + "type": "458" + }, + { + "case": "block-dirty-bitmap-disable", + "type": "458" + }, + { + "case": "block-dirty-bitmap-merge", + "type": "459" + }, + { + "case": "blockdev-backup", + "type": "460" + }, + { + "case": "blockdev-snapshot", + "type": "461" + }, + { + "case": "blockdev-snapshot-internal-sync", + "type": "462" + }, + { + "case": "blockdev-snapshot-sync", + "type": "463" + }, + { + "case": "drive-backup", + "type": "464" + } + ], + "members": [ + { + "name": "type", + "type": "455" + } + ], + "meta-type": "object" + }, + { + "name": "338", + "members": [ + { + "name": "completion-mode", + "default": null, + "type": "465" + } + ], + "meta-type": "object" + }, + { + "name": "339", + "meta-type": "enum", + "values": [ + "unavailable", + "disabled", + "enabled" + ] + }, + { + "name": "[340]", + "element-type": "340", + "meta-type": "array" + }, + { + "name": "340", + "meta-type": "enum", + "values": [ + "oob" + ] + }, + { + "name": "341", + "members": [ + { + "name": "major", + "type": "int" + }, + { + "name": "minor", + "type": "int" + }, + { + "name": "micro", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "342", + "meta-type": "enum", + "values": [ + "builtin", + "enum", + "array", + "object", + "alternate", + "command", + "event" + ] + }, + { + "name": "343", + "members": [ + { + "name": "json-type", + "type": "466" + } + ], + "meta-type": "object" + }, + { + "name": "344", + "members": [ + { + "name": "values", + "type": "[str]" + } + ], + "meta-type": "object" + }, + { + "name": "345", + "members": [ + { + "name": "element-type", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "346", + "members": [ + { + "name": "members", + "type": "[467]" + }, + { + "name": "tag", + "default": null, + "type": "str" + }, + { + "name": "variants", + "default": null, + "type": "[468]" + } + ], + "meta-type": "object" + }, + { + "name": "347", + "members": [ + { + "name": "members", + "type": "[469]" + } + ], + "meta-type": "object" + }, + { + "name": "348", + "members": [ + { + "name": "arg-type", + "type": "str" + }, + { + "name": "ret-type", + "type": "str" + }, + { + "name": "allow-oob", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "349", + "members": [ + { + "name": "arg-type", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "350", + "members": [ + { + "name": "node-id", + "default": null, + "type": "int" + }, + { + "name": "socket-id", + "default": null, + "type": "int" + }, + { + "name": "die-id", + "default": null, + "type": "int" + }, + { + "name": "core-id", + "default": null, + "type": "int" + }, + { + "name": "thread-id", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "351", + "meta-type": "enum", + "values": [ + "x86", + "sparc", + "ppc", + "mips", + "tricore", + "s390", + "riscv", + "other" + ] + }, + { + "name": "352", + "members": [ + { + "name": "pc", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "353", + "members": [ + { + "name": "pc", + "type": "int" + }, + { + "name": "npc", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "354", + "members": [ + { + "name": "nip", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "355", + "members": [ + { + "name": "PC", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "356", + "members": [ + { + "name": "PC", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "357", + "members": [ + { + "name": "cpu-state", + "type": "470" + } + ], + "meta-type": "object" + }, + { + "name": "358", + "members": [ + { + "name": "pc", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "359", + "meta-type": "enum", + "values": [ + "aarch64", + "alpha", + "arm", + "avr", + "cris", + "hppa", + "i386", + "lm32", + "m68k", + "microblaze", + "microblazeel", + "mips", + "mips64", + "mips64el", + "mipsel", + "moxie", + "nios2", + "or1k", + "ppc", + "ppc64", + "riscv32", + "riscv64", + "rx", + "s390x", + "sh4", + "sh4eb", + "sparc", + "sparc64", + "tricore", + "unicore32", + "x86_64", + "xtensa", + "xtensaeb" + ] + }, + { + "name": "360", + "meta-type": "enum", + "values": [ + "default", + "preferred", + "bind", + "interleave" + ] + }, + { + "name": "361", + "meta-type": "enum", + "values": [ + "node", + "dist", + "cpu", + "hmat-lb", + "hmat-cache" + ] + }, + { + "name": "362", + "members": [ + { + "name": "nodeid", + "default": null, + "type": "int" + }, + { + "name": "cpus", + "default": null, + "type": "[int]" + }, + { + "name": "mem", + "default": null, + "type": "int" + }, + { + "name": "memdev", + "default": null, + "type": "str" + }, + { + "name": "initiator", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "363", + "members": [ + { + "name": "src", + "type": "int" + }, + { + "name": "dst", + "type": "int" + }, + { + "name": "val", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "364", + "members": [ + { + "name": "node-id", + "default": null, + "type": "int" + }, + { + "name": "socket-id", + "default": null, + "type": "int" + }, + { + "name": "die-id", + "default": null, + "type": "int" + }, + { + "name": "core-id", + "default": null, + "type": "int" + }, + { + "name": "thread-id", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "365", + "members": [ + { + "name": "initiator", + "type": "int" + }, + { + "name": "target", + "type": "int" + }, + { + "name": "hierarchy", + "type": "471" + }, + { + "name": "data-type", + "type": "472" + }, + { + "name": "latency", + "default": null, + "type": "int" + }, + { + "name": "bandwidth", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "366", + "members": [ + { + "name": "node-id", + "type": "int" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "level", + "type": "int" + }, + { + "name": "associativity", + "type": "473" + }, + { + "name": "policy", + "type": "474" + }, + { + "name": "line", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "367", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "props", + "default": null, + "type": "any" + } + ], + "meta-type": "object" + }, + { + "name": "368", + "meta-type": "enum", + "values": [ + "incompatible", + "identical", + "superset", + "subset" + ] + }, + { + "name": "369", + "meta-type": "enum", + "values": [ + "static", + "full" + ] + }, + { + "name": "[370]", + "element-type": "370", + "meta-type": "array" + }, + { + "name": "370", + "members": [ + { + "name": "bus", + "type": "int" + }, + { + "name": "slot", + "type": "int" + }, + { + "name": "function", + "type": "int" + }, + { + "name": "class_info", + "type": "475" + }, + { + "name": "id", + "type": "476" + }, + { + "name": "irq", + "default": null, + "type": "int" + }, + { + "name": "irq_pin", + "type": "int" + }, + { + "name": "qdev_id", + "type": "str" + }, + { + "name": "pci_bridge", + "default": null, + "type": "477" + }, + { + "name": "regions", + "type": "[478]" + } + ], + "meta-type": "object" + }, + { + "name": "[371]", + "element-type": "371", + "meta-type": "array" + }, + { + "name": "371", + "members": [ + { + "name": "fd", + "type": "int" + }, + { + "name": "opaque", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[372]", + "element-type": "372", + "meta-type": "array" + }, + { + "name": "372", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "type", + "type": "479" + }, + { + "name": "help", + "default": null, + "type": "str" + }, + { + "name": "default", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "373", + "meta-type": "enum", + "values": [ + "dimm", + "nvdimm", + "virtio-pmem", + "virtio-mem" + ] + }, + { + "name": "374", + "members": [ + { + "name": "data", + "type": "480" + } + ], + "meta-type": "object" + }, + { + "name": "375", + "members": [ + { + "name": "data", + "type": "481" + } + ], + "meta-type": "object" + }, + { + "name": "376", + "members": [ + { + "name": "data", + "type": "482" + } + ], + "meta-type": "object" + }, + { + "name": "377", + "meta-type": "enum", + "values": [ + "DIMM", + "CPU" + ] + }, + { + "name": "379", + "meta-type": "enum", + "values": [ + "hyper-v", + "s390" + ] + }, + { + "name": "380", + "members": [ + { + "name": "arg1", + "type": "int" + }, + { + "name": "arg2", + "type": "int" + }, + { + "name": "arg3", + "type": "int" + }, + { + "name": "arg4", + "type": "int" + }, + { + "name": "arg5", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "381", + "members": [ + { + "name": "core", + "type": "int" + }, + { + "name": "psw-mask", + "type": "int" + }, + { + "name": "psw-addr", + "type": "int" + }, + { + "name": "reason", + "type": "483" + } + ], + "meta-type": "object" + }, + { + "name": "382", + "meta-type": "enum", + "values": [ + "active", + "disabled", + "frozen", + "locked", + "inconsistent" + ] + }, + { + "name": "[383]", + "element-type": "383", + "meta-type": "array" + }, + { + "name": "383", + "members": [ + { + "name": "interval_length", + "type": "int" + }, + { + "name": "min_rd_latency_ns", + "type": "int" + }, + { + "name": "max_rd_latency_ns", + "type": "int" + }, + { + "name": "avg_rd_latency_ns", + "type": "int" + }, + { + "name": "min_wr_latency_ns", + "type": "int" + }, + { + "name": "max_wr_latency_ns", + "type": "int" + }, + { + "name": "avg_wr_latency_ns", + "type": "int" + }, + { + "name": "min_flush_latency_ns", + "type": "int" + }, + { + "name": "max_flush_latency_ns", + "type": "int" + }, + { + "name": "avg_flush_latency_ns", + "type": "int" + }, + { + "name": "avg_rd_queue_depth", + "type": "number" + }, + { + "name": "avg_wr_queue_depth", + "type": "number" + } + ], + "meta-type": "object" + }, + { + "name": "384", + "members": [ + { + "name": "boundaries", + "type": "[int]" + }, + { + "name": "bins", + "type": "[int]" + } + ], + "meta-type": "object" + }, + { + "name": "385", + "members": [ + { + "name": "discard-nb-ok", + "type": "int" + }, + { + "name": "discard-nb-failed", + "type": "int" + }, + { + "name": "discard-bytes-ok", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "[70]", + "element-type": "70", + "meta-type": "array" + }, + { + "name": "386", + "tag": "type", + "variants": [ + { + "case": "qcow2", + "type": "485" + }, + { + "case": "vmdk", + "type": "486" + }, + { + "case": "luks", + "type": "487" + } + ], + "members": [ + { + "name": "type", + "type": "484" + } + ], + "meta-type": "object" + }, + { + "name": "387", + "meta-type": "enum", + "values": [ + "block-backend", + "block-job", + "block-driver" + ] + }, + { + "name": "[388]", + "element-type": "388", + "meta-type": "array" + }, + { + "name": "388", + "meta-type": "enum", + "values": [ + "consistent-read", + "write", + "write-unchanged", + "resize", + "graph-mod" + ] + }, + { + "name": "389", + "members": [ + { + "type": "48" + }, + { + "type": "str" + } + ], + "meta-type": "alternate" + }, + { + "name": "[390]", + "element-type": "390", + "meta-type": "array" + }, + { + "name": "390", + "members": [ + { + "name": "event", + "type": "488" + }, + { + "name": "state", + "default": null, + "type": "int" + }, + { + "name": "iotype", + "default": null, + "type": "489" + }, + { + "name": "errno", + "default": null, + "type": "int" + }, + { + "name": "sector", + "default": null, + "type": "int" + }, + { + "name": "once", + "default": null, + "type": "bool" + }, + { + "name": "immediately", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "[391]", + "element-type": "391", + "meta-type": "array" + }, + { + "name": "391", + "members": [ + { + "name": "event", + "type": "488" + }, + { + "name": "state", + "default": null, + "type": "int" + }, + { + "name": "new_state", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "392", + "meta-type": "enum", + "values": [ + "auto", + "on", + "off" + ] + }, + { + "name": "393", + "meta-type": "enum", + "values": [ + "threads", + "native", + "io_uring" + ] + }, + { + "name": "394", + "meta-type": "enum", + "values": [ + "tcp", + "iser" + ] + }, + { + "name": "395", + "meta-type": "enum", + "values": [ + "crc32c", + "none", + "crc32c-none", + "none-crc32c" + ] + }, + { + "name": "396", + "members": [ + { + "name": "type", + "type": "490" + }, + { + "name": "host", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "397", + "members": [ + { + "type": "48" + }, + { + "type": "str" + }, + { + "type": "null" + } + ], + "meta-type": "alternate" + }, + { + "name": "398", + "members": [ + { + "type": "491" + }, + { + "type": "492" + } + ], + "meta-type": "alternate" + }, + { + "name": "399", + "tag": "format", + "variants": [ + { + "case": "aes", + "type": "494" + }, + { + "case": "luks", + "type": "495" + } + ], + "members": [ + { + "name": "format", + "type": "493" + } + ], + "meta-type": "object" + }, + { + "name": "400", + "tag": "format", + "variants": [ + { + "case": "aes", + "type": "494" + } + ], + "members": [ + { + "name": "format", + "type": "496" + } + ], + "meta-type": "object" + }, + { + "name": "[389]", + "element-type": "389", + "meta-type": "array" + }, + { + "name": "401", + "meta-type": "enum", + "values": [ + "quorum", + "fifo" + ] + }, + { + "name": "[402]", + "element-type": "402", + "meta-type": "array" + }, + { + "name": "402", + "meta-type": "enum", + "values": [ + "cephx", + "none" + ] + }, + { + "name": "[403]", + "element-type": "403", + "meta-type": "array" + }, + { + "name": "403", + "members": [ + { + "name": "host", + "type": "str" + }, + { + "name": "port", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "404", + "meta-type": "enum", + "values": [ + "primary", + "secondary" + ] + }, + { + "name": "405", + "members": [ + { + "name": "host", + "type": "str" + }, + { + "name": "port", + "type": "str" + }, + { + "name": "numeric", + "default": null, + "type": "bool" + }, + { + "name": "to", + "default": null, + "type": "int" + }, + { + "name": "ipv4", + "default": null, + "type": "bool" + }, + { + "name": "ipv6", + "default": null, + "type": "bool" + }, + { + "name": "keep-alive", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "406", + "tag": "mode", + "variants": [ + { + "case": "hash", + "type": "498" + }, + { + "case": "none", + "type": "0" + }, + { + "case": "known_hosts", + "type": "0" + } + ], + "members": [ + { + "name": "mode", + "type": "497" + } + ], + "meta-type": "object" + }, + { + "name": "407", + "members": [ + { + "name": "filename", + "type": "str" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "preallocation", + "default": null, + "type": "499" + }, + { + "name": "nocow", + "default": null, + "type": "bool" + }, + { + "name": "extent-size-hint", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "408", + "members": [ + { + "name": "location", + "type": "258" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "preallocation", + "default": null, + "type": "499" + } + ], + "meta-type": "object" + }, + { + "name": "409", + "members": [ + { + "name": "key-secret", + "default": null, + "type": "str" + }, + { + "name": "cipher-alg", + "default": null, + "type": "500" + }, + { + "name": "cipher-mode", + "default": null, + "type": "501" + }, + { + "name": "ivgen-alg", + "default": null, + "type": "502" + }, + { + "name": "ivgen-hash-alg", + "default": null, + "type": "503" + }, + { + "name": "hash-alg", + "default": null, + "type": "503" + }, + { + "name": "iter-time", + "default": null, + "type": "int" + }, + { + "name": "file", + "type": "389" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "preallocation", + "default": null, + "type": "499" + } + ], + "meta-type": "object" + }, + { + "name": "410", + "members": [ + { + "name": "location", + "type": "264" + }, + { + "name": "size", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "411", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "cluster-size", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "412", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "backing-file", + "default": null, + "type": "str" + }, + { + "name": "encrypt", + "default": null, + "type": "504" + } + ], + "meta-type": "object" + }, + { + "name": "413", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "data-file", + "default": null, + "type": "389" + }, + { + "name": "data-file-raw", + "default": null, + "type": "bool" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "version", + "default": null, + "type": "505" + }, + { + "name": "backing-file", + "default": null, + "type": "str" + }, + { + "name": "backing-fmt", + "default": null, + "type": "247" + }, + { + "name": "encrypt", + "default": null, + "type": "504" + }, + { + "name": "cluster-size", + "default": null, + "type": "int" + }, + { + "name": "preallocation", + "default": null, + "type": "499" + }, + { + "name": "lazy-refcounts", + "default": null, + "type": "bool" + }, + { + "name": "refcount-bits", + "default": null, + "type": "int" + }, + { + "name": "compression-type", + "default": null, + "type": "506" + } + ], + "meta-type": "object" + }, + { + "name": "414", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "backing-file", + "default": null, + "type": "str" + }, + { + "name": "backing-fmt", + "default": null, + "type": "247" + }, + { + "name": "cluster-size", + "default": null, + "type": "int" + }, + { + "name": "table-size", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "415", + "members": [ + { + "name": "location", + "type": "272" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "cluster-size", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "416", + "members": [ + { + "name": "location", + "type": "274" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "backing-file", + "default": null, + "type": "str" + }, + { + "name": "preallocation", + "default": null, + "type": "499" + }, + { + "name": "redundancy", + "default": null, + "type": "507" + }, + { + "name": "object-size", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "417", + "members": [ + { + "name": "location", + "type": "275" + }, + { + "name": "size", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "418", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "preallocation", + "default": null, + "type": "499" + } + ], + "meta-type": "object" + }, + { + "name": "419", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "log-size", + "default": null, + "type": "int" + }, + { + "name": "block-size", + "default": null, + "type": "int" + }, + { + "name": "subformat", + "default": null, + "type": "508" + }, + { + "name": "block-state-zero", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "420", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "extents", + "default": null, + "type": "[389]" + }, + { + "name": "subformat", + "default": null, + "type": "509" + }, + { + "name": "backing-file", + "default": null, + "type": "str" + }, + { + "name": "adapter-type", + "default": null, + "type": "510" + }, + { + "name": "hwversion", + "default": null, + "type": "str" + }, + { + "name": "zeroed-grain", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "421", + "members": [ + { + "name": "file", + "type": "389" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "subformat", + "default": null, + "type": "511" + }, + { + "name": "force-size", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "422", + "members": [ + { + "name": "state", + "type": "512" + }, + { + "name": "new-secret", + "default": null, + "type": "str" + }, + { + "name": "old-secret", + "default": null, + "type": "str" + }, + { + "name": "keyslot", + "default": null, + "type": "int" + }, + { + "name": "iter-time", + "default": null, + "type": "int" + }, + { + "name": "secret", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "423", + "members": [ + { + "name": "encrypt", + "default": null, + "type": "513" + } + ], + "meta-type": "object" + }, + { + "name": "null", + "json-type": "null", + "meta-type": "builtin" + }, + { + "name": "424", + "meta-type": "enum", + "values": [ + "inet", + "unix", + "vsock", + "fd" + ] + }, + { + "name": "425", + "members": [ + { + "name": "data", + "type": "405" + } + ], + "meta-type": "object" + }, + { + "name": "426", + "members": [ + { + "name": "data", + "type": "453" + } + ], + "meta-type": "object" + }, + { + "name": "427", + "members": [ + { + "name": "data", + "type": "454" + } + ], + "meta-type": "object" + }, + { + "name": "428", + "members": [ + { + "name": "data", + "type": "441" + } + ], + "meta-type": "object" + }, + { + "name": "429", + "meta-type": "enum", + "values": [ + "file", + "serial", + "parallel", + "pipe", + "socket", + "udp", + "pty", + "null", + "mux", + "msmouse", + "wctablet", + "braille", + "testdev", + "stdio", + "console", + "spicevmc", + "spiceport", + "vc", + "ringbuf", + "memory" + ] + }, + { + "name": "430", + "members": [ + { + "name": "data", + "type": "514" + } + ], + "meta-type": "object" + }, + { + "name": "431", + "members": [ + { + "name": "data", + "type": "515" + } + ], + "meta-type": "object" + }, + { + "name": "432", + "members": [ + { + "name": "data", + "type": "516" + } + ], + "meta-type": "object" + }, + { + "name": "433", + "members": [ + { + "name": "data", + "type": "517" + } + ], + "meta-type": "object" + }, + { + "name": "434", + "members": [ + { + "name": "data", + "type": "518" + } + ], + "meta-type": "object" + }, + { + "name": "435", + "members": [ + { + "name": "data", + "type": "519" + } + ], + "meta-type": "object" + }, + { + "name": "436", + "members": [ + { + "name": "data", + "type": "520" + } + ], + "meta-type": "object" + }, + { + "name": "437", + "members": [ + { + "name": "data", + "type": "521" + } + ], + "meta-type": "object" + }, + { + "name": "438", + "members": [ + { + "name": "data", + "type": "522" + } + ], + "meta-type": "object" + }, + { + "name": "439", + "members": [ + { + "name": "data", + "type": "523" + } + ], + "meta-type": "object" + }, + { + "name": "440", + "members": [ + { + "name": "data", + "type": "524" + } + ], + "meta-type": "object" + }, + { + "name": "[441]", + "element-type": "441", + "meta-type": "array" + }, + { + "name": "441", + "members": [ + { + "name": "str", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "442", + "meta-type": "enum", + "values": [ + "passthrough", + "emulator" + ] + }, + { + "name": "443", + "members": [ + { + "name": "data", + "type": "525" + } + ], + "meta-type": "object" + }, + { + "name": "444", + "members": [ + { + "name": "data", + "type": "526" + } + ], + "meta-type": "object" + }, + { + "name": "445", + "meta-type": "enum", + "values": [ + "number", + "qcode" + ] + }, + { + "name": "446", + "members": [ + { + "name": "data", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "447", + "members": [ + { + "name": "data", + "type": "527" + } + ], + "meta-type": "object" + }, + { + "name": "448", + "meta-type": "enum", + "values": [ + "key", + "btn", + "rel", + "abs" + ] + }, + { + "name": "449", + "members": [ + { + "name": "data", + "type": "528" + } + ], + "meta-type": "object" + }, + { + "name": "450", + "members": [ + { + "name": "data", + "type": "529" + } + ], + "meta-type": "object" + }, + { + "name": "451", + "members": [ + { + "name": "data", + "type": "530" + } + ], + "meta-type": "object" + }, + { + "name": "452", + "meta-type": "enum", + "values": [ + "inet", + "unix", + "vsock", + "fd" + ] + }, + { + "name": "453", + "members": [ + { + "name": "path", + "type": "str" + }, + { + "name": "tight", + "default": null, + "type": "bool" + }, + { + "name": "abstract", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "454", + "members": [ + { + "name": "cid", + "type": "str" + }, + { + "name": "port", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "455", + "meta-type": "enum", + "values": [ + "abort", + "block-dirty-bitmap-add", + "block-dirty-bitmap-remove", + "block-dirty-bitmap-clear", + "block-dirty-bitmap-enable", + "block-dirty-bitmap-disable", + "block-dirty-bitmap-merge", + "blockdev-backup", + "blockdev-snapshot", + "blockdev-snapshot-internal-sync", + "blockdev-snapshot-sync", + "drive-backup" + ] + }, + { + "name": "456", + "members": [ + { + "name": "data", + "type": "531" + } + ], + "meta-type": "object" + }, + { + "name": "457", + "members": [ + { + "name": "data", + "type": "35" + } + ], + "meta-type": "object" + }, + { + "name": "458", + "members": [ + { + "name": "data", + "type": "36" + } + ], + "meta-type": "object" + }, + { + "name": "459", + "members": [ + { + "name": "data", + "type": "37" + } + ], + "meta-type": "object" + }, + { + "name": "460", + "members": [ + { + "name": "data", + "type": "30" + } + ], + "meta-type": "object" + }, + { + "name": "461", + "members": [ + { + "name": "data", + "type": "26" + } + ], + "meta-type": "object" + }, + { + "name": "462", + "members": [ + { + "name": "data", + "type": "68" + } + ], + "meta-type": "object" + }, + { + "name": "463", + "members": [ + { + "name": "data", + "type": "25" + } + ], + "meta-type": "object" + }, + { + "name": "464", + "members": [ + { + "name": "data", + "type": "29" + } + ], + "meta-type": "object" + }, + { + "name": "465", + "meta-type": "enum", + "values": [ + "individual", + "grouped" + ] + }, + { + "name": "466", + "meta-type": "enum", + "values": [ + "string", + "number", + "int", + "boolean", + "null", + "object", + "array", + "value" + ] + }, + { + "name": "[467]", + "element-type": "467", + "meta-type": "array" + }, + { + "name": "467", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "type", + "type": "str" + }, + { + "name": "default", + "default": null, + "type": "any" + }, + { + "name": "features", + "default": null, + "type": "[str]" + } + ], + "meta-type": "object" + }, + { + "name": "[468]", + "element-type": "468", + "meta-type": "array" + }, + { + "name": "468", + "members": [ + { + "name": "case", + "type": "str" + }, + { + "name": "type", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "[469]", + "element-type": "469", + "meta-type": "array" + }, + { + "name": "469", + "members": [ + { + "name": "type", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "470", + "meta-type": "enum", + "values": [ + "uninitialized", + "stopped", + "check-stop", + "operating", + "load" + ] + }, + { + "name": "471", + "meta-type": "enum", + "values": [ + "memory", + "first-level", + "second-level", + "third-level" + ] + }, + { + "name": "472", + "meta-type": "enum", + "values": [ + "access-latency", + "read-latency", + "write-latency", + "access-bandwidth", + "read-bandwidth", + "write-bandwidth" + ] + }, + { + "name": "473", + "meta-type": "enum", + "values": [ + "none", + "direct", + "complex" + ] + }, + { + "name": "474", + "meta-type": "enum", + "values": [ + "none", + "write-back", + "write-through" + ] + }, + { + "name": "475", + "members": [ + { + "name": "desc", + "default": null, + "type": "str" + }, + { + "name": "class", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "476", + "members": [ + { + "name": "device", + "type": "int" + }, + { + "name": "vendor", + "type": "int" + }, + { + "name": "subsystem", + "default": null, + "type": "int" + }, + { + "name": "subsystem-vendor", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "477", + "members": [ + { + "name": "bus", + "type": "532" + }, + { + "name": "devices", + "default": null, + "type": "[370]" + } + ], + "meta-type": "object" + }, + { + "name": "[478]", + "element-type": "478", + "meta-type": "array" + }, + { + "name": "478", + "members": [ + { + "name": "bar", + "type": "int" + }, + { + "name": "type", + "type": "str" + }, + { + "name": "address", + "type": "int" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "prefetch", + "default": null, + "type": "bool" + }, + { + "name": "mem_type_64", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "479", + "meta-type": "enum", + "values": [ + "string", + "boolean", + "number", + "size" + ] + }, + { + "name": "480", + "members": [ + { + "name": "id", + "default": null, + "type": "str" + }, + { + "name": "addr", + "type": "int" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "slot", + "type": "int" + }, + { + "name": "node", + "type": "int" + }, + { + "name": "memdev", + "type": "str" + }, + { + "name": "hotplugged", + "type": "bool" + }, + { + "name": "hotpluggable", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "481", + "members": [ + { + "name": "id", + "default": null, + "type": "str" + }, + { + "name": "memaddr", + "type": "int" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "memdev", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "482", + "members": [ + { + "name": "id", + "default": null, + "type": "str" + }, + { + "name": "memaddr", + "type": "int" + }, + { + "name": "requested-size", + "type": "int" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "max-size", + "type": "int" + }, + { + "name": "block-size", + "type": "int" + }, + { + "name": "node", + "type": "int" + }, + { + "name": "memdev", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "483", + "meta-type": "enum", + "values": [ + "unknown", + "disabled-wait", + "extint-loop", + "pgmint-loop", + "opint-loop" + ] + }, + { + "name": "484", + "meta-type": "enum", + "values": [ + "qcow2", + "vmdk", + "luks" + ] + }, + { + "name": "485", + "members": [ + { + "name": "data", + "type": "533" + } + ], + "meta-type": "object" + }, + { + "name": "486", + "members": [ + { + "name": "data", + "type": "534" + } + ], + "meta-type": "object" + }, + { + "name": "487", + "members": [ + { + "name": "data", + "type": "535" + } + ], + "meta-type": "object" + }, + { + "name": "488", + "meta-type": "enum", + "values": [ + "l1_update", + "l1_grow_alloc_table", + "l1_grow_write_table", + "l1_grow_activate_table", + "l2_load", + "l2_update", + "l2_update_compressed", + "l2_alloc_cow_read", + "l2_alloc_write", + "read_aio", + "read_backing_aio", + "read_compressed", + "write_aio", + "write_compressed", + "vmstate_load", + "vmstate_save", + "cow_read", + "cow_write", + "reftable_load", + "reftable_grow", + "reftable_update", + "refblock_load", + "refblock_update", + "refblock_update_part", + "refblock_alloc", + "refblock_alloc_hookup", + "refblock_alloc_write", + "refblock_alloc_write_blocks", + "refblock_alloc_write_table", + "refblock_alloc_switch_table", + "cluster_alloc", + "cluster_alloc_bytes", + "cluster_free", + "flush_to_os", + "flush_to_disk", + "pwritev_rmw_head", + "pwritev_rmw_after_head", + "pwritev_rmw_tail", + "pwritev_rmw_after_tail", + "pwritev", + "pwritev_zero", + "pwritev_done", + "empty_image_prepare", + "l1_shrink_write_table", + "l1_shrink_free_l2_clusters", + "cor_write", + "cluster_alloc_space", + "none" + ] + }, + { + "name": "489", + "meta-type": "enum", + "values": [ + "read", + "write", + "write-zeroes", + "discard", + "flush", + "block-status" + ] + }, + { + "name": "490", + "meta-type": "enum", + "values": [ + "inet" + ] + }, + { + "name": "491", + "members": [ + { + "name": "template", + "default": null, + "type": "492" + }, + { + "name": "main-header", + "default": null, + "type": "bool" + }, + { + "name": "active-l1", + "default": null, + "type": "bool" + }, + { + "name": "active-l2", + "default": null, + "type": "bool" + }, + { + "name": "refcount-table", + "default": null, + "type": "bool" + }, + { + "name": "refcount-block", + "default": null, + "type": "bool" + }, + { + "name": "snapshot-table", + "default": null, + "type": "bool" + }, + { + "name": "inactive-l1", + "default": null, + "type": "bool" + }, + { + "name": "inactive-l2", + "default": null, + "type": "bool" + }, + { + "name": "bitmap-directory", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "492", + "meta-type": "enum", + "values": [ + "none", + "constant", + "cached", + "all" + ] + }, + { + "name": "493", + "meta-type": "enum", + "values": [ + "aes", + "luks" + ] + }, + { + "name": "494", + "members": [ + { + "name": "key-secret", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "495", + "members": [ + { + "name": "key-secret", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "496", + "meta-type": "enum", + "values": [ + "aes" + ] + }, + { + "name": "497", + "meta-type": "enum", + "values": [ + "none", + "hash", + "known_hosts" + ] + }, + { + "name": "498", + "members": [ + { + "name": "type", + "type": "536" + }, + { + "name": "hash", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "499", + "meta-type": "enum", + "values": [ + "off", + "metadata", + "falloc", + "full" + ] + }, + { + "name": "500", + "meta-type": "enum", + "values": [ + "aes-128", + "aes-192", + "aes-256", + "des-rfb", + "3des", + "cast5-128", + "serpent-128", + "serpent-192", + "serpent-256", + "twofish-128", + "twofish-192", + "twofish-256" + ] + }, + { + "name": "501", + "meta-type": "enum", + "values": [ + "ecb", + "cbc", + "xts", + "ctr" + ] + }, + { + "name": "502", + "meta-type": "enum", + "values": [ + "plain", + "plain64", + "essiv" + ] + }, + { + "name": "503", + "meta-type": "enum", + "values": [ + "md5", + "sha1", + "sha224", + "sha256", + "sha384", + "sha512", + "ripemd160" + ] + }, + { + "name": "504", + "tag": "format", + "variants": [ + { + "case": "qcow", + "type": "494" + }, + { + "case": "luks", + "type": "538" + } + ], + "members": [ + { + "name": "format", + "type": "537" + } + ], + "meta-type": "object" + }, + { + "name": "505", + "meta-type": "enum", + "values": [ + "v2", + "v3" + ] + }, + { + "name": "506", + "meta-type": "enum", + "values": [ + "zlib", + "zstd" + ] + }, + { + "name": "507", + "tag": "type", + "variants": [ + { + "case": "full", + "type": "540" + }, + { + "case": "erasure-coded", + "type": "541" + } + ], + "members": [ + { + "name": "type", + "type": "539" + } + ], + "meta-type": "object" + }, + { + "name": "508", + "meta-type": "enum", + "values": [ + "dynamic", + "fixed" + ] + }, + { + "name": "509", + "meta-type": "enum", + "values": [ + "monolithicSparse", + "monolithicFlat", + "twoGbMaxExtentSparse", + "twoGbMaxExtentFlat", + "streamOptimized" + ] + }, + { + "name": "510", + "meta-type": "enum", + "values": [ + "ide", + "buslogic", + "lsilogic", + "legacyESX" + ] + }, + { + "name": "511", + "meta-type": "enum", + "values": [ + "dynamic", + "fixed" + ] + }, + { + "name": "512", + "meta-type": "enum", + "values": [ + "active", + "inactive" + ] + }, + { + "name": "513", + "tag": "format", + "variants": [ + { + "case": "luks", + "type": "542" + }, + { + "case": "qcow", + "type": "0" + } + ], + "members": [ + { + "name": "format", + "type": "537" + } + ], + "meta-type": "object" + }, + { + "name": "514", + "members": [ + { + "name": "logfile", + "default": null, + "type": "str" + }, + { + "name": "logappend", + "default": null, + "type": "bool" + }, + { + "name": "in", + "default": null, + "type": "str" + }, + { + "name": "out", + "type": "str" + }, + { + "name": "append", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "515", + "members": [ + { + "name": "logfile", + "default": null, + "type": "str" + }, + { + "name": "logappend", + "default": null, + "type": "bool" + }, + { + "name": "device", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "516", + "members": [ + { + "name": "logfile", + "default": null, + "type": "str" + }, + { + "name": "logappend", + "default": null, + "type": "bool" + }, + { + "name": "addr", + "type": "284" + }, + { + "name": "tls-creds", + "default": null, + "type": "str" + }, + { + "name": "tls-authz", + "default": null, + "type": "str" + }, + { + "name": "server", + "default": null, + "type": "bool" + }, + { + "name": "wait", + "default": null, + "type": "bool" + }, + { + "name": "nodelay", + "default": null, + "type": "bool" + }, + { + "name": "telnet", + "default": null, + "type": "bool" + }, + { + "name": "tn3270", + "default": null, + "type": "bool" + }, + { + "name": "websocket", + "default": null, + "type": "bool" + }, + { + "name": "reconnect", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "517", + "members": [ + { + "name": "logfile", + "default": null, + "type": "str" + }, + { + "name": "logappend", + "default": null, + "type": "bool" + }, + { + "name": "remote", + "type": "284" + }, + { + "name": "local", + "default": null, + "type": "284" + } + ], + "meta-type": "object" + }, + { + "name": "518", + "members": [ + { + "name": "logfile", + "default": null, + "type": "str" + }, + { + "name": "logappend", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "519", + "members": [ + { + "name": "logfile", + "default": null, + "type": "str" + }, + { + "name": "logappend", + "default": null, + "type": "bool" + }, + { + "name": "chardev", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "520", + "members": [ + { + "name": "logfile", + "default": null, + "type": "str" + }, + { + "name": "logappend", + "default": null, + "type": "bool" + }, + { + "name": "signal", + "default": null, + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "521", + "members": [ + { + "name": "logfile", + "default": null, + "type": "str" + }, + { + "name": "logappend", + "default": null, + "type": "bool" + }, + { + "name": "type", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "522", + "members": [ + { + "name": "logfile", + "default": null, + "type": "str" + }, + { + "name": "logappend", + "default": null, + "type": "bool" + }, + { + "name": "fqdn", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "523", + "members": [ + { + "name": "logfile", + "default": null, + "type": "str" + }, + { + "name": "logappend", + "default": null, + "type": "bool" + }, + { + "name": "width", + "default": null, + "type": "int" + }, + { + "name": "height", + "default": null, + "type": "int" + }, + { + "name": "cols", + "default": null, + "type": "int" + }, + { + "name": "rows", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "524", + "members": [ + { + "name": "logfile", + "default": null, + "type": "str" + }, + { + "name": "logappend", + "default": null, + "type": "bool" + }, + { + "name": "size", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "525", + "members": [ + { + "name": "path", + "default": null, + "type": "str" + }, + { + "name": "cancel-path", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "526", + "members": [ + { + "name": "chardev", + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "527", + "meta-type": "enum", + "values": [ + "unmapped", + "shift", + "shift_r", + "alt", + "alt_r", + "ctrl", + "ctrl_r", + "menu", + "esc", + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "0", + "minus", + "equal", + "backspace", + "tab", + "q", + "w", + "e", + "r", + "t", + "y", + "u", + "i", + "o", + "p", + "bracket_left", + "bracket_right", + "ret", + "a", + "s", + "d", + "f", + "g", + "h", + "j", + "k", + "l", + "semicolon", + "apostrophe", + "grave_accent", + "backslash", + "z", + "x", + "c", + "v", + "b", + "n", + "m", + "comma", + "dot", + "slash", + "asterisk", + "spc", + "caps_lock", + "f1", + "f2", + "f3", + "f4", + "f5", + "f6", + "f7", + "f8", + "f9", + "f10", + "num_lock", + "scroll_lock", + "kp_divide", + "kp_multiply", + "kp_subtract", + "kp_add", + "kp_enter", + "kp_decimal", + "sysrq", + "kp_0", + "kp_1", + "kp_2", + "kp_3", + "kp_4", + "kp_5", + "kp_6", + "kp_7", + "kp_8", + "kp_9", + "less", + "f11", + "f12", + "print", + "home", + "pgup", + "pgdn", + "end", + "left", + "up", + "down", + "right", + "insert", + "delete", + "stop", + "again", + "props", + "undo", + "front", + "copy", + "open", + "paste", + "find", + "cut", + "lf", + "help", + "meta_l", + "meta_r", + "compose", + "pause", + "ro", + "hiragana", + "henkan", + "yen", + "muhenkan", + "katakanahiragana", + "kp_comma", + "kp_equals", + "power", + "sleep", + "wake", + "audionext", + "audioprev", + "audiostop", + "audioplay", + "audiomute", + "volumeup", + "volumedown", + "mediaselect", + "mail", + "calculator", + "computer", + "ac_home", + "ac_back", + "ac_forward", + "ac_refresh", + "ac_bookmarks" + ] + }, + { + "name": "528", + "members": [ + { + "name": "key", + "type": "321" + }, + { + "name": "down", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "529", + "members": [ + { + "name": "button", + "type": "543" + }, + { + "name": "down", + "type": "bool" + } + ], + "meta-type": "object" + }, + { + "name": "530", + "members": [ + { + "name": "axis", + "type": "544" + }, + { + "name": "value", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "531", + "members": [ + ], + "meta-type": "object" + }, + { + "name": "532", + "members": [ + { + "name": "number", + "type": "int" + }, + { + "name": "secondary", + "type": "int" + }, + { + "name": "subordinate", + "type": "int" + }, + { + "name": "io_range", + "type": "545" + }, + { + "name": "memory_range", + "type": "545" + }, + { + "name": "prefetchable_range", + "type": "545" + } + ], + "meta-type": "object" + }, + { + "name": "533", + "members": [ + { + "name": "compat", + "type": "str" + }, + { + "name": "data-file", + "default": null, + "type": "str" + }, + { + "name": "data-file-raw", + "default": null, + "type": "bool" + }, + { + "name": "lazy-refcounts", + "default": null, + "type": "bool" + }, + { + "name": "corrupt", + "default": null, + "type": "bool" + }, + { + "name": "refcount-bits", + "type": "int" + }, + { + "name": "encrypt", + "default": null, + "type": "546" + }, + { + "name": "bitmaps", + "default": null, + "type": "[547]" + }, + { + "name": "compression-type", + "type": "506" + } + ], + "meta-type": "object" + }, + { + "name": "534", + "members": [ + { + "name": "create-type", + "type": "str" + }, + { + "name": "cid", + "type": "int" + }, + { + "name": "parent-cid", + "type": "int" + }, + { + "name": "extents", + "type": "[241]" + } + ], + "meta-type": "object" + }, + { + "name": "535", + "members": [ + { + "name": "cipher-alg", + "type": "500" + }, + { + "name": "cipher-mode", + "type": "501" + }, + { + "name": "ivgen-alg", + "type": "502" + }, + { + "name": "ivgen-hash-alg", + "default": null, + "type": "503" + }, + { + "name": "hash-alg", + "type": "503" + }, + { + "name": "payload-offset", + "type": "int" + }, + { + "name": "master-key-iters", + "type": "int" + }, + { + "name": "uuid", + "type": "str" + }, + { + "name": "slots", + "type": "[548]" + } + ], + "meta-type": "object" + }, + { + "name": "536", + "meta-type": "enum", + "values": [ + "md5", + "sha1" + ] + }, + { + "name": "537", + "meta-type": "enum", + "values": [ + "qcow", + "luks" + ] + }, + { + "name": "538", + "members": [ + { + "name": "key-secret", + "default": null, + "type": "str" + }, + { + "name": "cipher-alg", + "default": null, + "type": "500" + }, + { + "name": "cipher-mode", + "default": null, + "type": "501" + }, + { + "name": "ivgen-alg", + "default": null, + "type": "502" + }, + { + "name": "ivgen-hash-alg", + "default": null, + "type": "503" + }, + { + "name": "hash-alg", + "default": null, + "type": "503" + }, + { + "name": "iter-time", + "default": null, + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "539", + "meta-type": "enum", + "values": [ + "full", + "erasure-coded" + ] + }, + { + "name": "540", + "members": [ + { + "name": "copies", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "541", + "members": [ + { + "name": "data-strips", + "type": "int" + }, + { + "name": "parity-strips", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "542", + "members": [ + { + "name": "state", + "type": "512" + }, + { + "name": "new-secret", + "default": null, + "type": "str" + }, + { + "name": "old-secret", + "default": null, + "type": "str" + }, + { + "name": "keyslot", + "default": null, + "type": "int" + }, + { + "name": "iter-time", + "default": null, + "type": "int" + }, + { + "name": "secret", + "default": null, + "type": "str" + } + ], + "meta-type": "object" + }, + { + "name": "543", + "meta-type": "enum", + "values": [ + "left", + "middle", + "right", + "wheel-up", + "wheel-down", + "side", + "extra" + ] + }, + { + "name": "544", + "meta-type": "enum", + "values": [ + "x", + "y" + ] + }, + { + "name": "545", + "members": [ + { + "name": "base", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "546", + "tag": "format", + "variants": [ + { + "case": "luks", + "type": "535" + }, + { + "case": "aes", + "type": "0" + } + ], + "members": [ + { + "name": "format", + "type": "493" + } + ], + "meta-type": "object" + }, + { + "name": "[547]", + "element-type": "547", + "meta-type": "array" + }, + { + "name": "547", + "members": [ + { + "name": "name", + "type": "str" + }, + { + "name": "granularity", + "type": "int" + }, + { + "name": "flags", + "type": "[549]" + } + ], + "meta-type": "object" + }, + { + "name": "[241]", + "element-type": "241", + "meta-type": "array" + }, + { + "name": "[548]", + "element-type": "548", + "meta-type": "array" + }, + { + "name": "548", + "members": [ + { + "name": "active", + "type": "bool" + }, + { + "name": "iters", + "default": null, + "type": "int" + }, + { + "name": "stripes", + "default": null, + "type": "int" + }, + { + "name": "key-offset", + "type": "int" + } + ], + "meta-type": "object" + }, + { + "name": "[549]", + "element-type": "549", + "meta-type": "array" + }, + { + "name": "549", + "meta-type": "enum", + "values": [ + "in-use", + "auto" + ] + } + ], + "id": "libvirt-27" +} diff --git a/tests/qemucapabilitiesdata/caps_5.1.0.sparc.xml b/tests/qemuca= pabilitiesdata/caps_5.1.0.sparc.xml new file mode 100644 index 0000000000..a293437850 --- /dev/null +++ b/tests/qemucapabilitiesdata/caps_5.1.0.sparc.xml @@ -0,0 +1,133 @@ + + /usr/bin/qemu-system-sparc + 0 + 0 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5001000 + 0 + 0 + qemu-5.1.0-5.fc33 + sparc + + + + + + + + + + + diff --git a/tests/qemucaps2xmloutdata/caps.sparc.xml b/tests/qemucaps2xmlo= utdata/caps.sparc.xml new file mode 100644 index 0000000000..9d977c4102 --- /dev/null +++ b/tests/qemucaps2xmloutdata/caps.sparc.xml @@ -0,0 +1,25 @@ + + + + + sparc + + + + + + + hvm + + 32 + /usr/bin/qemu-system-sparc + + + + + + + + + + --=20 2.28.0 From nobody Thu Apr 25 12:35:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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=1605721257; cv=none; d=zohomail.com; s=zohoarc; b=Fkzz/kbFeCVqZrHS8am1z8S4UvASO24yRSH/7G6H4O9RCOCOzdnQWNtmLDinkrlbp5vrOa/KFYKvsr/tWPaJVS95VSOpZ/9Lyrwva+Co+sdoQUm6dATusWgIy7KE8Xi612tH3gcFsPn1fPQJ81LAXUQrMIIfCvvVXuj+ZNxBTts= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605721257; 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=wcmdQ0zkjWmYgoSnGvNN7zlURd3ngkm+dX0Dr34Cdvg=; b=WhGPA9WJbrJPJnrpnNI55CEE5TiyfOCml2Cx2ZEgwpX4OJ24B2Mab5Ep8nqZ2v8jvA9qxrQgCZPC81o/i+mkV36FnZCzYREBAe3VyrWFV1ZmMy1iffpMzFmSINkUaAH6UVUiGPfQTYlFist922I+xPrf4GxbYIVl7ret2I2goA0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1605721257613467.81931718214514; Wed, 18 Nov 2020 09:40:57 -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-586-MRphp72_Ouu2LBhV4ezY6g-1; Wed, 18 Nov 2020 12:40:54 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9668C8730A8; Wed, 18 Nov 2020 17:40:48 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 20BE5610AF; Wed, 18 Nov 2020 17:40:48 +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 DC2981809CA4; Wed, 18 Nov 2020 17:40:47 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AIHekmt004679 for ; Wed, 18 Nov 2020 12:40:46 -0500 Received: by smtp.corp.redhat.com (Postfix) id 0622416E38; Wed, 18 Nov 2020 17:40:46 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-115-41.ams2.redhat.com [10.36.115.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 371C61A268; Wed, 18 Nov 2020 17:40:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605721256; 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=wcmdQ0zkjWmYgoSnGvNN7zlURd3ngkm+dX0Dr34Cdvg=; b=DFHeswpqOUnrvQq16MHaX0JMPW/BmBGX4eqeiDf5AUmNU6RY7BjuBmey0Mfyp8kMiLY0+C 0TDChRaTWw1MoC/mhMrwfFFqAZAbpLbJcHPUHUiYN+i0NIcH3C5y+yPpvKTNeUrri/JuoO bmwEEvlNYXvmZ30/9KcOF5usIg75564= X-MC-Unique: MRphp72_Ouu2LBhV4ezY6g-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 09/10] tests: define QEMU driver capabilities for sparc architecture Date: Wed, 18 Nov 2020 17:39:52 +0000 Message-Id: <20201118173953.576417-10-berrange@redhat.com> In-Reply-To: <20201118173953.576417-1-berrange@redhat.com> References: <20201118173953.576417-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Daniel Henrique Barboza --- tests/testutilsqemu.c | 62 ++++++++++++++++++++++++++----------------- 1 file changed, 37 insertions(+), 25 deletions(-) diff --git a/tests/testutilsqemu.c b/tests/testutilsqemu.c index 23a9777fd8..906fdf5c1a 100644 --- a/tests/testutilsqemu.c +++ b/tests/testutilsqemu.c @@ -31,7 +31,8 @@ static const char *qemu_emulators[VIR_ARCH_LAST] =3D { [VIR_ARCH_PPC] =3D "/usr/bin/qemu-system-ppc", [VIR_ARCH_RISCV32] =3D "/usr/bin/qemu-system-riscv32", [VIR_ARCH_RISCV64] =3D "/usr/bin/qemu-system-riscv64", - [VIR_ARCH_S390X] =3D "/usr/bin/qemu-system-s390x" + [VIR_ARCH_S390X] =3D "/usr/bin/qemu-system-s390x", + [VIR_ARCH_SPARC] =3D "/usr/bin/qemu-system-sparc", }; =20 static const virArch arch_alias[VIR_ARCH_LAST] =3D { @@ -74,6 +75,11 @@ static const char *const riscv64_machines[] =3D { static const char *const s390x_machines[] =3D { "s390-virtio", "s390-ccw-virtio", "s390-ccw", NULL }; +static const char *const sparc_machines[] =3D { + "SS-5", "LX", "SPARCClassic", "SPARCbook", + "SS-10", "SS-20", "SS-4", "SS-600MP", + "Voyager", "leon3_generic", NULL +}; =20 static const char *const *qemu_machines[VIR_ARCH_LAST] =3D { [VIR_ARCH_I686] =3D i386_machines, @@ -85,6 +91,7 @@ static const char *const *qemu_machines[VIR_ARCH_LAST] = =3D { [VIR_ARCH_RISCV32] =3D riscv32_machines, [VIR_ARCH_RISCV64] =3D riscv64_machines, [VIR_ARCH_S390X] =3D s390x_machines, + [VIR_ARCH_SPARC] =3D sparc_machines, }; =20 static const char *const *kvm_machines[VIR_ARCH_LAST] =3D { @@ -106,7 +113,8 @@ static const char *qemu_default_ram_id[VIR_ARCH_LAST] = =3D { [VIR_ARCH_ARMV7L] =3D "vexpress.highmem", [VIR_ARCH_PPC64] =3D "ppc_spapr.ram", [VIR_ARCH_PPC] =3D "ppc_spapr.ram", - [VIR_ARCH_S390X] =3D "s390.ram" + [VIR_ARCH_S390X] =3D "s390.ram", + [VIR_ARCH_SPARC] =3D "sun4m.ram", }; =20 char * @@ -181,19 +189,21 @@ testQemuAddGuest(virCapsPtr caps, NULL)) goto error; =20 - nmachines =3D g_strv_length((char **)kvm_machines[emu_arch]); - machines =3D virCapabilitiesAllocMachines(kvm_machines[emu_arch], - nmachines); - if (machines =3D=3D NULL) - goto error; + if (kvm_machines[emu_arch] !=3D NULL) { + nmachines =3D g_strv_length((char **)kvm_machines[emu_arch]); + machines =3D virCapabilitiesAllocMachines(kvm_machines[emu_arch], + nmachines); + if (machines =3D=3D NULL) + goto error; =20 - if (!virCapabilitiesAddGuestDomain(guest, - VIR_DOMAIN_VIRT_KVM, - qemu_emulators[emu_arch], - NULL, - nmachines, - machines)) - goto error; + if (!virCapabilitiesAddGuestDomain(guest, + VIR_DOMAIN_VIRT_KVM, + qemu_emulators[emu_arch], + NULL, + nmachines, + machines)) + goto error; + } =20 return 0; =20 @@ -363,18 +373,20 @@ int qemuTestCapsCacheInsert(virFileCachePtr cache, defaultRAMid); virQEMUCapsSet(tmpCaps, QEMU_CAPS_TCG); } - for (j =3D 0; kvm_machines[i][j] !=3D NULL; j++) { - virQEMUCapsAddMachine(tmpCaps, - VIR_DOMAIN_VIRT_KVM, - kvm_machines[i][j], - NULL, - NULL, - 0, - false, + if (kvm_machines[i] !=3D NULL) { + for (j =3D 0; kvm_machines[i][j] !=3D NULL; j++) { + virQEMUCapsAddMachine(tmpCaps, + VIR_DOMAIN_VIRT_KVM, + kvm_machines[i][j], + NULL, + NULL, + 0, + false, false, - true, - defaultRAMid); - virQEMUCapsSet(tmpCaps, QEMU_CAPS_KVM); + true, + defaultRAMid); + virQEMUCapsSet(tmpCaps, QEMU_CAPS_KVM); + } } } =20 --=20 2.28.0 From nobody Thu Apr 25 12:35:19 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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=1605721331; cv=none; d=zohomail.com; s=zohoarc; b=Fvl5NcWivE4iVVoBQ/plH2FyRIqGBMxscYdzVj5vVX162N2eXzA3K0rf+N2pmDYsAIJD++9tVV4Q+fiuq9ab047UV/MyQQX+ORJadAZerIGOo9c3VvcPVAXhJQKa51KNBje/dJhe4QTNooiW/R13FoFoob8p+9LrxKVBtLwEu7k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605721331; 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=gDstmhVWoE17ZKYpxf1qC7X+6Nn5pXPXy665q8STnkw=; b=Gs2ldDNBkDXDdhWNiLutzROa/P8cn4BKd0b1/MxTf627oZ+lPaLgmA6fr7TJC12BpckV2X06qCVO+y2eQYMhNnHXiF1HvpeBhCNvz9DpcMKKdJ8cxLOHfs/Y+RQfcjUqVq05YlNGGO9z080dVPVHesVAnmzcmuEyVfsSvLZc50U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1605721331746814.7486884204293; Wed, 18 Nov 2020 09:42:11 -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-265-mltYEchQPDeaPbg7Z-pmig-1; Wed, 18 Nov 2020 12:40:59 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2337418C43D3; Wed, 18 Nov 2020 17:40:50 +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 EFBEC60BD9; Wed, 18 Nov 2020 17:40:49 +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 B68358C7A5; Wed, 18 Nov 2020 17:40:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AIHenRe004690 for ; Wed, 18 Nov 2020 12:40:49 -0500 Received: by smtp.corp.redhat.com (Postfix) id 0A3BC171CB; Wed, 18 Nov 2020 17:40:49 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-115-41.ams2.redhat.com [10.36.115.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7273F19482; Wed, 18 Nov 2020 17:40:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605721330; 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=gDstmhVWoE17ZKYpxf1qC7X+6Nn5pXPXy665q8STnkw=; b=hdKhsmUtbTtoBEIyrW/u5njzRZnYkL67Gq5nyoEhClHXQkw7J16bqvF68z+09NCw2PZLkc nE8u6emQUlFkkFbG/lShPiDbm1ehSEOrOCOHyHdQDZe1Ufkhe4MG/J1Uk+7dXAkj4kovuk qlPGMjOmLEqpidEDM90jDmEBtI2xG3s= X-MC-Unique: mltYEchQPDeaPbg7Z-pmig-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 10/10] tests: add minimal XML example for sparc VM Date: Wed, 18 Nov 2020 17:39:53 +0000 Message-Id: <20201118173953.576417-11-berrange@redhat.com> In-Reply-To: <20201118173953.576417-1-berrange@redhat.com> References: <20201118173953.576417-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Daniel Henrique Barboza --- tests/qemuxml2argvdata/sparc-minimal.args | 34 +++++++++++++++++++++++ tests/qemuxml2argvdata/sparc-minimal.xml | 21 ++++++++++++++ tests/qemuxml2argvtest.c | 3 ++ 3 files changed, 58 insertions(+) create mode 100644 tests/qemuxml2argvdata/sparc-minimal.args create mode 100644 tests/qemuxml2argvdata/sparc-minimal.xml diff --git a/tests/qemuxml2argvdata/sparc-minimal.args b/tests/qemuxml2argv= data/sparc-minimal.args new file mode 100644 index 0000000000..65cf99c895 --- /dev/null +++ b/tests/qemuxml2argvdata/sparc-minimal.args @@ -0,0 +1,34 @@ +LC_ALL=3DC \ +PATH=3D/bin \ +HOME=3D/tmp/lib/domain--1-redhat62sparc \ +USER=3Dtest \ +LOGNAME=3Dtest \ +XDG_DATA_HOME=3D/tmp/lib/domain--1-redhat62sparc/.local/share \ +XDG_CACHE_HOME=3D/tmp/lib/domain--1-redhat62sparc/.cache \ +XDG_CONFIG_HOME=3D/tmp/lib/domain--1-redhat62sparc/.config \ +QEMU_AUDIO_DRV=3Dnone \ +/usr/bin/qemu-system-sparc \ +-name redhat62sparc \ +-S \ +-machine SS-5,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ +-m 500 \ +-realtime mlock=3Doff \ +-smp 1,sockets=3D1,cores=3D1,threads=3D1 \ +-uuid 00010203-0405-4607-8809-0a0b0c0d0e0f \ +-display none \ +-no-user-config \ +-nodefaults \ +-chardev socket,id=3Dcharmonitor,\ +path=3D/tmp/lib/domain--1-redhat62sparc/monitor.sock,server,nowait \ +-mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ +-rtc base=3Dutc \ +-no-shutdown \ +-usb \ +-drive file=3D/home/berrange/VirtualMachines/redhat-6.2-sparc.img,format= =3Dqcow2,\ +if=3Dnone,id=3Ddrive-scsi0-0-0-0 \ +-device scsi-hd,bus=3Dscsi.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddrive= -scsi0-0-0-0,\ +id=3Dscsi0-0-0-0,bootindex=3D1 \ +-drive file=3D/home/berrange/VirtualMachines/redhat-6.2-sparc.iso,format= =3Draw,\ +if=3Dnone,id=3Ddrive-scsi0-0-0-1,readonly=3Don \ +-device scsi-cd,bus=3Dscsi.0,channel=3D0,scsi-id=3D0,lun=3D1,drive=3Ddrive= -scsi0-0-0-1,\ +id=3Dscsi0-0-0-1 diff --git a/tests/qemuxml2argvdata/sparc-minimal.xml b/tests/qemuxml2argvd= ata/sparc-minimal.xml new file mode 100644 index 0000000000..f69942020b --- /dev/null +++ b/tests/qemuxml2argvdata/sparc-minimal.xml @@ -0,0 +1,21 @@ + + redhat62sparc + 00010203-0405-4607-8809-0a0b0c0d0e0f + 500 + 1 + + hvm + + + + + + + + + + + + + + diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 174294c0f1..42d147243e 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -3161,6 +3161,9 @@ mymain(void) QEMU_CAPS_OBJECT_GPEX, QEMU_CAPS_NEC_USB_XHCI); =20 + DO_TEST("sparc-minimal", + QEMU_CAPS_SCSI_NCR53C90); + /* VM XML has invalid arch/ostype/virttype combo, but the SKIP flag * will avoid the error during parse. This will cause us to fill in * the missing machine type using the i386 binary, despite it being --=20 2.28.0