Re: [Qemu-devel] [PATCH arm-devs v3 1/9] qom/object: Make uintXX added properties writable

2013-12-14 Thread Peter Crosthwaite
Ping! I'm trying to figure out what way I want to go here. On Sat, Dec 7, 2013 at 12:49 AM, Peter Maydell wrote: > On 3 December 2013 13:19, Andreas Färber wrote: >> Am 03.12.2013 07:59, schrieb Peter Crosthwaite: >>> Currently the uintXX property adders make a read only property. This >>> is n

Re: [Qemu-devel] [PATCH] target-moxie: Add moxie Marin SoC support

2013-12-14 Thread Peter Crosthwaite
On Sun, Dec 15, 2013 at 3:17 PM, Peter Crosthwaite wrote: > Hi Anthony, > > On Sun, Dec 15, 2013 at 1:59 PM, Anthony Green wrote: >> >> This adds initial support for the Marin SoC, including the SoC's uart >> interface. >> >> >> Signed-off-by: Anthony Green >> --- >> default-configs/moxie-softm

Re: [Qemu-devel] [PATCH] target-moxie: Add moxie Marin SoC support

2013-12-14 Thread Peter Crosthwaite
Hi Anthony, On Sun, Dec 15, 2013 at 1:59 PM, Anthony Green wrote: > > This adds initial support for the Marin SoC, including the SoC's uart > interface. > > > Signed-off-by: Anthony Green > --- > default-configs/moxie-softmmu.mak | 1 + > hw/char/Makefile.objs | 1 + > hw/char/m

Re: [Qemu-devel] [PATCH] target-moxie: Use new qemu_ld/st opcodes

2013-12-14 Thread Peter Crosthwaite
On Sun, Dec 15, 2013 at 2:18 PM, Anthony Green wrote: > Richard Henderson writes: > >> Strict search-and-replace, since the moxie port does nothing complicated. >> >> Cc: Anthony Green >> Signed-off-by: Richard Henderson >> --- >> target-moxie/translate.c | 52 >> -

Re: [Qemu-devel] [PATCH v3] Fix QEMU build on OpenBSD on x86 archs

2013-12-14 Thread Brad Smith
On 10/12/13 7:49 PM, Brad Smith wrote: This resolves the build issue with building the ROMs on OpenBSD on x86 archs. As of OpenBSD 5.3 the compiler builds PIE binaries by default and thus the whole OS/packages and so forth. The ROMs need to have PIE disabled. This is my initial attempt at trying

Re: [Qemu-devel] [PATCH] target-moxie: Use new qemu_ld/st opcodes

2013-12-14 Thread Anthony Green
Richard Henderson writes: > Strict search-and-replace, since the moxie port does nothing complicated. > > Cc: Anthony Green > Signed-off-by: Richard Henderson > --- > target-moxie/translate.c | 52 > > 1 file changed, 26 insertions(+), 26 delet

[Qemu-devel] ping.. Re: [PATCH moxie] Fix bug in tlb_fill.

2013-12-14 Thread Anthony Green
This patch still needs to be applied. There was some follow-up discussion on this patch back in May, but none of it negates the fact that this patch needs to be applied. Thanks! AG Anthony Green writes: > Fix a simple bug in tlb_fill for moxie. The port was mostly working > before, which is

[Qemu-devel] [PATCH] target-moxie: Add moxie Marin SoC support

2013-12-14 Thread Anthony Green
This adds initial support for the Marin SoC, including the SoC's uart interface. Signed-off-by: Anthony Green --- default-configs/moxie-softmmu.mak | 1 + hw/char/Makefile.objs | 1 + hw/char/marin-uart.c | 198 ++ hw/moxie/Makef

[Qemu-devel] [PATCH] target-moxie: Add gdbstub support

2013-12-14 Thread Anthony Green
This patch adds gdbstub support for the moxie target port. Signed-off-by: Anthony Green --- target-moxie/Makefile.objs | 1 + target-moxie/cpu.c | 3 +++ target-moxie/cpu.h | 2 ++ target-moxie/gdbstub.c | 56 ++ 4 files changed

Re: [Qemu-devel] a QOM Coding Conventions question

2013-12-14 Thread Peter Crosthwaite
On Sun, Dec 15, 2013 at 9:42 AM, Peter Maydell wrote: > On 14 December 2013 23:06, Peter Crosthwaite > wrote: >> On Sat, Dec 14, 2013 at 6:26 AM, Antony Pavlov >> wrote: >>> What do the "< private >" and "< public >" comments exactly mean here? >> >> Private means inaccessible to everybody, inc

