Skip to content
Snippets Groups Projects
  1. Aug 25, 2014
    • Alexey Kardashevskiy's avatar
      cpus: Define callback for QEMU "nmi" command · 9cb805fd
      Alexey Kardashevskiy authored
      
      This introduces an NMI (Non Maskable Interrupt) interface with
      a single nmi_monitor_handler() method. A machine or a device can
      implement it. This searches for an QOM object with this interface
      and if it is implemented, calls it. The callback implements an action
      required to cause debug crash dump on in-kernel debugger invocation.
      The callback returns Error**.
      
      This adds a nmi_monitor_handle() helper which walks through
      all objects to find the interface. The interface method is called
      for all found instances.
      
      This adds support for it in qmp_inject_nmi(). Since no architecture
      supports it at the moment, there is no change in behaviour.
      
      This changes inject-nmi command description for HMP and QMP.
      
      Signed-off-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
      Reviewed-by: default avatarAlexander Graf <agraf@suse.de>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      9cb805fd
  2. Aug 20, 2014
    • David Hildenbrand's avatar
      kvm: run cpu state synchronization on target vcpu thread · c8e2085d
      David Hildenbrand authored
      
      As already done for kvm_cpu_synchronize_state(), let's trigger
      kvm_arch_put_registers() via run_on_cpu() for kvm_cpu_synchronize_post_reset()
      and kvm_cpu_synchronize_post_init().
      
      This way, we make sure that the register synchronizing ioctls are
      called from the proper vcpu thread; this avoids calls to
      synchronize_rcu() in the kernel.
      
      Reviewed-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: default avatarDavid Hildenbrand <dahi@linux.vnet.ibm.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      c8e2085d
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140819' into staging · 2656eb7c
      Peter Maydell authored
      
      target-arm:
       * fix preferred return address for A64 BRK insn
       * implement AArch64 single-stepping
       * support loading gzip compressed AArch64 kernels
       * use correct PSCI function IDs in the DT when KVM uses PSCI 0.2
       * minor cleanups
      
      # gpg: Signature made Tue 19 Aug 2014 19:04:09 BST using RSA key ID 14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      
      * remotes/pmaydell/tags/pull-target-arm-20140819:
        arm: stellaris: Remove misleading address_space_mem var
        arm: armv7m: Rename address_space_mem -> system_memory
        aarch64: Allow -kernel option to take a gzip-compressed kernel.
        loader: Add load_image_gzipped function.
        arm: cortex-a9: Fix cache-line size and associativity
        arm/virt: Use PSCI v0.2 function IDs in the DT when KVM uses PSCI v0.2
        target-arm: Rename QEMU PSCI v0.1 definitions
        target-arm: Implement MDSCR_EL1 as having state
        target-arm: Implement ARMv8 single-stepping for AArch32 code
        target-arm: Implement ARMv8 single-step handling for A64 code
        target-arm: A64: Avoid duplicate exit_tb(0) in non-linked goto_tb
        target-arm: Set PSTATE.SS correctly on exception return from AArch64
        target-arm: Correctly handle PSTATE.SS when taking exception to AArch32
        target-arm: Don't allow AArch32 to access RES0 CPSR bits
        target-arm: Adjust debug ID registers per-CPU
        target-arm: Provide both 32 and 64 bit versions of debug registers
        target-arm: Allow STATE_BOTH reginfo descriptions for more than cp14
        target-arm: Collect up the debug cp register definitions
        target-arm: Fix return address for A64 BRK instructions
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      2656eb7c
  3. Aug 19, 2014
  4. Aug 18, 2014
Loading