Re: [Qemu-devel] [PATCH 1/2] win32: do not set CPU affinity

2013-02-21 Thread Roy Tam
2013/2/21 Roy Tam roy...@gmail.com: 2013/2/21 Paolo Bonzini pbonz...@redhat.com: Il 21/02/2013 01:35, Roy Tam ha scritto: QEMU system emulation has been thread-safe for a long time, and setting the CPU affinity is hurting performance badly. Remove the bogus code. Jacob Kroon reports

Re: [Qemu-devel] [PATCH 1/2] win32: do not set CPU affinity

2013-02-21 Thread Roy Tam
2013/2/21 Paolo Bonzini pbonz...@redhat.com: Il 21/02/2013 09:13, Roy Tam ha scritto: Yes, at least linux kernel starts but stalls when hitting IO-APIC thingy, with noapic boot switch it stalls after detecting ttyS0 With patch, QEMU is unresponsive when loading vmlinuz (not even

Re: [Qemu-devel] [PATCH 1/2] win32: do not set CPU affinity

2013-02-20 Thread Roy Tam
2013/2/20 Paolo Bonzini pbonz...@redhat.com: QEMU system emulation has been thread-safe for a long time, and setting the CPU affinity is hurting performance badly. Remove the bogus code. Jacob Kroon reports that the time to boot his VxWorks image goes from 3 minutes passed and I still

Re: [Qemu-devel] [PATCH 1/2] win32: do not set CPU affinity

2013-02-20 Thread Roy Tam
2013/2/21 Paolo Bonzini pbonz...@redhat.com: Il 21/02/2013 01:35, Roy Tam ha scritto: QEMU system emulation has been thread-safe for a long time, and setting the CPU affinity is hurting performance badly. Remove the bogus code. Jacob Kroon reports that the time to boot his VxWorks

Re: [Qemu-devel] slow HD performance in mingw

2012-11-30 Thread Roy Tam
2012/11/30 Roy Tam roy...@gmail.com: Hello all, I noticed that QEMU(both 1.2.1 and git head) acts very slow when accessing HD. I wonder if it is a fault in my build environment? and in same environment, I can see the speed decreases when version bumps: http://roy.dnsd.me/qemu-0.15.1.png http

[Qemu-devel] slow HD performance in mingw

2012-11-29 Thread Roy Tam
Hello all, I noticed that QEMU(both 1.2.1 and git head) acts very slow when accessing HD. I wonder if it is a fault in my build environment? Spec: Windows XP SP3 gcc-4.6.2 binutils-2.22.51.20120114 SDL-1.2.14 glib-2.28.8 (configure line: CFLAGS=-Os -I/mingw/include LDFLAGS=-s ./configure

Re: [Qemu-devel] BIOS calls in 16bit protected mode

2012-06-13 Thread Roy Tam
2012/6/14 Natalia Portillo clau...@claunia.com: Hi Kevin, Long time ago I read about OS/2 calling 16-bit protected mode BIOS, but the documentation didn't specified if this was constrained to the separate protected mode BIOS included by PS/2 systems or the real mode BIOS included by the

[Qemu-devel] [Bug 989504] [NEW] assertion failed when attaching USB MSD device

2012-04-27 Thread Roy Tam
Public bug reported: version: git rev be5ea8ed4481f0ffa4ea0f7ba13e465701536001 commandline: qemu-system-i386 -usb -fda dosusb.img -drive if=none,id=usbstick,file=usb.img -device usb-storage,bus=usb.0,drive=usbstick -boot a -L d:\_programs\qemu --- Microsoft Visual C++

[Qemu-devel] [Bug 959992] Re: segfault in apic_report_irq_delivered when booting tinycore_3.3.iso

2012-04-19 Thread Roy Tam
still happens in v1.0-2147-g51006bb. always reproducible with ttylinux 14.0 iso. ** Attachment added: screenshot https://bugs.launchpad.net/qemu/+bug/959992/+attachment/3095081/+files/ttylinux14-qemugit.png -- You received this bug notification because you are a member of qemu- devel-ml,

Re: [Qemu-devel] Fiber switching and stack protection

2012-04-16 Thread Roy Tam
2012/4/16 Pavel Dovgaluk pavel.dovga...@ispras.ru: [snipped]  By the way, I also created implementation of coroutine-win32.c, which uses WinAPI TLS functions directly (without using __thread specifiers). It works fine too. Patch is welcome. :D Pavel Dovgaluk

[Qemu-devel] [Bug 932487] Re: win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-03-20 Thread Roy Tam
coroutine issue again, when booting tinycore_3.3.iso: C:\msys\home\User\qemu\i386-softmmugdb --args qemu-system-i386.exe -L ..\pc-bios -cdrom tinycore_3.3.iso GNU gdb (GDB) 7.3 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

[Qemu-devel] [Bug 959992] [NEW] segfault in apic_report_irq_delivered when booting tinycore_3.3.iso

2012-03-20 Thread Roy Tam
Public bug reported: it git head (33cf629) sometimes it segfaults in apic_report_irq_delivered() and backtrace is looping in apic_update_irq(#3-#4) Log: C:\msys\home\User\qemu\i386-softmmugdb --args qemu-system-i386.exe -L ..\pc-bios -cdrom tinycore_3.3.iso GNU gdb (GDB) 7.3 Copyright (C) 2011

Re: [Qemu-devel] [Bug 932487] Re: win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-03-20 Thread Roy Tam
2012/3/20 Stefan Weil 932...@bugs.launchpad.net: Please try a newer compiler. gcc-4.6.2 compiles thread local storage correctly, gcc-4.3.3 obviously doesn't. If you can confirm that newer compilers fix this bug, I'd like to close this ticket. I'm using gcc-4.6.2 now. -- You received

Re: [Qemu-devel] Breakage

2012-03-19 Thread Roy Tam
2012/3/19 Avi Kivity a...@redhat.com: On 03/19/2012 06:34 AM, Roy Tam wrote: But I get *** stack smashing detected ***:  terminated and crash when booting BeOS 5. Is that a regression?  From what commit? It seems to be a regression from 0.15.1. 1.0 (mingw) build fails to boot also (a fresh

Re: [Qemu-devel] Breakage

2012-03-18 Thread Roy Tam
2012/3/19 Avi Kivity a...@redhat.com: On 03/18/2012 06:12 PM, malc wrote: 97161e177b4ea2730dff13c4df01475762ab6048 broke booting of a DOS image i've been using for years, the VM stalls at Booting from hard disk BIOS message never making any progress. Can you post an image that exhibits the

Re: [Qemu-devel] buildbot failure in qemu on default_mingw32

2012-02-29 Thread Roy Tam
2012/3/1 q...@buildbot.b1-systems.de: The Buildbot has detected a new failure on builder default_mingw32 while building qemu. Full details are available at:  http://buildbot.b1-systems.de/qemu/builders/default_mingw32/builds/193 Buildbot URL: http://buildbot.b1-systems.de/qemu/

Re: [Qemu-devel] [Bug 939995] Re: v1.0-1172-g235fe3b crashes (opts=0x0)

2012-02-24 Thread Roy Tam
2012/2/24 Peter Maydell peter.mayd...@linaro.org: This is fixed by http://patchwork.ozlabs.org/patch/142548/ (which hasn't been applied yet but hopefully will be soon). It looks like a workaround to me as if you feed NULL to qemu_opt_find() it will still crashing. -- You received this bug

[Qemu-devel] [Bug 939995] [NEW] v1.0-1172-g235fe3b crashes (opts=0x0)

2012-02-23 Thread Roy Tam
Public bug reported: C:\msys\home\User\qemu\i386-softmmugdb --args qemu-system-i386.exe -L ..\pc-bios GNU gdb (GDB) 7.3 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and

[Qemu-devel] [Bug 939995] Re: v1.0-1172-g235fe3b crashes (opts=0x0)

2012-02-23 Thread Roy Tam
qemu_opt_find() doesn't check if opts is NULL or not before use. The patch fixes that issue. ** Patch added: optfind_fixsegfault.patch https://bugs.launchpad.net/qemu/+bug/939995/+attachment/2777432/+files/optfind_fixsegfault.patch -- You received this bug notification because you are a

[Qemu-devel] [Bug 824650] Re: Latest GIT assert error in arp_table.c

2012-02-23 Thread Roy Tam
let me make comment on current git (v1.0-1172-g235fe3b), my XP SP3 -net dump is attached. You can see slirp almost not returning anything to guest (10.0.2.15), while the outgoing packets seem to be delivered correctly. ** Attachment added: net dump from v1.0-1172-g235fe3b with XP SP3 guest

Re: [Qemu-devel] Core dumps - commit a0abe474d587499a1553372c1692811f81fd3eda

2012-02-23 Thread Roy Tam
Hi, 2012/2/24 Gerhard Wiesinger li...@wiesinger.com: Hi, I'm getting coredumps: #0  qemu_opt_find (opts=0x0, name=0x7f18e8c833db kernel) at qemu-option.c:535 535         QTAILQ_FOREACH_REVERSE(opt, opts-head, QemuOptHead, next) { I bisected it down to the following commit:

Re: [Qemu-devel] [PATCH 6/6] gtk: make default UI

2012-02-20 Thread Roy Tam
2012/2/20 Stefano Stabellini stefano.stabell...@eu.citrix.com: On Mon, 20 Feb 2012, Anthony Liguori wrote: On 02/20/2012 08:06 AM, Stefano Stabellini wrote: On Mon, 20 Feb 2012, Anthony Liguori wrote: On 02/19/2012 08:52 PM, Brad Smith wrote: On 19/02/12 9:44 PM, Anthony Liguori wrote:

Re: [Qemu-devel] [PATCH 6/6] gtk: make default UI

2012-02-19 Thread Roy Tam
2012/2/20 Anthony Liguori aligu...@us.ibm.com: A user can still enable SDL with '-sdl' or '-display sdl' but start making the default display GTK by default. I'd also like to deprecate the SDL display and remove it in a few releases. So, will a win32 native UI be written? If not, it will be

Re: [Qemu-devel] [PATCH 6/6] gtk: make default UI

2012-02-19 Thread Roy Tam
2012/2/20 Anthony Liguori anth...@codemonkey.ws: On 02/19/2012 06:15 PM, Roy Tam wrote: 2012/2/20 Anthony Liguorialigu...@us.ibm.com: A user can still enable SDL with '-sdl' or '-display sdl' but start making the default display GTK by default. I'd also like to deprecate the SDL display

Re: [Qemu-devel] [PATCH 6/6] gtk: make default UI

2012-02-19 Thread Roy Tam
2012/2/20 Anthony Liguori anth...@codemonkey.ws: On 02/19/2012 08:24 PM, Brad Smith wrote: On 19/02/12 8:10 PM, Anthony Liguori wrote: If not, it will be nice to keep SDL because GTK huge and not that portable for win32 users. Neither are true. GTK is a reasonably small dependency

[Qemu-devel] [Bug 935945] Re: SLIRP still not working for win32

2012-02-18 Thread Roy Tam
So we're revisiting ms-bitfields issue: http://patchwork.ozlabs.org/patch/109989/ -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/935945 Title: SLIRP still not working for win32 Status in QEMU:

Re: [Qemu-devel] [Bug 932487] [NEW] win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-16 Thread Roy Tam
2012/2/16 Kevin Wolf 932...@bugs.launchpad.net: Am 16.02.2012 10:34, schrieb Stefan Hajnoczi: This is interesting because the code is a straightforward usage of coroutines: co = qemu_coroutine_create(bdrv_rw_co_entry); qemu_coroutine_enter(co, rwco);   --- boom Please make test-coroutine

Re: [Qemu-devel] [Bug 932487] [NEW] win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-16 Thread Roy Tam
2012/2/16 Kevin Wolf kw...@redhat.com: Am 16.02.2012 12:01, schrieb Paolo Bonzini: On 02/16/2012 11:34 AM, Kevin Wolf wrote: Remember that I saw a similar crash a while ago? It was definitely a NULL pointer access somewhere inside SwitchToFiber. I can't remember exactly what came out of it,

Re: [Qemu-devel] [Bug 932487] Re: win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-16 Thread Roy Tam
2012/2/17 Stefan Weil 932...@bugs.launchpad.net: The crash is caused by non-working thread local storage (TLS) in coroutine-win32.c. It took me some time to analyze this bug because I don't get it in my native w32 environment with gcc-4.6.2, but I could reproduce it with cross compiled w32

Re: [Qemu-devel] [Bug 932487] Re: win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-16 Thread Roy Tam
2012/2/17 Roy Tam roy...@gmail.com: 2012/2/17 Stefan Weil 932...@bugs.launchpad.net: The crash is caused by non-working thread local storage (TLS) in coroutine-win32.c. It took me some time to analyze this bug because I don't get it in my native w32 environment with gcc-4.6.2, but I could

[Qemu-devel] [Bug 932487] [NEW] win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-14 Thread Roy Tam
Public bug reported: Host: XP SP3 / Vista SP2 configure commandline: ./configure --target-list=i386-softmmu --audio- drv-list=sdl --audio-card-list=ac97,sb16,adlib --disable-linux-aio --disable-vnc-thread --disable-vnc-jpeg --extra-cflags=-O0 -pipe gcc -v: Using built-in specs. Target: mingw32

[Qemu-devel] [Bug 932487] Re: win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-14 Thread Roy Tam
Same crash in wine: user@gx110-lubuntu:~/qemu/i386-softmmu $ wine --version wine-1.3.37 user@gx110-lubuntu:~/qemu/i386-softmmu $ winedbg qemu-system-i386.exe -L ..\\pc-bios -fda fda.img WineDbg starting on pid 0024 0x7b85dedf: movl

Re: [Qemu-devel] [PATCH] w32: Initialise critical section before starting thread (fix #922131)

2012-02-01 Thread Roy Tam
Hi, 2012/1/31 Stefan Weil s...@weilnetz.de: This patch was contributed by Bogdan Harjoc. I added some assertions. Signed-off-by: Stefan Weil s...@weilnetz.de [snip] Thanks, it starts now but I hit another crash: GNU gdb (GDB) 7.3 Copyright (C) 2011 Free Software Foundation, Inc. License

Re: [Qemu-devel] http://git.qemu.org/git/qemu.git/ is inaccessible

2011-11-01 Thread Roy Tam
Hi, 2011/11/2 shu ming shum...@linux.vnet.ibm.com: You may try: http://repo.or.cz/w/qemu.git Thanks. On 2011-11-2 9:01, Roy Tam wrote: Hi all, http://git.qemu.org/git/qemu.git/ is listed in http://git.qemu.org/ but it is inaccessible (HTTP 403). Where is mirror of it? As I can't

Re: [Qemu-devel] [Bug 824650] [NEW] Latest GIT assert error in arp_table.c

2011-10-27 Thread Roy Tam
2011/10/27 Jan Kiszka jan.kis...@siemens.com: On 2011-10-27 05:21, Roy Tam wrote: 2011/10/27 Roy Tam roy...@gmail.com: Hi, 2011/10/26 Jan Kiszka jan.kis...@siemens.com: On 2011-10-26 10:03, Roy Tam wrote: Hi, 2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 15:20, Roy Tam wrote

Re: [Qemu-devel] [Bug 824650] [NEW] Latest GIT assert error in arp_table.c

2011-10-26 Thread Roy Tam
Hi, 2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 15:20, Roy Tam wrote: 2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 14:05, Roy Tam wrote: Here you go. sb16: warning: command 0xf,1 is not truly understood yet sb16: warning: command 0xe,2 is not truly understood yet

Re: [Qemu-devel] [Bug 824650] [NEW] Latest GIT assert error in arp_table.c

2011-10-26 Thread Roy Tam
Hi, 2011/10/26 Jan Kiszka jan.kis...@siemens.com: On 2011-10-26 10:03, Roy Tam wrote: Hi, 2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 15:20, Roy Tam wrote: 2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 14:05, Roy Tam wrote: Here you go. sb16: warning: command 0xf,1

Re: [Qemu-devel] [Bug 824650] [NEW] Latest GIT assert error in arp_table.c

2011-10-26 Thread Roy Tam
2011/10/27 Roy Tam roy...@gmail.com: Hi, 2011/10/26 Jan Kiszka jan.kis...@siemens.com: On 2011-10-26 10:03, Roy Tam wrote: Hi, 2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 15:20, Roy Tam wrote: 2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 14:05, Roy Tam wrote: Here you

Re: [Qemu-devel] [Bug 824650] [NEW] Latest GIT assert error in arp_table.c

2011-09-15 Thread Roy Tam
2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 06:11, Roy Tam wrote: 2011/8/12 Nigel Horne 824...@bugs.launchpad.net: Public bug reported: The latest git version of qemu (commit 8cc7c3952d4d0a681d8d4c3ac89a206a5bfd7f00) crashes after a few minutes. All was fine up to a few days ago

Re: [Qemu-devel] [Bug 824650] [NEW] Latest GIT assert error in arp_table.c

2011-09-15 Thread Roy Tam
2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 09:38, Roy Tam wrote: 2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 06:11, Roy Tam wrote: 2011/8/12 Nigel Horne 824...@bugs.launchpad.net: Public bug reported: The latest git version of qemu (commit

Re: [Qemu-devel] [Bug 824650] [NEW] Latest GIT assert error in arp_table.c

2011-09-15 Thread Roy Tam
2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 12:53, Roy Tam wrote: 2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 09:38, Roy Tam wrote: 2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 06:11, Roy Tam wrote: 2011/8/12 Nigel Horne 824...@bugs.launchpad.net: Public bug

Re: [Qemu-devel] [Bug 824650] [NEW] Latest GIT assert error in arp_table.c

2011-09-15 Thread Roy Tam
2011/9/15 Jan Kiszka jan.kis...@web.de: On 2011-09-15 14:05, Roy Tam wrote: Here you go. sb16: warning: command 0xf,1 is not truly understood yet sb16: warning: command 0xe,2 is not truly understood yet [Switching to Thread 13840.0x3140] Breakpoint 1, arp_table_search (slirp=0x19f7380

Re: [Qemu-devel] [PATCH] usb: change VID/PID for usb-hub and usb-msd to prevent conflict

2011-09-15 Thread Roy Tam
2011/9/16 Gerd Hoffmann kra...@redhat.com: On 09/15/11 05:25, Roy Tam wrote: Some USB drivers, for example USBASPI.SYS, will skip different type of device which has same VID/PID. The following patch helps preventing usb-msd being skipped by the driver. How and why did you pick those IDs

[Qemu-devel] [PATCH] usb: change VID/PID for usb-hub and usb-msd to prevent conflict

2011-09-14 Thread Roy Tam
Some USB drivers, for example USBASPI.SYS, will skip different type of device which has same VID/PID. The following patch helps preventing usb-msd being skipped by the driver. Sign-off-by: Roy Tam roy...@gmail.com -- diff --git a/hw/usb-hub.c b/hw/usb-hub.c index 286e3ad..449dd4d 100644 --- a/hw

Re: [Qemu-devel] [Bug 824650] [NEW] Latest GIT assert error in arp_table.c

2011-09-14 Thread Roy Tam
2011/8/12 Nigel Horne 824...@bugs.launchpad.net: Public bug reported: The latest git version of qemu (commit 8cc7c3952d4d0a681d8d4c3ac89a206a5bfd7f00) crashes after a few minutes. All was fine up to a few days ago.  This is wth both x86 and sparc emulation, on an x86_64 host. e.g.

Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3)

2011-09-07 Thread Roy Tam
2011/8/23 Roy Tam roy...@gmail.com: 2011/8/20 Stefan Weil w...@mail.berlios.de: Am 16.08.2011 20:50, schrieb Paolo Bonzini: On 08/16/2011 05:45 AM, Stefan Hajnoczi wrote: Roy, This stack trace does not reveal much. Is there any MinGW gcc user that has successfully built and run qemu.git

Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3)

2011-08-23 Thread Roy Tam
2011/8/20 Stefan Weil w...@mail.berlios.de: Am 16.08.2011 20:50, schrieb Paolo Bonzini: On 08/16/2011 05:45 AM, Stefan Hajnoczi wrote: Roy, This stack trace does not reveal much. Is there any MinGW gcc user that has successfully built and run qemu.git? I would be surprised if Stefan

Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3)

2011-08-17 Thread Roy Tam
2011/8/18 Blue Swirl blauwir...@gmail.com: On Tue, Aug 16, 2011 at 6:50 PM, Paolo Bonzini pbonz...@redhat.com wrote: On 08/16/2011 05:45 AM, Stefan Hajnoczi wrote: Roy, This stack trace does not reveal much. Is there any MinGW gcc user that has successfully built and run qemu.git? I

Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3)

2011-08-16 Thread Roy Tam
2011/8/8 Roy Tam roy...@gmail.com: 2011/8/8 Stefan Hajnoczi stefa...@gmail.com: On Mon, Aug 8, 2011 at 1:30 AM, Roy Tam roy...@gmail.com wrote: Hi all, I checked out latest git and tried to compile QEMU but I got this message: qemu$ make V=1 gcc -m32 -D__USE_MINGW_ANSI_STDIO=1

Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3)

2011-08-08 Thread Roy Tam
2011/8/8 Stefan Hajnoczi stefa...@gmail.com: On Mon, Aug 8, 2011 at 1:30 AM, Roy Tam roy...@gmail.com wrote: Hi all, I checked out latest git and tried to compile QEMU but I got this message: qemu$ make V=1 gcc -m32 -D__USE_MINGW_ANSI_STDIO=1 -DWIN32_LEAN_AND_MEAN -DWINVER=0x501

[Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3)

2011-08-07 Thread Roy Tam
Hi all, I checked out latest git and tried to compile QEMU but I got this message: qemu$ make V=1 gcc -m32 -D__USE_MINGW_ANSI_STDIO=1 -DWIN32_LEAN_AND_MEAN -DWINVER=0x501 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall

Re: [Qemu-devel] [Qemu-trivial] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is specified

2011-06-27 Thread Roy Tam
2011/6/27 Stefan Weil w...@mail.berlios.de: Am 27.06.2011 04:37, schrieb TeLeMan: This patch breaks the compilation with --enable-vnc-png: CC ui/vnc-enc-tight.o In file included from /usr/include/png.h:518, from ui/vnc-enc-tight.c:34: /usr/include/pngconf.h:371: error: expected '=', ',',

Re: [Qemu-devel] [Qemu-trivial] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is specified

2011-06-26 Thread Roy Tam
...@mail.berlios.de  wrote: Am 23.06.2011 15:52, schrieb Stefan Hajnoczi: On Sat, Jun 18, 2011 at 10:35:57AM +0200, Stefan Weil wrote: Am 18.06.2011 07:13, schrieb Roy Tam: This patch fix conflicting types for 'INT32' in basetsd.h in including qemu-common.h first. Sign-off-by: Roy Tamroy...@gmail.com

[Qemu-devel] [BREAKAGE] KVM pulls break MinGW builds

2011-06-22 Thread Roy Tam
The pulls makes KVM enabled by default, which is not available in MinGW(Win32) environment. Even through I put --disable-kvm switch in ./configure, I still can't get QEMU compiled: (...) CCi386-softmmu/pc_piix.o CCi386-softmmu/kvmclock.o In file included from

[Qemu-devel] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is specified

2011-06-17 Thread Roy Tam
This patch fix conflicting types for 'INT32' in basetsd.h in including qemu-common.h first. Sign-off-by: Roy Tam roy...@gmail.com -- diff --git a/ui/vnc-enc-tight.c b/ui/vnc-enc-tight.c index 87fdf35..1591df0 100644 --- a/ui/vnc-enc-tight.c +++ b/ui/vnc-enc-tight.c @@ -28,6 +28,8 @@ #include

Re: [Qemu-devel] [RFC 23/23] 40p: Add an 8514/A graphics card

2011-06-15 Thread Roy Tam
2011/6/16 Andreas Färber andreas.faer...@web.de: Am 15.06.2011 um 06:33 schrieb Roy Tam: 2011/6/14 Andreas Färber andreas.faer...@web.de: The IBM E15 is equivalent to an S3 Vision864. Lacking S3 SDAC (86C716) support, the DAC indizes are translated to greyscale colors. This works

Re: [Qemu-devel] [RFC 23/23] 40p: Add an 8514/A graphics card

2011-06-14 Thread Roy Tam
Hi all, 2011/6/14 Andreas Färber andreas.faer...@web.de: The IBM E15 is equivalent to an S3 Vision864. Lacking S3 SDAC (86C716) support, the DAC indizes are translated to greyscale colors. This works sufficiently to observe firmware boot progress. IMO we can generalize it as a generic S3

Re: [Qemu-devel] [PATCH 1/2] extract I/O handler lists to iohandler.c

2011-04-02 Thread Roy Tam
Hi, 2011/3/10 Paolo Bonzini pbonz...@redhat.com: Signed-off-by: Paolo Bonzini pbonz...@redhat.com ---        I had this patch queued for a while; only today I noticed the        very similar one in virtagent.  Makefile.objs |    2 +-  iohandler.c   |  129

Re: [Qemu-devel] target-unicore32: New ISA support for QEMU

2011-03-24 Thread Roy Tam
Hi, 2011/3/24 Guan Xuetao g...@mprc.pku.edu.cn: Hi, I want to add new ISA (UniCore32) support for QEMU. I have finished unicore32-linux-user development based on qemu-stable-0.14,  and will begin unicore32-softmmu work. What need I do for merging it into QEMU? Post the patch sets. Just

Re: [Qemu-devel] [PATCH 01/11] Add hard build dependency on glib

2011-03-23 Thread Roy Tam
2011/3/23 Stefan Hajnoczi stefa...@gmail.com: On Wed, Mar 23, 2011 at 12:16 AM, Anthony Liguori aligu...@us.ibm.com wrote: GLib is an extremely common library that has a portable thread implementation along with tons of other goodies. GLib and GObject have a fantastic amount of infrastructure

Re: [Qemu-devel] [PATCH 01/11] Add hard build dependency on glib

2011-03-23 Thread Roy Tam
2011/3/23 Stefan Hajnoczi stefa...@gmail.com: On Wed, Mar 23, 2011 at 8:19 AM, Roy Tam roy...@gmail.com wrote: 2011/3/23 Stefan Hajnoczi stefa...@gmail.com: On Wed, Mar 23, 2011 at 12:16 AM, Anthony Liguori aligu...@us.ibm.com wrote: GLib is an extremely common library that has a portable

Re: [Qemu-devel] [PATCH] WIN32: Add missing include for 'struct timeval', used in vnc.h

2011-03-06 Thread Roy Tam
Hi, 2011/3/6 Herve Poussineau hpous...@reactos.org: FYI: [PATCH 1/3] w32: Add new directory hierarchy for MinGW extensions http://www.mail-archive.com/qemu-devel@nongnu.org/msg56858.html [PATCH 2/3] w32: Add macro timersub to sys/time.h

Re: [Qemu-devel] Building QEMU on PS3

2011-02-23 Thread Roy Tam
Hi chenwj, 2011/2/23 陳韋任 che...@iis.sinica.edu.tw: Hi, Roy Seems to be related: http://www.mail-archive.com/qemu-devel@nongnu.org/msg55914.html Thanks for the info. I wonder if it is possible to cross compile qemu for ppc (host) on a x86 machine. If you have cross compile toolchain and

Re: [Qemu-devel] Building QEMU on PS3

2011-02-22 Thread Roy Tam
2011/2/23 陳韋任 che...@iis.sinica.edu.tw: Hi, all Is it possible to build qemu whose target is i386-linux-user on a PS3 machine (Gentoo Linux/PowerPC). I am trying to do so, but it failed at compiling i386-linux-user/translate.o. Here is the system information:

[Qemu-devel] [PATCH v4] PS/2 keyboard Scancode Set 3 support

2011-02-20 Thread Roy Tam
The following patch adds PS/2 keyboard Scancode Set 3 support. Sign-off-by: Roy Tam roy...@gmail.com -- v4: fix comment v3: change from switch to array, more style fixes v2: checkpatch.pl style fixes diff --git a/hw/ps2.c b/hw/ps2.c index 762bb00..0917e89 100644 --- a/hw/ps2.c +++ b/hw/ps2.c

Re: [Qemu-devel] [PATCH v3] PS/2 keyboard Scancode Set 3 support

2011-02-20 Thread Roy Tam
2011/2/21 Aurelien Jarno aurel...@aurel32.net: On Mon, Feb 14, 2011 at 08:59:02PM +0800, Roy Tam wrote: The following patch adds PS/2 keyboard Scancode Set 3 support. Sign-off-by: Roy Tam roy...@gmail.com -- v3: change from switch to array, more style fixes v2: checkpatch.pl style fixes

Re: [Qemu-devel] [PATCH v2] PS/2 keyboard Scancode Set 3 support

2011-02-14 Thread Roy Tam
2011/2/14 Kevin Wolf kw...@redhat.com: Am 13.02.2011 11:07, schrieb Roy Tam: The following patch adds PS/2 keyboard Scancode Set 3 support. Sign-off-by: Roy Tam roy...@gmail.com -- v2: checkpatch.pl style fixes diff --git a/hw/ps2.c b/hw/ps2.c index 762bb00..6bea0ef 100644 --- a/hw/ps2.c

[Qemu-devel] [PATCH v3] PS/2 keyboard Scancode Set 3 support

2011-02-14 Thread Roy Tam
The following patch adds PS/2 keyboard Scancode Set 3 support. Sign-off-by: Roy Tam roy...@gmail.com -- v3: change from switch to array, more style fixes v2: checkpatch.pl style fixes diff --git a/hw/ps2.c b/hw/ps2.c index 762bb00..da4737a 100644 --- a/hw/ps2.c +++ b/hw/ps2.c @@ -110,14 +110,24

Re: [Qemu-devel] [PATCH v2] PS/2 keyboard Scancode Set 3 support

2011-02-14 Thread Roy Tam
2011/2/14 Kevin Wolf kw...@redhat.com: Am 14.02.2011 13:49, schrieb Roy Tam: 2011/2/14 Kevin Wolf kw...@redhat.com: Am 13.02.2011 11:07, schrieb Roy Tam: The following patch adds PS/2 keyboard Scancode Set 3 support. Sign-off-by: Roy Tam roy...@gmail.com -- v2: checkpatch.pl style fixes

[Qemu-devel] [PATCH v2] PS/2 keyboard Scancode Set 3 support

2011-02-13 Thread Roy Tam
The following patch adds PS/2 keyboard Scancode Set 3 support. Sign-off-by: Roy Tam roy...@gmail.com -- v2: checkpatch.pl style fixes diff --git a/hw/ps2.c b/hw/ps2.c index 762bb00..6bea0ef 100644 --- a/hw/ps2.c +++ b/hw/ps2.c @@ -143,13 +143,85 @@ static void ps2_put_keycode(void *opaque, int

[Qemu-devel] [PATCH] PS/2 keyboard Scancode Set 3 support

2011-02-12 Thread Roy Tam
The following patch adds PS/2 keyboard Scancode Set 3 support. Sign-off-by: Roy Tam roy...@gmail.com -- diff --git a/hw/ps2.c b/hw/ps2.c index 762bb00..4b73967 100644 --- a/hw/ps2.c +++ b/hw/ps2.c @@ -143,12 +143,87 @@ static void ps2_put_keycode(void *opaque, int keycode) { PS2KbdState *s

[Qemu-devel] [PATCH] QEMU_OPTION_spice is not guarded by ifdef

2010-10-26 Thread Roy Tam
Hi all, commit 29b0040be6371c403dae0fef7fec36b814e300e8 breaks building when --disable-spice configure switch is used. The following patch fix this. Best regards, Roy Signed-off-by: Roy Tam roy...@gmail.com --- diff --git a/vl.c b/vl.c index 7038952..6352673 100644 --- a/vl.c +++ b/vl.c

[Qemu-devel] Re: [PATCH] QEMU_OPTION_spice is not guarded by ifdef

2010-10-26 Thread Roy Tam
2010/10/26 Gerd Hoffmann kra...@redhat.com: On 10/26/10 13:33, Roy Tam wrote: Hi all, commit 29b0040be6371c403dae0fef7fec36b814e300e8 breaks building when --disable-spice configure switch is used. The following patch fix this. Huh?  It builds fine for me.  What build failure do you get

Re: [Qemu-devel] Re: Git server hung

2010-10-19 Thread Roy Tam
Hi Michael, Workaround: get from savannah. This one should work. git://git.savannah.nongnu.org/qemu.git Best regards, Roy 2010/10/20 Michael Crawford mdcrawf...@gmail.com: git clone http://git.qemu.org/qemu.git This initializes a repository in qemu/.git and starts downloading from the git

Re: [Qemu-devel] not able to install windows NT

2010-10-03 Thread Roy Tam
Hi, 2010/10/3 Bhasker C V bhas...@unixindia.com: Hi all,  I have been trying to install windows NT 4.0 with qemu A] The version I had taken was qemu-0.13.0-rc1.tar.gz   after compiling I found that version still shows (with qemu --version   as QEMU emulator version 0.12.90, Copyright (c)

[Qemu-devel] [Bug 588748] Re: QEMU fails to boot DR DOS Plus since 0.6.1

2010-06-03 Thread Roy Tam
Can you add some debugging to see what IER is being set to? With DEBUG_SERIAL defined, serial logs: serial: event 2 serial: write addr=0x01 val=0x02 serial: read addr=0x01 val=0x02 serial: read addr=0x02 val=0x02 serial: write addr=0x01 val=0x00 serial: write addr=0x03 val=0x80 serial: write

[Qemu-devel] [Bug 588748] [NEW] QEMU fails to boot DR DOS Plus since 0.6.1

2010-06-02 Thread Roy Tam
Public bug reported: The commit in r1049 (serial interrupt fix (Hampa Hug)) prevents booting Digital Research DOS Plus. ** Affects: qemu Importance: Undecided Status: New -- QEMU fails to boot DR DOS Plus since 0.6.1 https://bugs.launchpad.net/bugs/588748 You received this bug

[Qemu-devel] [Bug 588748] Re: QEMU fails to boot DR DOS Plus since 0.6.1

2010-06-02 Thread Roy Tam
** Patch added: Following patch partially reverts that commit and makes DOSPlus booting in QEMU again. http://launchpadlibrarian.net/49557998/serial-ier-fix.patch -- QEMU fails to boot DR DOS Plus since 0.6.1 https://bugs.launchpad.net/bugs/588748 You received this bug notification because

[Qemu-devel] [Bug 588748] Re: QEMU fails to boot DR DOS Plus since 0.6.1

2010-06-02 Thread Roy Tam
This patch doesn't seem correct as the spec is pretty clear that THRE interrupt enable is set to high, then an interrupt is rased if LSR.THRE=1. Does the following also make DOSPlus boot again: No it doesn't. Same as unpatched. -- QEMU fails to boot DR DOS Plus since 0.6.1

Re: [Qemu-devel] [PATCH 1/6] bochs: use pread

2010-05-04 Thread Roy Tam
2010/5/4 Christoph Hellwig h...@lst.de: Use pread instead of lseek + read in preparation of using the qemu block API. IIRC there is no pread in MinGW.

Re: [Qemu-devel] Compile Qemu on Windows?

2010-04-22 Thread Roy Tam
2010/4/22 Jun Koi junkoi2...@gmail.com: Hi, I want to compile Qemu on Windows (then run it there). Is there any instruction on how to do that? (I googled around, to no avail) You will need MinGW(latest stable one), GCC (I use GCC 3.4.5, included in MinGW), binutils, make, MSYS (for MSYS

Re: [Qemu-devel] QEMU regression problems

2010-04-13 Thread Roy Tam
2010/4/12 Gerhard Wiesinger li...@wiesinger.com: Hello, Checkit reports some problems under DOS: 1.) NPU functions are not correct: NPU Trigonometric Functions: FAILED. Seems to be a problem of the instruction set. 2.) Real-Time Clock Alarm: FAILED (This might be also the reason for the KVM

Re: [Qemu-devel] Problem with DOS application and 286 DOS Extender application

2010-04-12 Thread Roy Tam
2010/4/13 Gerhard Wiesinger li...@wiesinger.com: Hello, I'm having a problem with a DOS application which uses a 286 DOS Extender, error message is as the following: unable to create task for execution Interrupt 10 (Ah) while creating task: Invalid task segment selector. Happens with

Re: [Qemu-devel] [BREAKAGE] commit 9bc6304c156dcc01c619672ca33d7152bb18bcb9 breaks build

2010-04-04 Thread Roy Tam
2010/4/2 Anthony Liguori anth...@codemonkey.ws: On 04/02/2010 10:27 AM, Anthony Liguori wrote: This tap files are a bit odd. We don't compile tap.o for mingw32 but we do compile tap-win32.o so what we need to do is define tap_get_vhost_net in tap-win32.c. Testing a patch right now. I

[Qemu-devel] [BREAKAGE] commit 9bc6304c156dcc01c619672ca33d7152bb18bcb9 breaks build

2010-04-02 Thread Roy Tam
Config: Install prefixc:/Program Files/Qemu BIOS directoryc:/Program Files/Qemu binary directory c:/Program Files/Qemu Source path /usr/home/User/qemu C compilergcc Host C compiler gcc CFLAGS-O2 -g QEMU_CFLAGS -m32 -D__USE_MINGW_ANSI_STDIO=1

Re: [Qemu-devel] [BREAKAGE] commit 9bc6304c156dcc01c619672ca33d7152bb18bcb9 breaks build

2010-04-02 Thread Roy Tam
2010/4/2 Anthony Liguori anth...@codemonkey.ws: Try doing a clean build This is a fresh checkout. On Apr 2, 2010 4:43 AM, Roy Tam roy...@gmail.com wrote: Config: Install prefixc:/Program Files/Qemu BIOS directoryc:/Program Files/Qemu binary directory c:/Program Files/Qemu

Re: [Qemu-devel] [PATCH][RESEND] Serial: DOS Plus regression

2010-03-26 Thread Roy Tam
2010/3/27 Aurelien Jarno aurel...@aurel32.net: On Thu, Mar 25, 2010 at 08:58:13PM +0800, Roy Tam wrote: The commit in r1049 (serial interrupt fix (Hampa Hug)) prevents booting Digital Research DOSPlus. Following patch partially reverts that commit and makes DOSPlus booting in QEMU again. I

[Qemu-devel] [PATCH][RESEND] Serial: DOS Plus regression

2010-03-25 Thread Roy Tam
The commit in r1049 (serial interrupt fix (Hampa Hug)) prevents booting Digital Research DOSPlus. Following patch partially reverts that commit and makes DOSPlus booting in QEMU again. Sign-off-by: Roy Tam roy...@gmail.com -- diff --git a/hw/serial.c b/hw/serial.c index f3ec36a..2ae550e 100644

Re: [Qemu-devel] how can I make the small linux image(QCOW2) for ARM platform?

2010-03-23 Thread Roy Tam
2010/3/23 현해일 pla...@gmail.com: Hi, my name is haeil. I want to get small linux image file for ARM platform or x86 platform. This image file must be QCOW2 format because I want to use snapshot function. Already I did try to covert the raw image file(download from qemu.org) to QCOW2

Re: [Qemu-devel] qemu-system-sh4 broken again.

2010-03-13 Thread Roy Tam
2010/3/13 Rob Landley r...@landley.net: Using qemu-system-sh4, this commit: e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 is first bad commit commit e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 Author: Gerd Hoffmann kra...@redhat.com Date: Tue Dec 8 13:11:44 2009 +0100 zap serial_monitor_mux

[Qemu-devel] Re: PS/2 mouse emulation problems

2010-03-13 Thread Roy Tam
2010/3/13 Natalia Portillo clau...@claunia.com: Ok so in resume we have the following PS/2 mouse bugs: NeXTStep and OpenStep PS/2 driver receives no movement at all from the mouse (Darwin PS/2 driver seems to be made from scratch so no helpful here). MS-DOS Mouse driver hangs the whole

Re: [Qemu-devel] Regression: more 0.12 regression (SeaBIOS related?)

2010-03-13 Thread Roy Tam
2010/3/13 Kevin O'Connor ke...@koconnor.net: On Sat, Mar 13, 2010 at 12:13:04AM +0800, Roy Tam wrote: 2010/3/12 Kevin O'Connor ke...@koconnor.net: Under qemu-0.11 normal typing lead to lots of keyboard errors for me. It's possible real hardware would be less susceptible to this error

[Qemu-devel] Re: PS/2 mouse emulation problems

2010-03-13 Thread Roy Tam
2010/3/14 Kevin O'Connor ke...@koconnor.net: On Sat, Mar 13, 2010 at 10:44:46PM +0800, Roy Tam wrote: 2010/3/13 Natalia Portillo clau...@claunia.com: Ok so in resume we have the following PS/2 mouse bugs: NeXTStep and OpenStep PS/2 driver receives no movement at all from the mouse

[Qemu-devel] Re: PS/2 mouse emulation problems

2010-03-13 Thread Roy Tam
2010/3/14 Roy Tam roy...@gmail.com: 2010/3/14 Kevin O'Connor ke...@koconnor.net: On Sat, Mar 13, 2010 at 10:44:46PM +0800, Roy Tam wrote: 2010/3/13 Natalia Portillo clau...@claunia.com: Ok so in resume we have the following PS/2 mouse bugs: NeXTStep and OpenStep PS/2 driver receives

[Qemu-devel] Re: PS/2 mouse emulation problems

2010-03-13 Thread Roy Tam
2010/3/14 Kevin O'Connor ke...@koconnor.net: On Sun, Mar 14, 2010 at 11:11:30AM +0800, Roy Tam wrote: 2010/3/14 Roy Tam roy...@gmail.com: Tested. Results belows: + NeXTStep/OpenStep bootloader no longer stalls. + EDR-DOS 7.01.08 WIP boots. + Paragon PTS-DOS 6.51CD/2000 Pro, GHOST, GW

Re: [Qemu-devel] Regression: more 0.12 regression (SeaBIOS related?)

2010-03-12 Thread Roy Tam
2010/3/12 Kevin O'Connor ke...@koconnor.net: On Thu, Mar 11, 2010 at 03:42:28PM +0800, Roy Tam wrote: Sorry I can't find documentation on this usage. But instead I have lots of old programs written with this usage. Using undocumented features from BIOS/DOS is very usual in that time. Can you

Re: [Qemu-devel] SeaBIOS error with Nextstep bootloader

2010-03-12 Thread Roy Tam
2010/3/12 Natalia Portillo clau...@claunia.com: Hi, These floppy images are failing because they spin waiting for a keypress with irqs disabled, and SeaBIOS doesn't enable irqs in the handlers being called (same issue seen on d090723b.zip image reported by Roy). I've put a test image with

Re: [Qemu-devel] Regression: more 0.12 regression (SeaBIOS related?)

2010-03-11 Thread Roy Tam
2010/3/12 Kevin O'Connor ke...@koconnor.net: On Thu, Mar 11, 2010 at 03:42:28PM +0800, Roy Tam wrote: Sorry I can't find documentation on this usage. But instead I have lots of old programs written with this usage. Using undocumented features from BIOS/DOS is very usual in that time. Can you

Re: [Qemu-devel] Re: extended vga modes?

2010-03-10 Thread Roy Tam
2010/3/8 Avi Kivity a...@redhat.com: On 03/08/2010 01:07 PM, Michael Tokarev wrote: Avi Kivity wrote: [] In short, when vgabios were dropped from qemu-kvm (for whatever yet unknown reason), What do you mean? qemu-kvm still carries a local vgabios (see kvm/vgabios in qemu-kvm.git).

Re: [Qemu-devel] Regression: more 0.12 regression (SeaBIOS related?)

2010-03-10 Thread Roy Tam
2010/3/11 Kevin O'Connor ke...@koconnor.net: On Wed, Mar 10, 2010 at 01:24:27PM +0800, Roy Tam wrote: 2010/3/10 Kevin O'Connor ke...@koconnor.net: I don't see an Illegal Instruction message. Instead, I see the keyboard just not working. What qemu version and what command line did you use

  1   2   >