Re: [RFC/PATCH 0/1] virtio_mmio: hypervisor specific interfaces for MMIO
From: Will Deacon
Date: Thu Apr 30 2020 - 06:08:30 EST
On Thu, Apr 30, 2020 at 03:32:55PM +0530, Srivatsa Vaddagiri wrote:
> The Type-1 hypervisor we are dealing with does not allow for MMIO transport.
> [1] summarizes some of the problems we have in making virtio work on such
> hypervisors. This patch proposes a solution for transport problem viz how we can
> do config space IO on such a hypervisor. Hypervisor specific methods
> introduced allows for seamless IO of config space.
Seamless huh? You'd hope that might obviate the need for extra patches...
> This patch is meant to seek comments. If its considered to be in right
> direction, will work on making it more complete and send the next version!
What's stopping you from implementing the trapping support in the
hypervisor? Unlike the other patches you sent out, where the guest memory
is not accessible to the host, there doesn't seem to be any advantage to
not having trapping support, or am I missing something here?
Will