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

2011-06-25 Thread Stefan Hajnoczi
On Fri, Jun 24, 2011 at 9:59 PM, Jonathan A. Kollasch wrote: > On Thu, Jun 23, 2011 at 08:41:15AM +0800, Roy Tam wrote: >> 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 QEM

Re: [Qemu-devel] [PATCH v2 0/3] io-thread optimizations

2011-06-25 Thread Jan Kiszka
On 2011-04-13 22:16, Aurelien Jarno wrote: > On Mon, Apr 11, 2011 at 10:27:41PM +0200, Jan Kiszka wrote: >> These patches were posted before. They bring down the overhead of the >> io-thread mode for TCG here, specifically when emulating SMP. >> >> The major change in this version, besides rebasing

Re: [Qemu-devel] GSoC Intro - Intel Itanium (IA64) processor emulation

2011-06-25 Thread Andreas Färber
Hello Prashant, Am 25.06.2011 um 07:50 schrieb Prashant Vaibhav: Currently I am writing an IA64 ISA disassembler. Why are you writing one yourself? Is that due to GPLv2 vs. GPLv3 licensing issues with GNU binutils? Andreas

Re: [Qemu-devel] [PATCH] usb-hid: Fix 0/0 position for Windows in tablet mode

2011-06-25 Thread Andreas Färber
Am 24.06.2011 um 16:27 schrieb Jan Kiszka: For unknown reasons, Windows drivers (tested with XP and Win7) ignore usb-tablet events that move the pointer to 0/0. So always set bit 0 of the coordinates. Signed-off-by: Jan Kiszka --- hw/usb-hid.c |6 -- 1 files changed, 4 insertions(+), 2

Re: [Qemu-devel] [PATCH] usb-hid: Fix 0/0 position for Windows in tablet mode

2011-06-25 Thread Jan Kiszka
On 2011-06-25 14:37, Andreas Färber wrote: > Am 24.06.2011 um 16:27 schrieb Jan Kiszka: > >> For unknown reasons, Windows drivers (tested with XP and Win7) ignore >> usb-tablet events that move the pointer to 0/0. So always set bit 0 of >> the coordinates. >> >> Signed-off-by: Jan Kiszka >> --- >

Re: [Qemu-devel] [PATCH] usb-hid: Fix 0/0 position for Windows in tablet mode

2011-06-25 Thread Andreas Färber
Am 25.06.2011 um 14:55 schrieb Jan Kiszka: On 2011-06-25 14:37, Andreas Färber wrote: Am 24.06.2011 um 16:27 schrieb Jan Kiszka: For unknown reasons, Windows drivers (tested with XP and Win7) ignore usb-tablet events that move the pointer to 0/0. So always set bit 0 of the coordinates. S

Re: [Qemu-devel] [PATCH v5 1/5] Add hard build dependency on glib

2011-06-25 Thread Andreas Färber
Am 12.06.2011 um 22:46 schrieb Stefan Hajnoczi: From: Anthony Liguori 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 including an object or

Re: [Qemu-devel] [PATCH v5 2/5] coroutine: introduce coroutines

2011-06-25 Thread Andreas Färber
Am 12.06.2011 um 22:46 schrieb Stefan Hajnoczi: From: Kevin Wolf Asynchronous code is becoming very complex. At the same time synchronous code is growing because it is convenient to write. Sometimes duplicate code paths are even added, one synchronous and the other asynchronous. This patch i

Re: [Qemu-devel] [PATCH v5 4/5] coroutine: add check-coroutine automated tests

2011-06-25 Thread Andreas Färber
Am 12.06.2011 um 22:46 schrieb Stefan Hajnoczi: To run automated tests for coroutines: make check-coroutine ./check-coroutine The commit message doesn't correspond to the changes, it's test- coroutine below. $ ./test-coroutine /basic/lifecycle: Segmentation fault Compiles without warnin

Re: [Qemu-devel] GSoC Intro - Intel Itanium (IA64) processor emulation

2011-06-25 Thread Stefan Hajnoczi
On Sat, Jun 25, 2011 at 12:58 PM, Andreas Färber wrote: > Hello Prashant, > > Am 25.06.2011 um 07:50 schrieb Prashant Vaibhav: > >> Currently I am writing an IA64 ISA disassembler. > > Why are you writing one yourself? Is that due to GPLv2 vs. GPLv3 licensing > issues with GNU binutils? I figure

Re: [Qemu-devel] [PATCH v5 4/5] coroutine: add check-coroutine automated tests

2011-06-25 Thread Andreas Färber
Am 25.06.2011 um 16:11 schrieb Andreas Färber: Am 12.06.2011 um 22:46 schrieb Stefan Hajnoczi: To run automated tests for coroutines: make check-coroutine ./check-coroutine The commit message doesn't correspond to the changes, it's test- coroutine below. $ ./test-coroutine /basic/lifecyc

Re: [Qemu-devel] [PATCH v5 4/5] coroutine: add check-coroutine automated tests

2011-06-25 Thread Andreas Färber
Am 25.06.2011 um 16:11 schrieb Andreas Färber: Am 12.06.2011 um 22:46 schrieb Stefan Hajnoczi: To run automated tests for coroutines: make check-coroutine ./check-coroutine The commit message doesn't correspond to the changes, it's test- coroutine below. $ ./test-coroutine /basic/lifecyc

