This fixes commit 4a4132b4625778cf80acb9c92d06351b44468ac3
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
src/vz/vz_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
index 9e8ea676e0..7b90fee378 100644
--- a/src/vz/vz_driver.c
+++ b/src/vz/vz_driver.c
@@ -292,7 +292,7 @@ vzDomainDeviceDefValidate(const virDomainDeviceDef *dev,
vzDriverPtr driver = opaque;
if (dev->type == VIR_DOMAIN_DEVICE_DISK)
- return vzCheckUnsupportedDisk(def, dev->data.disk, driver->vzCaps);
+ return vzCheckUnsupportedDisk(def, dev->data.disk, &driver->vzCaps);
else if (dev->type == VIR_DOMAIN_DEVICE_GRAPHICS)
return vzCheckUnsupportedGraphics(dev->data.graphics);
--
2.23.0