From nobody Fri Apr 26 13:54:42 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 205.139.110.120 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=1571938545; cv=none; d=zoho.com; s=zohoarc; b=Ljl9KkqxyTYZCu8+Li/eUuE6fdX5x3/5rp1Q7NYLe96tUvVi2cHAuBMEphE60e+drmMb+D7BCAU3PFTof5085ZfRccbyMXO6qqqep0p5aC33IABRSvVcWUxBqu0OOgV2oaj9pvtFgyZ5WE2KROw9jLbvTvj858LFrDJDQcgth6M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571938545; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=hrsYYpK1Ulw8gym9P85bJi1KVXnTTLIg3IOqXc0TsrI=; b=j66Qx1nl2JFO2y2fTMNCrsP+3TNJ7vRvXmbfsVse2ztMaiHZJHFgfCoSZaiBTBahPflMzthMCmnFjsZdAchaoMOQMSkqZXDbh6+kfS+7rqD2Oyag4cvx9PBF7TY9WbcUrRArrdwvW/+HBuEwodnu5HCI/0zc5HSWqm3fqqmeeJk= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 205.139.110.120 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-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1571938545765256.088111348162; Thu, 24 Oct 2019 10:35:45 -0700 (PDT) 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-38-baYCriq_MWeLXhhPDkaBUg-1; Thu, 24 Oct 2019 13:35:41 -0400 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 2C83E801E5F; Thu, 24 Oct 2019 17:35:36 +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 25579100EBD8; Thu, 24 Oct 2019 17:35:33 +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 6AD1A4E58A; Thu, 24 Oct 2019 17:35:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x9OHZS8J009558 for ; Thu, 24 Oct 2019 13:35:28 -0400 Received: by smtp.corp.redhat.com (Postfix) id 7BDA25D717; Thu, 24 Oct 2019 17:35:28 +0000 (UTC) Received: from angien.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 043E35D70E for ; Thu, 24 Oct 2019 17:35:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571938544; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=hrsYYpK1Ulw8gym9P85bJi1KVXnTTLIg3IOqXc0TsrI=; b=EqPABiu7Gm0M02spQFNLDoPnLRZPwpZddIytSeSg1tZrwHWmqrKyU5IZOoBUuBnHf9ftQB 5XNdUAEQmOCPBeYhmMeYmULeLSYwokATFpTVLHTSA03jQv80hCAC3uyNzC5QO3W8QJiV7l hFyeWnHzmkIiTnRl0e64qAQZ7wydXGc= From: Peter Krempa To: libvir-list@redhat.com Date: Thu, 24 Oct 2019 19:35:24 +0200 Message-Id: <639d6e704530d12a6fb4b7244abe6825411e490d.1571938452.git.pkrempa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] tests: domaincaps: Fix build when WITH_QEMU is disabled 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 X-MC-Unique: baYCriq_MWeLXhhPDkaBUg-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" doTestQemuInternal and doTestQemu are used only when WITH_QEMU is enabled. Signed-off-by: Peter Krempa --- tests/domaincapstest.c | 5 +++++ 1 file changed, 5 insertions(+) Pushed as a fix for broken build. diff --git a/tests/domaincapstest.c b/tests/domaincapstest.c index 0197c61c8a..f77accdb76 100644 --- a/tests/domaincapstest.c +++ b/tests/domaincapstest.c @@ -266,6 +266,9 @@ test_virDomainCapsFormat(const void *opaque) return ret; } + +#if WITH_QEMU + static int doTestQemuInternal(const char *version, const char *machine, @@ -349,6 +352,8 @@ doTestQemu(const char *inputDir G_GNUC_UNUSED, return 0; } +#endif + static int mymain(void) { --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list