[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] vPCI: fix test harness build


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 31 May 2023 15:19:56 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wSlSXBqwCEB3zRwV6lgVr1HsRYwYeKUKlwNXh+OiKo0=; b=Q4lBs4RuflhHm4j3SiyBPesSAzEjNnSwy46UwIfgY9+Buimzfvs1ZgxMg6oDcK/S3KtQBcGbKNuz+du30E8u+RHBXRyMsSZA9HSndOUSTC/2WctV1ozBemOkiDnCTJCgPeHhJNtMGytqd18VZGD20C2k1iiRO3GFPBFHY3cIDoWNLcUxQ4QNXUyKFVaw/nrHaRamDNOTHUsQpF2OXcM0D9Ft3JnlUSD17NkXjZgJ3VSEx3mc/cD2Th5Pow1Cl2r8V1KlJmkvE989KHtKUPUFJwM0pyY4SrLiV9rPNmjQzUEyAN980cuXLRHaQrTk6UJ3cXp0mRDhtYM1axxT1GjWSw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VOEkwWIkl5LJlW2bZEPwYu2vTAAokFWLf+PRGCcrAKn+JOZJWy61zj/wYZQrGb733F3XMIuep1QDRbRNoqAMtUWz7fZIbO4IEIY+SnMlC45QttrQzGAih++4WEuaACj6/Fy8SI69Jbnif4F3NspdIR6RIF2OPgCmGoP6wJDIyMwOukrGM5rw8XVUSCmWdk/1ffb/K4wFeCC1zq9tcBYPuqJ3yDwJnEtF4okfhsMMx2uyosBdQBfJ3jc4piXZrRRCVtIKyDbTRol8o3OJa5zN8f2r5ekx23M5OtYyTi80Nij6Mu7R3stPoi2vteE+S3eoX9qU6qc4RCkDSCzfrIm7nw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Wed, 31 May 2023 13:20:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

The earlier commit introduced two uses of is_hardware_domain().

Fixes: 465217b0f872 ("vPCI: account for hidden devices")
Reported-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/tools/tests/vpci/emul.h
+++ b/tools/tests/vpci/emul.h
@@ -82,6 +82,8 @@ typedef union {
 
 #define __hwdom_init
 
+#define is_hardware_domain(d) ((void)(d), false)
+
 #define has_vpci(d) true
 
 #define xzalloc(type) ((type *)calloc(1, sizeof(type)))




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.