Re: [Qemu-devel] [OOT] gcc trick to help studying Qemu source

2011-04-22 Thread Brad Hards
On Tuesday 19 April 2011 19:07:39 Mulyadi Santosa wrote: > Hopefully it's useful for everybody, especially newbie like me. I added a note about this to the wiki. Perhaps you may like to expand / enhance it: http://wiki.qemu.org/Documentation/GettingStartedDevelopers#Getting_to_know_the_code Brad

Re: [Qemu-devel] [PATCH] target-arm: Minimal implementation of performance counters

2011-04-22 Thread Brad Hards
On Friday 22 April 2011 02:01:48 Peter Maydell wrote: > Newer Linux kernels assume the existence of the performance counter > cp15 registers. Provide a minimal implementation of these registers. > We support no events. This should be compliant with the ARM ARM, > except that we don't implement the

Re: [Qemu-devel] [RFC][PATCH v2 15/17] guest agent: qemu-ga daemon

2011-04-22 Thread Ian Molton
On Thu, 2011-04-21 at 08:21 -0500, Michael Roth wrote: > >> +switch (level& G_LOG_LEVEL_MASK) { > >> +case G_LOG_LEVEL_ERROR: return "error"; > >> +case G_LOG_LEVEL_CRITICAL: return "critical"; > >> +case G_LOG_LEVEL_WARNING: return "warning"; > >> +case

Re: [Qemu-devel] [PATCH] target-arm: Minimal implementation of performance counters

2011-04-22 Thread Peter Maydell
On 22 April 2011 08:23, Brad Hards wrote: > On Friday 22 April 2011 02:01:48 Peter Maydell wrote: >> Newer Linux kernels assume the existence of the performance counter >> cp15 registers. Provide a minimal implementation of these registers. >> We support no events. This should be compliant with th

Re: [Qemu-devel] [PATCH] target-arm: Minimal implementation of performance counters

2011-04-22 Thread Brad Hards
On Friday 22 April 2011 19:48:09 Peter Maydell wrote: > Looking at your .rej file it seems to have lost the hardcoded tab > characters[*] that are in the patch; I suspect something in your mailer > is turning them back into spaces. Try downloading the patch from > patchwork instead. Yep, that worke

Re: [Qemu-devel] [RFC][PATCH v2 15/17] guest agent: qemu-ga daemon

2011-04-22 Thread Jes Sorensen
On 04/22/11 11:23, Ian Molton wrote: > On Thu, 2011-04-21 at 08:21 -0500, Michael Roth wrote: +switch (level& G_LOG_LEVEL_MASK) { +case G_LOG_LEVEL_ERROR: return "error"; +case G_LOG_LEVEL_CRITICAL: return "critical"; +case G_LOG_LEVEL_WARNING:

Re: [Qemu-devel] [PATCH v2] qemu-img: Initial progress printing support

2011-04-22 Thread Paolo Bonzini
On 04/01/2011 04:58 PM, Stefan Hajnoczi wrote: On Fri, Apr 1, 2011 at 2:41 PM, Jes Sorensen wrote: On 03/31/11 13:49, Stefan Hajnoczi wrote: On Thu, Mar 31, 2011 at 12:38 PM, Kevin Wolf wrote: Am 31.03.2011 13:15, schrieb Jes Sorensen: On 03/31/11 12:38, Kevin Wolf wrote: I have been a litt

[Qemu-devel] [PATCH] char: Allow devices to use a single multiplexed chardev.

2011-04-22 Thread Kusanagi Kouichi
This fixes regression caused by commit 2d6c1ef40f3678ab47a4d14fb5dadaa486bfcda6 ("char: Prevent multiple devices opening same chardev"). Signed-off-by: Kusanagi Kouichi --- hw/qdev-properties.c |4 ++-- qemu-char.c |5 - qemu-char.h |2 +- 3 files changed, 7 ins

[Qemu-devel] [PATCH] net/socket: remove hardcoded packet size in favor of new mtu parameter

2011-04-22 Thread Nguyễn Thái Ngọc Duy
Also mention the default value 4096. Signed-off-by: Nguyễn Thái Ngọc Duy --- free new buffers in net_socket_cleanup() net.c |4 net/socket.c| 52 qemu-options.hx | 11 ++- 3 files changed, 46 insertions(+),

Re: [Qemu-devel] tcg/tcg.c:1892: tcg fatal error

2011-04-22 Thread Igor Kovalenko
On Fri, Apr 22, 2011 at 2:39 AM, Laurent Desnogues wrote: > On Thu, Apr 21, 2011 at 9:45 PM, Igor Kovalenko > wrote: >> On Thu, Apr 21, 2011 at 7:44 PM, Laurent Desnogues >> wrote: >>> On Thu, Apr 21, 2011 at 4:57 PM, Artyom Tarasenko >>> wrote: On Tue, Apr 12, 2011 at 4:14 AM, Igor Koval

Re: [Qemu-devel] [OOT] gcc trick to help studying Qemu source

2011-04-22 Thread Mulyadi Santosa
Hi Brad :) On Fri, Apr 22, 2011 at 14:04, Brad Hards wrote: > On Tuesday 19 April 2011 19:07:39 Mulyadi Santosa wrote: >> Hopefully it's useful for everybody, especially newbie like me. > I added a note about this to the wiki. Perhaps you may like to expand / > enhance it: > http://wiki.qemu.org/

Re: [Qemu-devel] why does qemu i386 userspace emulation crashes when pthread used?

2011-04-22 Thread Yale Zhang
I have found the problem and fix. NEW_STACK_SIZE for clone() should be increased from the default 16384 (x86_64) to 256 KiB. On Tue, Apr 19, 2011 at 6:33 PM, Yale Zhang wrote: > Hi. I'm want to run some pthread programs using qemu userspace emulation > (target=i386, host=x86_64,arm), but see N