Changing memory in KVM?

rugby

Member
Oct 24, 2009
138
0
16
I've got a KVM setup with 1GB of ram I want to increase to 2GB. I shut down the vm and changed the memory in the webpage, but when it boots up it only has 1GB of memory.

Should this be possible to change how I describe it?
 
I shutdown the VM, change the memory from 1024 to 2048 and click "Start" and it reverts back to 1024.
 
Check the value in your vm config (/etc/qemu-server/VMID.conf), and maybe you can post the output of

# qm showcmd <VMID>
 
Here you go:

pm01:~# qm showcmd 101
/usr/bin/kvm -monitor unix:/var/run/qemu-server/101.mon,server,nowait -vnc unix:/var/run/qemu-server/101.vnc,password -pidfile /var/run/qemu-server/101.pid -daemonize -usbdevice tablet -name Kerio1 -smp sockets=1,cores=1 -id 101 -vga cirrus -tdf -k en-us -drive file=/var/lib/vz/template/iso/CentOS-5.4-i386-bin-DVD.iso,if=ide,index=2,media=cdrom -drive file=/dev/RAID/vm-101-disk-1,if=scsi,index=0,boot=on -m 1024 -net tap,vlan=0,ifname=vmtab101i0,script=/var/lib/qemu-server/bridge-vlan -net nic,vlan=0,model=rtl8139,macaddr=9A:D6:77:8C:6E:BD -cpuunits 1000


If I stop the VM, edit the file (/etc/qemu-server/VMID.conf) then start it back up again it should work right? I'm using Safari on the Mac as my browser btw.
 
It allows me to change it, but when I click the start button it reverts back to 1024.