Skip to content

Commits

Permalink
realize-virtio…
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Mar 10, 2014

  1. virtio-serial-port: Convert to QOM realize/unrealize

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Mar 10, 2014
    Copy the full SHA
    eaf07c7 View commit details
    Browse the repository at this point in the history
  2. virtio-console: QOM cast cleanup for VirtConsole

    Introduce type constant, cast macro and rename parent field.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Mar 10, 2014
    Copy the full SHA
    21e6595 View commit details
    Browse the repository at this point in the history
  3. hw/boards: Convert current_machine to MachineState

    In order to allow attaching machine options to a machine instance,
    current_machine is converted into MachineState.
    As a first step of deprecating QEMUMachine, some of the functions
    were modified to return MachineClass.
    
    Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Marcel Apfelbaum authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    e0d631c View commit details
    Browse the repository at this point in the history
  4. vl: Use MachineClass instead of global QEMUMachine list

    The machine registration flow is refactored to use the QOM functionality.
    Instead of linking the machines into a list, each machine has a type
    and the types can be traversed in the QOM way.
    
    Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Marcel Apfelbaum authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    bc56ea3 View commit details
    Browse the repository at this point in the history
  5. hw/core: Introduce QEMU machine as QOM object

    The main functional change is to convert QEMUMachine into MachineClass
    and QEMUMachineInitArgs into MachineState, instance of MachineClass.
    
    As a first step, in order to make possible an incremental development,
    both QEMUMachine and QEMUMachineInitArgs are being embedded into the
    new types.
    
    Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Marcel Apfelbaum authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    a967a67 View commit details
    Browse the repository at this point in the history
  6. qdev-monitor-test: Don't test human-readable error message

    Test the error class instead.  Expecting a specific message is
    fragile.  In fact, it broke once already, in commit 75884af.  Restore
    the test of error member "class" dropped there, and drop the test of
    error member "desc".
    
    There are no other tests of "desc" as far as I can tell.
    
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Markus Armbruster authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    f91c585 View commit details
    Browse the repository at this point in the history
  7. qdev-monitor-test: Simplify using g_assert_cmpstr()

    Use g_assert_cmpstr() instead of combining g_assert() and strcmp(3).
    This simplifies the code since we no longer have to play games to
    distinguish NULL from "" using "(null)".
    
    gcc extension haters will also be happy that ?: was dropped.
    
    Suggested-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Stefan Hajnoczi authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    0637cd5 View commit details
    Browse the repository at this point in the history
  8. spapr-pci: Change the default PCI bus naming

    Previously libvirt required the first/default PCI bus to have name "pci".
    Since QEMU can support multiple buses now, libvirt wants "pci.0" now.
    
    This removes custom bus name and lets QEMU make up default names.
    
    Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    aik authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    1d3d51a View commit details
    Browse the repository at this point in the history
  9. block/m25p80: Remove FROM_SSI_SLAVE() usages

    Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
    [AF: Rename parent field]
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    pete128 authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    9be83a0 View commit details
    Browse the repository at this point in the history
  10. ssi: Remove SSI_SLAVE_FROM_QDEV() macro

    There are no usages left of this legacy cast. Delete.
    
    Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
    [AF: Rename SSISlave parent field]
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    
    ssi: Rename parent field
    pete128 authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    3487102 View commit details
    Browse the repository at this point in the history
  11. misc/max111x: QOM casting sweep

    Define and use QOM cast macro. Removes some usages of legacy casting
    systems.
    
    Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
    [AF: Rename parent field]
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    pete128 authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    c6f4f94 View commit details
    Browse the repository at this point in the history
  12. misc/max111x: Create abstract max111x type

    Create an abstract class that encompasses both max111x variants. This is
    needed for QOM cast macro creation (and is the right thing to do
    anyway). Macroify type-names in the process.
    
    Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    pete128 authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    58f45a4 View commit details
    Browse the repository at this point in the history
  13. ssi: Convert legacy SSI_BUS -> BUS casts

    Remove two legacy ->qbus style casts from TYPE_SSI_BUS to TYPE_BUS in
    ssi.c.
    
    Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
    [AF: Convert one missing ->qbus and rename parent field]
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    pete128 authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    ac0d42c View commit details
    Browse the repository at this point in the history
  14. ssi: Convert legacy SSI_SLAVE -> DEVICE casts

    Convert legacy ->qdev style casts from TYPE_SSI_SLAVE to TYPE_DEVICE.
    
    Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
    [AF: Introduce local DeviceState variable for transition to QOM realize]
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    pete128 authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    61e15c9 View commit details
    Browse the repository at this point in the history
  15. qom: Avoid leaking str and bool properties on failure

    When object_property_add_str() and object_property_add_bool() fail, they
    leak their internal StringProperty and BoolProperty structs.  Remember
    to free the structs on error.
    
    Luckily this is a low-impact memory leak since most QOM properties are
    static qdev properties that will never take the error case.
    object_property_add() only fails if the property name is already in use.
    
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Cc: qemu-stable@nongnu.org
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Stefan Hajnoczi authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    949a0f5 View commit details
    Browse the repository at this point in the history
  16. qdev-monitor: Set properties after parent is assigned in device_add

    Test steps:
     (qemu) device_add e1000,addr=adsf
      Property 'e1000.addr' doesn't take value 'adsf'
     (qemu) info qtree
      Then qemu crashed.
    
    Currently we set a link to the new device from its parent bus, but the
    device hasn't been added to QOM tree yet. When it fails to set properties,
    object_unparent() can't clean up the device.
    
    Delay setting of device properties until the device has been added to
    the QOM composition tree. This way, when setting a property fails,
    object_unparent() can clean up the device properly.
    
    Signed-off-by: Amos Kong <akong@redhat.com>
    Reviewed-by: Igor Mammedov <imammedo@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    amoskong authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    b74ea32 View commit details
    Browse the repository at this point in the history
  17. qdev: Set DeviceClass::hotpluggable default in class_init()

    Move setting DeviceClass::hotpluggable default from device's
    class_base_init() to device's class_init().
    
    Reported-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Igor Mammedov <imammedo@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Igor Mammedov authored and afaerber committed Mar 10, 2014
    Copy the full SHA
    746a875 View commit details
    Browse the repository at this point in the history
  18. qdev: Fix bus dependency of DeviceState::hotpluggable getter

    Commit 1a37eca (qdev: add
    "hotpluggable" property to Device) added a property "hotpluggable" to
    each device, with its getter accessing parent_bus->allow_hotplug.
    
    Add a NULL check.
    
    Cc: Igor Mammedov <imammedo@redhat.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Mar 10, 2014
    Copy the full SHA
    75a5485 View commit details
    Browse the repository at this point in the history
  19. Merge remote-tracking branch 'remotes/mcayland/qemu-openbios' into st…

    …aging
    
    * remotes/mcayland/qemu-openbios:
      Update OpenBIOS images
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Mar 10, 2014
    Copy the full SHA
    0c126db View commit details
    Browse the repository at this point in the history
  20. Merge remote-tracking branch 'remotes/rth/tcg-aarch-6-1' into staging

    * remotes/rth/tcg-aarch-6-1:
      tcg-aarch64: Remove nop from qemu_st slow path
      tcg-aarch64: Simplify tcg_out_ldst_9 encoding
      tcg-aarch64: Use intptr_t apropriately
      tcg-aarch64: Remove the shift_imm parameter from tcg_out_cmp
      tcg-aarch64: Hoist common argument loads in tcg_out_op
      tcg-aarch64: Don't handle mov/movi in tcg_out_op
      tcg-aarch64: Set ext based on TCG_OPF_64BIT
      tcg-aarch64: Change all ext variables to TCGType
      tcg-aarch64: Remove redundant CPU_TLB_ENTRY_BITS check
      tcg-aarch64: Enable builtin disassembler
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Mar 10, 2014
    Copy the full SHA
    e9d818b View commit details
    Browse the repository at this point in the history
  21. Merge remote-tracking branch 'remotes/juanquintela/tags/migration/201…

    …40308-1' into staging
    
    migration/next for 20140308
    
    # gpg: Signature made Sat 08 Mar 2014 21:26:01 GMT using RSA key ID 5872D723
    # gpg: Can't check signature: public key not found
    
    * remotes/juanquintela/tags/migration/20140308-1:
      migration: extend section_start/end traces
      vl: add system_wakeup_request tracepoint
      qemu_file: Fix mismerge of "use fwrite() correctly"
      XBZRLE: Fix qemu crash when resize the xbzrle cache
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
    pm215 committed Mar 10, 2014
    Copy the full SHA
    16513b1 View commit details
    Browse the repository at this point in the history
  22. Update OpenBIOS images

    Update OpenBIOS images to SVN r1280 built from submodule.
    
    Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
    mcayland committed Mar 10, 2014
    Copy the full SHA
    5264917 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2014

  1. tcg-aarch64: Remove nop from qemu_st slow path

    Commit 023261e failed to remove a
    nop that's no longer required.
    
    Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    rth7680 committed Mar 9, 2014
    Copy the full SHA
    f8e2484 View commit details
    Browse the repository at this point in the history
  2. tcg-aarch64: Simplify tcg_out_ldst_9 encoding

    At first glance the code appears to be using 1's compliment encoding,
    a-la AArch32.  Except that the constant is "off", creating a complicated
    split field 2's compliment encoding.
    
    Much clearer to just use a normal mask and shift.
    
    Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    rth7680 committed Mar 9, 2014
    Copy the full SHA
    523fdc0 View commit details
    Browse the repository at this point in the history
  3. tcg-aarch64: Use intptr_t apropriately

    As opposed to tcg_target_long.
    
    Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    rth7680 committed Mar 9, 2014
    Copy the full SHA
    017a86f View commit details
    Browse the repository at this point in the history
  4. tcg-aarch64: Remove the shift_imm parameter from tcg_out_cmp

    It was unused.  Let's not overcomplicate things before we need them.
    
    Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    rth7680 committed Mar 9, 2014
    Copy the full SHA
    2e796c7 View commit details
    Browse the repository at this point in the history
  5. tcg-aarch64: Hoist common argument loads in tcg_out_op

    This reduces the code size of the function significantly.
    
    Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
    Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    rth7680 committed Mar 9, 2014
    Copy the full SHA
    8d8db19 View commit details
    Browse the repository at this point in the history
  6. tcg-aarch64: Don't handle mov/movi in tcg_out_op

    Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    rth7680 committed Mar 9, 2014
    Copy the full SHA
    a51a6b6 View commit details
    Browse the repository at this point in the history
  7. tcg-aarch64: Set ext based on TCG_OPF_64BIT

    Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
    Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    rth7680 committed Mar 9, 2014
    Copy the full SHA
    f029341 View commit details
    Browse the repository at this point in the history
  8. tcg-aarch64: Change all ext variables to TCGType

    We assert that the values for _I32 and _I64 are 0 and 1 respectively.
    This will make a couple of functions declared by tcg.c cleaner.
    
    Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    rth7680 committed Mar 9, 2014
    Copy the full SHA
    7763ffa View commit details
    Browse the repository at this point in the history
  9. tcg-aarch64: Remove redundant CPU_TLB_ENTRY_BITS check

    Removed from other targets in 56bbc2f.
    
    Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
    Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    rth7680 committed Mar 9, 2014
    Copy the full SHA
    3353d0d View commit details
    Browse the repository at this point in the history
  10. tcg-aarch64: Enable builtin disassembler

    Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
    Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    rth7680 committed Mar 9, 2014
    Copy the full SHA
    82295d8 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2014

  1. migration: extend section_start/end traces

    This adds @idstr to savevm_section_start and savevm_section_end
    tracepoints.
    
    Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
    Signed-off-by: Amit Shah <amit.shah@redhat.com>
    Signed-off-by: Juan Quintela <quintela@redhat.com>
    aik authored and juanquintela committed Mar 8, 2014
    Copy the full SHA
    464400f View commit details
    Browse the repository at this point in the history
  2. vl: add system_wakeup_request tracepoint

    It might be useful for tracing migration.
    
    Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
    Signed-off-by: Amit Shah <amit.shah@redhat.com>
    Signed-off-by: Juan Quintela <quintela@redhat.com>
    aik authored and juanquintela committed Mar 8, 2014
    Copy the full SHA
    4fed942 View commit details
    Browse the repository at this point in the history
  3. qemu_file: Fix mismerge of "use fwrite() correctly"

    Reviewers accepted v2 of the patch, but what got committed was v1,
    with the R-bys for v2.  This is the v1->v2 followup fix.
    
    [Amit:
     This fixes commit aded653
    ]
    
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Reviewed-by: Amit Shah <amit.shah@redhat.com>
    Signed-off-by: Amit Shah <amit.shah@redhat.com>
    Signed-off-by: Juan Quintela <quintela@redhat.com>
    Markus Armbruster authored and juanquintela committed Mar 8, 2014
    Copy the full SHA
    ac4df4e View commit details
    Browse the repository at this point in the history
Older