[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/4] iotests: iothreads need ioeventfd
From: |
Cornelia Huck |
Subject: |
Re: [PATCH 4/4] iotests: iothreads need ioeventfd |
Date: |
Fri, 19 Mar 2021 12:27:35 +0100 |
On Fri, 19 Mar 2021 12:06:43 +0100
Paolo Bonzini <pbonzini@redhat.com> wrote:
> On 18/03/21 23:39, Laurent Vivier wrote:
> > And ioeventfd are only available with virtio-scsi-pci, so don't use the
> > alias
> > and add a rule to require virtio-scsi-pci for the tests that use iothreads.
> >
> > Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> > ---
> > tests/qemu-iotests/127 | 4 ++--
> > tests/qemu-iotests/256 | 2 ++
> > tests/qemu-iotests/iotests.py | 5 +++++
> > 3 files changed, 9 insertions(+), 2 deletions(-)
> >
> > diff --git a/tests/qemu-iotests/127 b/tests/qemu-iotests/127
> > index 98e8e82a8210..a3693533685a 100755
> > --- a/tests/qemu-iotests/127
> > +++ b/tests/qemu-iotests/127
> > @@ -44,7 +44,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
> > _supported_fmt qcow2
> > _supported_proto file fuse
> >
> > -_require_devices virtio-scsi scsi-hd
> > +_require_devices virtio-scsi-pci scsi-hd
>
> Maybe
>
> _require_devices scsi-hd
> _require_devices virtio-scsi-pci || _require_devices virtio-scsi ccw
>
> ?
>
> Paolo
>
Yes, ioeventfds are also available for ccw; I'd expect only mmio to be
the problem here.