From 330a49da9ec426bd07472266916366053281b4de Mon Sep 17 00:00:00 2001 From: Michele Paolino Date: Fri, 15 Dec 2023 15:48:09 +0000 Subject: Adding virtio-console support and small sound fixes This commit adds adapter support for vhost-user-console Bug-AGL: SPEC-4834 Change-Id: I96eb95ffbf858b0ad410f49e586af0bb81b74dd2 Signed-off-by: Michele Paolino --- vhost_user_sound.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vhost_user_sound.c') diff --git a/vhost_user_sound.c b/vhost_user_sound.c index 1e4c5cf..c444feb 100644 --- a/vhost_user_sound.c +++ b/vhost_user_sound.c @@ -91,6 +91,9 @@ static void vus_start(VirtIODevice *vdev) goto err_guest_notifiers; } + /* Wait a bit before the vrings be set in vhost-user-device */ + sleep(1); + /* * guest_notifier_mask/pending not used yet, so just unmask * everything here. virtio-pci will do the right thing by -- cgit