summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Alcantara <paulo@paulo.ac>2018-05-20 02:01:59 -0300
committerPaulo Alcantara <paulo@paulo.ac>2018-05-20 02:01:59 -0300
commit726305df02d0e84344c7d0b2edcbee516983a1ef (patch)
tree489e773eb5a57696c550c850c2c958160cf647e4
parente7f334561892953de94c946b32f6cbbec383af7d (diff)
downloadvmhtool-726305df02d0e84344c7d0b2edcbee516983a1ef.tar.gz
vmhtool-726305df02d0e84344c7d0b2edcbee516983a1ef.tar.xz
vmhtool-726305df02d0e84344c7d0b2edcbee516983a1ef.zip
Increase mem size for win and linux guests.
Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
-rwxr-xr-xvmhelper4
1 files changed, 2 insertions, 2 deletions
diff --git a/vmhelper b/vmhelper
index b42187d..b081be4 100755
--- a/vmhelper
+++ b/vmhelper
@@ -292,7 +292,7 @@ sub destroy_vm_net {
my %qemu_linux_opts = (
mach => "-machine q35",
cpu => "-enable-kvm -cpu host",
- mem => "-m 1024",
+ mem => "-m 2048",
bus => "-device qemu-xhci,id=xhci -device virtio-scsi-pci,id=scsi",
hdd => " -device scsi-hd,drive=hd -drive if=none,file=%s,cache=writeback,id=hd,format=raw,unit=0",
net => "-device e1000,netdev=net0,mac=%s -netdev type=tap,id=net0,ifname=%s,script=no,downscript=no",
@@ -308,7 +308,7 @@ my %qemu_linux_opts = (
my %qemu_win_opts = (
mach => "-machine q35",
cpu => "-enable-kvm -cpu host",
- mem => "-m 1024",
+ mem => "-m 4096",
bus => "-device ich9-ahci,id=ahci -device virtio-scsi-pci,id=scsi -device qemu-xhci,id=xhci",
hdd => "-device scsi-hd,drive=hd,bootindex=0 -drive if=none,file=%s,cache=writeback,id=hd,format=raw,unit=0",
cdrom => "-device scsi-cd,drive=cd,bootindex=0 -drive if=none,file=%s,format=raw,id=cd",