From patchwork Tue Jul 24 21:23:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 142822 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp55706ljj; Tue, 24 Jul 2018 14:23:56 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcjqTMSlfV4Z3BN3wyyWXkiq+MYpcYGat4Wf6cLjBSe+dgj9aNVp5WE0tB+TiqBZXkH9AIX X-Received: by 2002:a37:15aa:: with SMTP id 42-v6mr17400421qkv.428.1532467436425; Tue, 24 Jul 2018 14:23:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532467436; cv=none; d=google.com; s=arc-20160816; b=P3VhjD8Kyd7oJ+XhP7nBmL//Nj4RDkLpEkp8lvOBOduFmAXpWq6ABKRHVmRmqiWoT0 HqaLCEE87Y/NiIeNNbnpEolDGlofAJ7zBAzrb/Q1Ec/JRTCD8uFXRZLfOk2jGp34AgqH 4F5e89JcCizrArkCq5zDGQlkMQy2ttCTl8x+vTUOWS6NMtaDCUg/MW3BaJ/wogwqGxcm TMxqgH8tCBF1sF8AOCjwTMmWOI1zibWtASo9q7i3s9OGszHI8UsYAD1Tx1hkgpNReEo/ J3VQq7aybzsCTmn5lgQDmvoFcu1uRaVfcQkEU8yCwKVhkmN10YAZmYICp5IP9TGqVg6Z 5mfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:delivered-to :arc-authentication-results; bh=xwa1aPeizsNBInOTYTVJNrNdzrCd4pr6ECPkLADkam4=; b=WkS9NGwOjHD8L6LUwyU/wMjxzEa3/U1mbdPKUU1Ix5Ml5ISXhYeLzEX/rYXTb9T5Zu m2dMcqwRXajUlrc597J8DFbDEn0Pe6NJ/j+k2DfQVHjZVP3NIceeVRKXCXAbDb/mUOvo R6Z9Q9TKh18GfbwNxOnQ0Q7x6MxNR9+Y/aPgdXkbRO1NlseN4vC1TwS0UppFenc5uzuK c47vzitpzsddlk0nTLBIVT7gqE0n0J+fIU3Gg3H4VbSGhUIzkY3NRyWfX4/wc1QMnp+y xRRGtgmASazbnRAYIiJECi7TyNGqjaKifyxlSJFa52085/yAH43XbjFvklzMK33cpvio N2/g== 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 r13-v6si8710774qvr.217.2018.07.24.14.23.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jul 2018 14:23:56 -0700 (PDT) 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-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A86EE369CE; Tue, 24 Jul 2018 21:23:54 +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 719113001A5F; Tue, 24 Jul 2018 21:23:54 +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 80BB41800B6A; Tue, 24 Jul 2018 21:23:53 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w6OLNpMk018716 for ; Tue, 24 Jul 2018 17:23:51 -0400 Received: by smtp.corp.redhat.com (Postfix) id 3A7A52026DFD; Tue, 24 Jul 2018 21:23:51 +0000 (UTC) Delivered-To: libvirt-list@redhat.com Received: from worklaptop.bos.redhat.com (wlan-196-187.bos.redhat.com [10.16.196.187]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1C6392026D68; Tue, 24 Jul 2018 21:23:51 +0000 (UTC) From: Cole Robinson To: libvirt-list@redhat.com Date: Tue, 24 Jul 2018 17:23:41 -0400 Message-Id: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 0/7] conf: Replace SKIP_OSTYPE with SKIP_VALIDATE 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: , MIME-Version: 1.0 Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 24 Jul 2018 21:23:55 +0000 (UTC) The SKIP_OSTYPE domain parse flag is largely redundant nowadays since we have SKIP_VALIDATE. This series smoothes out some of the SKIP_OSTYPE weirdness so we can drop it Cole Robinson (7): conf: Break out virDomainDefParseCaps conf: Clean up virDomainDefParseCaps tests: qemuhotplug: Fix segfault when XML loading fails conf: Drop unneccessary caps parsing logic conf: Sync caps data even when SKIP_OSTYPE_CHECKS tests: Remove redundant lxc test conf: Replace SKIP_OSTYPE_CHECKS with SKIP_VALIDATE src/conf/domain_conf.c | 175 +++++++++++---------- src/conf/domain_conf.h | 13 +- src/conf/snapshot_conf.c | 2 - src/conf/virdomainobjlist.c | 2 - tests/lxcxml2xmltest.c | 2 - tests/qemuhotplugtest.c | 2 + tests/qemuxml2argvdata/missing-machine.xml | 2 +- tests/qemuxml2argvtest.c | 5 +- tests/qemuxml2xmltest.c | 1 - tests/testutils.c | 13 +- tests/testutilsqemu.c | 18 +++ tests/vircapstest.c | 2 - 12 files changed, 132 insertions(+), 105 deletions(-) -- 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list