From: Jan Beulich Date: Wed, 31 May 2023 14:04:30 +0000 (+0200) Subject: vPCI: fix test harness build X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=04f25e9048c375898430a58e1c570806896252cb;p=people%2Froyger%2Fxen.git vPCI: fix test harness build The earlier commit introduced two uses of is_hardware_domain(). Fixes: 465217b0f872 ("vPCI: account for hidden devices") Reported-by: Andrew Cooper Signed-off-by: Jan Beulich Acked-by: Roger Pau Monné --- diff --git a/tools/tests/vpci/emul.h b/tools/tests/vpci/emul.h index 8c5bcadd5f..3c2f66a18f 100644 --- 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)))