Permalink
Commits on Dec 9, 2013
  1. virtio-9p: Convert to QOM realize

    afaerber committed with bonzini Jul 29, 2013
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  2. virtio: Start converting VirtioDevice to QOM realize

    afaerber committed with bonzini Jul 29, 2013
    Temporarily allow either VirtioDeviceClass::init or
    VirtioDeviceClass::realize.
    
    Introduce VirtioDeviceClass::unrealize for symmetry.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  3. virtio-scsi: QOM realize preparations

    afaerber committed with bonzini Jul 30, 2013
    Rename qdev -> dev since that's what realize's argument is called by
    convention. No need to keep more "qdev" around than necessary.
    
    Avoid duplicate VIRTIO_DEVICE() cast.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  4. virtio-rng: QOM realize preparations

    afaerber committed with bonzini Jul 30, 2013
    Rename qdev -> dev because that's what realize's argument is called by
    convention. No need to keep more "qdev" around than necessary.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  5. virtio-balloon: QOM realize preparations

    afaerber committed with bonzini Jul 30, 2013
    Rename qdev -> dev since that's what realize's argument is called by
    convention. No need to keep more "qdev" around than necessary.
    
    Avoid duplicate VIRTIO_DEVICE() cast.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  6. virtio-net: QOM realize preparations

    afaerber committed with bonzini Jul 30, 2013
    Rename variable qdev -> dev since that's what realize's argument is
    called by convention.
    
    Avoid duplicate VIRTIO_DEVICE() cast.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  7. virtio-serial: QOM realize preparations

    afaerber committed with bonzini Jul 30, 2013
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  8. virtio-blk: QOM realize preparations

    afaerber committed with bonzini Jul 30, 2013
    Rename variable qdev -> dev since that's what realize's argument is called
    by convention.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  9. virtio-9p: QOM realize preparations

    afaerber committed with bonzini Jul 31, 2013
    Avoid unnecessary VIRTIO_DEVICE().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  10. virtio-blk-dataplane: Improve error reporting

    afaerber committed with bonzini Jun 7, 2013
    Return an Error so that it can be propagated later.
    
    Tested-by: Stefan Hajnoczi <stefanha@redhat.com>
    Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
    [AF: Rebased]
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commits on Nov 19, 2013
  1. qtest: Use -display none by default

    afaerber committed with Stefan Hajnoczi Nov 18, 2013
    This avoids each test needing to add it to suppress windows popping up.
    
    [Commit 7ceeedd ("blockdev-test: add
    test case for drive_add duplicate IDs") and commit
    43cd209 ("qdev-monitor-test: add
    device_add leak test cases") added qtest tests without specifying
    -display none.
    
    As a result, "make check" now tries to use graphics (GTK or SDL).  Since
    graphics are not used by the test and inappropriate for headless "make
    check" runs, add the missing -display none.
    
    This fixes "make check" in the QEMU buildbot.
    -- Stefan]
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commits on Nov 5, 2013
  1. pcmcia/pxa2xx: QOM'ify PXA2xxPCMCIAState

    afaerber committed Aug 3, 2013
    Turn it into a SysBusDevice and use a container MemoryRegion.
    
    Add a link<pcmcia-card> property to the PCMCIACardState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  2. ide: Drop ide_init2_with_non_qdev_drives()

    afaerber committed Aug 3, 2013
    All its users have finally been converted.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  3. microdrive: Coding Style cleanups

    afaerber committed Aug 3, 2013
    Add missing braces.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  4. pcmcia: QOM'ify PCMCIACardState and MicroDriveState

    afaerber committed Jul 17, 2013
    Turn PCMCIACardState into a device.
    Move callbacks to new PCMCIACardClass.
    
    Derive TYPE_MICRODRIVE from TYPE_PCMCIA_CARD.
    Replace ide_init2_with_non_qdev_drives().
    
    Signed-off-by: Othmar Pasteka <pasteka@kabsi.at>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  5. pxa: Fix typo "dettach"

    afaerber committed Jul 17, 2013
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  6. qdev-monitor: Inline qdev_init() for device_add

    afaerber committed Oct 7, 2013
    For historic reasons, qdev_init() unparents the device on failure.
    Inline this to make the error paths clearer and consistent.
    
    Reviewed-by: Igor Mammedov <imammedo@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  7. qdev-monitor: Avoid qdev as variable name

    afaerber committed Oct 7, 2013
    Prepares for bringing error cleanup code into canonical QOM form.
    
    Includes a whitespace removal after curly brace by Stefan.
    
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Reviewed-by: Igor Mammedov <imammedo@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  8. qdev-monitor: Clean up qdev_device_add() variable naming

    afaerber committed Aug 23, 2013
    Avoid confusion between object (obj) and object class (oc).
    Tidy DeviceClass variable while at it (k -> dc).
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  9. arm11mpcore: Split off RealView MPCore

    afaerber committed Aug 18, 2013
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  10. arm11mpcore: Prepare for QOM embedding

    afaerber committed Aug 18, 2013
    Move state struct, type constant and cast macro to a new header.
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  11. arm11mpcore: Convert mpcore_rirq_state to QOM realize

    afaerber committed Aug 18, 2013
    Embed ARM11MPCorePriveState and RealViewGICState and replace SysBus
    initfn with realizefn.
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  12. realview_gic: Prepare for QOM embedding

    afaerber committed Aug 18, 2013
    Move state struct, type constant and cast macro to a new header.
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  13. realview_gic: Convert to QOM realize

    afaerber committed Aug 18, 2013
    Embed GICState and replace SysBus initfn with realizefn.
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  14. arm11mpcore: Convert ARM11MPCorePriveState to QOM realize

    afaerber committed Aug 18, 2013
    Embed child devices and replace SysBus initfn with realizefn.
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  15. arm11mpcore: Split off SCU device

    afaerber committed Aug 18, 2013
    Inspired by a9scu.
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  16. arm11mpcore: Create container MemoryRegion in instance_init

    afaerber committed Aug 18, 2013
    This allows to map the region directly after object initialization.
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  17. arm11mpcore: Drop unused fields

    afaerber committed Aug 18, 2013
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  18. arm11mpcore: Fix typo in MemoryRegion name

    afaerber committed Aug 18, 2013
    "mpcode" -> "mpcore"
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  19. a9scu: Build only once

    afaerber committed Aug 18, 2013
    It does not have a target or ARMCPU dependency.
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
  20. a15mpcore: Prepare for QOM embedding

    afaerber committed Jun 30, 2013
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <andreas.faerber@web.de>
  21. a15mpcore: Convert to QOM realize

    afaerber committed Jun 30, 2013
    Turn SysBusDevice initfn into a QOM realizefn.
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <andreas.faerber@web.de>
  22. a15mpcore: Embed GICState

    afaerber committed Jun 30, 2013
    This covers both emulated and KVM GIC.
    
    Prepares for QOM realize.
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <andreas.faerber@web.de>
  23. a15mpcore: Split off instance_init

    afaerber committed Jun 30, 2013
    Prepares for QOM realize.
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <andreas.faerber@web.de>
  24. a9mpcore: Prepare for QOM embedding

    afaerber committed Jun 30, 2013
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Andreas Färber <andreas.faerber@web.de>