Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Oct 25, 2011
  1. @stweil @blueswirl

    target-sparc: Fix use of g_new0 / g_free

    stweil authored blueswirl committed
    g_malloc0 needs g_free instead of free.
    While fixing this, I also replaced g_malloc0 by g_new0
    as was suggested by Stuart Brady.
    
    Cc: Blue Swirl <blauwirbel@gmail.com>
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  2. @stweil @blueswirl

    target-sparc: Fix order of function parameters

    stweil authored blueswirl committed
    The MinGW-w64 gcc complains about wrong parameters for
    gen_helper_fpadd16_s and three other functions.
    
    gen_helper_fpadd16_s is declared like this (hidden in lots of macros):
    
    static inline void
     gen_helper_fpadd16s(TCGv_i32 retval, TCGv_ptr arg1,
                         TCGv_i32 arg2, TCGv_i32 arg3);
    
    So it looks like cpu_env should be the 2nd parameter.
    
    Please review this patch as I have no environment to test it
    (maybe the 1st parameter should be cpu_dst?).
    
    Cc: Blue Swirl <blauwirbel@gmail.com>
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  3. @elmarco @moosotc

    hda: do not mix output and input stream states, RHBZ #740493

    elmarco authored moosotc committed
    Windows 7 may use the same stream number for input and output.
    Current code will confuse streams.
    
    Changes since v1:
    - keep running_compat[] for migration version 1
    - add running_real[] for migration version 2
    
    Signed-off-by: Marc-Andr? Lureau <marcandre.lureau@redhat.com>
    Signed-off-by: malc <av1474@comtv.ru>
  4. @elmarco @moosotc

    hda: do not mix output and input streams, RHBZ #740493

    elmarco authored moosotc committed
    Windows 7 may use the same stream number for input and output.
    That will result in lot of garbage on playback.
    
    The hardcoded value of 4 needs to be in sync with GCAP streams
    description and IN/OUT registers.
    
    Signed-off-by: Marc-Andr? Lureau <marcandre.lureau@redhat.com>
    Signed-off-by: malc <av1474@comtv.ru>
Commits on Oct 24, 2011
  1. Merge remote-tracking branch 'bonzini/split-main-loop-for-anthony' in…

    Anthony Liguori authored
    …to staging
