From: Lauri Kasanen Date: Thu, 27 May 2021 16:00:31 +0000 (+0300) Subject: ppc doesn't support readonly mem X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef7215ffb48a797f36fa4b9582cf4bf6f40f4ea6;p=kvm-minippc.git ppc doesn't support readonly mem --- 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();