Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: qom-cpu-microb…
Commits on Apr 12, 2012
  1. target-microblaze: QOM'ify CPU init

    authored
    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>
  2. target-microblaze: QOM'ify CPU reset

    authored
    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>
  3. target-microblaze: QOM'ify CPU

    authored
    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>
  4. target-cris: Start QOM'ifying CPU init

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

    authored
    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>
  6. target-cris: QOM'ify CPU

    authored
    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>
  7. target-xtensa: Start QOM'ifying CPU init

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

    authored
    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>
  9. target-xtensa: QOM'ify CPU

    authored
    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>
  10. target-lm32: QOM'ify CPU reset

    authored
    Move code from cpu_state_reset() into QOM lm32_cpu_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Acked-by: Michael Walle <michael@walle.cc>
  11. target-lm32: QOM'ify CPU init

    authored
    Move code from cpu_lm32_init() to an initfn; call cpu_reset()
    instead of cpu_state_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Acked-by: Michael Walle <michael@walle.cc>
  12. target-lm32: QOM'ify CPU

    authored
    Embed CPULM32State as first member of QOM LM32CPU.
    Let CPUClass::reset() call cpu_state_reset() for now.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Acked-by: Michael Walle <michael@walle.cc>
  13. target-alpha: QOM'ify CPU init

    authored
    Move code from cpu_alpha_init() into a CPU initializer.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  14. target-alpha: QOM'ify CPU

    authored
    Embed CPUAlphaState as first member of AlphaCPU.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  15. target-ppc: Add CPU finalizer

    authored
    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>
  16. target-ppc: QOM'ify CPU reset

    authored
    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>
  17. target-ppc: QOM'ify CPU init

    authored
    Move code from cpu_ppc_init() into an initfn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  18. target-ppc: QOM'ify CPU

    authored
    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>
  19. target-ppc: Drop cpu_ppc_close()

    authored
    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>
  20. @pete128 @edgarigl

    target-microblaze: added PetaLogix copyright

    pete128 authored edgarigl committed
    Microblaze cpu development has been driven and funded by PetaLogix. Added (c)
    PetaLogix line accordingly.
    
    Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Commits on Apr 11, 2012
  1. rtl8139: do not assume TxStatus[] and TxAddr[] are adjacent

    Stefan Hajnoczi authored Anthony Liguori committed
    Commit afe0a59 ("rtl8139: support byte
    read to TxStatus registers") reused rtl8139_TxStatus_read() for reading
    TxAddr registers.  It relies on the fact that TxStatus[] and TxAddr[]
    are adjacent.
    
    This causes a gcc warning because the compiler can detect that array
    access is out-of-bounds:
    
      hw/rtl8139.c:2501:27: error: array subscript is above array bounds [-Werror=array-bounds]
    
    This patch refactors the function so that we don't rely on out-of-bounds
    accesses.
    
    Cc: Jason Wang <jasonwang@redhat.com>
    Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Commits on Apr 10, 2012
  1. target-i386: QOM'ify CPU reset

    authored
    Move code from cpu_state_reset() into QOM x86_cpu_reset(),
    fixing style issues for FPU init.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  2. target-i386: QOM'ify CPU init

    authored
    Move code from cpu_x86_init() to new QOM x86_cpu_initfn().
    Also move mce_init() to cpu.c since it's used nowhere else.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  3. target-i386: QOM'ify CPU

    authored
    Embed CPUX86State as first member of X86CPU.
    Distinguish between "x86_64-cpu" and "i386-cpu".
    Drop cpu_x86_close() in favor of calling object_delete() directly.
    
    For now let CPUClass::reset() call cpu_state_reset().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  4. target-i386: Rename cpuid.c

    authored
    Name it cpu.c to align with other QOM'ified targets.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  5. Merge commit 'ff71f2e8cacefae99179993204172bc65e4303df' into staging

    Anthony Liguori authored
    * commit 'ff71f2e8cacefae99179993204172bc65e4303df': (21 commits)
      rtl8139: do the network/host communication only in normal operating mode
      rtl8139: correctly check the opmode
      net: move compute_mcast_idx() to net.h
      rtl8139: support byte read to TxStatus registers
      rtl8139: remove unused marco
      rtl8139: limit transmission buffer size in c+ mode
      pci_regs: Add PCI_EXP_TYPE_PCIE_BRIDGE
      virtio-net: add DATA_VALID flag
      pci_bridge: upper 32 bit are long registers
      pci: fix bridge IO/BASE
      pcie: drop functionality moved to core
      pci: set memory type for memory behind the bridge
      pci: add standard bridge device
      slotid: add slot id capability
      shpc: standard hot plug controller
      pci_bridge: user-friendly default bus name
      pci: make another unused extern function static
      pci: don't export an internal function
      pci_regs: Fix value of PCI_EXP_TYPE_RC_EC.
      pci: Do not check if a bus exist in pci_parse_devaddr.
      ...
  6. Merge remote-tracking branch 'qmp/queue/qmp' into staging

    Anthony Liguori authored
    * qmp/queue/qmp:
      qapi: convert device_del
      qdev: qdev_unplug(): use error_set()
  7. Merge remote-tracking branch 'kwolf/for-anthony' into staging

    Anthony Liguori authored
    * kwolf/for-anthony: (46 commits)
      qed: remove incoming live migration blocker
      qed: honor BDRV_O_INCOMING for incoming live migration
      migration: clear BDRV_O_INCOMING flags on end of incoming live migration
      qed: add bdrv_invalidate_cache to be called after incoming live migration
      blockdev: open images with BDRV_O_INCOMING on incoming live migration
      block: add a function to clear incoming live migration flags
      block: Add new BDRV_O_INCOMING flag to notice incoming live migration
      block stream: close unused files and update ->backing_hd
      qemu-iotests: Fix call syntax for qemu-io
      qemu-iotests: Fix call syntax for qemu-img
      qemu-iotests: Test unknown qcow2 header extensions
      qemu-iotests: qcow2.py
      sheepdog: fix send req helpers
      sheepdog: implement SD_OP_FLUSH_VDI operation
      block: bdrv_append() fixes
      qed: track dirty flag status
      qemu-img: add dirty flag status
      qed: image fragmentation statistics
      qemu-img: add image fragmentation statistics
      block: document job API
      ...
  8. Merge remote-tracking branch 'stefanha/trivial-patches' into staging

    Anthony Liguori authored
    * stefanha/trivial-patches:
      make: fix clean rule by removing build file in qom/
      configure: Link qga against UST tracing related libraries
      configure: Link QEMU against 'liburcu-bp'
      main-loop: make qemu_event_handle static
      block/curl: Replace usleep by g_usleep
      qtest: Add missing GCC_FMT_ATTR
      w32: Undefine error constants before their redefinition
      configure: fix mingw32 libs_qga typo
  9. @pete128 @edgarigl

    petalogix_s3adsp1800: deleted bad FIXME comment

    pete128 authored edgarigl committed
    This FIXME has already been actioned. Deleted comment.
    
    Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Commits on Apr 9, 2012
  1. qapi: convert device_del

    Luiz Capitulino authored
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
    Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
  2. qdev: qdev_unplug(): use error_set()

    Luiz Capitulino authored
    It currently uses qerror_report(), but next commit will convert
    the drive_del command to the QAPI and this requires using
    error_set().
    
    One particularity of qerror_report() is that it knows when it's
    running on monitor context or command-line context and prints the
    error message accordingly. error_set() doesn't do this, so we
    have to be careful not to drop error messages.
    
    qdev_unplug() has three kinds of usages:
    
     1. It's called when hot adding a device fails, to undo anything
        that has been done before hitting the error
    
     2. It's called by function monitor functions like device_del(),
        to unplug a device
    
     3. It's used by xen_platform.c in a way that doesn't _seem_ to
        be in monitor context
    
    Only item 2 can print an error message to the user, this commit
    maintains that.
    
    Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
    Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Commits on Apr 8, 2012
  1. @blueswirl

    Merge branch 'memory/core' of git://git.kernel.org/pub/scm/virt/kvm/q…

    blueswirl authored
    …emu-kvm
    
    * 'memory/core' of git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm:
      memory: check address space when a listener is registered
      memory: print aliased IO ranges in info mtree
      ioport: use INT64_MAX for IO ranges
Commits on Apr 7, 2012
  1. @stweil @blueswirl

    Add QEMU_NORETURN to function cpu_io_recompile

    stweil authored blueswirl committed
    cpu_io_recompile terminates by calling either cpu_abort or
    cpu_resume_from_signal which both never return.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  2. @stweil @blueswirl

    Add QEMU_NORETURN to function cpu_resume_from_signal

    stweil authored blueswirl committed
    cpu_resume_from_signal terminates by calling longjmp.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Something went wrong with that request. Please try again.