[Qemu-devel] [PATCH v2 10/14] target-cris: Avoid AREG0 for helpers

2012-09-08 Thread Blue Swirl
From: Aurelien Jarno Add an explicit CPUCRISState parameter instead of relying on AREG0. Signed-off-by: Blue Swirl Signed-off-by: Aurelien Jarno --- target-cris/helper.h| 37 +++- target-cris/op_helper.c | 80 +++ target

Re: [Qemu-devel] [PATCH 086/126] target-s390: Convert CLST, MVST

2012-09-11 Thread Blue Swirl
On Sun, Sep 9, 2012 at 9:05 PM, Richard Henderson wrote: > Signed-off-by: Richard Henderson > --- > target-s390x/helper.h | 4 +- > target-s390x/insn-data.def | 4 ++ > target-s390x/mem_helper.c | 119 > ++--- > target-s390x/translate.c | 42

Re: [Qemu-devel] [PATCH 8/9] MicroBlaze: Add a config that is dynamically set up by a device tree file.

2012-09-11 Thread Blue Swirl
On Mon, Sep 10, 2012 at 12:20 AM, wrote: > From: Chris Wulff > > Signed-off-by: Chris Wulff > --- > default-configs/microblaze-softmmu.mak |1 + > hw/labx_microblaze_devicetree.c| 597 > > hw/microblaze/Makefile.objs|3 +- > 3 file

Re: [Qemu-devel] [PATCH 7/9] NiosII: Add a config that is dynamically set up by a device tree file.

2012-09-11 Thread Blue Swirl
On Mon, Sep 10, 2012 at 12:20 AM, wrote: > From: Chris Wulff > > Signed-off-by: Chris Wulff > --- > default-configs/nios2-linux-user.mak |1 + > default-configs/nios2-softmmu.mak|6 + > hw/labx_nios2_devicetree.c | 665 > ++ > hw/nios2/Ma

Re: [Qemu-devel] [PATCH 3/9] Altera: Add support for Altera devices required to boot linux on NiosII.

2012-09-11 Thread Blue Swirl
On Mon, Sep 10, 2012 at 12:20 AM, wrote: > From: Chris Wulff > > Signed-off-by: Chris Wulff > --- > hw/Makefile.objs |5 ++ > hw/altera.h| 34 > hw/altera_timer.c | 198 +++ > hw/altera_uart.c | 218 > ++

Re: [Qemu-devel] [PATCH V2 1/6] libqblock API design

2012-09-11 Thread Blue Swirl
On Mon, Sep 10, 2012 at 8:26 AM, Wenchao Xia wrote: > This patch contains the major APIs in the library. > Important APIs: > 1 QBroker. These structure was used to retrieve errors, every thread must > create one first, later maybe thread related staff could be added into it. > 2 QBlockState.

Re: [Qemu-devel] [PATCH V2 2/6] libqblock type and structure defines

2012-09-11 Thread Blue Swirl
On Mon, Sep 10, 2012 at 8:26 AM, Wenchao Xia wrote: > This patch contains type and defines used in APIs, one file for public usage > by user, one for libqblock internal usage. > > Signed-off-by: Wenchao Xia > --- > libqblock/libqblock-internal.h | 50 > libqblock/libqblock-types.h

Re: [Qemu-devel] [PATCH V2 3/6] libqblock error handling

2012-09-11 Thread Blue Swirl
On Mon, Sep 10, 2012 at 8:26 AM, Wenchao Xia wrote: > This patch contains error handling APIs, which user could call them to > get error details. > > Signed-off-by: Wenchao Xia > --- > libqblock/libqblock-error.c | 60 > +++ > libqblock/libqblock-erro

Re: [Qemu-devel] [PATCH 3/4] fbdev: add linux framebuffer display driver.

2012-09-11 Thread Blue Swirl
On Mon, Sep 10, 2012 at 2:20 PM, Gerd Hoffmann wrote: > Display works, requires truecolor framebuffer with 16 or 32 bpp on the > host. 32bpp is recommended. The framebuffer is used as-is, qemu > doesn't try to switch modes. With LCD displays mode switching is pretty > pointless IMHO, also it wo

Re: [Qemu-devel] [PATCH V2 3/6] libqblock error handling

2012-09-14 Thread Blue Swirl
On Wed, Sep 12, 2012 at 2:58 AM, Wenchao Xia wrote: > 于 2012-9-12 4:32, Blue Swirl 写道: > >> On Mon, Sep 10, 2012 at 8:26 AM, Wenchao Xia >> wrote: >>> >>>This patch contains error handling APIs, which user could call them to >>> get erro

Re: [Qemu-devel] [PATCH 5/5] HMP: Introduce console command

2012-09-14 Thread Blue Swirl
On Wed, Sep 12, 2012 at 11:57 AM, Lei Li wrote: > Signed-off-by: Lei Li > --- > hmp.c | 42 ++ > monitor.c | 18 ++ > monitor.h |2 ++ > 3 files changed, 62 insertions(+), 0 deletions(-) > > diff --git a/hmp.c b/hmp.c > index 43

Re: [Qemu-devel] [PATCH 3/5] QAPI: Introduce memchar-write QMP command

2012-09-14 Thread Blue Swirl
On Wed, Sep 12, 2012 at 11:57 AM, Lei Li wrote: > Signed-off-by: Lei Li > --- > hmp-commands.hx | 23 ++ > hmp.c| 19 +++ > hmp.h|1 + > qapi-schema.json | 69 > ++ > qemu-char.c

Re: [Qemu-devel] [PATCH] Basic support for ARM A15 "architectured" (cp15) timers

2012-09-14 Thread Blue Swirl
On Wed, Sep 12, 2012 at 11:49 AM, Daniel Forsgren wrote: > This patch adds basic support for the "architected" timers (i.e. cp15) > found in A15. It's enough to allow Linux to boot, using arch_timer for > the tick. However - it is not a complete model of the timer block at > large, it is not that

