Permalink
Switch branches/tags
Commits on Apr 13, 2012
  1. target-sh4: Make itlb_replacement() use SuperHCPU

    afaerber committed Feb 26, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  2. target-sh4: Make update_itlb_use() take SuperHCPU

    afaerber committed Feb 26, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  3. target-sh4: Make copy_utlb_entry_itlb() take SuperHCPU

    afaerber committed Feb 26, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  4. target-sh4: Make get_{physical,mmu}_address() take SuperHCPU

    afaerber committed Feb 26, 2012
    Simplifies TLB helper code.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  5. target-sh4: Make cpu_sh4_{read,write}_mmaped_{i,u}tlb_addr() take CPU

    afaerber committed Feb 26, 2012
    Change argument type to SuperHCPU and update the SH7750 SoC.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  6. target-sh4: Make find_*tlb_entry() take SuperHCPU

    afaerber committed Feb 26, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  7. target-sh4: Make increment_urc() take SuperHCPU

    afaerber committed Feb 26, 2012
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  8. target-sh4: Make cpu_sh4_invalidate_tlb() take SuperHCPU

    afaerber committed Feb 26, 2012
    Change argument type from CPUSH4State to SuperHCPU.
    This simplifies the SH7750 SoC as its only caller.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  9. hw/sh7750: Use SuperHCPU

    afaerber committed Feb 26, 2012
    In place of CPUSH4State use SuperHCPU for SH7750State::cpu field.
    
    Fix tab indentation on those lines and add braces.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  10. target-sh4: Do not reset CPU feature flags on reset

    afaerber committed Feb 11, 2012
    Move them out of CPUSH4State so that they are not zero'ed on reset.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  11. target-sh4: Start QOM'ifying CPU init

    afaerber committed Apr 13, 2012
    Move code from cpu_sh4_init() into a QOM initfn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  12. target-sh4: QOM'ify CPU reset

    afaerber committed Apr 13, 2012
    Move code from cpu_state_reset() to QOM superh_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  13. target-sh4: QOM'ify CPU

    afaerber committed Feb 11, 2012
    Embed CPUSH4State as first member of SuperHCPU.
    
    Let CPUClass::reset() call cpu_state_reset() for now.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  14. target-microblaze: QOM'ify CPU init

    afaerber committed Apr 12, 2012
    Move code from cpu_mb_init() to a QOM initfn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Tested-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
  15. target-microblaze: QOM'ify CPU reset

    afaerber committed Apr 12, 2012
    Move code from cpu_state_reset() to QOM mb_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Tested-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
  16. target-microblaze: QOM'ify CPU

    afaerber committed Apr 12, 2012
    Embed CPUMBState as first member of QOM MicroBlazeCPU.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Tested-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
  17. target-cris: Start QOM'ifying CPU init

    afaerber committed Apr 11, 2012
    Move VR-independent code from cpu_cris_init() into an initfn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  18. target-cris: QOM'ify CPU reset

    afaerber committed Apr 11, 2012
    Move code from cpu_state_reset() into QOM cris_cpu_reset().
    Let CPU init call cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  19. target-cris: QOM'ify CPU

    afaerber committed Apr 11, 2012
    Embed CPUCRISState as first member of QOM CRISCPU.
    
    Let CPUClass::reset() call cpu_state_reset() for now.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  20. target-xtensa: Start QOM'ifying CPU init

    afaerber committed Apr 11, 2012
    Move XtensaConfig-independent code from cpu_xtensa_init() into a
    QOM initfn, as a start.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  21. target-xtensa: QOM'ify CPU reset

    afaerber committed Apr 11, 2012
    Move code from cpu_state_reset() into QOM xtensa_cpu_reset().
    To avoid moving reset_mmu() and dependencies, make it non-static.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  22. target-xtensa: QOM'ify CPU

    afaerber committed Apr 11, 2012
    Embed CPUXtensaState as first member of XtensaCPU.
    Let CPUClass::reset() call cpu_state_reset() for now.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  23. target-alpha: QOM'ify CPU init

    afaerber committed Apr 6, 2012
    Move code from cpu_alpha_init() into a CPU initializer.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  24. target-alpha: QOM'ify CPU

    afaerber committed Apr 6, 2012
    Embed CPUAlphaState as first member of AlphaCPU.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  25. target-ppc: Add CPU finalizer

    afaerber committed Apr 6, 2012
    free() opcode tables. They are being malloc()'ed in create_new_table().
    
    Resolves Jocelyn's TODO in former cpu_ppc_close().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  26. target-ppc: QOM'ify CPU reset

    afaerber committed Apr 6, 2012
    Move code from cpu_state_reset() into ppc_cpu_reset().
    Reorder #include of helper_regs.h to use it in translate_init.c.
    
    Adjust whitespace and add braces.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  27. target-ppc: QOM'ify CPU init

    afaerber committed Apr 6, 2012
    Move code from cpu_ppc_init() into an initfn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  28. target-ppc: QOM'ify CPU

    afaerber committed Apr 6, 2012
    Embed CPUPPCState as first member of PowerPCCPU.
    Distinguish between "powerpc-cpu", "powerpc64-cpu" and
    "embedded-powerpc-cpu".
    
    Let CPUClass::reset() call cpu_state_reset() for now.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  29. target-ppc: Drop cpu_ppc_close()

    afaerber committed Apr 6, 2012
    It is unused, so avoid QOM'ifying it unneededly.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Acked-by: David Gibson <david@gibson.dropbear.id.au>
  30. Merge remote-tracking branch 'stefanha/trivial-patches' into staging

    Anthony Liguori
    Anthony Liguori committed Apr 13, 2012
    * stefanha/trivial-patches:
      configure: Insist on a Python 2, not Python 3
      bsd-user: fix compile failure
      ps2: avoid repeated header file includes
      make: Always set LC_ALL=C for makeinfo
      configure: Fix wrong preprocessor statement
      configure: Remove useless uses of ARCH_CFLAGS
  31. Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

    Anthony Liguori
    Anthony Liguori committed Apr 13, 2012
    * qemu-kvm/uq/master:
      kvmclock: guest stop notification
      kvm: update linux headers
      kvm: set gsi_bits and max_gsi correctly
      kvm: Drop unused kvm_pit_in_kernel
      kvm: allow arbitrarily sized mmio ioeventfd
      kvm: Drop redundant kvm_enabled from cpu_thread_is_idle
      kvm: add flightrecorder script
  32. Merge remote-tracking branch 'afaerber/qom-cpu-lm32.v3' into staging

    Anthony Liguori
    Anthony Liguori committed Apr 13, 2012
    * afaerber/qom-cpu-lm32.v3:
      target-lm32: QOM'ify CPU reset
      target-lm32: QOM'ify CPU init
      target-lm32: QOM'ify CPU
  33. configure: Insist on a Python 2, not Python 3

    pm215 authored and Stefan Hajnoczi committed Apr 12, 2012
    Our Python scripts require Python 2 and will fail on Python 3, eg:
      File "/home/petmay01/linaro/qemu-from-laptop/qemu/scripts/qapi-commands.py", line 378
          except getopt.GetoptError, err:
                                   ^
      SyntaxError: invalid syntax
    
    Add a check to configure that Python is not a Python 3, so we can
    fail with a comprehensible error rather than an obscure one.
    
    Reported-by: Boris Matti <swiftos@lavabit.com>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
  34. bsd-user: fix compile failure

    pm215 authored and Stefan Hajnoczi committed Apr 12, 2012
    bsd-user doesn't actually support reserving a memory area for the
    guest address space, but we need to at least define the reserved_va
    global so that cpu-all.h's RESERVED_VA macro will work correctly.
    
    This fixes a compilation error introduced in commit 39879bb
    which added a use of RESERVED_VA to h2g_valid().
    
    Reported-by: Brad Smith <brad@comstyle.com>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    Reviewed-by: Stefan Weil <sw@weilnetz.de>
    Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Commits on Apr 12, 2012
  1. kvmclock: guest stop notification

    khers authored and Marcelo Tosatti committed Apr 7, 2012
    Often when a guest is stopped from the qemu console, it will report spurious
    soft lockup warnings on resume.  There are kernel patches being discussed that
    will give the host the ability to tell the guest that it is being stopped and
    should ignore the soft lockup warning that generates.  This patch uses the qemu
    Notifier system to tell the guest it is about to be stopped.
    
    Signed-off-by: Eric B Munson <emunson@mgebm.net>
    Signed-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
    Reviewed-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>