Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-11-07,master
>---------------------------------------------------------------
commit 60fdefedf99dc41840f0c01143101d80529e94f4
Author: Sven Eckelmann <sven(a)narfation.org>
Date: Sun Nov 3 15:55:50 2019 +0000
doc: open-mesh/OpenWrt_in_QEMU: allow memory hotplugging
>---------------------------------------------------------------
60fdefedf99dc41840f0c01143101d80529e94f4
open-mesh/OpenWrt_in_QEMU.textile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/open-mesh/OpenWrt_in_QEMU.textile b/open-mesh/OpenWrt_in_QEMU.textile
index e0df95d..35f50c5 100644
--- a/open-mesh/OpenWrt_in_QEMU.textile
+++ b/open-mesh/OpenWrt_in_QEMU.textile
@@ -117,7 +117,7 @@ for i in $(seq 1 "${NUM_SESSIONS}"); do
screen qemu-system-x86_64 -enable-kvm -name "instance${i}" \
"${BOOTARGS[@]}" \
-display none -no-user-config -nodefaults \
- -m 512 -device virtio-balloon \
+ -m 512M,maxmem=2G,slots=2 -device virtio-balloon \
-cpu host -smp 2 -machine q35,accel=kvm,usb=off,dump-guest-core=off \
-drive file=root.cow$i,if=virtio,cache=unsafe \
-nic tap,ifname=tap$i,script=no,model=virtio-net-pci,mac=02:ba:de:af:fe:"${twodigit_id}" \