[Qemu-devel] [PULL] pending linux-user patches

2011-06-25 Thread riku . voipio
Hi, The following changes since commit 744d3644181ddb16ef5944a0f9217e46961c8c84: coreaudio: Fix OSStatus format specifier (2011-06-23 18:56:58 +0400) are available in the git repository at: git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream Cédric VINCENT (1): lin

Re: [Qemu-devel] QEMU timing requirements

2011-06-25 Thread felix.matenaar@rwth-aachen
On 06/25/2011 06:26 AM, Mulyadi Santosa wrote: On Sat, Jun 25, 2011 at 09:34, felix.matenaar@rwth-aachen wrote: Hello, I am currently implementing some heuristics using a patched qemu (i386-softmmu). Two of them take some time for each vm memory access. If I run them both, suddenly qemu segfa

Re: [Qemu-devel] [PATCH v5 2/5] coroutine: introduce coroutines

2011-06-25 Thread Andreas Färber
Am 12.06.2011 um 22:46 schrieb Stefan Hajnoczi: From: Kevin Wolf Asynchronous code is becoming very complex. At the same time synchronous code is growing because it is convenient to write. Sometimes duplicate code paths are even added, one synchronous and the other asynchronous. This patch i

Re: [Qemu-devel] [PATCH v5 3/5] coroutine: implement coroutines using gthread

2011-06-25 Thread Andreas Färber
Am 12.06.2011 um 22:46 schrieb Stefan Hajnoczi: From: "Aneesh Kumar K.V" On platforms that don't support makecontext(3) use gthread based coroutine implementation. [Original patch by Aneesh, made consistent with coroutine-ucontext.c and switched to GStaticPrivate by Stefan. Tested on Linu

Re: [Qemu-devel] QEMU timing requirements

2011-06-25 Thread Mulyadi Santosa
On Sat, Jun 25, 2011 at 23:28, felix.matenaar@rwth-aachen wrote: > No. What I do is using gen_helper_ to compile hooks into call/ret/jmp and > memory access. The Heuristics can then hook the events so calculation is > done during the execution of a basic block. I thought that it could be > possibl

Re: [Qemu-devel] GSoC Intro - Intel Itanium (IA64) processor emulation

2011-06-25 Thread Prashant Vaibhav
Hi Andreas, Sorry I should have been more precise about that. I don't mean a standalone disassembler (objdump should handle that), I meant a simple instruction bundle decoder to decode the op code, arguments, predicate etc. so that we can generate the equivalent tcg primitives for it, like what ta

Re: [Qemu-devel] [PATCH v2] xen_disk: cope with missing xenstore "params" node

2011-06-25 Thread Peter Maydell
On 24 June 2011 17:35, wrote: > +out_error: > +    qemu_free(blkdev->params); > +    qemu_free(blkdev->mode); > +    qemu_free(blkdev->type); > +    qemu_free(blkdev->dev); > +    qemu_free(blkdev->devtype); > +    return -1; It occured to me that could result in a double-free if it's possible t

Re: [Qemu-devel] QEMU timing requirements

2011-06-25 Thread felix.matenaar@rwth-aachen
On 06/25/2011 10:02 PM, Mulyadi Santosa wrote: On Sat, Jun 25, 2011 at 23:28, felix.matenaar@rwth-aachen wrote: No. What I do is using gen_helper_ to compile hooks into call/ret/jmp and memory access. The Heuristics can then hook the events so calculation is done during the execution of a basi

Re: [Qemu-devel] [PATCH v2 0/3] io-thread optimizations

2011-06-25 Thread Andreas Färber
Am 25.06.2011 um 10:38 schrieb Jan Kiszka: On 2011-04-13 22:16, Aurelien Jarno wrote: On Mon, Apr 11, 2011 at 10:27:41PM +0200, Jan Kiszka wrote: These patches were posted before. They bring down the overhead of the io-thread mode for TCG here, specifically when emulating SMP. The major cha

[Qemu-devel] [PATCH] Correct spelling of licensed

2011-06-25 Thread Matthew Fernandez
Correct typos of "licenced" to "licensed". Signed-off-by: Matthew Fernandez ... On 24 June 2011 00:42, Stefan Weil wrote: > Am 23.06.2011 10:08, schrieb Matthew Fernandez: >> would you mind sending a patch which fixes all other "licenced", too? >> There are 65 files which contain this spell

Re: [Qemu-devel] QEMU timing requirements

2011-06-25 Thread Mulyadi Santosa
On Sun, Jun 26, 2011 at 05:29, felix.matenaar@rwth-aachen wrote: > Think I found the problem. It was a bug in my code and because of some weird > circumstances, backtrace and addresses seemed to be a segfault in a BBL. glad you find it. care to share to everyone what's really goin' on? who kn

Re: [Qemu-devel] [PATCH] Correct spelling of licensed

2011-06-25 Thread Stefan Weil
Am 26.06.2011 04:21, schrieb Matthew Fernandez: Correct typos of "licenced" to "licensed". Signed-off-by: Matthew Fernandez Thanks. Reviewed-by: Stefan Weil