qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] virtio-net and vhost-net init, virtio-scsi and vhost-scsi i


From: Catalin Vasile
Subject: [Qemu-devel] virtio-net and vhost-net init, virtio-scsi and vhost-scsi init
Date: Thu, 5 May 2016 11:05:27 +0000

When the virtio-net and virtio-scsi drivers have done the probe() primitive they set the DRIVER_OK flag.

If the vhost kernel backend is used, the set_status() primitive in qemu will be triggered with DRIVER_OK status and it will trigger vhost_XXX_start().

How does the net and scsi solutions ensure that the vhost_XXX_start() primitive has finished before sending jobs to through the virtqueues? Because if vhost_XXX_start() has not finished, jobs might get to the qemu dummy virtqueue handles, instead of getting to the vhost server in the host kernel.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]