From: Jan Kiszka <[email protected]> Since we report startup or runtime failures this way, we need this permission even when not actively participating in the message exchange protocol.
Signed-off-by: Jan Kiszka <[email protected]> --- configs/x86/e1000-demo.c | 3 ++- configs/x86/ioapic-demo.c | 3 ++- configs/x86/ivshmem-demo.c | 3 ++- configs/x86/linux-x86-demo.c | 3 ++- configs/x86/pci-demo.c | 3 ++- configs/x86/smp-demo.c | 3 ++- configs/x86/tiny-demo.c | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/configs/x86/e1000-demo.c b/configs/x86/e1000-demo.c index 814f13ed..93bb4cfa 100644 --- a/configs/x86/e1000-demo.c +++ b/configs/x86/e1000-demo.c @@ -61,7 +61,8 @@ struct { /* communication region */ { .virt_start = 0x00100000, .size = 0x00001000, - .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_COMM_REGION, + .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | + JAILHOUSE_MEM_COMM_REGION, }, /* e1000 BAR0 */ { .phys_start = 0xfebc0000, diff --git a/configs/x86/ioapic-demo.c b/configs/x86/ioapic-demo.c index 30e0ac98..aacbc587 100644 --- a/configs/x86/ioapic-demo.c +++ b/configs/x86/ioapic-demo.c @@ -58,7 +58,8 @@ struct { /* communication region */ { .virt_start = 0x00100000, .size = 0x00001000, - .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_COMM_REGION, + .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | + JAILHOUSE_MEM_COMM_REGION, }, }, diff --git a/configs/x86/ivshmem-demo.c b/configs/x86/ivshmem-demo.c index b3a12a9d..6fcd76bf 100644 --- a/configs/x86/ivshmem-demo.c +++ b/configs/x86/ivshmem-demo.c @@ -60,7 +60,8 @@ struct { /* communication region */ { .virt_start = 0x00100000, .size = 0x00001000, - .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_COMM_REGION, + .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | + JAILHOUSE_MEM_COMM_REGION, }, /* IVSHMEM shared memory region */ { diff --git a/configs/x86/linux-x86-demo.c b/configs/x86/linux-x86-demo.c index cb89ec0a..80d6a589 100644 --- a/configs/x86/linux-x86-demo.c +++ b/configs/x86/linux-x86-demo.c @@ -65,7 +65,8 @@ struct { /* communication region */ { .virt_start = 0x00100000, .size = 0x00001000, - .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_COMM_REGION, + .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | + JAILHOUSE_MEM_COMM_REGION, }, /* high RAM */ { .phys_start = 0x3a700000, diff --git a/configs/x86/pci-demo.c b/configs/x86/pci-demo.c index c7a5527a..7ed93d56 100644 --- a/configs/x86/pci-demo.c +++ b/configs/x86/pci-demo.c @@ -60,7 +60,8 @@ struct { /* communication region */ { .virt_start = 0x00100000, .size = 0x00001000, - .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_COMM_REGION, + .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | + JAILHOUSE_MEM_COMM_REGION, }, /* HDA BAR0 */ { .phys_start = 0xfebd4000, diff --git a/configs/x86/smp-demo.c b/configs/x86/smp-demo.c index d175c618..7ba309ee 100644 --- a/configs/x86/smp-demo.c +++ b/configs/x86/smp-demo.c @@ -56,7 +56,8 @@ struct { /* communication region */ { .virt_start = 0x00100000, .size = 0x00001000, - .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_COMM_REGION, + .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | + JAILHOUSE_MEM_COMM_REGION, }, }, diff --git a/configs/x86/tiny-demo.c b/configs/x86/tiny-demo.c index 493059ae..7150d741 100644 --- a/configs/x86/tiny-demo.c +++ b/configs/x86/tiny-demo.c @@ -59,7 +59,8 @@ struct { /* communication region */ { .virt_start = 0x00100000, .size = 0x00001000, - .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_COMM_REGION, + .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | + JAILHOUSE_MEM_COMM_REGION, }, }, -- 2.16.4 -- 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/2c86f31e947394b14aa23f1ac5b2672b1e0a8044.1557914551.git.jan.kiszka%40web.de. For more options, visit https://groups.google.com/d/optout.
