projects
/
kvm-minippc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eedf0cd
)
ppc doesn't support readonly mem
author
Lauri Kasanen
<cand@gmx.com>
Thu, 27 May 2021 16:00:31 +0000
(19:00 +0300)
committer
Lauri Kasanen
<cand@gmx.com>
Thu, 27 May 2021 16:00:31 +0000
(19:00 +0300)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 0b9263f8b3107e84d8d0f9848f2368adc01a94ef..041d0c7cd8d773e7acc0216e4b32fc90cdd819b7 100644
(file)
--- 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();