Hi,
     Sorry to disturb you,  I  have a question to consult with you.
when do domain reset why invalid the domain whole normal memory
including VM's memory.
 I think the VM will invalid its cache when booting.


void arch_domain_reset(struct domain *domain)
{
        unsigned int first = first_cpu(domain->cpu_set);
        unsigned int cpu;
        struct aspe_comm_region *comm_region =
                &domain->comm_page.comm_region;

        /* Place platform specific information inside comm_region */
        comm_region->gic_version = system_config->platform_info.arm.gic_version;
        comm_region->gicd_base = system_config->platform_info.arm.gicd_base;
        comm_region->gicc_base = system_config->platform_info.arm.gicc_base;
        comm_region->gicr_base = system_config->platform_info.arm.gicr_base;
        comm_region->vpci_irq_base = domain->config->vpci_irq_base;

        /*
         * All CPUs but the first are initially suspended.  The first CPU
         * starts at cpu_reset_address, defined in the domain configuration.
         */
        public_per_cpu(first)->cpu_on_entry = domain->config->cpu_reset_address;
        for_each_cpu_except(cpu, domain->cpu_set, first)
                public_per_cpu(cpu)->cpu_on_entry = PSCI_INVALID_ADDRESS;

        arm_domain_dcaches_flush(domain, DCACHE_INVALIDATE);

        irqchip_domain_reset(domain);
}

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/CABSBigQ_5F-LfmMxFAtZLpHWfe997LHXUDGfVdhNrzJ3D6c%2BWQ%40mail.gmail.com.

Reply via email to