Re: [Qemu-devel] [PATCH 4/5] QAPI: Introduce memchar-read QMP command

2012-09-14 Thread Blue Swirl
On Wed, Sep 12, 2012 at 11:57 AM, Lei Li wrote: > Signed-off-by: Lei Li > --- > hmp-commands.hx | 25 + > hmp.c| 18 ++ > hmp.h|1 + > qapi-schema.json | 27 +++ > qemu-char.c | 48 +

Re: [Qemu-devel] [PATCH] w64: Fix calls of TCG helper functions with 5 arguments

2012-09-14 Thread Blue Swirl
On Wed, Sep 12, 2012 at 7:39 PM, Stefan Weil wrote: > Am 12.09.2012 21:14, schrieb Aurelien Jarno: > >> On Wed, Sep 12, 2012 at 07:12:47PM +0100, Peter Maydell wrote: >>> >>> On 12 September 2012 19:03, Stefan Weil wrote: diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c i

Re: [Qemu-devel] [PATCH V2 2/6] libqblock type and structure defines

2012-09-14 Thread Blue Swirl
On Tue, Sep 11, 2012 at 10:52 PM, Eric Blake wrote: > On 09/11/2012 02:31 PM, Blue Swirl wrote: >> On Mon, Sep 10, 2012 at 8:26 AM, Wenchao Xia >> wrote: >>> This patch contains type and defines used in APIs, one file for public >>> usage >>>

Re: [Qemu-devel] [PATCH V2 2/6] libqblock type and structure defines

2012-09-14 Thread Blue Swirl
On Thu, Sep 13, 2012 at 3:49 AM, Eric Blake wrote: > On 09/12/2012 09:33 PM, Eric Blake wrote: >>> OK ,then I think >>> #if __GNUC__ >= 4 >>> >>> #else >>> [warn name space pollution may happen] >>> #endif >>> would be better. >> >> It may be shorter, but it is definitely not better, at le

Re: [Qemu-devel] [PATCH 02/10] spice: split qemu_spice_create_update

2012-09-14 Thread Blue Swirl
On Thu, Sep 13, 2012 at 8:45 AM, Gerd Hoffmann wrote: > Creating one function which creates a single update for a given > rectangle. And one (for now) pretty simple wrapper around it to > queue up screen updates for the dirty region. > > [ v2: also update bounding box ] > > Signed-off-by: Gerd Ho

Re: [Qemu-devel] [PATCH 07/25] pc/piix_pci: factor out smram/pam logic

2012-09-14 Thread Blue Swirl
On Thu, Sep 13, 2012 at 8:12 PM, Jason Baron wrote: > From: Isaku Yamahata > > Factor out smram/pam logic for later use. > Which will be used by q35 too. > > [jba...@redhat.com: changes for updated memory API] > Signed-off-by: Isaku Yamahata > Signed-off-by: Jason Baron > --- > hw/i386/Makefil

Re: [Qemu-devel] [PATCH 23/25] q35: add acpi-based pci hotplug.

2012-09-14 Thread Blue Swirl
On Thu, Sep 13, 2012 at 8:12 PM, Jason Baron wrote: > Add piix style acpi hotplug to q35. > > Signed-off-by: Jason Baron > --- > hw/acpi_ich9.c | 173 > +++- > hw/acpi_ich9.h | 10 +++ > 2 files changed, 182 insertions(+), 1 deletions(-) >

Re: [Qemu-devel] [PATCH 12/25] q35: Re-base q35 to 1.2

2012-09-14 Thread Blue Swirl
On Thu, Sep 13, 2012 at 8:12 PM, Jason Baron wrote: > Rebase q35 to 1.2 - memory api updates, acpi updates, qom... > > Signed-off-by: Jason Baron > --- > hw/acpi_ich9.c | 65 > hw/acpi_ich9.h |9 +- > hw/pc.h|2 + > hw/pc_piix.c |4 +- > hw/pc_q35.c| 189 +++

Re: [Qemu-devel] [PATCH V2 1/6] libqblock API design

2012-09-14 Thread Blue Swirl
On Wed, Sep 12, 2012 at 8:19 AM, Kevin Wolf wrote: > Am 11.09.2012 22:28, schrieb Blue Swirl: >> On Mon, Sep 10, 2012 at 8:26 AM, Wenchao Xia >> wrote: >>> This patch contains the major APIs in the library. >>> Important APIs: >>> 1 QBroker. T

Re: [Qemu-devel] [PATCH 8/9] MicroBlaze: Add a config that is dynamically set up by a device tree file.

2012-09-14 Thread Blue Swirl
On Wed, Sep 12, 2012 at 12:17 AM, Peter Crosthwaite wrote: > On Tue, 2012-09-11 at 19:27 +0000, Blue Swirl wrote: >> On Mon, Sep 10, 2012 at 12:20 AM, wrote: >> > From: Chris Wulff >> > >> > +/* >> > + * Xilinx ethernetlite device >> > + */

Re: [Qemu-devel] [PATCH 24/25] Add a fallback bios file search, if -L fails.

2012-09-14 Thread Blue Swirl
On Thu, Sep 13, 2012 at 8:12 PM, Jason Baron wrote: > If -L is specified, and qemu does not find the bios file in , then > the search fails. Add infrastructure such that the search will continue in > the default paths, if not found in the -L path. > > Signed-off-by: Jason Baron > --- > vl.c |

Re: [Qemu-devel] qemu-system-i386 vs qemu-system-x86_64 ?

2012-09-14 Thread Blue Swirl
On Fri, Sep 14, 2012 at 7:39 AM, Michael Tokarev wrote: > What's the difference between the two except that the > latter adds some more instructions (actually whole new > subsytem) to the former? Why do we need -i386, what > -x86_64 does not do which does -i386? i386 should not allow executing x

