kernel-hacking-2024-linux-s.../drivers/vhost
Michael S. Tsirkin 73a99f0830 vhost: initialize log eventfd context pointer
vq log eventfd context pointer needs to be initialized, otherwise
operation may fail or oops if log is enabled but log eventfd not set by
userspace.  When log_ctx for device is created, it is copied to the vq.
This reset was missing.

Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2010-02-28 19:42:35 +02:00
..
Kconfig net/macvtap: add vhost support 2010-02-18 14:08:38 -08:00
Makefile
net.c net/macvtap: add vhost support 2010-02-18 14:08:38 -08:00
vhost.c vhost: initialize log eventfd context pointer 2010-02-28 19:42:35 +02:00
vhost.h