[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 6/6] vfio-ccw: add handling for async channel
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH v3 6/6] vfio-ccw: add handling for async channel instructions |
Date: |
Thu, 31 Jan 2019 12:53:56 +0100 |
On Wed, 30 Jan 2019 18:09:31 +0100
Halil Pasic <address@hidden> wrote:
> On Wed, 30 Jan 2019 14:22:12 +0100
> Cornelia Huck <address@hidden> wrote:
>
> > +static void fsm_async_retry(struct vfio_ccw_private *private,
> > + enum vfio_ccw_event event)
> > +{
> > + private->cmd_region->ret_code = -EAGAIN;
> > +}
> > +
>
> This is essentially dead code at the moment, isn't it? I mean we hold the
> io_mutex whenever we are in state VFIO_CCW_STATE_CP_PROCESSING, and we
> call vfio_ccw_fsm_event() with the very same mutex held.
Well, I did have to put something in the state machine...
- [Qemu-devel] [PATCH v3 4/6] vfio-ccw: add capabilities chain, (continued)
- [Qemu-devel] [PATCH v3 4/6] vfio-ccw: add capabilities chain, Cornelia Huck, 2019/01/30
- [Qemu-devel] [PATCH v3 3/6] vfio-ccw: protect the I/O region, Cornelia Huck, 2019/01/30
- [Qemu-devel] [PATCH v3 5/6] s390/cio: export hsch to modules, Cornelia Huck, 2019/01/30
- [Qemu-devel] [PATCH v3 1/6] vfio-ccw: make it safe to access channel programs, Cornelia Huck, 2019/01/30
- [Qemu-devel] [PATCH v3 2/6] vfio-ccw: rework ssch state handling, Cornelia Huck, 2019/01/30
- [Qemu-devel] [PATCH v3 6/6] vfio-ccw: add handling for async channel instructions, Cornelia Huck, 2019/01/30