1
linux/drivers/vhost
Michael S. Tsirkin 86e9424d72 vhost: logging thinko fix
vhost was dong some complex math to get
offset to log at, and got it wrong by a couple of bytes,
while in fact it's simple: get address where we write,
subtract start of buffer, add log base.

Do it this way.

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: logging thinko fix 2010-02-28 19:42:35 +02:00
vhost.h