On 17.08.20 14:31, stranzjanm...@gmail.com wrote: > I booted the Linux PC several times and then always created a new system > configuration with "sudo jailhouse config create configs/x86/sysconfig.c". > > Interestingly, the configuration generated in this way is always > slightly different! > The following section is always affected: > > /* MemRegion: 100000000-23f1fffff : System RAM */ > { > .phys_start = 0x100000000, > .virt_start = 0x100000000, > .size = 0x13f200000, > .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | > JAILHOUSE_MEM_EXECUTE | JAILHOUSE_MEM_DMA, > }, > /* MemRegion: 23f200000-241ffffff : Kernel */ > { > .phys_start = 0x23f200000, > .virt_start = 0x23f200000, > .size = 0x2e00000, > .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | > JAILHOUSE_MEM_EXECUTE | JAILHOUSE_MEM_DMA, > }, > /* MemRegion: 242000000-41f37ffff : System RAM */ > { > .phys_start = 0x242000000, > .virt_start = 0x242000000, > .size = 0x1dd380000, > .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | > JAILHOUSE_MEM_EXECUTE | JAILHOUSE_MEM_DMA, > }, > What can be the reason? > Shouldn't the generated configuration always be the same?
The kernel region is detect as separate RAM region by the config generator, and the kernel might be loaded to different addresses each time. You could fold all those three together, they are consecutive and have the same flags. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux -- 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 jailhouse-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/5775d148-cd2c-6764-9242-e1742bc018a6%40siemens.com.