From nobody Sat Feb 7 23:10:55 2026
Delivered-To: importer@patchew.org
Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28
as permitted sender) client-ip=209.132.183.28;
envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com;
Authentication-Results: mx.zohomail.com;
spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as
permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com;
dmarc=pass(p=none dis=none) header.from=redhat.com
Return-Path:
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by
mx.zohomail.com
with SMTPS id 1551915522565457.33721884881777;
Wed, 6 Mar 2019 15:38:42 -0800 (PST)
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 mx1.redhat.com (Postfix) with ESMTPS id 4AC6D3091753;
Wed, 6 Mar 2019 23:38:40 +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 2528A5C5FD;
Wed, 6 Mar 2019 23:38:40 +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 E06D73FA4C;
Wed, 6 Mar 2019 23:38:39 +0000 (UTC)
Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com
[10.5.11.13])
by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
id x26NccI9005935 for ;
Wed, 6 Mar 2019 18:38:38 -0500
Received: by smtp.corp.redhat.com (Postfix)
id 08C9A611C2; Wed, 6 Mar 2019 23:38:38 +0000 (UTC)
Received: from worklaptop.redhat.com (ovpn-121-104.rdu2.redhat.com
[10.10.121.104])
by smtp.corp.redhat.com (Postfix) with ESMTP id 978C5611C0;
Wed, 6 Mar 2019 23:38:37 +0000 (UTC)
From: Cole Robinson
To: libvirt-list@redhat.com
Date: Wed, 6 Mar 2019 18:38:25 -0500
Message-Id:
<7668e9c38ca1f14b9e50558becb0bc3dda28bbaf.1551914794.git.crobinso@redhat.com>
In-Reply-To:
References:
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13
X-loop: libvir-list@redhat.com
Subject: [libvirt] [PATCH v2 16/16] docs: formatdomaincaps: Describe
optional XML changes
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: ,
Content-Transfer-Encoding: quoted-printable
Sender: libvir-list-bounces@redhat.com
Errors-To: libvir-list-bounces@redhat.com
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16
X-Greylist: Sender IP whitelisted,
not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]);
Wed, 06 Mar 2019 23:38:41 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
Signed-off-by: Cole Robinson
---
docs/formatdomaincaps.html.in | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/docs/formatdomaincaps.html.in b/docs/formatdomaincaps.html.in
index ba48daab2d..2583f9bead 100644
--- a/docs/formatdomaincaps.html.in
+++ b/docs/formatdomaincaps.html.in
@@ -37,6 +37,17 @@
management application to choose an appropriate mode for a pass-through
host device as well as which adapter to utilize.
=20
+ Some XML elements may be entirely omitted from the domaincapabiliti=
es
+ XML, depending on what the libvirt driver has filled in. Applications
+ should only act on what is explicitly reported in the domaincapabiliti=
es
+ XML. For example, if <disk supported=3D'yes'/> is present, you c=
an safely
+ assume the driver supports <disk> devices. If <disk supported=
=3D'no'/> is
+ present, you can safely assume the driver does NOT support <disk>
+ devices. If the <disk> block is omitted entirely, the driver is =
not
+ indicating one way or the other whether it supports <disk> devic=
es, and
+ applications should not interpret the missing block to mean any thing =
in
+ particular.
+
=20
A new query interface was added to the virConnect API's to retriev=
e the
--=20
2.20.1
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list