From: Marc-André Lureau <marcandre.lureau(a)redhat.com>
It's a virtio device, like virtio-gpu.
Signed-off-by: Marc-André Lureau <marcandre.lureau(a)redhat.com>
---
src/qemu/qemu_domain_address.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_domain_address.c b/src/qemu/qemu_domain_address.c
index df98d7384f..476ee2d4a5 100644
--- a/src/qemu/qemu_domain_address.c
+++ b/src/qemu/qemu_domain_address.c
@@ -329,7 +329,8 @@ qemuDomainPrimeVirtioDeviceAddresses(virDomainDefPtr def,
virDomainVideoDefPtr video = def->videos[i];
if (video->info.type == VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE &&
- video->type == VIR_DOMAIN_VIDEO_TYPE_VIRTIO)
+ (video->type == VIR_DOMAIN_VIDEO_TYPE_VIRTIO ||
+ video->type == VIR_DOMAIN_VIDEO_TYPE_VHOST_USER))
video->info.type = type;
}
--
2.18.0.129.ge3331758f1