Hide Forgot
Description of problem: The parameters of ram_size and vram_size fail to work together, they fail to be used at the same time and the guest fail to boot successfully. Version-Release number of selected component (if applicable): host info: # uname -r && rpm -q qemu-kvm 2.6.32-221.el6.x86_64 qemu-kvm-0.12.1.2-2.213.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1.boot a guest with the parameters ram_size and vram_size at the same time. eg: ...-spice disable-ticketing,port=5912 -vga qxl -global qxl-vga.ram_size=55555555,qxl-vga.vram_size=44444444 Actual results: The guest fail to boot successfully. Expected results: The parameters of ram_size and vram_size can work together successfully. Additional info:
*** Bug 770900 has been marked as a duplicate of this bug. ***
I cannot reproduce, works for me. Using qemu-kvm from git, i.e. version qemu-kvm-0.12.1.2-2.283.el6, command line: qemu-system-x86_64 -chardev stdio,id=muxstdio,mux=on -mon chardev=muxstdio,mode=readline -vga qxl -drive file=/images/win7_squashed_earth.img,cache=unsafe,if=ide,readonly=off -enable-kvm -L /home/alon/spice/rhel6/share/qemu -m 2048 -cpu host -spice disable-ticketing,port=10000 -snapshot -no-shutdown -smp 2 -global qxl-vga.debug=1 -global qxl-vga.ram_size=55555555 -global qxl-vga.vram_size=44444444 -usb -device virtio-serial,multifunction=on -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -netdev user,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0 Relevant part is identical to above, just with fixes to usage - to set two globals you can't use a list separated by commas, it isn't supported by qemu command line parser, you have to use two separate global switches: -global qxl-vga.ram_size=55555555 -global qxl-vga.vram_size=44444444 Please close as NOTABUG if this fixes your problem.
(In reply to comment #3) > > Relevant part is identical to above, just with fixes to usage - to set two > globals you can't use a list separated by commas, it isn't supported by qemu > command line parser, you have to use two separate global switches: > > -global qxl-vga.ram_size=55555555 -global qxl-vga.vram_size=44444444 > > Please close as NOTABUG if this fixes your problem. yes, thanks Alon. Can't use a list separated by commas, it isn't supported by qemu command line parser, have to use two separate global switches. eg: ...-global qxl-vga.ram_size=55555555 -global qxl-vga.vram_size=44444444 so, i close it as NOTABUG.