Re: [Qemu-devel] [virtio] when is VIRTIO_CONFIG_S_DRIVER_OK set?

2015-06-10 Thread Catalin Vasile
The problem was that my device started having activity before the backend was finished to be set up. On Wed, Jun 10, 2015 at 12:26 PM, Catalin Vasile wrote: > When is VIRTIO_CONFIG_S_DRIVER_OK set? > I've seen in vhost-scsi from qemu, that it sets it's own set_status() > member function for a vir

[Qemu-devel] [virtio] when is VIRTIO_CONFIG_S_DRIVER_OK set?

2015-06-10 Thread Catalin Vasile
When is VIRTIO_CONFIG_S_DRIVER_OK set? I've seen in vhost-scsi from qemu, that it sets it's own set_status() member function for a virtio object, which checks for VIRTIO_CONFIG_S_DRIVER_OK (from a status variable received as a parameter) so it knows if it has to call vhost_scsi_start(), vhost_scsi_