From: Fantu Subject: Re: Need help with qemu args debug Date: Fri, 2 Mar 2012 01:00:30 -0800 (PST) Message-ID: <1330678830304-5530386.post@n5.nabble.com> References: <1330513756170-5524689.post@n5.nabble.com> <1330514555.4270.52.camel@zakaz.uk.xensource.com> <1330519499118-5524861.post@n5.nabble.com> <1330520756321-5524897.post@n5.nabble.com> <1330529436918-5525248.post@n5.nabble.com> <1330529975275-5525276.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Stefano Stabellini-3 wrote > > On Wed, 29 Feb 2012, Fantu wrote: >> Now I search for other options, found and tried with -global >> qxl-vga.vram_size=4194304 but same problem... >> >> do_spice_init: starting 0.10.1 >> spice_server_add_interface: SPICE_INTERFACE_MIGRATION >> spice_server_add_interface: SPICE_INTERFACE_KEYBOARD >> spice_server_add_interface: SPICE_INTERFACE_MOUSE >> qemu: hardware error: xen: failed to populate ram at 40000000 > > You are going in the right direction but I think QXL might be doing > other allocations other than the main vga videoram. > Now that I think about it, another way around the memory allocation > problem would be to add "maxmem=MEMORY" in your VM config file, where > MEMORY is equal to the amount of memory you assign to the VM plus the > videram. > > So if you have: > > memory=1024 > > then you could try adding: > > maxmem=1088 > With only maxmem add not work but also with videoram and high value start and give other error. With videoram=64: qemu: hardware error: xen: failed to populate ram at 44002000 With videoram=128 start qemu and spice is working but system not. The actual domU configuration files: ---------------------------------------------------- name='PRECISEHVM' builder="hvm" memory=1024 maxmem=1536 vcpus=2 #hap=1 #pae=1 #acpi=1 #apic=1 #nx=1 vif=['bridge=xenbr0'] #vfb=['vnc=1,vncunused=1,vnclisten="0.0.0.0",keymap="it"'] disk=['/mnt/vm/disks/PRECISEHVM.disk1.xm,raw,hda,rw', '/dev/sr0,raw,hdb,ro,cdrom'] boot='c' #xen_platform_pci=1 device_model_version='qemu-xen' vnc=0 #vncunused=1 #vnclisten="0.0.0.0" #keymap="it" #stdvga=1 #videoram=16 #sdl=0 spice=1 spicehost='0.0.0.0' spiceport=6000 spicedisable_ticketing=1 #spicepasswd='test' device_model_override="/usr/lib/xen/bin/qemu-debug.sh" #device_model_args=["-global qxl-vga.vram_size=8388308"] #on_crash='preserve' videoram=128 ---------------------------------------------------- Starting QEMU with: -xen-domid 45 -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-45,server,nowait -mon chardev=libxl-cmd,mode=control -name PRECISEHVM -vga qxl -spice port=6000,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on -boot order=c -smp 2,maxcpus=3 -device rtl8139,id=nic0,netdev=net0,mac=00:16:3e:56:77:cd -netdev type=tap,id=net0,ifname=tap45.0,script=no -M xenfv -m 1024 -drive file=/mnt/vm/disks/PRECISEHVM.disk1.xm,if=ide,index=0,media=disk,format=raw -drive file=/dev/sr0,if=ide,index=1,media=cdrom,format=raw The xl dmesg PRECISEHVM: http://xen.1045712.n5.nabble.com/file/n5530386/xl-dmesg-PRECISEHVM xl-dmesg-PRECISEHVM Connect to domU with spice work but qemu show Boot failed: could not read the boot disk. If you need more data require and I will post. -- View this message in context: http://xen.1045712.n5.nabble.com/Need-help-with-qemu-args-debug-tp5524689p5530386.html Sent from the Xen - Dev mailing list archive at Nabble.com.