On Thu, 06/29 15:27, Paolo Bonzini wrote: > diff --git a/block/qed.c b/block/qed.c > index db390efdbd..8228a50f68 100644 > --- a/block/qed.c > +++ b/block/qed.c > @@ -363,6 +363,15 @@ static void coroutine_fn > bdrv_qed_co_drain(BlockDriverState *bs) > } > } > > +static void bdrv_qed_init_state(BlockDriverState *bs) > +{ > + BDRVQEDState *s = bs->opaque;
This line should be in the next patch, to keep the compiler happy (-Wunused-variable). I'll fix it when sending pull request. > + > + memset(s, 0, sizeof(BDRVQEDState)); > + s->bs = bs; > + qemu_co_queue_init(&s->allocating_write_reqs); > +} > + Fam