Re: [Qemu-devel] directory hierarchy

2012-09-14 Thread Blue Swirl
On Fri, Sep 14, 2012 at 1:17 PM, Paolo Bonzini wrote: > Hi all, > > here is a proposal for moving around 150 C files currently in the > toplevel directory to separate, well-delimited subdirectories. Header > files would be moved for now in include/, preparing for subsequent > reorganization of he

Re: [Qemu-devel] [PATCH] Basic support for ARM A15 "architectured" (cp15) timers

2012-09-15 Thread Blue Swirl
aybe this could be a nice approach. But I'd vote for CPUARMState for now. > > br, > > /D > >> -Original Message- >> From: Blue Swirl [mailto:blauwir...@gmail.com] >> Sent: den 14 september 2012 19:26 >> To: Daniel Forsgren >> Cc: qem

Re: [Qemu-devel] [PATCH v5] configure: properly check if -lrt and -lm is needed

2012-09-15 Thread Blue Swirl
Thanks, applied. On Wed, Sep 12, 2012 at 9:06 AM, Natanael Copa wrote: > Fixes build against uClibc. > > uClibc provides 2 versions of clock_gettime(), one with realtime > support and one without (this is so you can avoid linking in -lrt > unless actually needed). This means that the clock_gettim

Re: [Qemu-devel] [PATCH] tcg: Fix MAX_OPC_PARAM_IARGS

2012-09-15 Thread Blue Swirl
Thanks, applied. On Wed, Sep 12, 2012 at 5:18 PM, Stefan Weil wrote: > DEF_HELPER_FLAGS_5 was added some time ago without adjusting > MAX_OPC_PARAM_IARGS. > > Fixing the definition becomes more important as QEMU is using > an increasing number of helper functions called with 5 arguments. > > Add

Re: [Qemu-devel] [PATCH] fix warnings from printf target addresses

2012-09-16 Thread Blue Swirl
On Sun, Sep 16, 2012 at 12:05 AM, Mike Frysinger wrote: > Current code triggers: > memory.c: In function 'invalid_read': > memory.c:1001: warning: format '%#x' expects type 'unsigned int', > but argument 4 has type 'target_phys_addr_t' > memory.c: In function 'invalid_write': > memory.c:10

Re: [Qemu-devel] [PATCH v2 00/14] AREG0 patches, final round

2012-09-16 Thread Blue Swirl
On Sat, Sep 8, 2012 at 11:49 AM, Blue Swirl wrote: > Convert remaining targets to AREG0 free mode. > > Avoid also cpu_single_env in translation code. > > If there are no objections and the s390x queue gets pulled in, > I'll apply the series next weekend. Applied all, ple

Re: [Qemu-devel] [PATCH] fix gcc warnings when RESERVED_VA is 0

2012-09-16 Thread Blue Swirl
On Sun, Sep 16, 2012 at 9:58 AM, Peter Maydell wrote: > On 16 September 2012 01:05, Mike Frysinger wrote: >> The current code, while correct, triggers a bunch of gcc warnings when >> RESERVED_VA is 0 like so: >> linux-user/syscall.c: In function 'do_shmat': >> linux-user/syscall.c:3058: warning:

Re: [Qemu-devel] [PATCH V2 2/6] libqblock type and structure defines

2012-09-17 Thread Blue Swirl
On Mon, Sep 17, 2012 at 2:23 AM, Wenchao Xia wrote: > 于 2012-9-15 2:11, Blue Swirl 写道: > >> On Thu, Sep 13, 2012 at 3:49 AM, Eric Blake wrote: >>> >>> On 09/12/2012 09:33 PM, Eric Blake wrote: >>>>> >>>>> OK ,then I think >>>

Re: [Qemu-devel] [RFC PATCH 09/10] i386: move TCG functions out of helper.o, non-TCG functions to cpu.o

2012-09-17 Thread Blue Swirl
On Mon, Sep 17, 2012 at 4:00 PM, Paolo Bonzini wrote: > This lets non-TCG build remove *_helper.c from the build. > > Signed-off-by: Paolo Bonzini > --- > target-i386/cpu.c | 18 ++ > target-i386/excp_helper.c | 24 > target-i386/fpu_helper.c | 1

Re: [Qemu-devel] [RFC PATCH 05/10] exec: small adjustments for TCG separation

2012-09-17 Thread Blue Swirl
On Mon, Sep 17, 2012 at 4:00 PM, Paolo Bonzini wrote: > Add stubs for cpu_restore_state and tlb_fill, which should respectively > have no effect and never be used outside TCG mode. > > Add assertions that TCG is enabled around code that calls to TCG from > exec.c, so that the compiler can remove t

Re: [Qemu-devel] [RFC PATCH 00/10] Add --disable-tcg

2012-09-17 Thread Blue Swirl
On Mon, Sep 17, 2012 at 4:00 PM, Paolo Bonzini wrote: > This is an old series from Anthony that was never committed. Now > that QEMU does not use ARG0 anymore, it is much simpler to move things > to and from the helper.c files as needed to remove most of the TCG code > from non-TCG builds. > > Of

Re: [Qemu-devel] [PATCH 04/13] tcg-sparc: Assume v9 cpu always, i.e. force v8plus in 32-bit mode.

2012-09-17 Thread Blue Swirl
On Mon, Sep 17, 2012 at 5:05 PM, Richard Henderson wrote: > On 09/17/2012 09:04 AM, Andreas Färber wrote: >> Without knowing the code, this does not strike me as the best of ideas: >> SPARC CPUs are rather uncommon these days, so being able to emulate it >> in sparc32-softmmu may be helpful for ke

Re: [Qemu-devel] [PATCH v6 08/13] m25p80: Initial implementation of SPI flash device

