From nobody Sun May 5 12:35:55 2024 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 ARC-Seal: i=1; a=rsa-sha256; t=1563517896; cv=none; d=zoho.com; s=zohoarc; b=b0gT6fEAbQpeDc6evypKD6yWx9e2eN7377k+qIVrJE77ojP3bjJdv7nJIZGovUtHJK/ZUibPc9huw9QX5Yp9y3R8zyxemV6wV0Og7gDkEoGoKtuL4wo+g1GT58TekmQKGZBeNVLvfUZtDKOw8bUwVRNM0iqbPtlOOEk18sjua2U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563517896; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=F428dkLwnLFpP4vDNp+bEzz0Oh8b/+3qN/i7+FKu5iA=; b=TKq8Fw+e8XI/VcCPS/eBPmPWxAYzzbkoI3FfQIS1EfIv296AEY+07tlRwfUxUl+gbT7hXmHsWBWYdOl8K+QECu828Rx9D32kCY5Aphzp9+EVD7wu6jMxNe/hocwp19Vn9UeQO+cdRp8/pMaHSXXF1JntKVu2+04XKYepPotqsug= ARC-Authentication-Results: i=1; mx.zoho.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 header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1563517896334280.06011008473774; Thu, 18 Jul 2019 23:31:36 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 56A7D3092677; Fri, 19 Jul 2019 06:31:33 +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 83F4D19C77; Fri, 19 Jul 2019 06:31:31 +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 0CE4C4E58F; Fri, 19 Jul 2019 06:31:28 +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 x6J6UiXS011877 for ; Fri, 19 Jul 2019 02:30:45 -0400 Received: by smtp.corp.redhat.com (Postfix) id EE6FA5D961; Fri, 19 Jul 2019 06:30:44 +0000 (UTC) Received: from ridgehead.redhat.com (ovpn-200-23.brq.redhat.com [10.40.200.23]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2E7345DA38; Fri, 19 Jul 2019 06:30:41 +0000 (UTC) From: Erik Skultety To: libvir-list@redhat.com Date: Fri, 19 Jul 2019 08:30:34 +0200 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Cc: Erik Skultety Subject: [libvirt] [PATCH] util: Fix broken MinGW builds caused by commit 9bc01ad8 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.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Fri, 19 Jul 2019 06:31:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" virPCIGetSysfsFile is conditionally compiled only on Linux platforms. Signed-off-by: Erik Skultety --- Pushed under the build breaker rule. src/util/virpci.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/util/virpci.c b/src/util/virpci.c index 75e8daadd5..ae3a0fa886 100644 --- a/src/util/virpci.c +++ b/src/util/virpci.c @@ -3099,6 +3099,14 @@ virPCIGetVirtualFunctionIndex(const char *pf_sysfs_d= evice_link ATTRIBUTE_UNUSED, } +int +virPCIGetSysfsFile(char *virPCIDeviceName ATTRIBUTE_UNUSED, + char **pci_sysfs_device_link ATTRIBUTE_UNUSED) +{ + virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported)); + return -1; +} + int virPCIDeviceAddressGetSysfsFile(virPCIDeviceAddressPtr dev ATTRIBUTE_UNUSE= D, char **pci_sysfs_device_link ATTRIBUTE_UNU= SED) -- 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list