[Qemu-devel] [Bug 922131] [NEW] QEMU v1.0-788-g3316364 crashes in win32 native environment

2012-01-26 Thread Roy Tam
Public bug reported: Host: lubuntu 10.04 LTS x86 (32bit) Build: i586-mingw32msvc-gcc 4.4.2 Libs: mingw32-runtime-3.15.2-0ubuntu1, wine1.3, zlib-1.2.5 (from source), glib-2.28.1 (from http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib*_2.28.1-1_win32.zip), gettext-0.18.1.1 (from source

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 : > This patch was contributed by Bogdan Harjoc. I added some assertions. > > Signed-off-by: Stefan Weil [snip] Thanks, it starts now but I hit another crash: GNU gdb (GDB) 7.3 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

[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: mingw

[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%ed

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 mak

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 : > 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, but I

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 compil

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 : > 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 >> w3

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

2013-02-20 Thread Roy Tam
2013/2/20 Paolo Bonzini : > 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 haven't made it th

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

2013-02-20 Thread Roy Tam
2013/2/21 Paolo Bonzini : > 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. >>> > >>

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

2013-02-21 Thread Roy Tam
2013/2/21 Roy Tam : > 2013/2/21 Paolo Bonzini : >> 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

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

2013-02-21 Thread Roy Tam
2013/2/21 Paolo Bonzini : > 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 >>> > >>> >

Re: [Qemu-devel] Breakage

2012-03-18 Thread Roy Tam
2012/3/19 Avi Kivity : > 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 proble

Re: [Qemu-devel] Breakage

2012-03-19 Thread Roy Tam
2012/3/19 Avi Kivity : > 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 (min

[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-softmmu>gdb --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-softmmu>gdb --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 rece

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 : > 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 Vision864 and use

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 : > Am 15.06.2011 um 06:33 schrieb Roy Tam: > >> 2011/6/14 Andreas Färber : >>> >>> The IBM E15 is equivalent to an S3 Vision864. >>> >>> Lacking S3 SDAC (86C716) support, the DAC indizes are translated >>> to grey

[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 -- 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 &quo

[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 -Wunde

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

2011-08-07 Thread Roy Tam
2011/8/8 Stefan Hajnoczi : > On Mon, Aug 8, 2011 at 1:30 AM, Roy Tam 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 >

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 : > 2011/8/8 Stefan Hajnoczi : >> On Mon, Aug 8, 2011 at 1:30 AM, Roy Tam 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

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 : > On Tue, Aug 16, 2011 at 6:50 PM, Paolo Bonzini 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 would be surprised

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 : > 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 Stef

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

2012-06-13 Thread Roy Tam
2012/6/14 Natalia Portillo : > 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 same PS/2 syste

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

2012-04-15 Thread Roy Tam
2012/4/16 Pavel Dovgaluk : > >[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 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, w

[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: Ne

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

2012-02-19 Thread Roy Tam
2012/2/20 Anthony Liguori : > 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 nice to keep SD

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

2012-02-19 Thread Roy Tam
2012/2/20 Anthony Liguori : > On 02/19/2012 06:15 PM, Roy Tam wrote: >> >> 2012/2/20 Anthony Liguori: >>> >>> A user can still enable SDL with '-sdl' or '-display sdl' but start >>> making the >>> default display GTK by default

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

2012-02-19 Thread Roy Tam
2012/2/20 Anthony Liguori : > 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 esp

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

2012-02-20 Thread Roy Tam
2012/2/20 Stefano Stabellini : > 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: >> On 02/19/2012

[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-softmmu>gdb --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 This is free software: you are free to change an

[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 me

[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 : > 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: > a0abe474d587499a15533

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

2012-02-24 Thread Roy Tam
2012/2/24 Peter Maydell : > 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 notification because

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

2012-02-29 Thread Roy Tam
2012/3/1 : > 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/ > > Buildslave for this Build: kr

[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 C:/msys/home/User/qemu/hw/

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

2011-06-26 Thread Roy Tam
gt; On Sun, Jun 26, 2011 at 11:03 PM, Stefan Weil wrote: >>> Am 26.06.2011 20:06, schrieb Blue Swirl: >>>> >>>> On Thu, Jun 23, 2011 at 6:05 PM, Stefan Weil  wrote: >>>>> >>>>> Am 23.06.2011 15:52, schrieb Ste

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

2011-06-26 Thread Roy Tam
2011/6/27 Stefan Weil : > 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 '=', ',', ';', 'a

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 : > On 2011-09-15 15:20, Roy Tam wrote: >> 2011/9/15 Jan Kiszka : >>> On 2011-09-15 14:05, Roy Tam wrote: >>>> Here you go. >>>> >>>> sb16: warning: command 0xf,1 is not truly understood yet >>>> sb16: war

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 : > On 2011-10-26 10:03, Roy Tam wrote: >> Hi, >> >> 2011/9/15 Jan Kiszka : >>> On 2011-09-15 15:20, Roy Tam wrote: >>>> 2011/9/15 Jan Kiszka : >>>>> On 2011-09-15 14:05, Roy Tam wrote: >>>>&g

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 : > Hi, > > 2011/10/26 Jan Kiszka : >> On 2011-10-26 10:03, Roy Tam wrote: >>> Hi, >>> >>> 2011/9/15 Jan Kiszka : >>>> On 2011-09-15 15:20, Roy Tam wrote: >>>>> 2011/9/15 Jan Kiszka : >>>>>>

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 : > On 2011-10-27 05:21, Roy Tam wrote: >> 2011/10/27 Roy Tam : >>> Hi, >>> >>> 2011/10/26 Jan Kiszka : >>>> On 2011-10-26 10:03, Roy Tam wrote: >>>>> Hi, >>>>> >>>>> 2011/9/15 Jan K

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

2011-11-01 Thread Roy Tam
Hi, 2011/11/2 shu ming : > 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). >&

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 : > 2011/8/20 Stefan Weil : >> 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. >>>> >>

[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 -- diff --git a/hw/usb-hub.c b/hw/usb-hub.c index 286e3ad..449dd4d 100644 --- a/hw/usb-hub.c +++ b

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] [Bug 824650] [NEW] Latest GIT assert error in arp_table.c

2011-09-15 Thread Roy Tam
2011/9/15 Jan Kiszka : > 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 aft

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 : > On 2011-09-15 09:38, Roy Tam wrote: >> 2011/9/15 Jan Kiszka : >>> On 2011-09-15 06:11, Roy Tam wrote: >>>> 2011/8/12 Nigel Horne <824...@bugs.launchpad.net>: >>>>> Public bug reported:

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 : > On 2011-09-15 12:53, Roy Tam wrote: >> 2011/9/15 Jan Kiszka : >>> On 2011-09-15 09:38, Roy Tam wrote: >>>> 2011/9/15 Jan Kiszka : >>>>> On 2011-09-15 06:11, Roy Tam wrote: >>>>>> 2011/8/12 Nigel

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 : > 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] >> >> Br

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 : > 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. > > H

[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 --pref

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

2012-11-30 Thread Roy Tam
2012/11/30 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? > and in same environment, I can see the speed decreases when version bumps: http://roy.dnsd.me/qemu-

[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++ Ru

[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 --- diff --git a/vl.c b/vl.c index 7038952..6352673 100644 --- a/vl.c +++ b/vl.c @@ -2594

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

2010-10-26 Thread Roy Tam
2010/10/26 Gerd Hoffmann : > 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?

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

2010-10-03 Thread Roy Tam
Hi, 2010/10/3 Bhasker C V : > 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) 2003-2008

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 : >> git clone http://git.qemu.org/qemu.git >> >> This initializes a repository in qemu/.git and starts downloading from >> the git server. >> >>

[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 not

[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 https://bugs.launchp

[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 add

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 : 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 http://www.mail-archive.com/qemu-devel@nongnu.org/msg56859.html [PATCH 3/3] osde

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

2011-03-23 Thread Roy Tam
2011/3/23 Stefan Hajnoczi : > On Wed, Mar 23, 2011 at 12:16 AM, Anthony Liguori 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 we can leverage in >> QEMU i

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

2011-03-23 Thread Roy Tam
2011/3/23 Stefan Hajnoczi : > On Wed, Mar 23, 2011 at 8:19 AM, Roy Tam wrote: >> 2011/3/23 Stefan Hajnoczi : >>> On Wed, Mar 23, 2011 at 12:16 AM, Anthony Liguori >>> wrote: >>>> GLib is an extremely common library that has a portable thread >>&g

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

2011-03-23 Thread Roy Tam
Hi, 2011/3/24 Guan Xuetao : > 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 like what you di

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 : > Signed-off-by: Paolo Bonzini > --- >        I had this patch queued for a while; only today I noticed the >        very similar one in virtagent. > >  Makefile.objs |    2 +- >  iohandler.c   |  129 > + >  qe

[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 -- 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 = opaque

[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 -- 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 keycode

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

2011-02-14 Thread Roy Tam
2011/2/14 Kevin Wolf : > 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 >> -- >> v2: checkpatch.pl style fixes >> >> diff --git a/hw/ps2.c b/hw/ps2.c >> index 76

[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 -- 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 @@ typedef

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

2011-02-14 Thread Roy Tam
2011/2/14 Kevin Wolf : > Am 14.02.2011 13:49, schrieb Roy Tam: >> 2011/2/14 Kevin Wolf : >>> 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 >>>

[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 -- 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 @@ -110,14 +110,24

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

2011-02-20 Thread Roy Tam
2011/2/21 Aurelien Jarno : > 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 >> -- >> v3: change from switch to array, more style fixes >> v2: checkpatch.p

Re: [Qemu-devel] Building QEMU on PS3

2011-02-22 Thread Roy Tam
2011/2/23 陳韋任 : > 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: > --

Re: [Qemu-devel] Building QEMU on PS3

2011-02-23 Thread Roy Tam
Hi chenwj, 2011/2/23 陳韋任 : > 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 cross compiled

[Qemu-devel] system_reset command cause assert failed

2010-01-31 Thread Roy Tam
Dear all, In latest git revision, when guest OS restarts or system_reset command issues from monitor console, it asserts failed: Assertion failed: obj != NULL, file C:/msys/home/User/qemu/monitor.c, line 338 Best regards, Roy Tam

Re: [Qemu-devel] system_reset command cause assert failed

2010-02-01 Thread Roy Tam
2010/2/1 Luiz Capitulino : > On Sun, 31 Jan 2010 16:28:42 +0800 > Roy Tam wrote: > >> Dear all, >> >> In latest git revision, when guest OS restarts or system_reset command >> issues from monitor console, it asserts failed: >> Assertion failed: obj != NULL

Re: [Qemu-devel] system_reset command cause assert failed

2010-02-01 Thread Roy Tam
2010/2/1 Luiz Capitulino : > On Mon, 1 Feb 2010 20:36:22 +0800 > Roy Tam wrote: > >> 2010/2/1 Luiz Capitulino : >> > On Sun, 31 Jan 2010 16:28:42 +0800 >> > Roy Tam wrote: >> > >> >> Dear all, >> >> >> >> In latest

Re: [Qemu-devel] system_reset command cause assert failed

2010-02-01 Thread Roy Tam
2010/2/2 Luiz Capitulino : > Hm, I'm puzzled. Is this failing on malloc()? At least qemu_malloc() > is the last qemu's function I see in the logs. > > From now on I only see msvcrt functions... > > Maybe, you can type run on gdb, run system_reset on the > Monitor and then switch back to gdb and

Re: [Qemu-devel] system_reset command cause assert failed

2010-02-01 Thread Roy Tam
2010/2/2 Luiz Capitulino : > > Hm, I'm puzzled. Is this failing on malloc()? At least qemu_malloc() > is the last qemu's function I see in the logs. > > From now on I only see msvcrt functions... > > Maybe, you can type run on gdb, run system_reset on the > Monitor and then switch back to gdb an

Re: [Qemu-devel] system_reset command cause assert failed

2010-02-01 Thread Roy Tam
2010/2/2 Luiz Capitulino : > On Tue, 2 Feb 2010 00:26:53 +0800 > Roy Tam wrote: > >> 2010/2/2 Luiz Capitulino : >> >> > Hm, I'm puzzled. Is this failing on malloc()? At least qemu_malloc() >> > is the last qemu's function I see in the logs. &

Re: [Qemu-devel] system_reset command cause assert failed

2010-02-02 Thread Roy Tam
2010/2/2 Luiz Capitulino : > On Tue, 2 Feb 2010 09:35:16 +0800 > Roy Tam wrote: > >> 2010/2/2 Luiz Capitulino : >> > On Tue, 2 Feb 2010 00:26:53 +0800 >> > Roy Tam wrote: >> > >> >> 2010/2/2 Luiz Capitulino : >> >> >>

Re: [Qemu-devel] system_reset command cause assert failed

2010-02-03 Thread Roy Tam
2010/2/3 Luiz Capitulino : > On Wed, 3 Feb 2010 10:09:07 +0800 > Roy Tam wrote: > >> 2010/2/2 Luiz Capitulino : >> > On Tue, 2 Feb 2010 09:35:16 +0800 >> > Roy Tam wrote: >> > >> >> 2010/2/2 Luiz Capitulino : >> >> > On Tue, 2

[PATCH] JSON: add %I64d support (Was: Re: [Qemu-devel] system_reset command cause assert failed)

2010-02-03 Thread Roy Tam
2010/2/4 Roy Tam : > 2010/2/3 Luiz Capitulino : OK we are fooled by the json lexer and parser. As we use %I64d to print 'long long' variables in Win32, but lexer and parser only deal with %lld but not %I64d, this patch add support for %I64d and solve 'info pci&#x

Re: [PATCH] JSON: add %I64d support (Was: Re: [Qemu-devel] system_reset command cause assert failed)

2010-02-03 Thread Roy Tam
2010/2/4 Roy Tam : > 2010/2/4 Roy Tam : >> 2010/2/3 Luiz Capitulino : > > OK we are fooled by the json lexer and parser. As we use %I64d to > print 'long long' variables in Win32, but lexer and parser only deal > with %lld but not %I64d, this patch add support

Re: [Qemu-devel] Need QEMU source and documentation

2010-02-04 Thread Roy Tam
2010/2/4 Taimoor Mirza : > > > Hi all, > > I need QEMU source and documentation but qemu.org is down. Is there any > other place from where I can get both source and documentation? You can get it from savannah. http://savannah.nongnu.org/projects/qemu > > Regards, > Taimoor > > __

Re: [PATCH] JSON: add %I64d support (Was: Re: [Qemu-devel] system_reset command cause assert failed)

2010-02-04 Thread Roy Tam
2010/2/4 Luiz Capitulino : > On Thu, 4 Feb 2010 10:30:30 +0800 > Roy Tam wrote: > >> 2010/2/4 Roy Tam : >> > 2010/2/3 Luiz Capitulino : >> >> OK we are fooled by the json lexer and parser. As we use %I64d to >> print 'long long' variables in Wi

Re: [Qemu-devel] Updated rtl8139 timer interrupt rewrote

2010-02-07 Thread Roy Tam
2010/2/7 Frediano Ziglio : > Hi, > I rewrote timer implementation for this card. I wrote even a small > Linux guest test program (attached as main.c). This patch add a QEMU > timer only when needed (timeout status not set, timeout irq wanted and > timer set). I tested this patch with a Darwin syst

Re: [Qemu-devel] [PATCH] use "%lld" instead of "%I64d" for qobject_from_jsonf in monitor.c and migration.c

2010-02-07 Thread Roy Tam
2010/2/8 TeLeMan : > The json parser does not support "%I64d", so we have to use "%lld" > instead of "%I64d". > We use PRId64 with json in more places besides migration.c and monitor.c, adding %I64d support in json lexer/parser is a better choice IMO. > Signed-off-by: TeLeMan > --- > migration.

Re: [Qemu-devel] Errors while building qemu

2010-02-18 Thread Roy Tam
2010/2/18 Taimoor Mirza : > Hi all, > > I've been getting following errors while building qemu 0.11.1 and 0.12.2 on > my Redhat machine. > > block/curl.c:80: error: syntax error before "curl_socket_t" > block/curl.c:82: warning: function declaration isn't a prototype > block/curl.c: In function `cu

[Qemu-devel] Regression: DOSPlus 1.2-je5 doesn't boot correctly since QEMU-0.6.1

2010-02-22 Thread Roy Tam
Hi all, This is an very old regression that DOSPlus 1.2-je5 boots in QEMU 0.5~0.6.0, and 0.6.1 breaks booting DOSPlus 1.2-je5 till now. Floppy Disk Image: http://roy.reactos.me:9088/files/dp12je5.zip

[Qemu-devel] Re: Regression: DOSPlus 1.2-je5 doesn't boot correctly since QEMU-0.6.1

2010-02-22 Thread Roy Tam
2010/2/23 Roy Tam : > Hi all, > > This is an very old regression that DOSPlus 1.2-je5 boots in QEMU > 0.5~0.6.0, and 0.6.1 breaks booting DOSPlus 1.2-je5 till now. > > Floppy Disk Image: > http://roy.reactos.me:9088/files/dp12je5.zip > OK r1049 breaks booting DOSPlus. Is

[Qemu-devel] Re: Regression: DOSPlus 1.2-je5 doesn't boot correctly since QEMU-0.6.1

2010-02-22 Thread Roy Tam
2010/2/23 Roy Tam : > 2010/2/23 Roy Tam : >> Hi all, >> >> This is an very old regression that DOSPlus 1.2-je5 boots in QEMU >> 0.5~0.6.0, and 0.6.1 breaks booting DOSPlus 1.2-je5 till now. >> >> Floppy Disk Image: >> http://roy.reactos.me:9088/fil

[Qemu-devel] [BREAKAGE] cc84de9570ffe01a9c3c169bd62ab9586a9a080c breaks win32 build

2010-02-22 Thread Roy Tam
Hi all, cc84de9570ffe01a9c3c169bd62ab9586a9a080c breaks win32 build as there is no sigset_t in MinGW.

[Qemu-devel] Serial: not checking (lsr & UART_LSR_THRE) in IER and not setting thr_ipending (Was Re: Regression: DOSPlus 1.2-je5 doesn't boot correctly since QEMU-0.6.1)

2010-02-22 Thread Roy Tam
2010/2/23 Roy Tam : > 2010/2/23 Roy Tam : >> 2010/2/23 Roy Tam : >>> Hi all, >>> >>> This is an very old regression that DOSPlus 1.2-je5 boots in QEMU >>> 0.5~0.6.0, and 0.6.1 breaks booting DOSPlus 1.2-je5 till now. >>> >>> Flop

  1   2   >