From patchwork Wed Mar 6 23:38:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 159781 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp6774779jad; Wed, 6 Mar 2019 15:38:42 -0800 (PST) X-Google-Smtp-Source: APXvYqznHPUn8bsiQPy28Dlc+gkMjKsaCJZv1FYBzmYOXcXi21IkVWqKmZLdYmoyZvaRODkw6oJE X-Received: by 2002:a0c:c541:: with SMTP id y1mr8340852qvi.97.1551915522237; Wed, 06 Mar 2019 15:38:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551915522; cv=none; d=google.com; s=arc-20160816; b=lSXZHLjsUbsY14AzXlSRgdzLhymjXVPJQXqiVn48e9O/0O0+fqsxwM8ithB5j+gZ3j 9qi1ztRKG7OXTcXNZbWCOvEcJr/c8Hmw3rwPV7kP33cEzFAeK1GZl2fZw/ju/d1s8Ilz F88Ug6OS6HnKx4gf2QzAQH5dHcm+fwsv9kKzwhx6iu+QGTO7K6sdvfcbi2ohGtIMDzIH kzkQIc6t105bKvAuRUfJkQAiXJkxdyOwNTG23RS3NbtuUAXHH+AyPD1K7PNYHznRL2r3 Lld63UsJHX1Q17S9YRWFoQ7+2AcDhe2jYKZE2PqMC9KGM5IkoZt9/dIv5RfPZsCNYeQR jwqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :delivered-to; bh=NI2/Xx08KlOZshEVVzRHVL0QjDOJeaCifLGYztyG254=; b=BiPuzQoZLGkVfp2NbGyw54uCzvPSvG+UnvFoipIlO+YVaKmQMgNotQ23xiTiC7217x UGeRDSiAojyewFiqWf8SeM74APjDGhMG4YJj91U5n+Q1LununOAIJSPNGZiBWfFcJgyf eH/roLuLZD2AIESy94EaHDJWvLOb+Owv0v5QZyVhRzfNoTAu5jvEN7qMvDJUZg0HkYMU 6W/pIKOnafBz/cNKS23NHibAdz34XSxbIhwbxlVZX0aMQuKiT7KwYHZiUKUTRbF/cDAq R9W39bYOIbP5/aAJtaFlRWk5imJw0yywZO2DIgqtedqLWZy947ect+SNtMOqWqNgIxvi 3XBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id b39si1866645qvd.203.2019.03.06.15.38.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 15:38:42 -0800 (PST) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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) Delivered-To: libvirt-list@redhat.com 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: , 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) Signed-off-by: Cole Robinson --- docs/formatdomaincaps.html.in | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list 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.

+

Some XML elements may be entirely omitted from the domaincapabilities + XML, depending on what the libvirt driver has filled in. Applications + should only act on what is explicitly reported in the domaincapabilities + XML. For example, if <disk supported='yes'/> is present, you can safely + assume the driver supports <disk> devices. If <disk supported='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> devices, and + applications should not interpret the missing block to mean any thing in + particular.

+

Element and attribute overview

A new query interface was added to the virConnect API's to retrieve the