All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [vhost] virtio (guest) interrupt kernel modules
@ 2015-06-11 14:26 Catalin Vasile
  2015-06-11 15:05 ` Catalin Vasile
  0 siblings, 1 reply; 2+ messages in thread
From: Catalin Vasile @ 2015-06-11 14:26 UTC (permalink / raw)
  To: qemu-devel

Is there something I need to install (kernel module or something like
that) so that the virtio guest receives signals from vhost?
The communication from and to qemu works (I can send a message from
guest to qemu, and I can send a message from qemu to guest), and I can
send a message from guest to vhost, but I don't get any signals when I
call vhost_add_used_and_signal()).

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [vhost] virtio (guest) interrupt kernel modules
  2015-06-11 14:26 [Qemu-devel] [vhost] virtio (guest) interrupt kernel modules Catalin Vasile
@ 2015-06-11 15:05 ` Catalin Vasile
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Vasile @ 2015-06-11 15:05 UTC (permalink / raw)
  To: qemu-devel

It seems that the problem is from the code itself.
If I call vhost_dev_start() in set_status() (in qemu), when the status
changes to VIRTIO_CONFIG_S_DRIVER_OK, only the communication path from
guest to vhost works.

In another scenario I send a message from guest to qemu, and the vq
handler in qemu calls vhost_dev_start(). From here right on the
communication works both ways between guest and vhost (I can also
receive signals from vhost to guest).

I used the first scenario because I took vhost-scsi as an example. The
thing is I don't understand what I'm doing different.

On Thu, Jun 11, 2015 at 5:26 PM, Catalin Vasile
<catalinvasile92@gmail.com> wrote:
> Is there something I need to install (kernel module or something like
> that) so that the virtio guest receives signals from vhost?
> The communication from and to qemu works (I can send a message from
> guest to qemu, and I can send a message from qemu to guest), and I can
> send a message from guest to vhost, but I don't get any signals when I
> call vhost_add_used_and_signal()).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-11 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-11 14:26 [Qemu-devel] [vhost] virtio (guest) interrupt kernel modules Catalin Vasile
2015-06-11 15:05 ` Catalin Vasile

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.