]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
vPCI: fix test harness build
authorJan Beulich <jbeulich@suse.com>
Wed, 31 May 2023 14:04:30 +0000 (16:04 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 31 May 2023 14:04:30 +0000 (16:04 +0200)
The earlier commit introduced two uses of is_hardware_domain().

Fixes: 465217b0f872 ("vPCI: account for hidden devices")
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
tools/tests/vpci/emul.h

index 8c5bcadd5fef8ba52c7cb3869f09439f3ddb2c63..3c2f66a18f13cab25442cf8f26669d9847065d6b 100644 (file)
@@ -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)))