From ef7215ffb48a797f36fa4b9582cf4bf6f40f4ea6 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Thu, 27 May 2021 19:00:31 +0300 Subject: [PATCH] ppc doesn't support readonly mem --- main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/main.c b/main.c index 0b9263f..041d0c7 100644 --- a/main.c +++ b/main.c @@ -375,7 +375,6 @@ int main(int argc, char **argv) { region.guest_phys_addr = PROGSTART; region.memory_size = progmemlen; region.userspace_addr = (uint64_t) progmem; - region.flags = KVM_MEM_READONLY; if (ioctl(vmfd, KVM_SET_USER_MEMORY_REGION, ®ion) == -1) abort(); -- 2.30.2