[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 2/4] x86/hvm: fix handling of accesses to partial r/o MMIO pages



On Thu, Apr 17, 2025 at 09:57:29AM +0200, Jan Beulich wrote:
> On 15.04.2025 17:32, Roger Pau Monne wrote:
> > +void register_subpage_ro_handler(struct domain *d)
> > +{
> > +    static const struct hvm_mmio_ops subpage_mmio_ops = {
> > +        .check = subpage_mmio_accept,
> > +        .read = subpage_mmio_read,
> > +        .write = subpage_mmio_write,
> > +    };
> > +
> > +    register_mmio_handler(d, &subpage_mmio_ops);
> 
> Are there any criteria by which we could limit the registration of this
> handler?

Yes, see patch 3.

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab

Attachment: signature.asc
Description: PGP signature


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.