Bug 770898 - The parameters of QXL-VGA ram_size and vram_size fail to work together
Summary: The parameters of QXL-VGA ram_size and vram_size fail to work together
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.3
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: David Blechter
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 770900 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-30 03:44 UTC by Sibiao Luo
Modified: 2012-04-25 04:38 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-25 04:38:53 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Sibiao Luo 2011-12-30 03:44:14 UTC
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:

Comment 2 juzhang 2011-12-30 04:47:44 UTC
*** Bug 770900 has been marked as a duplicate of this bug. ***

Comment 3 Alon Levy 2012-04-24 12:18:33 UTC
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.

Comment 4 Sibiao Luo 2012-04-25 04:38:53 UTC
(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.


Note You need to log in before you can comment on or make changes to this bug.