Re: [Qemu-devel] a QOM Coding Conventions question

2013-12-14 Thread Peter Maydell
On 14 December 2013 23:06, Peter Crosthwaite wrote: > On Sat, Dec 14, 2013 at 6:26 AM, Antony Pavlov > wrote: >> What do the "< private >" and "< public >" comments exactly mean here? > > Private means inaccessible to everybody, including the implementation > of class being instantiated. No one

Re: [Qemu-devel] a QOM Coding Conventions question

2013-12-14 Thread Peter Crosthwaite
On Sat, Dec 14, 2013 at 6:26 AM, Antony Pavlov wrote: > Hi, Andreas! > > Here is a quote from http://wiki.qemu.org/QOMConventions > >> a FooClass structure definition containing at least the parent class >> field: >> >> typedef struct { >> /*< private >*/ >> MyParentClass

Re: [Qemu-devel] [Bug 1257099] [NEW] QEMU fails to build on CentOS 5.10 with relocation R_X86_64_PC32 error

2013-12-14 Thread Don Slutz
On 12/09/13 08:22, Paolo Bonzini wrote: Il 09/12/2013 13:47, Don Slutz ha scritto: On 12/05/13 22:20, Don Slutz wrote: On 12/05/13 16:24, Richard Henderson wrote: On 12/06/2013 04:18 AM, Paolo Bonzini wrote: $ gcc -shared -o f.so f.c -fPIE -fPIC /usr/bin/ld: /tmp/ccQc9els.o: relocation R_X86_

Re: [Qemu-devel] [PATCH] qemu will core dump with "-smp 254, sockets=2, cores=3, threads=2"

2013-12-14 Thread Peter Maydell
On 14 December 2013 17:21, lijun wrote: > Hi all, > As qemu core dump cause by "sockets=2,cores=3,threads=2", so add this > patch to check whether cores and threads is a power of 2. > The following is the realization of apicid_from_topo_ids function in > file target-i386/topology.h. It use

Re: [Qemu-devel] [PATCH] qemu will core dump with "-smp 254, sockets=2, cores=3, threads=2"

2013-12-14 Thread lijun
Hi all, As qemu core dump cause by "sockets=2,cores=3,threads=2", so add this patch to check whether cores and threads is a power of 2. The following is the realization of apicid_from_topo_ids function in file target-i386/topology.h. It uses shift to get the values of pkg_id and core_id

[Qemu-devel] [PATCH] block/iscsi: use a bh to schedule co reentrance

2013-12-14 Thread Peter Lieven
this fixes a potential segfault and performance regression. If the coroutine is reentered directly in the iscsi_co_generic_cb iscsi_process_{read,write} are interrupted and reentered any time later. One the one hand this could happen after an iscsi_close where the iscsi context is already gone (se

Re: [Qemu-devel] [snabb-devel:650] Re: [PATCH v3 1/7] Add -mem-share option

2013-12-14 Thread Paolo Bonzini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 14/12/2013 04:53, Eric Blake ha scritto: >>> +DEF("mem-share", 0, QEMU_OPTION_mem_share, > Ouch. Doesn't this mean you are defining a boolean option (absent > or present) as opposed to a qemuOpts option? I've already been > complaining that other

Re: [Qemu-devel] [PATCH] roms: Flush icache when writing roms to guest memory

2013-12-14 Thread Peter Maydell
On 14 December 2013 10:58, Paolo Bonzini wrote: > Il 13/12/2013 20:18, Scott Wood ha scritto: >>> Also are you sure flush_icache_range() >>> works correctly when multiple threads (multiple vCPUs, >>> potentially executing on different host CPUs) are involved? >> >> On PPC these cache operations br

Re: [Qemu-devel] [PATCH] roms: Flush icache when writing roms to guest memory

2013-12-14 Thread Paolo Bonzini
Il 13/12/2013 20:18, Scott Wood ha scritto: >> Also are you sure flush_icache_range() >> works correctly when multiple threads (multiple vCPUs, >> potentially executing on different host CPUs) are involved? > > On PPC these cache operations broadcast, and are the architecturally > defined way of d

Re: [Qemu-devel] [PATCH] target-openrisc: Use new qemu_ld/st opcodes

2013-12-14 Thread Jia Liu
Hi Richard, On Thu, Dec 12, 2013 at 12:42 AM, Richard Henderson wrote: > Cc: Jia Liu > Signed-off-by: Richard Henderson > --- > target-openrisc/translate.c | 99 > +++-- > 1 file changed, 32 insertions(+), 67 deletions(-) > > Untested, since there's no