OSDN Git Service

virtio: disable ioeventfd as early as possible
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Oct 2016 20:48:04 +0000 (22:48 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 30 Oct 2016 17:51:31 +0000 (19:51 +0200)
commitca2b413c39b5cb2412bc236ddf3aa22d96594feb
treea6e5044c7bcb0cc48e96a0ef7f39c7fb6c2a4c09
parent019518a80e24af8fcc14689a1fdfde50c5488d2d
virtio: disable ioeventfd as early as possible

Avoid "tricking" virtio-blk-dataplane into thinking that ioeventfd will be
available when it is not.  This bug has always been there, but it will break
TCG+ioeventfd=on once the dataplane code will be always used when ioeventfd=on.

Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/s390x/virtio-ccw.c
hw/virtio/virtio-pci.c