OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [virtio-comment] Re: [virtio-dev] Re: [PATCH v3 0/3] transport-pci: Introduce legacy registers access using AQ


> From: Jason Wang <jasowang@redhat.com>
> Sent: Thursday, June 8, 2023 11:03 PM

> When legacy drivers are doing feature negotiation, the hypervisor must trap and
> negotiate those two features.
Device reset to be trapped as well towards 1.x.

And this messes the 1.x flow with FEATURES_OK.
More citations from the spec:

"Legacy driver implementations often used the device before setting the DRIVER_OK bit, and sometimes
even before writing the feature bits to the device."

It may even set before setting the feature bits.
It is ugly to use the 1.x state machine.
I would like to keep the stateful interactions of 1.x device outside of 0.9.5.

> When modern drivers are doing the feature negotiation, the hypervisor is not
> involved at all. So modern drivers can choose to negotiate (e.g try to mediate
> legacy for L2) or not.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]