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

Re: [Xen-devel] XEN-ARMv7 GIC virtualization question

On Tue, 2013-03-05 at 19:57 +0000, Andrii Anisov wrote:
> In a function arch_domain_create() I do see mapping of GIC CPU
> interface registers space of VM to point to the GIC virtual CPU
> interface. But can't find how XEN handles VM's accesses to GIC
> Distributor registers. Could you please explain me how is it done, or
> point to the correspondent code. 

It's handled from the second stage fault handler, see the call to
handle_mmio from do_trap_data_abort_guest. This eventually ends up
calling vgic_distr_mmio_handler->{read,write} AKA vgic_distr_mmio_read
(and ..._write).


Xen-devel mailing list



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