]> git.proxmox.com Git - mirror_qemu.git/commit - hw/virtio/vhost.c
vhost: backend masking support
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 24 Dec 2012 15:37:01 +0000 (17:37 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 7 Jan 2013 17:42:23 +0000 (19:42 +0200)
commitf56a12475ff1b8aa61210d08522c3c8aaf0e2648
tree04ebf83a43ca66048af15b44779578f39f360a8a
parent24f4fe345c1b80bab1ee18573914123d8028a9e6
vhost: backend masking support

Support backend guest notifier masking in vhost-net:
create eventfd at device init, when masked,
make vhost use that as eventfd instead of
sending an interrupt.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/vhost.c
hw/vhost.h
hw/vhost_net.c
hw/vhost_net.h
hw/virtio-net.c