[Qemu-devel] Re: [PATCH] microblaze: fix build on Ubuntu Hardy

2010-04-08 Thread Paolo Bonzini
On 04/09/2010 12:22 AM, Thomas Monjalon wrote: From: Thomas Monjalon Using GCC-4.2.4-1ubuntu4, there were 3 warnings. The last two are correct, but what was the first error? If it was a shadowed declaration as it seems to be, the solution is to s/fprintf/fprintf_func/ throughout print_insn_

[Qemu-devel] Re: [PATCH] tcp/mips: Change TCG_AREG0 (fp -> s0)

2010-04-08 Thread Stefan Weil
Aurelien Jarno schrieb: > On Thu, Apr 08, 2010 at 03:38:52PM +0200, Stefan Weil wrote: > >> Register fp is a bad choice for compilations without >> optimisation, because the compiler makes heavy use >> of this register (so the resulting code crashes). >> > > I don't fully understand why the

Re: [Qemu-devel] [PATCH] microblaze: fix build on Ubuntu Hardy

2010-04-08 Thread Paul Brook
> { > - fprintf_ftype fprintf = info->fprintf_func; >void * stream = info->stream; I'm pretty sure this is not the correct fix. "Fix a warning" is not sufficient justification for any change. We need to understand what was wrong with the old code, and why the new code is

Re: [Qemu-devel] Re: [PATCH] tcp/mips: Change TCG_AREG0 (fp -> s0)

2010-04-08 Thread Paul Brook
> On Thu, Apr 08, 2010 at 03:38:52PM +0200, Stefan Weil wrote: > > Register fp is a bad choice for compilations without > > optimisation, because the compiler makes heavy use > > of this register (so the resulting code crashes). > > I don't fully understand why the compiler makes use of this regis

Re: [Qemu-devel] [PATCH 11/18] tcg/arm: add bswap ops

2010-04-08 Thread Paul Brook
> +static inline void tcg_out_bswap32(TCGContext *s, int cond, int rd, int rn) > +#else > +/* This code only uses one temporary register. There is probably > + a faster way to do that with more temporary registers. */ You can do better even without a temporary: eor r8, rn, rn, ror #

Re: [Qemu-devel] [PATCH 2/4] tcg-hppa: Finish the port.

2010-04-08 Thread Aurelien Jarno
On Thu, Apr 08, 2010 at 09:32:41AM -0700, Richard Henderson wrote: > On 04/08/2010 02:56 AM, Aurelien Jarno wrote: > > I have applied the patch. I have some comments though, it would be nice > > if you can address them with additional patches. > > Sure. > > >> +static void tcg_out_ori(TCGContext

[Qemu-devel] Re: [PATCH] tcp/mips: Change TCG_AREG0 (fp -> s0)

2010-04-08 Thread Aurelien Jarno
On Thu, Apr 08, 2010 at 03:38:52PM +0200, Stefan Weil wrote: > Register fp is a bad choice for compilations without > optimisation, because the compiler makes heavy use > of this register (so the resulting code crashes). I don't fully understand why the compiler makes use of this register in code

[Qemu-devel] [PATCH] microblaze: fix build on Ubuntu Hardy

2010-04-08 Thread Thomas Monjalon
From: Thomas Monjalon Using GCC-4.2.4-1ubuntu4, there were 3 warnings. Signed-off-by: Thomas Monjalon --- microblaze-dis.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/microblaze-dis.c b/microblaze-dis.c index b26572f..698ea7b 100644 --- a/microblaze-dis.c +++ b

[Qemu-devel] Call for 0.12.4

2010-04-08 Thread Aurelien Jarno
Hi all, A number of fixes have been accumulated in the stable-0.12 branch, and I think it's time to release a new stable version. I would like to see that happening for the end of next week (around the 18th of April). If you want to see some patches included, please send a mail to the mailing lis

Re: [Qemu-devel] [PATCH 18/48] make cursor grab optional

2010-04-08 Thread Aurelien Jarno
On Fri, Mar 26, 2010 at 04:06:38PM +, Riku Voipio wrote: > From: Riku Voipio > > Signed-Off-By: Riku Voipio > > --- > sysemu.h |1 + > vl.c |1 + > 2 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/sysemu.h b/sysemu.h > index 525efd1..5b4ddd8 100644 > --- a/sys

Re: [Qemu-devel] [PATCH 15/48] fix function signature of qemu_chr_open_pty on !linux

2010-04-08 Thread Aurelien Jarno
On Fri, Mar 26, 2010 at 04:06:35PM +, Riku Voipio wrote: > From: Riku Voipio > > Signed-Off-By: Riku Voipio > Signed-Off-By: Juha Riihimäki Thanks, applied. > --- > qemu-char.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/qemu-char.c b/qemu-char.c > ind

Re: [Qemu-devel] [PATCH] baum: add destroy hook

2010-04-08 Thread Aurelien Jarno
On Sun, Mar 28, 2010 at 08:39:42PM +0200, Samuel Thibault wrote: > Hello, > > This adds a destroy hook for the baum character device, to properly > close the BrlAPI connection and free resources. > > Signed-off-by: Samuel Thibault Thanks, applied. > commit 447c41758cfda0022ea6e09aaf81137b2b27b

Re: [Qemu-devel] [PATCH] smc91c111: mask register offset

2010-04-08 Thread Aurelien Jarno
On Mon, Mar 29, 2010 at 03:16:58PM +0200, Lars Munch wrote: > this fixes the smc91c111 emulation which has been broken for gumstix and > mainstone and maybe others since the "MMIO callback interface changes" > 8da3ff180974732fc4272cb4433fef85c1822961 where commited, see: > > http://thread.gmane.or

Re: [Qemu-devel] [PATCH 01/48] arm-dis debug helper

2010-04-08 Thread Aurelien Jarno
On Fri, Mar 26, 2010 at 04:06:24PM +, Riku Voipio wrote: > From: Juha Riihimäki > > modified the arm disassembler to include the opcode binary representation > along > with the symbolic disassembly. > > Signed-Off-By: Riku Voipio > Signed-Off-By: Juha Riihimäki > --- > arm-dis.c | 10 +

Re: [Qemu-devel] [PATCH 2/4] tcg-hppa: Finish the port.

2010-04-08 Thread Richard Henderson
On 04/08/2010 09:32 AM, Richard Henderson wrote: >>> +static void tcg_out_ori(TCGContext *s, int ret, int arg, tcg_target_ulong >>> m) >>> +{ >>> +if (m == 0) { >>> +tcg_out_mov(s, ret, arg); >>> +} else if (m == -1) { >>> +tcg_out_movi(s, TCG_TYPE_I32, ret, -1); >> >> Thos

Re: [Qemu-devel] [PATCH] e1000: fix build on Ubuntu with _FORTIFY_SOURCE

2010-04-08 Thread Aurelien Jarno
On Wed, Mar 31, 2010 at 11:22:51AM +0200, Thomas Monjalon wrote: > From: Thomas Monjalon > > There was a pointer cast warning on Ubuntu since _FORTIFY_SOURCE has been > reenabled. > > _FORTIFY_SOURCE had been disabled by 4a24470497360d8b77568b83008d0e9d6eb0787d > and reenabled by 849583050d5f6f

Re: [Qemu-devel] [PATCH] target-i386: Fix compiler warning

2010-04-08 Thread Aurelien Jarno
On Thu, Apr 01, 2010 at 08:03:30PM +0200, Stefan Weil wrote: > With argument checking for cpu_fprintf, gcc throws this warning: > > CCi386-softmmu/helper.o > cc1: warnings being treated as errors > /qemu/ar7/target-i386/helper.c: In function ‘cpu_x86_dump_seg_cache’: > /qemu/ar7/target-i386/

Re: [Qemu-devel] [PATCH] Debugcon: Fix debugging printf

2010-04-08 Thread Aurelien Jarno
On Thu, Apr 01, 2010 at 11:45:25PM +0200, Adam Lackorzynski wrote: > Signed-off-by: Adam Lackorzynski Thanks, applied. > --- > hw/debugcon.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/hw/debugcon.c b/hw/debugcon.c > index d549091..5ee6821 100644 > --- a/hw/

Re: [Qemu-devel] [PATCH 01/14] Add new data type for fprintf like function pointers

2010-04-08 Thread Aurelien Jarno
On Mon, Mar 29, 2010 at 09:16:52PM +0200, Stefan Weil wrote: > The compiler should check the arguments for these functions. > > gcc can do this, but only if the function pointer's prototype > includes the __attribute__ flag. > > As the necessary declaration is a bit lengthy, we use a new > data t

Re: [Qemu-devel] [PATCH] remove TARGET_* defines from translate-all.c

2010-04-08 Thread Aurelien Jarno
Thanks, applied. On Wed, Mar 31, 2010 at 04:54:11PM +0200, Paolo Bonzini wrote: > Signed-off-by: Paolo Bonzini > --- > exec-all.h |4 > target-i386/translate.c |2 ++ > target-mips/translate.c |2 ++ > target-sh4/translate.c |2 ++ > target-sparc/translate.

Re: [Qemu-devel] [PATCH] [S390] Make virtio-pci building conditional again

2010-04-08 Thread Aurelien Jarno
On Tue, Apr 06, 2010 at 12:11:43PM +0200, Alexander Graf wrote: > Commit b305b9d7d6990e492966ffb1fdf619482adeb7e2 made building of virtio-pci > conditional and not enabled on S390x, because it collides with the S390 bus. > > Commit 087431d1d1bf4e785edfa89e8cd05fcdac558dc3 accidentially reverted th

Re: [Qemu-devel] [PATCH] target-i386: Fix variable in (disabled) debugging code

2010-04-08 Thread Aurelien Jarno
On Thu, Apr 01, 2010 at 11:46:20PM +0200, Adam Lackorzynski wrote: > > Signed-off-by: Adam Lackorzynski Thanks, applied. > --- > target-i386/op_helper.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c > index 222

[Qemu-devel] Re: vhost.c: include last

2010-04-08 Thread Michael S. Tsirkin
On Thu, Apr 08, 2010 at 05:49:50PM -0300, Marcelo Tosatti wrote: > > So the userspace headers define KERNEL_STRICT_NAMES and there's no > conflict on type definition for older kernels. > > igned-off-by: Marcelo Tosatti Acked-by: Michael S. Tsirkin > diff --git a/hw/vhost.c b/hw/vhost.c > inde

[Qemu-devel] vhost.c: include last

2010-04-08 Thread Marcelo Tosatti
So the userspace headers define KERNEL_STRICT_NAMES and there's no conflict on type definition for older kernels. igned-off-by: Marcelo Tosatti diff --git a/hw/vhost.c b/hw/vhost.c index ad2f98a..d37a66e 100644 --- a/hw/vhost.c +++ b/hw/vhost.c @@ -10,13 +10,13 @@ * the COPYING file in the to

[Qemu-devel] [PATCH 22/22] monitor/net: Convert do_info_network() to QObject/QMP

2010-04-08 Thread Miguel Di Ciurcio Filho
Each device is represented by a QDict. The returned QObject is a QList of all devices. This commit slightly changes the monitor output when 'info network' is used. Signed-off-by: Miguel Di Ciurcio Filho --- monitor.c |3 +- net.c | 133 ++

[Qemu-devel] [PATCH 21/22] net: vde: replace qemu_format_nic_info_str by info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- net/vde.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/net/vde.c b/net/vde.c index 0b46fa6..f582878 100644 --- a/net/vde.c +++ b/net/vde.c @@ -31,6 +31,9 @@ #include "qemu-char.h" #include "qemu-common.h" #include "

[Qemu-devel] [PATCH 20/22] net: tap: replace qemu_format_nic_info_str by info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- net/tap-win32.c |9 ++--- net/tap.c | 18 +- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/net/tap-win32.c b/net/tap-win32.c index 74348da..8e0ad2d 100644 --- a/net/tap-win32.c +++ b/net/tap-win32.c @@ -3

[Qemu-devel] [PATCH 19/22] net: socket: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- net/socket.c | 47 ++- 1 files changed, 34 insertions(+), 13 deletions(-) diff --git a/net/socket.c b/net/socket.c index 1c4e153..3521e21 100644 --- a/net/socket.c +++ b/net/socket.c @@ -28,6 +28,10 @@ #inc

[Qemu-devel] [PATCH 18/22] net: slirp: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- net/slirp.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/net/slirp.c b/net/slirp.c index b41c60a..4036b92 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -32,6 +32,8 @@ #include "monitor.h" #include "sysemu.h" #include

[Qemu-devel] [PATCH 16/22] net: xilinx_ethlite: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/xilinx_ethlite.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/xilinx_ethlite.c b/hw/xilinx_ethlite.c index 37e33ec..345aea7 100644 --- a/hw/xilinx_ethlite.c +++ b/hw/xilinx_ethlite.c @@ -230,7 +230,7 @@ static int xilin

[Qemu-devel] [PATCH 17/22] net: dump: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- net/dump.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/net/dump.c b/net/dump.c index 6db7ecf..dea7f7d 100644 --- a/net/dump.c +++ b/net/dump.c @@ -27,6 +27,9 @@ #include "sysemu.h" #include "qemu-error.h" #include "

[Qemu-devel] [PATCH 15/22] net: virtio-net: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/virtio-net.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/virtio-net.c b/hw/virtio-net.c index 970ba06..482a176 100644 --- a/hw/virtio-net.c +++ b/hw/virtio-net.c @@ -89,7 +89,7 @@ static void virtio_net_set_config(Vi

[Qemu-devel] [PATCH 14/22] net: usb-net: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/usb-net.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/usb-net.c b/hw/usb-net.c index ff0ca44..1583425 100644 --- a/hw/usb-net.c +++ b/hw/usb-net.c @@ -1454,7 +1454,7 @@ static int usb_net_initfn(USBDevice *dev) qe

[Qemu-devel] [PATCH 13/22] net: stellaris_enet: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/stellaris_enet.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/stellaris_enet.c b/hw/stellaris_enet.c index d1d755e..cf28670 100644 --- a/hw/stellaris_enet.c +++ b/hw/stellaris_enet.c @@ -416,7 +416,7 @@ static int stell

[Qemu-devel] [PATCH 12/22] net: smc91c111: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/smc91c111.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/smc91c111.c b/hw/smc91c111.c index c1a88c9..767fc19 100644 --- a/hw/smc91c111.c +++ b/hw/smc91c111.c @@ -721,7 +721,7 @@ static int smc91c111_init1(SysBusDevice *

[Qemu-devel] [PATCH 11/22] net: rtl8139: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/rtl8139.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/rtl8139.c b/hw/rtl8139.c index 72e2242..ee4fc5d 100644 --- a/hw/rtl8139.c +++ b/hw/rtl8139.c @@ -3382,7 +3382,7 @@ static int pci_rtl8139_init(PCIDevice *dev)

[Qemu-devel] [PATCH 08/22] net: lan9118: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/lan9118.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/lan9118.c b/hw/lan9118.c index 16d3330..07f9429 100644 --- a/hw/lan9118.c +++ b/hw/lan9118.c @@ -232,7 +232,7 @@ static void lan9118_update(lan9118_state *s) s

[Qemu-devel] [PATCH 10/22] net: mipsnet: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/mipsnet.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/mipsnet.c b/hw/mipsnet.c index a066f63..96bb588 100644 --- a/hw/mipsnet.c +++ b/hw/mipsnet.c @@ -280,7 +280,7 @@ void mipsnet_init (int base, qemu_irq irq, NICInfo

[Qemu-devel] [PATCH 09/22] net: mcf_fec: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/mcf_fec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/mcf_fec.c b/hw/mcf_fec.c index 4e7fbed..1e592d2 100644 --- a/hw/mcf_fec.c +++ b/hw/mcf_fec.c @@ -476,5 +476,5 @@ void mcf_fec_init(NICInfo *nd, target_phys_addr_t b

[Qemu-devel] [PATCH 07/22] net: pcnet: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/pcnet.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/pcnet.c b/hw/pcnet.c index 5e63eb5..7df39c4 100644 --- a/hw/pcnet.c +++ b/hw/pcnet.c @@ -1897,7 +1897,7 @@ int pcnet_common_init(DeviceState *dev, PCNetState *s, Net

[Qemu-devel] [PATCH 06/22] net: ne2000: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/ne2000-isa.c |2 +- hw/ne2000.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ne2000-isa.c b/hw/ne2000-isa.c index 03a5a1f..d5403d9 100644 --- a/hw/ne2000-isa.c +++ b/hw/ne2000-isa.c @@ -84,7 +84,7 @@ static int

[Qemu-devel] [PATCH 05/22] net: eepro100: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/eepro100.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hw/eepro100.c b/hw/eepro100.c index 7db6fb5..329fe15 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c @@ -47,6 +47,8 @@ #include "pci.h" #include "net.h" #inclu

[Qemu-devel] [PATCH 04/22] net: e1000: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/e1000.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/e1000.c b/hw/e1000.c index fd3059a..7cbff0d 100644 --- a/hw/e1000.c +++ b/hw/e1000.c @@ -1125,7 +1125,7 @@ static int pci_e1000_init(PCIDevice *pci_dev) d->nic =

[Qemu-devel] [PATCH 03/22] net: dp8393x: replace qemu_format_nic_info_str by qemu_format_nic_info_dict

2010-04-08 Thread Miguel Di Ciurcio Filho
Signed-off-by: Miguel Di Ciurcio Filho --- hw/dp8393x.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/dp8393x.c b/hw/dp8393x.c index e65e4d1..ebb41a2 100644 --- a/hw/dp8393x.c +++ b/hw/dp8393x.c @@ -904,7 +904,7 @@ void dp83932_init(NICInfo *nd, target_phys_addr_t b

[Qemu-devel] [PATCH 02/22] net: replace qemu_nic_format_info_str and VLANClientState->info_str by QDicts

2010-04-08 Thread Miguel Di Ciurcio Filho
There is no standard format when formatting info_str, so it is difficult to extract information and transmit it over QMP. This patch changes info_str from a simple string to a QDict. Patches that convert the devices to this new format will follow. Signed-off-by: Miguel Di Ciurcio Filho --- net

[Qemu-devel] [PATCH 01/22] QObject API: add qdict_to_qstring() function

2010-04-08 Thread Miguel Di Ciurcio Filho
This is a helper function that converts a QDict to a QString, using the format: key1=value1 SPACE key2=value2 SPACE key3=value3 Handy for debugging and other things. Signed-off-by: Miguel Di Ciurcio Filho --- qdict.c | 39 +++ qdict.h |3 +++ 2 files c

[Qemu-devel] [PATCH 0/22] Convert do_info_network() to QObject/QMP

2010-04-08 Thread Miguel Di Ciurcio Filho
The VLANClientState structure has the member info_str, a simple string that is filled with information about NIC devices and used on monitor calls. There is no coherent formatting of this string by all the NIC devices, making it difficult to parse and represent this information over QMP. Patch 0

Re: [Qemu-devel] [PATCH 06/18] tcg/arm: add defines for the allowed instructions set

2010-04-08 Thread Richard Henderson
On 04/07/2010 10:51 AM, Aurelien Jarno wrote: > +#if defined(__ARM_ARCH_5T__) || \ > +defined(__ARM_ARCH_5TE__) || \ > +defined(__ARM_ARCH_5TEJ__) || \ > +defined(__ARM_ARCH_6__) || \ > +defined(__ARM_ARCH_7A__) || \ > +defined(__ARM_ARCH_7__) > +# define USE_ARMV5_INSTRUCTIONS

Re: [Qemu-devel] [PATCH 2/4] tcg-hppa: Finish the port.

2010-04-08 Thread Richard Henderson
On 04/08/2010 02:56 AM, Aurelien Jarno wrote: > I have applied the patch. I have some comments though, it would be nice > if you can address them with additional patches. Sure. >> +static void tcg_out_ori(TCGContext *s, int ret, int arg, tcg_target_ulong m) >> +{ >> +if (m == 0) { >> +

[Qemu-devel] Re: [GSoC 2010] Pass-through filesystem support.

2010-04-08 Thread Stefan Hajnoczi
On Thu, Apr 8, 2010 at 5:02 PM, Mohammed Gamal wrote: > On Thu, Apr 8, 2010 at 6:01 PM, Mohammed Gamal wrote: >> 1- What does the community prefer to use and improve? CIFS, 9p, or >> both? And which is better taken up for GSoC. There have been recent patches for filesystem passthrough using 9P:

[Qemu-devel] Re: [GSoC 2010] Pass-through filesystem support.

2010-04-08 Thread Mohammed Gamal
On Thu, Apr 8, 2010 at 6:01 PM, Mohammed Gamal wrote: > Hi, > Now that Cam is almost done with his ivshmem patches, I was thinking > of another idea for GSoC which is improving the pass-though > filesystems. > I've got some questions on that: > > 1- What does the community prefer to use and improv

[Qemu-devel] [GSoC 2010] Pass-through filesystem support.

2010-04-08 Thread Mohammed Gamal
Hi, Now that Cam is almost done with his ivshmem patches, I was thinking of another idea for GSoC which is improving the pass-though filesystems. I've got some questions on that: 1- What does the community prefer to use and improve? CIFS, 9p, or both? And which is better taken up for GSoC. 2- Wit

Re: [Qemu-devel] [PATCH 06/18] tcg/arm: add defines for the allowed instructions set

2010-04-08 Thread Paul Brook
> Use a set of #define to define the allowed ARM instructions, depending > on the __ARM_ARCH_*__ GCC defines. > > Signed-off-by: Aurelien Jarno > --- > tcg/arm/tcg-target.c | 27 --- > 1 files changed, 24 insertions(+), 3 deletions(-) > > diff --git a/tcg/arm/tcg-targe

[Qemu-devel] [PATCH] tcp/mips: Change TCG_AREG0 (fp -> s0)

2010-04-08 Thread Stefan Weil
Register fp is a bad choice for compilations without optimisation, because the compiler makes heavy use of this register (so the resulting code crashes). Register s0 was used for TCG_AREG1 in earlier releases, but was no longer used and is now free for TCG_AREG0. The resulting code works for comp

Re: [Qemu-devel] [PATCH] Basic Intel IOMMU DMAR emulation

2010-04-08 Thread Paul Brook
>1. DMAR tables must be loaded by command line ( -acpitable > sig=DMAR,data=hw/DMAR.dat ) Why? > +void cpu_physical_memory_rw_io(target_phys_addr_t addr, uint8_t *buf, > + int len, int is_write, uint16_t devfn, > + int* err); This appear

Re: [Qemu-devel] [PATCH 1/4] tcg-hppa: Compute is_write in cpu_signal_handler.

2010-04-08 Thread Aurelien Jarno
On Fri, Mar 12, 2010 at 03:58:08PM +0100, Richard Henderson wrote: Thanks, applied. > --- > cpu-exec.c | 38 +++--- > 1 files changed, 31 insertions(+), 7 deletions(-) > > diff --git a/cpu-exec.c b/cpu-exec.c > index 372aeac..0f84857 100644 > --- a/cpu-exec.c >

Re: [Qemu-devel] [PATCH 3/4] tcg-hppa: Fix in/out register overlap in add2/sub2.

2010-04-08 Thread Aurelien Jarno
On Wed, Apr 07, 2010 at 04:46:33PM +0200, Richard Henderson wrote: > Handle the output log part overlapping the input high parts. > Also, improve sub2 to handle some constants the second input low part. Thanks, applied. > Signed-off-by: Richard Henderson > --- > tcg/hppa/tcg-target.c | 60 +++

Re: [Qemu-devel] [PATCH 0/4] tcg-hppa finish, v4

2010-04-08 Thread Aurelien Jarno
On Wed, Apr 07, 2010 at 04:29:11PM -0700, Richard Henderson wrote: > On 04/07/2010 04:56 AM, Aurelien Jarno wrote: > > Sorry, I haven't find time to review it in details. Would also be nice > > if someone can try it on an hppa machine, and ack it. > > I got an ack against v3 here: > > http://list

Re: [Qemu-devel] [PATCH 0/2] Introduce wrapper functions to access phys_ram_dirty, and replace existing direct accesses to it.

2010-04-08 Thread Aurelien Jarno
On Tue, Mar 23, 2010 at 04:39:51PM +0900, Yoshiaki Tamura wrote: > > Before replacing byte-based dirty bitmap with bit-based dirty bitmap, > clearing direct accesses to the bitmap first seems to be good point to > start with. > > This patch set is based on the following discussion. > > http://ww

Re: [Qemu-devel] [PATCH 4/4] tcg-hppa: Don't try to calls to non-constant addresses.

2010-04-08 Thread Aurelien Jarno
On Thu, Apr 08, 2010 at 01:24:35AM +0200, Richard Henderson wrote: > PA-RISC uses procedure descriptors. We'd need to emit a call to > the millicode routine $$dyncall. However, this situation doesn't > actually arise, since we always have the descriptor available at > TCG code generation time. T

Re: [Qemu-devel] [PATCH] resource leak fixes for iwmmxt disassemble

2010-04-08 Thread Aurelien Jarno
On Mon, Mar 15, 2010 at 06:22:04PM +0100, Lars Munch wrote: > > This patch fixes few resource leaks in the iwmmxt disassemble. Thanks, applied. > Signed-off-by: Lars Munch > --- > target-arm/translate.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/target-arm/

Re: [Qemu-devel] [PATCH, RFC] block: separate raw images from the file protocol

2010-04-08 Thread Kevin Wolf
Am 07.04.2010 22:30, schrieb Christoph Hellwig: > We're running into various problems because the "raw" file access, which > is used internally by the various image formats is entangled with the > "raw" image format, which maps the VM view 1:1 to a file system. > > This patch renames the raw file

Re: [Qemu-devel] [PATCH] block: reject O_RDWR open for read-only images

2010-04-08 Thread Kevin Wolf
Am 07.04.2010 17:02, schrieb Stefan Hajnoczi: > On Wed, Apr 7, 2010 at 12:57 PM, Christoph Hellwig wrote: >> Various obscure image format drivers do not allow write access. >> Instead of silently falling back to read-only access reject attempts >> to open these images for write access. > > Does b