From: Ian Campbell Subject: Re: Need help with qemu args debug Date: Wed, 29 Feb 2012 11:22:35 +0000 Message-ID: <1330514555.4270.52.camel@zakaz.uk.xensource.com> References: <1330513756170-5524689.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1330513756170-5524689.post@n5.nabble.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Fantu Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Wed, 2012-02-29 at 11:09 +0000, Fantu wrote: > I'm trying to make the necessary patches to complete the Spice support on > libxl. > Qxl graphic add do always error and I not understand why, I need to see all > dm_args for try to search the cause, I try with LIBXL__LOG (on libxl_dm.c > before the line return (char **) flexarray_contents(dm_args);) but always > fails, someone can help me to do log of full dm_args please? That should be possible, but you haven't shown your code so I can't say where you have gone wrong. What I often do is create qemu-debug.sh: #!/bin/sh echo "Starting QEMU with: $*" >> /tmp/qemu-dbg.log exec /usr/lib/xen/bin/qemu-system-i386 $@ And then using device_model_override to call this instead of calling qemu directly.