2012-09-19 Thread Blue Swirl
On Tue, Sep 18, 2012 at 2:11 AM, Peter A. G. Crosthwaite wrote: > Added device model for m25p80 style SPI flash family. > > Signed-off-by: Peter A. G. Crosthwaite > --- > changed from v4: > Added write-1 flag (EEPROM mode). > n25q128 table entry indentation fix. > updated for new SSI interface. >

Re: [Qemu-devel] [PATCH v6 08/13] m25p80: Initial implementation of SPI flash device

2012-09-19 Thread Blue Swirl
On Tue, Sep 18, 2012 at 2:11 AM, Peter A. G. Crosthwaite wrote: > Added device model for m25p80 style SPI flash family. > > Signed-off-by: Peter A. G. Crosthwaite > --- > changed from v4: > Added write-1 flag (EEPROM mode). > n25q128 table entry indentation fix. > updated for new SSI interface. >

Re: [Qemu-devel] [PATCH v6 11/13] xilinx_spips: Xilinx Zynq SPI cntrlr device model

2012-09-19 Thread Blue Swirl
On Tue, Sep 18, 2012 at 2:11 AM, Peter A. G. Crosthwaite wrote: > Added device model for the Xilinx Zynq SPI controller (SPIPS). > > Signed-off-by: Peter A. G. Crosthwaite > --- > > hw/arm/Makefile.objs |1 + > hw/xilinx_spips.c| 352 > ++

Re: [Qemu-devel] [PATCH 4/9] fbdev: add linux framebuffer display driver.

2012-09-19 Thread Blue Swirl
On Tue, Sep 18, 2012 at 7:17 AM, Gerd Hoffmann wrote: > Display works, requires truecolor framebuffer with 16 or 32 bpp on the > host. 32bpp is recommended. The framebuffer is used as-is, qemu > doesn't try to switch modes. With LCD displays mode switching is pretty > pointless IMHO, also it wo

Re: [Qemu-devel] [PATCH] check-qjson: More thorough testing of UTF-8 in strings

2013-02-28 Thread Blue Swirl
On Thu, Feb 28, 2013 at 8:14 AM, Markus Armbruster wrote: > Blue Swirl writes: > >> On Mon, Feb 4, 2013 at 5:19 PM, Markus Armbruster wrote: >>> Test cases are scraped from Markus Kuhn's UTF-8 decoder capability and >>> stress test at >>> http:

Re: [Qemu-devel] [PATCH v5 2/4] Add moxie disassembler

2013-02-28 Thread Blue Swirl
On Thu, Feb 28, 2013 at 5:41 PM, Anthony Green wrote: > > Signed-off-by: Anthony Green > --- > disas.c | 6 + > disas/Makefile.objs | 1 + > disas/moxie.c | 360 > > include/disas/bfd.h | 66 +- > 4 files change

Re: [Qemu-devel] [PATCH v5 3/4] Add sample moxie system

2013-02-28 Thread Blue Swirl
On Thu, Feb 28, 2013 at 5:41 PM, Anthony Green wrote: > > Signed-off-by: Anthony Green > --- > hw/moxie/Makefile.objs | 6 ++ > hw/moxie/moxiesim.c| 175 > + > include/sysemu/arch_init.h | 1 + > 3 files changed, 182 insertions(+) > c

Re: [Qemu-devel] [PULL 00/17] arm-devs queue

