|
From: | Stefan Weil |
Subject: | Re: [Qemu-devel] [PATCH 0/6] Add GTK UI to enable basic accessibility |
Date: | Sat, 25 Feb 2012 22:15:33 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19 |
Am 25.02.2012 21:11, schrieb Anthony Liguori:
On 02/25/2012 11:02 AM, Stefan Weil wrote: Just run QEMU on a sufficiently slow host, for example QEMU in QEMU, or slow down the execution of QEMU by other means, then you will see which window sizes are then selected. Maybe you also need -singlestep. You _will_ get a very small window! I just got it using this call on a netbook running Ubuntu: qemu-system-i386 -L pc-bios -singlestep -d in_asm,out_asm Don't use KVM, of course - we want to slow down QEMU! Adding strace is also a good way to reduce execution speed. Cheers, Stefan Weil PS. qemu-system-i386 crashed like qemu-system-mipsel before when it tried to switch from the small window to the normal size: The program '<unknown>' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 351 error_code 11 request_code 53 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Debugging X errors is a bit difficult, but I finally got this backtrace: Breakpoint 3, 0x00438196 in _XError () from /usr/lib/libX11.so.6 (gdb) i s #0 0x00438196 in _XError () from /usr/lib/libX11.so.6 #1 0x0043e92f in ?? () from /usr/lib/libX11.so.6 #2 0x0043f356 in _XEventsQueued () from /usr/lib/libX11.so.6 #3 0x0043f3e9 in _XFlush () from /usr/lib/libX11.so.6 #4 0x00417101 in XFlush () from /usr/lib/libX11.so.6 #5 0x00936cb4 in gdk_display_flush () from /usr/lib/libgdk-x11-2.0.so.0 #6 0x00928f7a in gdk_window_process_all_updates () from /usr/lib/libgdk-x11-2.0.so.0 #7 0x005c676f in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #8 0x00905358 in ?? () from /usr/lib/libgdk-x11-2.0.so.0 #9 0x00176661 in ?? () from /lib/libglib-2.0.so.0 #10 0x001785e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #11 0x8013d4a0 in glib_select_poll (rfds=0xbfffef04, wfds=0xbfffee84, xfds=0xbfffee04, err=false) at /home/stefan/src/qemu/qemu.org/qemu/main-loop.c:287 #12 0x8013d696 in main_loop_wait (nonblocking=0) at /home/stefan/src/qemu/qemu.org/qemu/main-loop.c:463 #13 0x80131b40 in main_loop () at /home/stefan/src/qemu/qemu.org/qemu/vl.c:1482 #14 0x80138985 in main (argc=6, argv=0xbffff344, envp=0xbffff360) at /home/stefan/src/qemu/qemu.org/qemu/vl.c:3541 |
[Prev in Thread] | Current Thread | [Next in Thread] |