Permalink
Commits on Apr 14, 2012
  1. target-sh4: Make itlb_replacement() use SuperHCPU

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

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

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

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

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

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

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

    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>
    committed Feb 26, 2012
  9. hw/sh7750: Use SuperHCPU

    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>
    committed Feb 26, 2012
  10. target-sh4: Do not reset CPU feature flags on reset

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

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

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

    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>
    committed Feb 11, 2012
  14. target-microblaze: QOM'ify CPU init

    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>
    committed Apr 12, 2012
  15. target-microblaze: QOM'ify CPU reset

    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>
    committed Apr 12, 2012
  16. target-microblaze: QOM'ify CPU

    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>
    committed Apr 12, 2012
  17. target-cris: Start QOM'ifying CPU init

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

    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>
    committed Apr 11, 2012
  19. target-cris: QOM'ify CPU

    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>
    committed Apr 11, 2012
  20. target-xtensa: Start QOM'ifying CPU init

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

    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>
    committed Apr 11, 2012
  22. target-xtensa: QOM'ify CPU

    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>
    committed Apr 11, 2012
  23. target-alpha: QOM'ify CPU init

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

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

    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>
    Acked-by: David Gibson <david@gibson.dropbear.id.au>
    committed Apr 6, 2012
  26. target-ppc: Start QOM'ifying CPU init

    Move code not dependent on ppc_def_t from cpu_ppc_init() into an initfn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Acked-by: David Gibson <david@gibson.dropbear.id.au>
    [AF: Rebased on top of moved env->cpu_index fixup]
    committed Apr 6, 2012
Commits on Apr 13, 2012
  1. target-ppc: QOM'ify CPU

    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>
    Acked-by: David Gibson <david@gibson.dropbear.id.au>
    committed Apr 6, 2012
  2. @dgibson

    target-ppc: Add hooks for handling tcg and kvm limitations

    On target-ppc, our table of CPU types and features encodes the features as
    found on the hardware, regardless of whether these features are actually
    usable under TCG or KVM.  We already have cases where the information from
    the cpu table must be fixed up to account for limitations in the emulation
    method we're using.  e.g. TCG does not support the DFP and VSX instructions
    and KVM needs different numbering of the CPUs in order to tell it the
    correct thread to core mappings.
    
    This patch cleans up these hacks to handle emulation limitations by
    consolidating them into a pair of functions specifically for the purpose.
    
    Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
    [AF: Style and typo fixes, rename new functions and drop ppc_def_t arg]
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    dgibson committed with Apr 4, 2012
  3. target-ppc: Drop cpu_ppc_close()

    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>
    committed Apr 6, 2012
  4. Merge remote-tracking branch 'stefanha/trivial-patches' into staging

    * 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
    Anthony Liguori committed Apr 13, 2012
  5. Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

    * 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
    Anthony Liguori committed Apr 13, 2012
  6. Merge remote-tracking branch 'afaerber/qom-cpu-lm32.v3' into staging

    * afaerber/qom-cpu-lm32.v3:
      target-lm32: QOM'ify CPU reset
      target-lm32: QOM'ify CPU init
      target-lm32: QOM'ify CPU
    Anthony Liguori committed Apr 13, 2012
  7. @pm215

    configure: Insist on a Python 2, not Python 3

    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>
    pm215 committed with Stefan Hajnoczi Apr 12, 2012
  8. @pm215

    bsd-user: fix compile failure

    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>
    pm215 committed with Stefan Hajnoczi Apr 12, 2012
Commits on Apr 12, 2012
  1. @khers

    kvmclock: guest stop notification

    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>
    khers committed with Marcelo Tosatti Apr 7, 2012