Re: [PATCH] xen: don't require virtio with grants for non-PV guests

From: Christoph Hellwig
Date: Wed Jun 15 2022 - 07:29:04 EST


On Wed, Jun 15, 2022 at 01:26:27PM +0200, Juergen Gross wrote:
> On 15.06.22 13:24, Christoph Hellwig wrote:
> > I don't think this command line mess is a good idea. Instead the
> > brand new grant devices need to be properly advertised in the device
> > tree, and any device that isn't a grant device doesn't need
> > VIRTIO_F_ACCESS_PLATFORM. No need for a command line or user
> > intervention.
>
> And on x86?

ACPI tables or whatever mechanism you otherwise use to advertise grant
based DMA. But that is irrelevant for now, as the code in mainline
only supports DT on arm/arm64 anyay.