2013-02-28 Thread Blue Swirl
On Thu, Feb 28, 2013 at 6:53 PM, Peter Maydell wrote: > Hi; here's the arm-devs queue. Mostly this is a bunch of Peter C's > patches. There's a bunch of other stuff bubbling under which will > probably go into another pullreq in a couple of weeks' time (mostly > series which failed review or need

Re: [Qemu-devel] [PATCH] check-qjson: More thorough testing of UTF-8 in strings

2013-02-28 Thread Blue Swirl
On Thu, Feb 28, 2013 at 7:42 PM, Markus Armbruster wrote: > Blue Swirl writes: > >> On Thu, Feb 28, 2013 at 8:14 AM, Markus Armbruster wrote: >>> Blue Swirl writes: >>> >>>> On Mon, Feb 4, 2013 at 5:19 PM, Markus Armbruster >>>> wrote:

Re: [Qemu-devel] [RFC PATCH v1 2/4] bitops: Add UInt32StateInfo and helper functions

2013-03-03 Thread Blue Swirl
On Sun, Mar 3, 2013 at 6:13 AM, Peter Crosthwaite wrote: > This struct and functions provide some encapsulation of the uint32_t type to > make it more friendly for use as guest accessible device state. Bits of device > state (usually MMIO registers), often have all sorts of access restrictions > a

[Qemu-devel] [PATCH] build: compile gtk.c with special CFLAGS

2013-03-03 Thread Blue Swirl
Compile gtk.c with special CFLAGS instead of disabling -Werror globally. Signed-off-by: Blue Swirl --- configure| 12 +++- ui/Makefile.objs |2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 19738ac..2a043d6 100755 --- a

Re: [Qemu-devel] [PATCH 0/6] Drop the irredeemably racy cpu_unlink_tb()

2013-03-03 Thread Blue Swirl
Thanks, applied all. On Fri, Feb 22, 2013 at 6:09 PM, Peter Maydell wrote: > This patch series gets rid of cpu_unlink_tb(), which is irredeemably > racy, since it modifies the TB graph with no locking from other > threads, signal handlers, etc etc. (The signal handler case is > why you can't just

Re: [Qemu-devel] [PATCH v7 2/4] Add moxie disassembler

2013-03-03 Thread Blue Swirl
On Sun, Mar 3, 2013 at 1:07 PM, Anthony Green wrote: > > Signed-off-by: Anthony Green > --- > disas.c | 6 + > disas/Makefile.objs | 1 + > disas/moxie.c | 360 > > include/disas/bfd.h | 66 +- > 4 files changed

Re: [Qemu-devel] [PATCH v7 1/4] Add moxie target code

2013-03-03 Thread Blue Swirl
On Sun, Mar 3, 2013 at 1:07 PM, Anthony Green wrote: > > Signed-off-by: Anthony Green > --- > target-moxie/Makefile.objs |2 + > target-moxie/cpu.c | 172 > target-moxie/cpu.h | 170 > target-moxie/helper.c | 170 > target-moxie/helper.h

Re: [Qemu-devel] [PATCH] build: compile gtk.c with special CFLAGS

2013-03-04 Thread Blue Swirl
On Sun, Mar 3, 2013 at 9:03 PM, Anthony Liguori wrote: > Blue Swirl writes: > >> Compile gtk.c with special CFLAGS instead of disabling -Werror globally. >> >> Signed-off-by: Blue Swirl > > I thought Kevin's pragma trick solved this problem? Not in all case

Re: [Qemu-devel] [RFC PATCH v1 2/4] bitops: Add UInt32StateInfo and helper functions

2013-03-04 Thread Blue Swirl
uch faster > in live discussion. I've commented on the issue below with my current > thoughts. > > On Sun, Mar 3, 2013 at 7:01 PM, Blue Swirl wrote: >> On Sun, Mar 3, 2013 at 6:13 AM, Peter Crosthwaite >> wrote: >>> This struct and functions provide some encap

Re: [Qemu-devel] [RFC PATCH v1 2/4] bitops: Add UInt32StateInfo and helper functions

2013-03-04 Thread Blue Swirl
On Mon, Mar 4, 2013 at 9:44 AM, Michael S. Tsirkin wrote: > On Sun, Mar 03, 2013 at 09:01:11AM +0000, Blue Swirl wrote: >> On Sun, Mar 3, 2013 at 6:13 AM, Peter Crosthwaite >> wrote: >> > This struct and functions provide some encapsulation of the uint32_t type &

Re: [Qemu-devel] [PATCH] build: compile gtk.c with special CFLAGS

2013-03-04 Thread Blue Swirl
On Mon, Mar 4, 2013 at 8:29 PM, Anthony Liguori wrote: > Blue Swirl writes: > >> On Sun, Mar 3, 2013 at 9:03 PM, Anthony Liguori wrote: >>> Blue Swirl writes: >>> >>>> Compile gtk.c with special CFLAGS instead of disabling -Werror globally. >

Re: [Qemu-devel] [RFC PATCH v1 2/4] bitops: Add UInt32StateInfo and helper functions

2013-03-09 Thread Blue Swirl
On Thu, Mar 7, 2013 at 2:26 AM, Peter Maydell wrote: > On 7 March 2013 10:00, Peter Crosthwaite wrote: >> Not 100% accurate. My goal here it to control (or wrap) only guest >> accesses, in the first instance via the Memory API, but other forms of >> guest access are perfectly valid as well, and P

Re: [Qemu-devel] [PATCHv3 2/2] bridge helper: support conf dirs

2013-03-09 Thread Blue Swirl
On Thu, Mar 7, 2013 at 6:32 AM, Doug Goldstein wrote: > Allow the bridge helper to take a config directory rather than having to > specify every file in the directory manually via an include statement. > > Signed-off-by: Doug Goldstein > CC: Anthony Liguori > CC: Richa Marwaha > CC: Corey Bryan

[Qemu-devel] [PATCH 1/2] baum: fix build

2013-03-09 Thread Blue Swirl
08744c98115cfa144ed3493556024e400b2e2573 removed hw/baum.h but did not adjust hw/baum.c, breaking build. Fix. Signed-off-by: Blue Swirl --- hw/baum.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/hw/baum.c b/hw/baum.c index d75b150..d8919d5 100644 --- a/hw/baum.c

[Qemu-devel] [PATCH 2/2] qemu-char: fix win32 build

2013-03-09 Thread Blue Swirl
96c6384776d631839a9c8fe02bf135f9ba22586c did not adjust Win32 #ifdeffery properly, breaking build in later commits. Fix. Signed-off-by: Blue Swirl --- qemu-char.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index b82d643..04aa589

Re: [Qemu-devel] [PULL 00/66] ppc patch queue 2013-03-08

2013-03-09 Thread Blue Swirl
On Fri, Mar 8, 2013 at 8:06 PM, Alexander Graf wrote: > Hi Blue / Aurelien, > > This is my current patch queue for ppc. Please pull. Thanks, pulled. > > Alex > > > The following changes since commit 0bc472a9d6b80567c212023c5eae413f4dfb53ad: > Kuo-Jung Su (1): > hw/nand.c: correct the

Re: [Qemu-devel] [PULL 0/5] s390 patch queue 2013-03-08

2013-03-09 Thread Blue Swirl
On Fri, Mar 8, 2013 at 8:17 PM, Alexander Graf wrote: > Hi Blue / Aurelien, > > This is my current patch queue for s390. Please pull. Thanks, pulled. > > Alex > > > The following changes since commit 0bc472a9d6b80567c212023c5eae413f4dfb53ad: > Kuo-Jung Su (1): > hw/nand.c: correct the

Re: [Qemu-devel] [PATCH 0/3] make_device_config.sh fixes

2013-03-09 Thread Blue Swirl
-series reverts it and adds a > cleanup to avoid that thinko as well as the real dependency fix. > > I don't see any conflict with Gerd's pending make_device_config.sh changes. > > Regards, > Andreas > > Cc: Peter Maydell > Cc: Blue Swirl > Cc: Paolo Bonzin

Re: [Qemu-devel] [PATCH v9 1/4] Add moxie target code

2013-03-09 Thread Blue Swirl
On Sat, Mar 9, 2013 at 1:34 PM, Anthony Green wrote: > > Signed-off-by: Anthony Green > --- > target-moxie/Makefile.objs | 2 + > target-moxie/cpu.c | 172 + > target-moxie/cpu.h | 169 + > target-moxie/helper.c | 171 + > target-moxie/helper.h

Re: [Qemu-devel] Cross-compiling QEMU for ARM

2013-03-10 Thread Blue Swirl
On Sun, Mar 10, 2013 at 2:59 PM, Peter Maydell wrote: > On 10 March 2013 14:36, Leonid Bloch wrote: >> I want to cross compile QEMU itself to run on ARM, but all my searches >> lead me to tutorials for cross compiling other programs for ARM and >> testing them with QEMU, which is not what I need.

Re: [Qemu-devel] [PATCH] pvevent: pvevent device driver

2013-03-17 Thread Blue Swirl
On Thu, Mar 14, 2013 at 8:51 AM, Hu Tao wrote: > pvevent device is a qemu simulated device through which guest panic > event is sent to host. > > ref: http://lists.nongnu.org/archive/html/qemu-devel/2013-03/msg02293.html > > Signed-off-by: Hu Tao > --- > drivers/platform/x86/Kconfig | 7 +++

Re: [Qemu-devel] [PATCH 0/4] Fix JSON string formatter

2013-03-17 Thread Blue Swirl
On Thu, Mar 14, 2013 at 5:49 PM, Markus Armbruster wrote: > This should unbreak "make check" on machines where char is unsigned. > Blue, please give it a whirl. With the patches applied there are no errors, thanks. Tested-by: Blue Swirl Though test-coroutine seems to hang, ma

Re: [Qemu-devel] [PATCH v10 0/4] Moxie CPU port

2013-03-17 Thread Blue Swirl
On Sun, Mar 10, 2013 at 2:07 PM, Anthony Green wrote: > This version of the patch includes a bug fix and some formatting fixes > identified by Blue Swirl here: > > http://lists.gnu.org/archive/html/qemu-devel/2013-03/msg01530.html > > Please consider applying this version o

Re: [Qemu-devel] [PULL 00/17] arm-devs queue

2013-03-17 Thread Blue Swirl
Thanks, pulled. On Fri, Mar 15, 2013 at 4:56 PM, Peter Maydell wrote: > Another arm-devs pullreq: xilinx fixes from Peter C, the pl330 > model, and my vexpress fixes for the system control regs. > Please pull. > > thanks > -- PMM > > > The following changes since commit dc0b0616f726956001be09e9a6

Re: [Qemu-devel] [PATCH] s390: Fix cpu refactoring fallout.

2013-03-17 Thread Blue Swirl
Thanks, applied. On Fri, Mar 15, 2013 at 9:57 AM, Cornelia Huck wrote: > Commit 259186a7 "cpu: Move halted and interrupt_request fields to CPUState" > seems to have missed one instance in target-s390x/kvm.c: > > /home/cohuck/git/qemu/target-s390x/kvm.c: In function > ‘kvm_arch_process_async_even

Re: [Qemu-devel] [PATCH 0/4] Fix JSON string formatter

2013-04-13 Thread Blue Swirl
Thanks, applied all. On Thu, Apr 11, 2013 at 4:07 PM, Markus Armbruster wrote: > This should unbreak "make check" on machines where char is unsigned. > Blue, please give it a whirl. > > The JSON parser is still as broken as ever. Left for another day. > > v2: > - Rebased, trivial conflicts in PA

[Qemu-devel] [PATCH] Remove Sun4c, Sun4d and a few CPUs

2013-04-14 Thread Blue Swirl
Sun4c and Sun4d architectures and related CPUs are not fully implemented (especially Sun4c MMU) and there has been no interest for them. Likewise, a few CPUs (Cypress, Ross etc) are only half implemented. Remove the machines and CPUs, they can be re-added if needed later. Signed-off-by: Blue

Re: [Qemu-devel] [RFC v2 3/7] m48t59: register a QOM type for each nvram type we support

2013-04-20 Thread Blue Swirl
On Sun, Apr 14, 2013 at 9:41 PM, Artyom Tarasenko wrote: > On Sun, Apr 14, 2013 at 10:05 AM, Hervé Poussineau > wrote: >> As m48t59 devices can only be created with m48t59_init() or >> m48t59_init_isa(), >> we know exactly which nvram types are required. Register only those three >> types. >> R

Re: [Qemu-devel] Target-agnostic virtio?

2013-04-20 Thread Blue Swirl
On Wed, Apr 17, 2013 at 2:15 AM, Rob Landley wrote: > On 04/14/2013 04:38:23 AM, Artyom Tarasenko wrote: >> >> On Sat, Apr 13, 2013 at 7:03 PM, Rob Landley wrote: >> > On 03/26/2013 02:34:50 AM, Artyom Tarasenko wrote: >> >> >> >> On Tue, Mar 26, 2013 at 1:52 AM, Rob Landley wrote: >> >> > Can t

Re: [Qemu-devel] [RFC v2 3/7] m48t59: register a QOM type for each nvram type we support

2013-04-20 Thread Blue Swirl
On Sat, Apr 20, 2013 at 9:56 AM, Artyom Tarasenko wrote: > On Sat, Apr 20, 2013 at 11:34 AM, Blue Swirl wrote: >> On Sun, Apr 14, 2013 at 9:41 PM, Artyom Tarasenko >> wrote: >>> On Sun, Apr 14, 2013 at 10:05 AM, Hervé Poussineau >>> wrote: >>>&g

Re: [Qemu-devel] [PATCH] tcg: Remove temp_buf

2013-04-20 Thread Blue Swirl
On Fri, Apr 19, 2013 at 12:18 PM, Andreas Färber wrote: > Am 19.04.2013 14:11, schrieb Andreas Färber: >> Hi, >> >> Am 19.04.2013 10:27, schrieb Richard Henderson: >>> All targets have been converted to allocating space for temporaries >>> on the stack. No need to allocate space within the CPU_CO

Re: [Qemu-devel] [PULL] [PATCH 0/3] linux-user pending patches

2013-04-20 Thread Blue Swirl
Thanks, pulled. On Fri, Apr 19, 2013 at 1:59 PM, wrote: > From: Riku Voipio > > The following changes since commit 09dada400328d75daf79e3eca1e48e024fec148d: > > configure: remove duplicate test (2013-04-18 14:12:31 +0200) > > are available in the git repository at: > > git://git.linaro.org/

Re: [Qemu-devel] [PULL 0/4] target-arm queue

2013-04-20 Thread Blue Swirl
Thanks, pulled. On Fri, Apr 19, 2013 at 3:06 PM, Peter Maydell wrote: > target-arm pullreq, containing a fix for a dumb SRS bug I > introduced, and the update to migration to use vmstate > (both of which have been on the list since before freeze). > Please pull. > > thanks > -- PMM > > The follow

Re: [Qemu-devel] [PULL 00/11] arm-devs queue

2013-04-20 Thread Blue Swirl
Thanks, pulled. On Fri, Apr 19, 2013 at 2:57 PM, Peter Maydell wrote: > arm-devs queue pullreq; this is just the versatile-pci > cleanup (which has been on the list for some time now). > Please pull. > > thanks > -- PMM > > > The following changes since commit 09dada400328d75daf79e3eca1e48e024fec

Re: [Qemu-devel] [PATCH v2 2/2] qdev: Drop taddr properties

2013-04-20 Thread Blue Swirl
Patch does not apply, please rebase: Applying: qdev: Drop taddr properties error: patch failed: hw/display/sm501.c:28 error: hw/display/sm501.c: patch does not apply error: patch failed: hw/dma/xilinx_axidma.c:26 error: hw/dma/xilinx_axidma.c: patch does not apply Patch failed at 0002 qdev: Drop t

Re: [Qemu-devel] [PATCH v3 0/2] Drop support for qdev taddr properties

2013-04-20 Thread Blue Swirl
Thanks, applied all. On Sat, Apr 20, 2013 at 1:48 PM, Peter Maydell wrote: > There is currently only one user of the qdev taddr (target addr, > now hwaddr) property code, and that user is wrong anyway, since the > property it's trying to set isn't actually a taddr property. > Fix the erroneous u

Re: [Qemu-devel] [PATCH v5 3/3] configure/Make: Build libfdt from submodule DTC

2013-04-20 Thread Blue Swirl
On Thu, Apr 18, 2013 at 4:47 AM, wrote: > From: Peter Crosthwaite > > Configure to use the DTC submodule to build libfdt when no system libfdt > is found. Prompt to install the DTC submodule if --enable-fdt is set but > no DTC can be found. > > DTC has no out-of-tree build capability, so the con

Re: [Qemu-devel] [PATCH 6/6] qemu-file: do not use stdio for qemu_fdopen

2013-04-20 Thread Blue Swirl
On Wed, Apr 17, 2013 at 9:46 AM, Paolo Bonzini wrote: > This uses system calls directly for Unix file descriptors, so that the > efficient writev_buffer can be used. Pay attention to the possibility > of partial writes in writev. > > Reviewed-by: Juan Quintela > Reviewed-by: Orit Wassermann > S

[Qemu-devel] Capabilities in default SELinux policy for QEMU

2013-04-21 Thread Blue Swirl
Hi, It looks like the reference SELinux policy for QEMU is too restrictive for 9pfs (and user emulators) and also too permissive for any other uses. Excerpts from policy/modules/contrib/qemu.if: template(`qemu_domain_template',` allow $1_t self:capability { dac_read_search dac_override }

[Qemu-devel] make check failures

2013-04-21 Thread Blue Swirl
I'm getting this error for make check on an ARM host: GTESTER check-qtest-i386 GTester: last random seed: R02Sb8a38f2b54abc70ad75be1aa6db12891 ** ERROR:/src/qemu/tests/i440fx-test.c:39:test_i440fx_defaults: assertion failed: (dev != NULL) GTester: last random seed: R02S614a99582cbeccc827e177f79c43

Re: [Qemu-devel] [PATCH] qtest: Handle addresses and values for {in, out}[bwl] as unsigned

2013-04-21 Thread Blue Swirl
8000 and qtest was instead writing 0x7fff. > > Signed-off-by: Peter Maydell Fixes the problem for me. Tested-by: Blue Swirl > --- > This fixes the actual parsing error; checking strtol errors is > a separate bug which should be done for the whole file. > > qtest.c |

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Fix recent compile breakage

2013-04-21 Thread Blue Swirl
Thanks, applied. On Sun, Apr 21, 2013 at 9:54 AM, Peter Maydell wrote: > Early ping for compile-breakage fix patch (ccing Blue this time > round since you've been applying patches this weekend.) > > Patchwork url: http://patchwork.ozlabs.org/patch/237347/ > > thanks! > -- PMM > > On 17 April 2013

Re: [Qemu-devel] [PATCH 17/21] introduce memory_region_get_address() and use it in kvm/ioapic

2013-04-25 Thread Blue Swirl
On Tue, Apr 23, 2013 at 8:29 AM, Igor Mammedov wrote: > kvm/ioapic is relying on the fact that SysBus device > maps mmio regions with offset counted from start of system memory. > But if ioapic's region is moved to another sub-region which doesn't > start at the beginning of system memory then usi

Re: [Qemu-devel] [PATCH 17/21] introduce memory_region_get_address() and use it in kvm/ioapic

2013-04-26 Thread Blue Swirl
On Fri, Apr 26, 2013 at 2:17 PM, Igor Mammedov wrote: > On Thu, 25 Apr 2013 18:37:19 + > Blue Swirl wrote: > >> On Tue, Apr 23, 2013 at 8:29 AM, Igor Mammedov wrote: >> > kvm/ioapic is relying on the fact that SysBus device >> > maps mmio regions with of

Re: [Qemu-devel] [PATCH 1.5 v2 0/3] fix win32 compilation

2013-04-26 Thread Blue Swirl
On Wed, Apr 24, 2013 at 8:59 PM, Paolo Bonzini wrote: > Here is a fix for the Win32 compilation problem that Blue reported, > and another nit I found while testing. > > Paolo Bonzini (3): > add missing inclusions of config-host.h > win32: add readv/writev emulation > win32: generate console

Re: [Qemu-devel] [PULL 00/30] ppc patch queue 2013-04-26

2013-04-26 Thread Blue Swirl
On Fri, Apr 26, 2013 at 6:21 PM, Alexander Graf wrote: > Hi Blue / Aurelien, > > This is my current patch queue for ppc. Please pull. Does not build with --enable-debug: CCppc-softmmu/target-ppc/translate.o /src/qemu/target-ppc/translate.c: In function 'gen_lfiwax': /src/qemu/target-ppc/tr

Re: [Qemu-devel] [PULL 00/30] ppc patch queue 2013-04-26

2013-04-26 Thread Blue Swirl
On Fri, Apr 26, 2013 at 6:21 PM, Alexander Graf wrote: > Hi Blue / Aurelien, > > This is my current patch queue for ppc. Please pull. Thanks, pulled. > > Alex > > > The following changes since commit bf9b255f484fd61cbaa91faeff254140a0ecd18c: > Anthony Liguori (1): > gtk: refactor menu

Re: [Qemu-devel] [PULL 00/30] ppc patch queue 2013-04-26

2013-04-26 Thread Blue Swirl
On Fri, Apr 26, 2013 at 8:12 PM, Blue Swirl wrote: > On Fri, Apr 26, 2013 at 6:21 PM, Alexander Graf wrote: >> Hi Blue / Aurelien, >> >> This is my current patch queue for ppc. Please pull. > > Thanks, pulled. Sorry, replied to wrong pull request. > >> &g

Re: [Qemu-devel] [PULL 00/24] s390 patch queue 2013-04-26

2013-04-26 Thread Blue Swirl
On Fri, Apr 26, 2013 at 6:19 PM, Alexander Graf wrote: > Hi Blue / Aurelien, > > This is my current patch queue for s390. Please pull. Thanks, pulled. > > Alex > > > The following changes since commit bf9b255f484fd61cbaa91faeff254140a0ecd18c: > Anthony Liguori (1): > gtk: refactor men

Re: [Qemu-devel] [PATCH 17/21] introduce memory_region_get_address() and use it in kvm/ioapic

2013-04-27 Thread Blue Swirl
On Fri, Apr 26, 2013 at 10:13 PM, Paolo Bonzini wrote: > Il 26/04/2013 19:46, Igor Mammedov ha scritto: >>> > But as the address can't be changed (yet), the entire patch could be >>> > simply: >>> > -kioapic->base_address = s->busdev.mmio[0].addr; >>> > +kioapic->base_address = IO_APIC_DE

Re: [Qemu-devel] [PATCH 0/2] sparc64: Fix NVRAM access mode

2013-04-27 Thread Blue Swirl
On Sat, Apr 27, 2013 at 7:12 AM, Artyom Tarasenko wrote: > The sun4u machines use a slightly different modification of the ISA Mostek > chip. > It has MMIO, 1968 as a base year and no IRQ line. Since it matches our m48t08, > make keep PIO behavior for the 59 model and use MMIO for the 8 model. T

Re: [Qemu-devel] [PATCH 0/3] sparc64 fixes

2013-04-27 Thread Blue Swirl
Thanks, applied all. I fixed the indentation in 2/3 for apb_config_writel(). On Sat, Apr 27, 2013 at 5:55 AM, Artyom Tarasenko wrote: > Various fixes: > On the real hardware IRQ lines of the PCI bus are not shared. > In the previous QEMU implementation before this series, all PCI devices > used t

Re: [Qemu-devel] [PATCH 0/2] Disassembly with external objdump

2013-08-11 Thread Blue Swirl
On Fri, Aug 9, 2013 at 7:19 PM, Richard Henderson wrote: > We have one host platform (aarch64), and three target platforms > (openrisc, unicore32, xtensa) with no built-in disassembly support, > thanks largely to gplv3 silliness. > > Here's a first-cut at handling these cases with an external tool

Re: [Qemu-devel] target-sparc has inverse cwp logic for SAVE/RESTORE?

2014-05-23 Thread Blue Swirl
On Mon, May 19, 2014 at 1:56 PM, Mark Cave-Ayland wrote: > On 18/05/14 17:06, Olivier Danet wrote: > >> The problem may be related to the fact that the 32bits SPARCv8 and 64bits >> SPARCv9 work in opposite directions ! >> >> SparcV9 standard, page 360/399 : >> The SPARC-V9 CWP register is incremen

Re: [Qemu-devel] [ANNOUNCE] qemu-test: a set of tests scripts for QEMU

2011-12-29 Thread Blue Swirl
On Thu, Dec 29, 2011 at 19:04, Peter Maydell wrote: > On 29 December 2011 18:35, Anthony Liguori wrote: >> On 12/29/2011 11:49 AM, Peter Maydell wrote: >>> The next obvious question is: are we going to make a serious attempt? >>> (For instance, in a hypothetical tests-required world, would we >>>

Re: [Qemu-devel] [PATCH v5 9/9] Add XBRLE statistics information

2012-01-07 Thread Blue Swirl
On Tue, Jan 3, 2012 at 15:34, Orit Wasserman wrote: > > Signed-off-by: Orit Wasserman > --- >  arch_init.c |   67 > +++ >  migration.c |   11 + >  migration.h |    9 >  3 files changed, 87 insertions(+), 0 deletions(-) > >

<    4   5   6   7   8   9   10   11   12   13   >