mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-08 16:54:49 +00:00
vz: pass pointer to vz capabilities
This fixes commit 4a4132b462
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
eb2952c0f5
commit
92fdbaf97a
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user