Re: [RFC PATCH 1/1] virtio: write back features before verify

From: Cornelia Huck
Date: Tue Oct 05 2021 - 11:27:22 EST


On Tue, Oct 05 2021, Halil Pasic <pasic@xxxxxxxxxxxxx> wrote:

> On Tue, 05 Oct 2021 13:13:31 +0200
> Cornelia Huck <cohuck@xxxxxxxxxx> wrote:
>> Or am I misunderstanding what you're getting at?
>>
>
> Probably. I'm talking about pre- "do transport specific legacy detection
> in the device instead of looking at VERSION_1" you are probably talking
> about the post-state. If we had this new behavior for all relevant
> hypervisors then we wouldn't need to do a thing in the guest. The current
> code would work like charm.

Yeah, I was thinking more about the desired state. We need to both fix
QEMU (and other VMMs or devices should check whether they are doing the
right thing) and add a workaround on the driver side to make it work
with existing QEMUs.