Statistics
| Branch: | Revision:

root / hw / vhost.c @ 99443c21

History | View | Annotate | Download (22.2 kB)

# Date Author Comment
d154e0ba 07/19/2010 02:20 pm Michael S. Tsirkin

vhost: fix miration during device start

We need to know ring layout to allocate log buffer.
So init rings first.

Also fixes a theoretical memory-leak-on-error.

https://bugzilla.redhat.com/show_bug.cgi?id=615228

Signed-off-by: Michael S. Tsirkin <>...

11078ae3 04/14/2010 01:12 am Marcelo Tosatti

vhost.c: include <linux/vhost.h> last

So the userspace headers define KERNEL_STRICT_NAMES and there's no
conflict on type definition for older kernels.

Signed-off-by: Marcelo Tosatti <>
Acked-by: Michael S. Tsirkin <>
Signed-off-by: Aurelien Jarno <>

2b3af999 04/02/2010 01:01 am Stefan Weil

win32: Fix compiler errors from u_int64_t

u_int64_t raises compiler error messages:

CC    libhw32/virtio.o
/qemu/ar7/hw/virtio.c: In function ‘virtio_queue_get_avail_size’:
/qemu/ar7/hw/virtio.c:776: error: ‘u_int64_t’ undeclared (first use in this function)...
d5970055 04/01/2010 09:56 pm Michael S. Tsirkin

vhost: vhost net support

This adds vhost net device support in qemu. Will be tied to tap device
and virtio by following patches. Raw backend is currently missing,
will be worked on/submitted separately.

Signed-off-by: Michael S. Tsirkin <>...