[virtio-dev] RE: [virtio-comment] Re: [PATCH 00/11] Introduce transitional mmr pci device

Parav Pandit
2023-04-12T05:15:47Z

> From: virtio-comment@lists.oasis-open.org <virtio-comment@lists.oasis-
> open.org> On Behalf Of Michael S. Tsirkin

> New issue I found today:
> - if guest disables MSI-X host can not disable MSI-X.
> need some other channel to notify device about this.
>
I will look into it.

> Old issues we discussed before today:
> - reset needs some special handling because real hardware
> can not guarantee returning 0 on the 1st read
When done through the legacy MMR as we discussed, it will.

> - if guest writes into mac, reusing host mac (which is RO)
> will not work, need extra registers
No. Again legacy interface section of MMR behaves as legacy.

> - something about notification makes you want to poke
> at modern notification register? which of course
> is its own can of worms with VIRTIO_F_NOTIFICATION_DATA
> changing the format completely.
There is no NOTIFICATION_DATA with legacy. So it is not applicable.
Format is same with only vq index.