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

Re: [Xen-devel] run time memory trap question

On 02/17/2014 02:06 PM, Andrii Tseglytskyi wrote:
> Hi Julien,

Hi Andrii,

>     > Can anyone clarify - is it possible to make a run time memory trap in
>     > Xen hypervisor?
>     I guess you are talking about ARM? If so, it's not possible right now.
> Does it mean, that it is possible on x86 ?

Yes, you can look at register_io_handler in xen/arch/x86/hvm/intercept.c

It's used a static array, but I don't think this is the solution for
ARM. We don't know in advance the maximum number of MMIO region to handle.

>     I think yes, we might need that for a couple of new features in Xen such
>     as: clock drivers and multiple devices in a same page (see UARTs on
>     cubieboard 2).
> This sounds good. For now I need this or similar solution for my
> development. I'll try to make it generic and post it to this list as
> soon as it is ready.

Great, thank you.


Julien Grall

Xen-devel mailing list



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