Commits on Oct 23, 2011
  1. @blueswirl

    Add stdio char device on windows

    Fabien Chouteau authored blueswirl committed
    Simple implementation of an stdio char device on Windows.
    
    Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  2. @blueswirl

    Sparc: split CWP and PSTATE op helpers

    blueswirl authored
    Move CWP and PSTATE op helpers to win_helper.c.
    
    Reviewed-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  3. @blueswirl

    Sparc: avoid AREG0 for lazy condition code helpers

    blueswirl authored
    Make lazy condition code helpers take a parameter for CPUState instead
    of relying on global env.
    
    Reviewed-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  4. @blueswirl

    Sparc: split lazy condition code handling op helpers

    blueswirl authored
    Move lazy condition code handling op helpers to cc_helper.c.
    
    Reviewed-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  5. @blueswirl

    Sparc: avoid AREG0 for float and VIS ops

    blueswirl authored
    Make floating point and VIS ops take a parameter for CPUState instead
    of relying on global env.
    
    Reviewed-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  6. @blueswirl

    Sparc: split FPU and VIS op helpers

    blueswirl authored
    Move FPU op helpers to fop_helper.c. Move VIS op helpers to vis_helper.c,
    compile it only for Sparc64.
    
    Reviewed-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  7. @blueswirl

    Sparc: fix coding style

    blueswirl authored
    Before the next patches, fix coding style of the areas affected.
    
    Reviewed-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  8. @blueswirl

    Sparc: avoid AREG0 for raise_exception and helper_debug

    blueswirl authored
    Make raise_exception() and helper_debug() take a parameter for
    CPUState instead of relying on global env. Move the functions
    to helper.c.
    
    Reviewed-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  9. @blueswirl

    Sparc: move trivial functions from op_helper.c

    blueswirl authored
    These functions don't need access to CPUState or already pass it,
    so relocating them from op_helper.c to helper.c and int64_helper.c
    is trivial.
    
    Reviewed-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  10. @blueswirl

    Sparc: split helper.c

    blueswirl authored
    Move CPU init to cpu_init.c and interrupt handling to int32_helper.c
    for Sparc32 and int64_helper.c for Sparc64.
    
    Reviewed-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  11. @blueswirl

    Sparc: fix coding style

    blueswirl authored
    Before the next patch, fix coding style of the areas affected.
    
    Reviewed-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  12. @blueswirl

    m48t59: fix write access

    blueswirl authored
    Fix incorrect order of arguments, letting writes to NVRAM succeed.
    
    It looks like guests never write to the device, only read from it, since the bug
    originates back to 819385c.
    
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  13. @blueswirl

    m48t59: drop obsolete address base arithmetic

    blueswirl authored
    Remove now incorrect address base arithmetic, missed by
    9936d6e. Fixes Sparc64 boot.
    
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  14. @blueswirl

    pci_bridge: fix typo

    blueswirl authored
    Reviewed-by: Avi Kivity <avi@redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Commits on Oct 21, 2011
  1. @bonzini

    simplify main loop functions

    bonzini authored
    Provide a clean example of how to use the main loop in the tools.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  2. @bonzini

    Revert to a hand-made select loop

    bonzini authored
    This reverts commit c82dc29
    and 4d88a2a.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  3. @bonzini

    main-loop: create main-loop.c

    bonzini authored
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  4. @bonzini

    main-loop: create main-loop.h

    bonzini authored
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  5. @bonzini

    qemu-timer: do not use RunState change handlers

    bonzini authored
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  6. @bonzini

    qemu-timer: move more stuff out of qemu-timer.c

    bonzini authored
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  7. @bonzini

    qemu-timer: use atexit for quit_timers

    bonzini authored
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  8. @bonzini

    qemu-timer: do not refer to runstate_is_running()

    bonzini authored
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  9. @bonzini

    qemu-timer: move icount to cpus.c

    bonzini authored
    None of this is needed by tools, and most of it can even be made static
    inside cpus.c.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  10. @bonzini

    qemu-timer: more clock functions

    bonzini authored
    These will be used when moving icount accounting to cpus.c.
    
    Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  11. @bonzini

    qemu-timer: move common code to qemu_rearm_alarm_timer

    bonzini authored
    Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  12. @bonzini

    qemu-timer: remove active_timers array

    bonzini authored
    Embed the list in the QEMUClock instead.
    
    Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  13. @bonzini

    remove unused function

    bonzini authored
    Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  14. @pm215 @balrog-kun

    compatfd.c: Don't pass NULL pointer to SYS_signalfd

    pm215 authored balrog-kun committed
    Don't pass a NULL pointer in to SYS_signalfd in qemu_signalfd_available():
    this isn't valid and Valgrind complains about it.
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
  15. @pm215 @balrog-kun

    linux-user: Fix broken "-version" option

    pm215 authored balrog-kun committed
    Fix the "-version" option, which was accidentally broken in commit
    fc9c541:
     * exit after printing version information rather than proceeding
       blithely onward (and likely printing the full usage message)
     * correct the cut-n-paste error in the usage message for it
     * don't insist on the presence of a following argument for
       options which don't take an argument (this was preventing
       'qemu-arm -version' from working)
     * remove a spurious argc check from the beginning of main() which
       meant 'QEMU_VERSION=1 qemu-arm' didn't work.
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
  16. @balrog-kun

    hw/arm_gic.c: Fix save/load of irq_target array

    Dmitry Koshelev authored balrog-kun committed
    irq_target array saving/loading is in the wrong loop.
    Version bump.
    
    Signed-off-by: Dmitry Koshelev <karaghiozis@gmail.com>
    Acked-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Something went wrong with that request. Please try again.