On Mon, Aug 16, 2021 at 10:09:34AM +0800, Jason Wang wrote:
>
> 在 2021/8/11 下午6:05, Srivatsa Vaddagiri 写道:
> > * Jason Wang <[email protected]> [2021-08-02 14:06:38]:
> >
> > > > Maybe if it sees status was not read it can just
> > > > stay in reset state and not exit it?
> > > >
> > > >
> > > Or I wonder we can use increase the version instead.
> > What should be the guidance for backend/devices here? Go with version 3
> > only if
> > it requires driver to poll on reset? Otherwise it may break existing setups
> > -
> > lets say Qemu is updated to report version 3 which will break older guest
> > images
> > that understood version 2 - this is despite the same Qemu being capable of
> > serving those guests.
>
>
> My understanding is that qemu should stick to version 2 since it works fine.
>
> Thanks
Yes breaking all guests does not sound like a good plan.
Which is unfortunate generally.
So thinking about all this, quite early in the setup process we
have:
/* Figure out what features the device supports. */
device_features = dev->config->get_features(dev);
isn't this sufficient? this will flush out
all writes and device can defer responding to reads
until reset is complete.
I know it's not elegant since there are a bunch of writes like
acknowledge and driver, but hey.
How about we just add a non-normative section explaining that trick?
>
> >
> > - vatsa
> >
> > ---
> >
> > Qualcomm Innovation Center, Inc. is submitting the attached "feedback" as a
> > non-member to the virtio-dev mailing list for consideration and inclusion.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]