vdpa: handling of VIRTIO_F_ACCESS_PLATFORM/VIRTIO_F_ORDER_PLATFORM
Michael S. Tsirkin
maintainerHi!
I'd like to raise the question of whether we can drop the requirement of VIRTIO_F_ACCESS_PLATFORM from vdpa?
As far as I can see, it is merely required for virtio vdpa - so should we not enforce it there?
The point is support for legacy guests - which mostly just works on x86.
Also, what is the plan for VIRTIO_F_ORDER_PLATFORM?
Signature · 6 lines
MST _______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Quoted 5 lines · Michael S. Tsirkin
Hi!
I'd like to raise the question of whether we can drop the requirement ofVIRTIO_F_ACCESS_PLATFORMfrom vdpa?
As far as I can see, it is merely required for virtio vdpa - so should we not enforce it there?
If we don't enforce it, virtio will use PA which breaks the setup when IOMMU is enabled. As discussed in the past, mandating DMA API for virito can just solve this issue.
Quoted 3 lines
The point is support for legacy guests - which mostly just works on x86.
Legacy guest should work even if we mandate ACCESS_PLATFORM.
This is because we don't simply pass through guest features (qemu will always set ACCESS_PLATFORM to vhost-vdpa).
Quoted 2 lines
Also, what is the plan for
VIRTIO_F_ORDER_PLATFORM?
I think we should mandate ORDER_PLATFORM, (even for guest).
Thanks
Quoted 1 line
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization