aboutsummaryrefslogtreecommitdiffstats
path: root/vhost_user_sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'vhost_user_sound.c')
-rw-r--r--vhost_user_sound.c3
1 files changed, 3 insertions, 0 deletions
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