We were mistakenly skipping virZPCIDeviceAddressIsEmpty() and
virZPCIDeviceAddressIsValid() when compiling on non-Linux,
which unsurprisingly ended up causing linking failures later
in the build process.
Clue-stick-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
return ret;
}
-#ifdef __linux__
bool
virZPCIDeviceAddressIsValid(virZPCIDeviceAddressPtr zpci)
return !(addr->uid || addr->fid);
}
+#ifdef __linux__
/*
* returns true if equal