diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 713a1cd4b5..dd3d624990 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -18453,7 +18453,8 @@ qemuConnectGetDomainCapabilities(virConnectPtr conn, cfg = virQEMUDriverGetConfig(driver); - if (qemuHostdevHostSupportsPassthroughLegacy()) + if (qemuHostdevHostSupportsPassthroughLegacy() || + qemuHostdevHostSupportsPassthroughVFIO()) virttype = VIR_DOMAIN_VIRT_KVM; else virttype = VIR_DOMAIN_VIRT_QEMU;