From: Fantu <fantonifabio@tiscali.it>
To: xen-devel@lists.xensource.com
Subject: Re: Need help with qemu args debug
Date: Wed, 29 Feb 2012 05:05:56 -0800 (PST) [thread overview]
Message-ID: <1330520756321-5524897.post@n5.nabble.com> (raw)
In-Reply-To: <1330519499118-5524861.post@n5.nabble.com>
Fantu wrote
>
>
> Ian Campbell-10 wrote
>>
>> 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.
>>
>
> Thanks for reply
>
> Qxl graphic is needed for many things with spice, I start to try add it
> following this: http://spice-space.org/docs/spice_user_manual.pdf
>
> On libxl_dm.c add this line:
> flexarray_append(dm_args, "-qxl 1");
> before this:
> flexarray_append(dm_args, "-spice");
>
> With dm override give:
> Starting QEMU with: -xen-domid 22 -chardev
> socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-22,server,nowait -mon
> chardev=libxl-cmd,mode=control -name PRECISEHVM -vnc 127.0.0.1:0,to=99
> -qxl 1 -spice
> port=6000,tls-port=0,addr=0.0.0.0,password=test,agent-mouse=on -boot
> order=c -smp 2,maxcpus=3 -device
> rtl8139,id=nic0,netdev=net0,mac=00:16:3e:6b:81:89 -netdev
> type=tap,id=net0,ifname=tap22.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
>
> And on /var/log/xen/qemu-dm-PRECISEHVM.log:
> qemu-system-i386: -qxl: invalid option
>
> There isn't other -vga or -nographic options, I not undestand the problem,
> without qxl work but on spice connect and load see the cirrus video card,
> video performance is not good and is impossible resize resolution, qxl
> graphic is needed.
> I have also try -vga qxl but same problem.
>
> Before i try to add permant dm_args debug on log with:
> On libxl_dm.c add this line:
> LIBXL__LOG(ctx, LIBXL__LOG_DEBUG, "dm_args: ", flexarray_contents(dm_args)
> );
> before this:
> return (char **) flexarray_contents(dm_args);
>
> Show:
> libxl_dm.c: In function âlibxl__build_device_model_args_newâ:
> libxl_dm.c:582:2: error: too many arguments for format
> [-Werror=format-extra-args]
> cc1: all warnings being treated as errors
>
See only now how -vga qxl try to start but give other error...
Starting QEMU with: -xen-domid 25 -chardev
socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-25,server,nowait -mon
chardev=libxl-cmd,mode=control -name PRECISEHVM -vga qxl -spice
port=6000,tls-port=0,addr=0.0.0.0,password=test,agent-mouse=on -boot order=c
-smp 2,maxcpus=3 -device rtl8139,id=nic0,netdev=net0,mac=00:16:3e:38:be:1d
-netdev type=tap,id=net0,ifname=tap25.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
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
The full log:
http://xen.1045712.n5.nabble.com/file/n5524897/qemu-dm-PRECISEHVM.log
qemu-dm-PRECISEHVM.log
--
View this message in context: http://xen.1045712.n5.nabble.com/Need-help-with-qemu-args-debug-tp5524689p5524897.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2012-02-29 13:05 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-29 11:09 Need help with qemu args debug Fantu
2012-02-29 11:22 ` Ian Campbell
2012-02-29 12:44 ` Fantu
2012-02-29 13:05 ` Ian Campbell
2012-02-29 16:20 ` Ian Jackson
2012-02-29 17:31 ` Philipp Hahn
2012-02-29 18:45 ` Ian Campbell
2012-02-29 13:05 ` Fantu [this message]
2012-02-29 15:06 ` Stefano Stabellini
2012-02-29 15:30 ` Fantu
2012-02-29 15:39 ` Fantu
2012-03-01 14:27 ` Stefano Stabellini
2012-03-02 9:00 ` Fantu
2012-03-02 13:30 ` Stefano Stabellini
2012-03-02 14:03 ` Fantu
2012-03-02 15:36 ` Stefano Stabellini
2012-03-06 14:18 ` Fantu
2012-03-07 15:00 ` Fantu
2012-03-09 0:45 ` Ian Campbell
2012-03-08 16:59 ` Anthony PERARD
2012-03-09 10:58 ` Fantu
2012-03-09 14:55 ` Anthony PERARD
2012-03-12 9:31 ` Fantu
2012-03-13 9:14 ` Fantu
2012-03-13 9:33 ` Ian Campbell
2012-03-13 9:41 ` Ian Campbell
2012-03-15 9:36 ` Fantu
2012-03-15 17:35 ` Anthony PERARD
2012-03-16 10:51 ` Fantu
2012-03-01 14:11 ` Stefano Stabellini
2012-03-01 9:18 ` Fantu
2012-03-01 9:31 ` Ian Campbell
2012-03-01 9:43 ` Fantu
2012-03-01 10:58 ` Fantu
2012-03-01 14:40 ` Stefano Stabellini
2012-02-29 17:25 ` Philipp Hahn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1330520756321-5524897.post@n5.nabble.com \
--to=fantonifabio@tiscali.it \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).