From patchwork Mon Mar 18 16:43:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 160499 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp2860179jad; Mon, 18 Mar 2019 09:43:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXrc/P3RfSUaIeMGgtFp9rNnIaq7xlBHPFBtLvZzvlEyNJCdGIlQpDg+1WWe8eAC9UTgAT X-Received: by 2002:a37:9505:: with SMTP id x5mr6590516qkd.283.1552927405219; Mon, 18 Mar 2019 09:43:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552927405; cv=none; d=google.com; s=arc-20160816; b=iDX5Fke7gYAS5CxTpwyqH6uMoGtJzZclIoJbERsa9Dab6UH8mZfNsAEpl6pwjoTgLp LRre3y6Fsz1xS/xDVvYuvSoYKTDm7mggbcIwpnzw2PRsb/4okLV8LuOThqfynCpMfA4b sokYOBKc8YGNSSezo59iAMHvEaHRxuo1REy5y+QNa34drHgREmhlzzqaNlEvMFYRNIZd 1UuEup/qhynIkNRQVTULYrlkq2gr++8sSuGPjX+hFGU768Js0K93H3Ne31YubWWFHvKS rI9ftLDFDaEZrRhuPDehKcAL6czR1Uiemh/NU/0Be4YnMBkq2c83Ll1e21i0de2w72ie kzVg== 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:message-id:date:to:from:delivered-to; bh=XaZoao8epbqh/heToDaoj+jLo4lpLUnrG3NwnGQNUhQ=; b=ghjOxsk0T3nKbeWZVCOVWlY7iYEdKBcWIbl50BfJ4RNGQoOQ0paJf3QXA710HIXUJC b7MRSeyJyE11UWLnRH29vJ2uDouMs4AV5floq4ybZ8tVd9Vho1eDHXbquGCSX8hYPh79 ilJ04amCO1irah8UBmYggBKVdd0Sv9p1mJDefbNfI064oprANqyyLb7aWPXROvWK6/q+ L8Rxh+wxugva46idUOvaDYUraHOK1r4bEpEt2sy+XnqyGs3sK2AGEOPlxWIl9DiQeQ7+ chhW06nw84cRR+y0ANnnX63s8nd2xcy+lTdg/DhMY2wNpFOe/ttI3IdRHZPewjtIox2c DEtA== 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 c6si1202868qtc.307.2019.03.18.09.43.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Mar 2019 09:43:25 -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-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 mx1.redhat.com (Postfix) with ESMTPS id A17244E908; Mon, 18 Mar 2019 16:43:23 +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 5DD5E60863; Mon, 18 Mar 2019 16:43:23 +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 AD577181A12B; Mon, 18 Mar 2019 16:43:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x2IGhKkl003958 for ; Mon, 18 Mar 2019 12:43:20 -0400 Received: by smtp.corp.redhat.com (Postfix) id 07C8517D0F; Mon, 18 Mar 2019 16:43:20 +0000 (UTC) Delivered-To: libvirt-list@redhat.com Received: from worklaptop.redhat.com (ovpn-117-160.phx2.redhat.com [10.3.117.160]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8B9245DD97; Mon, 18 Mar 2019 16:43:17 +0000 (UTC) From: Cole Robinson To: libvirt-list@redhat.com Date: Mon, 18 Mar 2019 12:43:15 -0400 Message-Id: <7cd63604cf2bcf2231b6ca4ee5d29233d5caa23a.1552927373.git.crobinso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] tests: domaincapstest: Fix build on mingw 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 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 18 Mar 2019 16:43:24 +0000 (UTC) fillStringValues is only used if WITH_QEMU || WITH_BHYVE Signed-off-by: Cole Robinson --- Pushed under build break rule tests/domaincapstest.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list diff --git a/tests/domaincapstest.c b/tests/domaincapstest.c index 1aa8c023a2..2cccfbc8e2 100644 --- a/tests/domaincapstest.c +++ b/tests/domaincapstest.c @@ -24,6 +24,7 @@ #define VIR_FROM_THIS VIR_FROM_NONE +#if WITH_QEMU || WITH_BHYVE static int ATTRIBUTE_SENTINEL fillStringValues(virDomainCapsStringValuesPtr values, ...) { @@ -44,6 +45,7 @@ fillStringValues(virDomainCapsStringValuesPtr values, ...) return ret; } +#endif /* WITH_QEMU || WITH_BHYVE */ #if WITH_QEMU # include "testutilsqemu.h"