qemu-e2k/hw/s390x
Wei Huang 2858bc6870 virtio: avoid using guest_notifier_mask in vhost-user mode
Because guest mask notifier cannot be used in vhost-user mode, a boolean
flag "use_guest_notifier_mask" was added in commit 5669655aaf to disable
the use of guest mask notifier under virtio-pci. However this flag wasn't
checked in other virtio devices, such as virtio-mmio. In our tests, it
caused assertion error under "vhost-user + virtio-mmio". This patch
addresses this problem by adding a check before guest_notifier_mask is
called.

Signed-off-by: Wei Huang <wei@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-12-16 01:14:54 +02:00
..
ccw-device.c
ccw-device.h
css-bridge.c
css.c s390x/css: {c,h,t,r,x}sch: require enable AND device number valid 2016-09-28 13:24:51 +02:00
event-facility.c
ipl.c
ipl.h
Makefile.objs
s390-pci-bus.c Two PCI fixes/improvements for s390x. 2016-10-31 14:48:47 +00:00
s390-pci-bus.h s390x/pci: assign msix io region for each pci device 2016-09-28 13:24:51 +02:00
s390-pci-inst.c s390x/pci: Check memory region dispatching callbacks 2016-10-31 10:02:09 +01:00
s390-pci-inst.h
s390-skeys-kvm.c
s390-skeys.c
s390-virtio-ccw.c
s390-virtio-hcall.c
s390-virtio.c
s390-virtio.h
sclp.c
sclpcpu.c
sclpquiesce.c
trace-events
virtio-ccw.c virtio: avoid using guest_notifier_mask in vhost-user mode 2016-12-16 01:14:54 +02:00
virtio-ccw.h virtio: move ioeventfd_started flag to VirtioBusState 2016-10-30 19:51:32 +02:00