[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Configure video memory in PV guest



I am trying to change the amount of memory allocated to a PV guest. My xl 
config file is below.  As you can see I have tried several configurations and 
they have either had no effect or prevented boot.

kernel="/home/ubuntu/installed/vmlinuz-4.15.0-29-generic"
ramdisk="/home/ubuntu/installed/my-initrd"
extra="root=UUID=cfb3534e-ce49-4327-b65c-83d638a285f1 ro quiet splash"
name = "ubuntu"
vfb = [ 'sdl=1' ]
vif = [ 'bridge=xenbr0' ]
dhcp = "dhcp"
disk = [ '/home/ubuntu/installed/disk.img,,sda' ]
memory = 2048
maxmem = 2048
vcpus = 1
maxvcpus = 1
vnc = 1
device_model_args=['-device qxl-vga,vram_size_mb=64']
#device_model_args=['-device VGA,vgamem_mb=64,bus=pci.0,addr=0x2']
#device_model_args=['-device VGA,vgamem_mb=64']

#device_model_args=["-device","qxl-vga","-global","qxl-vga.vram_size=335544"]
#device_model_args=["-vga","qxl,vgamem_mb=64"]
#videoram=128

The device_model_args that is not commented out results in having:

-device qxl-vga,vram_size_mb=64

as an argument to qemu-system-i386. and I get a 'No PCI bus found error'. 
However if I just run:

qemu-system-i386 -device qxl-vga,vram_size_mb=64

then qemu starts without an issue so I think I have the syntax correct at 
least. Is there any way to increase the video RAM for PV guests?





----
Sent using Guerrillamail.com
Block or report abuse: 
https://www.guerrillamail.com//abuse/?a=eUR6SBgTRqYGqAK942oMPAzCQ9qC3d1VxLAMc83x



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.