vhost: backend masking support
commitf56a12475ff1b8aa61210d08522c3c8aaf0e2648
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 24 Dec 2012 15:37:01 +0000 (24 17:37 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 7 Jan 2013 17:42:23 +0000 (7 19:42 +0200)
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