Hi,
From the jailhouse design, the Private Per-CPU data should be not
accessed by other CPUs except the current CPU. But from the code[1]
and my test, it is not. For example, the CPU1 can access the CPU0's
private data, because hv_paging_structs already map it, and the
per-cpu page table will link the hv_paging_structs. is this a bug? I
think the Private Per-CPU data should be not accessed by other CPUs
except the self CPU.
[1]: err = paging_create(&hv_paging_structs,
paging_hvirt2phys(&hypervisor_header),
system_config->hypervisor_memory.size,
(unsigned long)&hypervisor_header,
PAGE_DEFAULT_FLAGS,
PAGING_NON_COHERENT | PAGING_HUGE);
--
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/CABSBigQATXq56FGPcsYaEhbPKAkfgW_q9j3ZcRPA8z-eK9v29g%40mail.gmail.com.