mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 23:25:24 +00:00
bhyve: fix typo in struct field accessor
This fixes a FreeBSD build error from
commit a11a0e6e84
Author: Rafael Fonseca <r4f4rfs@gmail.com>
Date: Tue Mar 24 17:14:30 2020 +0100
bhyve: move video default logic to driver
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
4257c20373
commit
0fb83c3336
@ -162,8 +162,8 @@ bhyveDomainDeviceDefPostParse(virDomainDeviceDefPtr dev,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (dev->type == VIR_DOMAIN_DEVICE_VIDEO &&
|
if (dev->type == VIR_DOMAIN_DEVICE_VIDEO &&
|
||||||
dev->data.video.type == VIR_DOMAIN_VIDEO_TYPE_DEFAULT) {
|
dev->data.video->type == VIR_DOMAIN_VIDEO_TYPE_DEFAULT) {
|
||||||
dev->data.video.type = VIR_DOMAIN_VIDEO_TYPE_GOP;
|
dev->data.video->type = VIR_DOMAIN_VIDEO_TYPE_GOP;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user