Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: qom-cpu-common…
Commits on May 23, 2012
  1. cpu: Move halted and interrupt_request to CPUState

    authored
    For target-cris use i32 for halted instead of tl. This effectively makes
    no difference since it is 32-bit.
    
    For Xen pass CPUState to xen_reset_vcpu().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  2. xen_machine_pv: Use cpu_x86_init() to obtain X86CPU

    authored
    Needed for moving halted field to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  3. cpu: Introduce mandatory tlb_flush callback

    authored
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  4. sun4u: Pass SPARCCPU to cpu_set_ivec_irq()

    authored
    Needed for moving halted field to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  5. target-mips: Pass MIPSCPU to mips_vpe_sleep()

    authored
    Needed for moving halted field to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  6. target-mips: Pass MIPSCPU to mips_tc_sleep()

    authored
    Needed for mips_vpe_sleep().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  7. target-mips: Pass MIPSCPU to mips_vpe_is_wfi()

    authored
    Needed for moving halted field to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  8. target-mips: Pass MIPSCPU to mips_tc_wake()

    authored
    Needed for mips_vpe_is_wfi().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  9. target-i386: Pass X86CPU to kvm_handle_halt()

    authored
    Needed for moving interrupt_request and halted fields to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  10. target-i386: Pass X86CPU to kvm_get_mp_state()

    authored
    Needed for moving halted field to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  11. target-i386: Drop version 5 CPU VMState support

    authored
    Version 5 contained the halted field, that we are about to move from
    CPUX86State to CPUState. To avoid inventing new VMSTATE macros for
    calculating a negative offset from CPUX86State to the field in CPUState,
    rather bump the minimum version from 3 to 6. We're at 12 currently.
    
    Suggested-by: Juan Quintela <quintela@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Cc: Juan Quintela <quintela@redhat.com>
  12. target-i386: Pass X86CPU to cpu_x86_load_seg_cache_sipi()

    authored
    Simplifies the call in apic_sipi() again and needed for moving halted
    field to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  13. cpu: Move thread_id to CPUState

    authored
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  14. cpus: Pass CPUState to run_on_cpu()

    authored
    CPUArchState is no longer needed.
    
    Move the declaration to include/qemu/cpu.h and add documentation.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  15. target-i386: Pass X86CPU to cpu_x86_inject_mce()

    authored
    Needed for run_on_cpu().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  16. target-i386: Pass X86CPU to kvm_mce_inject()

    authored
    Needed for cpu_x86_inject_mce().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  17. cpus: Pass CPUState to [qemu_]cpu_has_work()

    authored
    For target-mips also change the return type to bool.
    
    Make include paths for cpu-qom.h consistent for alpha and unicore32.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  18. xtensa_pic: Pass XtensaCPU to xtensa_ccompare_cb()

    authored
    Needed for cpu_has_work().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  19. spapr: Pass PowerPCCPU to hypercalls

    authored
    Needed for cpu_has_work() in h_cede().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  20. spapr: Pass PowerPCCPU to spapr_hypercall()

    authored
    Needed for the hypercall handlers.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  21. target-ppc: Pass PowerPCCPU to cpu_ppc_hypercall

    authored
    Adapt emulate_spapr_hypercall() accordingly.
    
    Needed for spapr_hypercall().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  22. target-ppc: Pass PowerPCCPU to powerpc_excp()

    authored
    Needed for cpu_ppc_hypercall().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  23. cpus: Pass CPUState to qemu_wait_io_event_common()

    authored
    CPUArchState is no longer needed there.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  24. cpus: Pass CPUState to flush_queued_work()

    authored
    CPUArchState is no longer needed there.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  25. cpu: Move queued_work_{first,last} to CPUState

    authored
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  26. cpus: Pass CPUState to qemu_cpu_kick()

    authored
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  27. target-s390x: Pass S390CPU to s390_cpu_restart()

    authored
    Needed for qemu_cpu_kick().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  28. s390-virtio: Let s390_cpu_addr2state() return S390CPU

    authored
    Convert ipi_states to S390CPU**.
    
    Needed for s390_cpu_restart() in handle_sigp().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  29. s390-virtio: Use cpu_s390x_init() to obtain S390CPU

    authored
    Needed to store S390CPU in ipi_states[].
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  30. target-s390x: Let cpu_s390x_init() return S390CPU

    authored
    Let cpu_init() return CPUS390XState for backwards compatibility.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  31. target-ppc: Rename kvm_kick_{env => cpu} and pass PowerPCCPU

    authored
    Needed for qemu_cpu_kick().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  32. sun4u: Pass SPARCCPU to cpu_kick_irq()

    authored
    Needed for qemu_cpu_kick().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  33. sun4u: Pass SPARCCPU to {,s,hs}tick_irq() and cpu_timer_create()

    authored
    Needed for cpu_kick_irq().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  34. sun4m: Pass SPARCCPU to cpu_kick_irq()

    authored
    Needed for qemu_cpu_kick().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  35. sun4m: Pass SPARCCPU to cpu_set_irq()

    authored
    Needed for cpu_kick_irq().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
Something went wrong with that request. Please try again.