diff --git a/src/bhyve/bhyve_domain.c b/src/bhyve/bhyve_domain.c index a2a0619846cea491c43c8bf309ac217584ae64d1..40ee461b19eb3afd7c0866398e36f61fcdfb0f2a 100644 --- a/src/bhyve/bhyve_domain.c +++ b/src/bhyve/bhyve_domain.c @@ -161,6 +161,11 @@ bhyveDomainDeviceDefPostParse(virDomainDeviceDefPtr dev, } } + if (dev->type == VIR_DOMAIN_DEVICE_VIDEO && + dev->data.video.type == VIR_DOMAIN_VIDEO_TYPE_DEFAULT) { + dev->data.video.type = VIR_DOMAIN_VIDEO_TYPE_GOP; + } + return 0; } diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index a88a5a744e1df1cd74727ac85696ad71d07e9f3d..957989e8483c7d8edb5a7a2621ad9ffb501d6b3b 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -15738,7 +15738,6 @@ virDomainVideoDefaultType(const virDomainDef *def) else return VIR_DOMAIN_VIDEO_TYPE_PARALLELS; case VIR_DOMAIN_VIRT_BHYVE: - return VIR_DOMAIN_VIDEO_TYPE_GOP; case VIR_DOMAIN_VIRT_QEMU: case VIR_DOMAIN_VIRT_KQEMU: case VIR_DOMAIN_VIRT_KVM: