qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 76d5f0: cpu: Fix cpu_class_set_vmsd() documen


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 76d5f0: cpu: Fix cpu_class_set_vmsd() documentation
Date: Fri, 28 Jun 2013 14:00:22 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 76d5f0294a744fa6786683760aa33e2b7fae6d8f
      
https://github.com/qemu/qemu/commit/76d5f0294a744fa6786683760aa33e2b7fae6d8f
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M include/qom/cpu.h

  Log Message:
  -----------
  cpu: Fix cpu_class_set_vmsd() documentation

It's CPUClass::vmsd, not CPUState::vmsd.

Reviewed-by: liguang <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 19e3835cffbcae37ade8c3abcc4525895f7b528a
      
https://github.com/qemu/qemu/commit/19e3835cffbcae37ade8c3abcc4525895f7b528a
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M include/qom/cpu.h

  Log Message:
  -----------
  cpu: Introduce device_class_set_vmsd() helper

It's the equivalent to cpu_class_set_vmsd(), to assign
DeviceClass::vmsd. It wasn't needed before since only static,
unmigratable VMStateDescriptions were assigned so far.

Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 1a1562f5ea3da17d45d3829e35b5f49da9ec2db5
      
https://github.com/qemu/qemu/commit/1a1562f5ea3da17d45d3829e35b5f49da9ec2db5
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M exec.c
    M include/qom/cpu.h

  Log Message:
  -----------
  cpu: Introduce VMSTATE_CPU() macro for CPUState

To be used to embed common CPU state into CPU subclasses.

Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: fe31e7374299c0c6172ce618b29bf2fecbd881c7
      
https://github.com/qemu/qemu/commit/fe31e7374299c0c6172ce618b29bf2fecbd881c7
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M target-alpha/cpu-qom.h
    M target-alpha/cpu.c
    M target-alpha/machine.c

  Log Message:
  -----------
  target-alpha: Register VMStateDescription for AlphaCPU

Commit b758aca1f6cdb175634812b79f5560c36c902d00 (target-alpha: Enable
the alpha-softmmu target.) introduced cpu_{save,load}() functions but
didn't define CPU_SAVE_VERSION, so they were never registered.

Drop cpu_{save,load}() and register the VMStateDescription via DeviceClass.
This operates on the AlphaCPU object instead of CPUAlphaState.

Reviewed-by: Juan Quintela <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: da69721460e652072b6a3dd52b7693da21ffe237
      
https://github.com/qemu/qemu/commit/da69721460e652072b6a3dd52b7693da21ffe237
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M target-openrisc/cpu.c
    M target-openrisc/cpu.h
    M target-openrisc/machine.c

  Log Message:
  -----------
  target-openrisc: Register VMStateDescription for OpenRISCCPU

Since commit e67db06e9f6d7e514ee2a9b9b769ecd42977f6fb (target-or32: Add
target stubs and QOM cpu) a VMStateDescription existed, but
CPU_SAVE_VERSION was not set, so it was never registered.

Drop cpu_{save,load}() and register VMStateDescription via DeviceState.
Use a version_id of 1 and specify minimum versions as well.

Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 8d0f2baebe57ccdb09a21da80b2994b772854ad6
      
https://github.com/qemu/qemu/commit/8d0f2baebe57ccdb09a21da80b2994b772854ad6
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M include/qemu-common.h

  Log Message:
  -----------
  cpu: Guard cpu_{save,load}() definitions

A few targets already managed to implement cpu_save() and cpu_load()
without defining CPU_SAVE_VERSION that causes them to be registered.

Guard the prototypes with CPU_SAVE_VERSION to avoid this happening again
until all targets are converted to VMState (or QIDL).

Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: c52a6b67c1d7c6fc9fb2e3ba988d7b978e1487d3
      
https://github.com/qemu/qemu/commit/c52a6b67c1d7c6fc9fb2e3ba988d7b978e1487d3
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Simplify find_cpu()

Use qemu_get_cpu() and CPUState::env_ptr.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: dd1750d7981cf9e38985c9dfa474dcdbbe236270
      
https://github.com/qemu/qemu/commit/dd1750d7981cf9e38985c9dfa474dcdbbe236270
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M hw/ppc/spapr_rtas.c
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c
    M target-i386/kvm.c

  Log Message:
  -----------
  kvm: Change kvm_cpu_synchronize_state() argument to CPUState

It no longer relies on CPUArchState since 20d695a.

Reviewed-by: liguang <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: cb446ecab714b2444a270be209e0533bcd2ee534
      
https://github.com/qemu/qemu/commit/cb446ecab714b2444a270be209e0533bcd2ee534
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M cpus.c
    M gdbstub.c
    M hw/i386/kvm/apic.c
    M hw/i386/kvmvapic.c
    M hw/misc/vmport.c
    M hw/ppc/ppce500_spin.c
    M include/sysemu/kvm.h
    M monitor.c
    M target-i386/helper.c
    M target-i386/kvm.c
    M target-ppc/mmu-hash64.c
    M target-ppc/translate.c
    M target-s390x/kvm.c

  Log Message:
  -----------
  kvm: Change cpu_synchronize_state() argument to CPUState

Change Monitor::mon_cpu to CPUState as well.

Reviewed-by: liguang <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 60a3e17a469e444a7bc4d9a14c2ecf3bdb5ec094
      
https://github.com/qemu/qemu/commit/60a3e17a469e444a7bc4d9a14c2ecf3bdb5ec094
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M cpus.c
    M exec.c
    M gdbstub.c
    M hw/i386/pc.c
    M hw/mips/mips_fulong2e.c
    M hw/mips/mips_jazz.c
    M hw/mips/mips_malta.c
    M hw/ppc/prep.c
    M include/exec/cpu-all.h
    M include/qom/cpu.h
    M linux-user/main.c
    M linux-user/signal.c
    M qom/cpu.c

  Log Message:
  -----------
  cpu: Change cpu_exit() argument to CPUState

It no longer depends on CPUArchState, so move it to qom/cpu.c.

Prepares for changing GDBState::c_cpu to CPUState.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: a98ae1d8f5ee09694c148b1787e02205ee908b53
      
https://github.com/qemu/qemu/commit/a98ae1d8f5ee09694c148b1787e02205ee908b53
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M cpus.c

  Log Message:
  -----------
  cpus: Change cpu_thread_is_idle() argument to CPUState

It no longer needs CPUArchState.

Prepares for changing all_cpu_threads_idle() CPU loop to CPUState and
needed for changing qemu_kvm_wait_io_event() argument to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: fd529e8f465c0d6b2d5f01c58cee4746425d2734
      
https://github.com/qemu/qemu/commit/fd529e8f465c0d6b2d5f01c58cee4746425d2734
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M cpus.c

  Log Message:
  -----------
  cpus: Change qemu_kvm_wait_io_event() argument to CPUState

It no longer uses CPUArchState.

Prepares for changing qemu_kvm_cpu_thread_fn() opaque to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 491d6e80ea5854d75ab7c19e32a0ba01d08f6df5
      
https://github.com/qemu/qemu/commit/491d6e80ea5854d75ab7c19e32a0ba01d08f6df5
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M cpus.c
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c

  Log Message:
  -----------
  kvm: Change kvm_set_signal_mask() argument to CPUState

CPUArchState is no longer needed.

Prepares for changing qemu_kvm_init_cpu_signals() argument to CPUState.

Acked-by: Paolo Bonzini <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 13618e058cf2d76bccc41251fa0095aae88a8249
      
https://github.com/qemu/qemu/commit/13618e058cf2d76bccc41251fa0095aae88a8249
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M cpus.c

  Log Message:
  -----------
  cpus: Change qemu_kvm_init_cpu_signals() argument to CPUState

CPUArchState is no longer needed.

Prepares for changing qemu_kvm_cpu_thread_fn() opaque to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 878096eeb278a8ac1ccd6667af73e026f29b4cf5
      
https://github.com/qemu/qemu/commit/878096eeb278a8ac1ccd6667af73e026f29b4cf5
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M bsd-user/main.c
    M cpus.c
    M exec.c
    M include/exec/cpu-all.h
    M include/qemu/log.h
    M include/qom/cpu.h
    M kvm-all.c
    M linux-user/main.c
    M monitor.c
    M qom/cpu.c
    M stubs/cpus.c
    M target-alpha/cpu-qom.h
    M target-alpha/cpu.c
    M target-alpha/helper.c
    M target-arm/arm-semi.c
    M target-arm/cpu-qom.h
    M target-arm/cpu.c
    M target-arm/translate.c
    M target-cris/cpu-qom.h
    M target-cris/cpu.c
    M target-cris/helper.c
    M target-cris/translate.c
    M target-i386/cpu-qom.h
    M target-i386/cpu.c
    M target-i386/helper.c
    M target-lm32/cpu-qom.h
    M target-lm32/cpu.c
    M target-lm32/translate.c
    M target-m68k/cpu-qom.h
    M target-m68k/cpu.c
    M target-m68k/translate.c
    M target-microblaze/cpu-qom.h
    M target-microblaze/cpu.c
    M target-microblaze/helper.c
    M target-microblaze/translate.c
    M target-mips/cpu-qom.h
    M target-mips/cpu.c
    M target-mips/translate.c
    M target-moxie/cpu.c
    M target-moxie/cpu.h
    M target-moxie/helper.c
    M target-moxie/translate.c
    M target-openrisc/cpu.c
    M target-openrisc/cpu.h
    M target-openrisc/translate.c
    M target-ppc/cpu-qom.h
    M target-ppc/translate.c
    M target-ppc/translate_init.c
    M target-s390x/cpu-qom.h
    M target-s390x/cpu.c
    M target-s390x/translate.c
    M target-sh4/cpu-qom.h
    M target-sh4/cpu.c
    M target-sh4/translate.c
    M target-sparc/cpu-qom.h
    M target-sparc/cpu.c
    M target-unicore32/cpu-qom.h
    M target-unicore32/cpu.c
    M target-unicore32/translate.c
    M target-xtensa/cpu-qom.h
    M target-xtensa/cpu.c
    M target-xtensa/op_helper.c
    M target-xtensa/translate.c

  Log Message:
  -----------
  cpu: Turn cpu_dump_{state,statistics}() into CPUState hooks

Make cpustats monitor command available unconditionally.

Prepares for changing kvm_handle_internal_error() and kvm_cpu_exec()
arguments to CPUState.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 5326ab5567c12bac0802b08b265f401fe84a4ad6
      
https://github.com/qemu/qemu/commit/5326ab5567c12bac0802b08b265f401fe84a4ad6
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M kvm-all.c

  Log Message:
  -----------
  kvm: Change kvm_handle_internal_error() argument to CPUState

It no longer uses CPUArchState.

Prepares for changing kvm_cpu_exec() argument to CPUState.

Acked-by: Paolo Bonzini <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 1458c363139a54f50ea336edc612d8c5e9142220
      
https://github.com/qemu/qemu/commit/1458c363139a54f50ea336edc612d8c5e9142220
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M cpus.c
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c

  Log Message:
  -----------
  kvm: Change kvm_cpu_exec() argument to CPUState

It no longer uses CPUArchState.

Prepares for changing qemu_kvm_cpu_thread_fn() opaque to CPUState.

Acked-by: Paolo Bonzini <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 64f6b3469d5983141707dfc5ec2e8f5f60af1ba0
      
https://github.com/qemu/qemu/commit/64f6b3469d5983141707dfc5ec2e8f5f60af1ba0
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M cpus.c
    M gdbstub.c
    M include/exec/gdbstub.h

  Log Message:
  -----------
  gdbstub: Set gdb_set_stop_cpu() argument to CPUState

Use CPUState::env_ptr for now.

Prepares for changing cpu_handle_guest_debug() argument to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 913250464f5ea5799d71ab033b51d1bf8ed84343
      
https://github.com/qemu/qemu/commit/913250464f5ea5799d71ab033b51d1bf8ed84343
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M cpus.c

  Log Message:
  -----------
  cpus: Change cpu_handle_guest_debug() argument to CPUState

CPUArchState is no longer needed.

Prepares for changing qemu_kvm_cpu_thread_fn() opaque to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 48a106bd144c60862e8b6116dc226885d1937d76
      
https://github.com/qemu/qemu/commit/48a106bd144c60862e8b6116dc226885d1937d76
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M cpus.c

  Log Message:
  -----------
  cpus: Change qemu_kvm_start_vcpu() argument to CPUState

Pass it on to qemu_kvm_cpu_thread_fn().

Prepares for changing qemu_init_vcpu() argument to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 10a9021dfd9d8ebdaf53100a8e216054ef4fa662
      
https://github.com/qemu/qemu/commit/10a9021dfd9d8ebdaf53100a8e216054ef4fa662
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M cpus.c

  Log Message:
  -----------
  cpus: Change qemu_dummy_start_vcpu() argument to CPUState

Pass it to qemu_dummy_cpu_thread_fn().
Use CPUState::env_ptr for cpu_single_env.

Prepares for changing qemu_init_vcpu() argument to CPUState.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: c643bed99fcde661b034623722004562b7953669
      
https://github.com/qemu/qemu/commit/c643bed99fcde661b034623722004562b7953669
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M cpus.c
    M include/qemu-common.h
    M include/qom/cpu.h
    M qom/cpu.c
    M stubs/cpus.c
    M target-alpha/cpu.c
    M target-arm/cpu.c
    M target-cris/cpu.c
    M target-i386/cpu.c
    M target-lm32/cpu.c
    M target-m68k/cpu.c
    M target-microblaze/cpu.c
    M target-mips/cpu.c
    M target-moxie/cpu.c
    M target-openrisc/cpu.c
    M target-ppc/translate_init.c
    M target-s390x/cpu.c
    M target-sh4/cpu.c
    M target-sparc/cpu.c
    M target-unicore32/cpu.c
    M target-xtensa/cpu.c

  Log Message:
  -----------
  cpu: Change qemu_init_vcpu() argument to CPUState

This allows to move the call into CPUState's realizefn.
Therefore move the stub into libqemustub.a.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: ce927ed9e40e25008453eb8f130661514b633341
      
https://github.com/qemu/qemu/commit/ce927ed9e40e25008453eb8f130661514b633341
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M include/exec/cpu-common.h
    M include/exec/cpu-defs.h
    M include/exec/hwaddr.h
    M include/exec/memory.h

  Log Message:
  -----------
  hwaddr: Make hwaddr type usable beyond softmmu

While not normally needed for *-user, it can safely be used there since
always based on uint64_t, to avoid ifdeffery.

To avoid accidental uses, move the guards from exec/hwaddr.h to its
inclusion sites.  No need for them in include/hw/.

Prepares for hwaddr use in qom/cpu.h.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: c658b94f6e8c206c59d02aa6fbac285b86b53d2c
      
https://github.com/qemu/qemu/commit/c658b94f6e8c206c59d02aa6fbac285b86b53d2c
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M cputlb.c
    M hw/alpha/typhoon.c
    M include/qom/cpu.h
    M memory.c
    M target-alpha/cpu.c
    M target-alpha/cpu.h
    M target-alpha/mem_helper.c
    M target-microblaze/cpu.c
    M target-microblaze/cpu.h
    M target-microblaze/op_helper.c
    M target-mips/cpu.c
    M target-mips/cpu.h
    M target-mips/op_helper.c
    M target-sparc/cpu.c
    M target-sparc/cpu.h
    M target-sparc/ldst_helper.c

  Log Message:
  -----------
  cpu: Turn cpu_unassigned_access() into a CPUState hook

Use it for all targets, but be careful not to pass invalid CPUState.
cpu_single_env can be NULL, e.g. on Xen.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 8a9c98aedc1a3fb4dfbebeccc926e273df54f2ba
      
https://github.com/qemu/qemu/commit/8a9c98aedc1a3fb4dfbebeccc926e273df54f2ba
  Author: Anthony Liguori <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M bsd-user/main.c
    M cpus.c
    M cputlb.c
    M exec.c
    M gdbstub.c
    M hw/alpha/typhoon.c
    M hw/i386/kvm/apic.c
    M hw/i386/kvmvapic.c
    M hw/i386/pc.c
    M hw/mips/mips_fulong2e.c
    M hw/mips/mips_jazz.c
    M hw/mips/mips_malta.c
    M hw/misc/vmport.c
    M hw/ppc/ppce500_spin.c
    M hw/ppc/prep.c
    M hw/ppc/spapr_rtas.c
    M include/exec/cpu-all.h
    M include/exec/cpu-common.h
    M include/exec/cpu-defs.h
    M include/exec/gdbstub.h
    M include/exec/hwaddr.h
    M include/exec/memory.h
    M include/qemu-common.h
    M include/qemu/log.h
    M include/qom/cpu.h
    M include/sysemu/kvm.h
    M kvm-all.c
    M kvm-stub.c
    M linux-user/main.c
    M linux-user/signal.c
    M memory.c
    M monitor.c
    M qom/cpu.c
    M stubs/cpus.c
    M target-alpha/cpu-qom.h
    M target-alpha/cpu.c
    M target-alpha/cpu.h
    M target-alpha/helper.c
    M target-alpha/machine.c
    M target-alpha/mem_helper.c
    M target-arm/arm-semi.c
    M target-arm/cpu-qom.h
    M target-arm/cpu.c
    M target-arm/translate.c
    M target-cris/cpu-qom.h
    M target-cris/cpu.c
    M target-cris/helper.c
    M target-cris/translate.c
    M target-i386/cpu-qom.h
    M target-i386/cpu.c
    M target-i386/helper.c
    M target-i386/kvm.c
    M target-lm32/cpu-qom.h
    M target-lm32/cpu.c
    M target-lm32/translate.c
    M target-m68k/cpu-qom.h
    M target-m68k/cpu.c
    M target-m68k/translate.c
    M target-microblaze/cpu-qom.h
    M target-microblaze/cpu.c
    M target-microblaze/cpu.h
    M target-microblaze/helper.c
    M target-microblaze/op_helper.c
    M target-microblaze/translate.c
    M target-mips/cpu-qom.h
    M target-mips/cpu.c
    M target-mips/cpu.h
    M target-mips/op_helper.c
    M target-mips/translate.c
    M target-moxie/cpu.c
    M target-moxie/cpu.h
    M target-moxie/helper.c
    M target-moxie/translate.c
    M target-openrisc/cpu.c
    M target-openrisc/cpu.h
    M target-openrisc/machine.c
    M target-openrisc/translate.c
    M target-ppc/cpu-qom.h
    M target-ppc/mmu-hash64.c
    M target-ppc/translate.c
    M target-ppc/translate_init.c
    M target-s390x/cpu-qom.h
    M target-s390x/cpu.c
    M target-s390x/kvm.c
    M target-s390x/translate.c
    M target-sh4/cpu-qom.h
    M target-sh4/cpu.c
    M target-sh4/translate.c
    M target-sparc/cpu-qom.h
    M target-sparc/cpu.c
    M target-sparc/cpu.h
    M target-sparc/ldst_helper.c
    M target-unicore32/cpu-qom.h
    M target-unicore32/cpu.c
    M target-unicore32/translate.c
    M target-xtensa/cpu-qom.h
    M target-xtensa/cpu.c
    M target-xtensa/op_helper.c
    M target-xtensa/translate.c

  Log Message:
  -----------
  Merge remote-tracking branch 'afaerber/qom-cpu' into staging

# By Andreas Färber
# Via Andreas Färber
* afaerber/qom-cpu: (24 commits)
  cpu: Turn cpu_unassigned_access() into a CPUState hook
  hwaddr: Make hwaddr type usable beyond softmmu
  cpu: Change qemu_init_vcpu() argument to CPUState
  cpus: Change qemu_dummy_start_vcpu() argument to CPUState
  cpus: Change qemu_kvm_start_vcpu() argument to CPUState
  cpus: Change cpu_handle_guest_debug() argument to CPUState
  gdbstub: Set gdb_set_stop_cpu() argument to CPUState
  kvm: Change kvm_cpu_exec() argument to CPUState
  kvm: Change kvm_handle_internal_error() argument to CPUState
  cpu: Turn cpu_dump_{state,statistics}() into CPUState hooks
  cpus: Change qemu_kvm_init_cpu_signals() argument to CPUState
  kvm: Change kvm_set_signal_mask() argument to CPUState
  cpus: Change qemu_kvm_wait_io_event() argument to CPUState
  cpus: Change cpu_thread_is_idle() argument to CPUState
  cpu: Change cpu_exit() argument to CPUState
  kvm: Change cpu_synchronize_state() argument to CPUState
  kvm: Change kvm_cpu_synchronize_state() argument to CPUState
  gdbstub: Simplify find_cpu()
  cpu: Guard cpu_{save,load}() definitions
  target-openrisc: Register VMStateDescription for OpenRISCCPU
  ...


  Commit: 6bedfe94c96c5ba35fcb2a52b438fefcc682669e
      
https://github.com/qemu/qemu/commit/6bedfe94c96c5ba35fcb2a52b438fefcc682669e
  Author: Stefan Weil <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M arch_init.c

  Log Message:
  -----------
  arch_init: Fix format string by using RAM_ADDR_FMT

length is a ram_addr_t, so RAM_ADDR_FMT must be used instead of %ld.
This fixes a recently introduced regression for w64 builds.

Using RAM_ADDR_FMT also changes decimal output to sedecimal.
This is good here because length and block->length should both
use the same base in the error message.

Signed-off-by: Stefan Weil <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 390fb6b47144adbad453cdf95c130854728c56f8
      
