[Qemu-devel] [PATCH 4/9] virtio-scsi: fix disabled mode

2016-04-01 Thread Paolo Bonzini
Add two missing checks for s->dataplane_fenced. In one case, QEMU would skip injecting an IRQ due to a write to an uninitialized EventNotifier's file descriptor. In the second case, the dataplane_disabled field was used by mistake; in fact after fixing this occurrence it is completely unused. Re

Re: [Qemu-devel] [PATCH 4/9] virtio-scsi: fix disabled mode

2016-03-30 Thread Cornelia Huck
On Wed, 30 Mar 2016 14:48:03 +0200 Paolo Bonzini wrote: > Add two missing checks for s->dataplane_fenced. In one case, QEMU > would skip injecting an IRQ due to a write to an uninitialized > EventNotifier's file descriptor. > > In the second case, the dataplane_disabled field was used by mistak

[Qemu-devel] [PATCH 4/9] virtio-scsi: fix disabled mode

2016-03-30 Thread Paolo Bonzini
Add two missing checks for s->dataplane_fenced. In one case, QEMU would skip injecting an IRQ due to a write to an uninitialized EventNotifier's file descriptor. In the second case, the dataplane_disabled field was used by mistake; in fact after fixing this occurrence it is completely unused. Si