https://github.com/qemu/qemu/commit/390fb6b47144adbad453cdf95c130854728c56f8
  Author: Kevin Wolf <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M pc-bios/optionrom/multiboot.S

  Log Message:
  -----------
  multiboot: Don't forget last mmap entry

When the BIOS returns ebx = 0, the current entry is still valid and
needs to be included in the Multiboot memory map.

Fixing this meant that using bx as the entry index doesn't work any
more because it's 0 on the last entry (and it was SeaBIOS-specific
anyway), so the whole loop had to change a bit and should be more
generic as a result (ebx can be an arbitrary continuation number now,
and the entry size returned by the BIOS is used instead of hard-coding
20 bytes).

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Anthony Liguori <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 26a8ec07616df8eeb7ae5e76a4eade6809c426e3
      
https://github.com/qemu/qemu/commit/26a8ec07616df8eeb7ae5e76a4eade6809c426e3
  Author: Kevin Wolf <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M hw/i386/multiboot.c
    M pc-bios/optionrom/multiboot.S

  Log Message:
  -----------
  multiboot: Calculate upper_mem in the ROM

The upper_mem field of the Multiboot information struct doesn't really
contain the RAM size - 1 MB like we used to calculate it, but only the
memory from 1 MB up to the first (upper) memory hole.

In order to correctly retrieve this information, the multiboot ROM now
looks at the mmap it creates anyway and tries to find the size of
contiguous usable memory from 1 MB.

Drop the multiboot.c definition of lower_mem and upper_mem because both
are queried at runtime now.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Anthony Liguori <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 8a27c6a067acd03cbd810585552df4818a4397f7
      
https://github.com/qemu/qemu/commit/8a27c6a067acd03cbd810585552df4818a4397f7
  Author: Kevin Wolf <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M pc-bios/multiboot.bin

  Log Message:
  -----------
  multiboot: Updated ROM binary

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Anthony Liguori <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 12b7f57e2cfcd665cf5a21b4ae3c23b9361c5c05
      
https://github.com/qemu/qemu/commit/12b7f57e2cfcd665cf5a21b4ae3c23b9361c5c05
  Author: Michael Tokarev <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M qemu-options.hx
    M vl.c

  Log Message:
  -----------
  vl: convert -smp to qemu_opts_parse()

This also introduces a new suboption, "cpus=",
which is the default.  So after this patch,

 -smp n,sockets=y

is the same as

  -smp cpus=n,sockets=y

(with "cpu" being some generic thing, referring to
either cores, or threads, or sockets, as before).

We still don't validate relations between different
numbers, for example it is still possible to say

  -smp 1,sockets=10

and it will be accepted to mean sockets=1.

Signed-off-by: Michael Tokarev <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: f087553653152fdae16ed7066d238677734e4902
      
https://github.com/qemu/qemu/commit/f087553653152fdae16ed7066d238677734e4902
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: add support for surface conversion

Also use CAIRO_FORMAT_RGB24 unconditionally.  DisplaySurfaces will never
ever see 8bpp surfaces.  And using CAIRO_FORMAT_RGB16_565 for the 16bpp
case doesn't seem to be a good idea too.

<quote src="/usr/include/cairo/cairo.h">
 * @CAIRO_FORMAT_RGB16_565: This format value is deprecated. It has
 *   never been properly implemented in cairo and should not be used
 *   by applications. (since 1.2)
</quote>

Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 43f420f8419866619bd107d5ee84c727b46967b8
      
https://github.com/qemu/qemu/commit/43f420f8419866619bd107d5ee84c727b46967b8
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M ui/console.c

  Log Message:
  -----------
  console: Hook QemuConsoles into qom tree

Put them named "console[$index]" below "/backend", so you can
list & inspect them via QMP.

Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 2ea3e2c1e85097c45a882dbc1fbba4a7fdb3ff1c
      
https://github.com/qemu/qemu/commit/2ea3e2c1e85097c45a882dbc1fbba4a7fdb3ff1c
  Author: Markus Armbruster <address@hidden>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: Fix ID reuse after chardev-remove for qapi-based init

Commit 2c5f488 introduced qapi-based character device initialization
as a new code path in qemu_chr_new_from_opts().  Unfortunately, it
failed to store parameter opts in the new chardev.  Therefore,
qemu_chr_delete() doesn't delete it.  Even though the device is gone,
its options linger, and any attempt to create another one with the
same ID fails.

Cc: address@hidden
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/36125631e79d...2ea3e2c1e850

reply via email to

[Prev in Thread] Current Thread [Next in Thread]