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 Aug 1, 2013

  1. virtio-scsi: Convert virtio_scsi_common_[un]realize to QOM realize

    VirtIOSCSI and VHostSCSI now perform some initializations after
    VirtIOSCSICommon's realize calls virtio_bus_plug_device(), namely
    creating the SCSIBus and initializing /dev/vhost-scsi respectively.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    cbf1dac View commit details
    Browse the repository at this point in the history
  2. virtio: Unrealize parent

    VirtioDevice's DeviceClass::exit code cleaning up bus_name was
    overwritten by virtio-{blk,serial,net,scsi,balloon,rng} and vhost-scsi.
    
    Call their parent's DeviceClass::unrealize to fix this.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    cbcc8a7 View commit details
    Browse the repository at this point in the history
  3. virtio: Convert VirtioDevice to QOM realize

    Drop VirtioDevice::init.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    5f10012 View commit details
    Browse the repository at this point in the history
  4. virtio-scsi: Convert to QOM realize

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    60be039 View commit details
    Browse the repository at this point in the history
  5. virtio-scsi: QOM realize preparations

    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>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    7fdb7f4 View commit details
    Browse the repository at this point in the history
  6. virtio-rng: Convert to QOM realize

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    4992804 View commit details
    Browse the repository at this point in the history
  7. virtio-rng: QOM realize preparations

    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>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    4cd51b5 View commit details
    Browse the repository at this point in the history
  8. virtio-balloon: Convert to QOM realize

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    452ce9a View commit details
    Browse the repository at this point in the history
  9. virtio-balloon: QOM realize preparations

    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>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    06f788b View commit details
    Browse the repository at this point in the history
  10. virtio-net: Convert to QOM realize

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    124446b View commit details
    Browse the repository at this point in the history
  11. virtio-net: QOM realize preparations

    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>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    17f18eb View commit details
    Browse the repository at this point in the history
  12. virtio-serial: Convert to QOM realize

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    98b6304 View commit details
    Browse the repository at this point in the history
  13. virtio-serial: QOM realize preparations

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    7b8097a View commit details
    Browse the repository at this point in the history
  14. virtio-blk: Convert to QOM realize

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    1f6d7fa View commit details
    Browse the repository at this point in the history
  15. virtio-blk: QOM realize preparations

    Rename variable qdev -> dev since that's what realize's argument is called
    by convention.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    5cdf61c View commit details
    Browse the repository at this point in the history
  16. virtio-9p: Convert to QOM realize

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    8eb01ce View commit details
    Browse the repository at this point in the history
  17. virtio-9p: QOM realize preparations

    Avoid unnecessary VIRTIO_DEVICE().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    707aaf0 View commit details
    Browse the repository at this point in the history
  18. virtio: Allow NULL VirtioDeviceClass::init hook

    This is a temporary measure to allow mixing VirtioDeviceClass::init with
    DeviceClass::realize.
    
    Clean up variable naming in preparation for QOM realize.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    0b6b719 View commit details
    Browse the repository at this point in the history
  19. virtio-blk-dataplane: Improve error reporting

    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>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    a5389da View commit details
    Browse the repository at this point in the history
  20. virtio-9p-device: Avoid freeing uninitialized memory

    In virtio_9p_device_init() there are 6x goto out that will lead to
    v9fs_path_free() attempting to free unitialized path.data field.
    Easiest way to trigger is: qemu-system-x86_64 -device virtio-9p-pci
    
    Fix this by moving v9fs_path_init() before any goto out.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    ade8617 View commit details
    Browse the repository at this point in the history
  21. virtio-console: Use exitfn for virtserialport, too

    virtconsole and virtserialport are identical in every other aspect
    except for the distinguishing VirtIOSerialPortClass::is_console field.
    
    Cc: qemu-stable@nongnu.org
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    b3431a0 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2013

  1. object: Add OBJECT_GET_PARENT_CLASS() macro

    The object argument is currently unused and may be used to optimize the
    class lookup when needed.
    
    Inspired-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 31, 2013
    Copy the full SHA
    8348b4f View commit details
    Browse the repository at this point in the history
  2. qdev: Use clz in print_size

    We can compute a floor log2 value with clz rather than a division loop.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Message-id: 1375208443-17288-3-git-send-email-rth@twiddle.net
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    rth7680 authored and Anthony Liguori committed Jul 31, 2013
    Copy the full SHA
    1197cbb View commit details
    Browse the repository at this point in the history
  3. qdev: Fix 32-bit compilation in print_size

    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Message-id: 1375208443-17288-2-git-send-email-rth@twiddle.net
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    rth7680 authored and Anthony Liguori committed Jul 31, 2013
    Copy the full SHA
    e76c756 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2013

  1. Merge remote-tracking branch 'spice/spice.v72' into staging

    # By Gerd Hoffmann
    # Via Gerd Hoffmann
    * spice/spice.v72:
      spice: fix display initialization
    
    Message-id: 1375173625-3784-1-git-send-email-kraxel@redhat.com
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori committed Jul 30, 2013
    Copy the full SHA
    75e2a4b View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'kraxel/usb.85' into staging

    # By Gerd Hoffmann (2) and Alexey Kardashevskiy (1)
    # Via Gerd Hoffmann
    * kraxel/usb.85:
      hcd-ohci: add dma error handling
      uhci: egsm fix
      xhci: handle USB_RET_IOERROR
    
    Message-id: 1375173371-3378-1-git-send-email-kraxel@redhat.com
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori committed Jul 30, 2013
    Copy the full SHA
    c095e10 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'borntraeger/s390-for-1.6' into staging

    * borntraeger/s390-for-1.6:
      s390: Implement dump-guest-memory support for target s390x
      s390x/kvm: Remove redundant return code
      s390x/kvm: Reworked/fixed handling of cc3 in kvm_handle_css_inst()
      s390x/ioinst: Fixed priority of operand exceptions
      s390x/ioinst: Fixed alignment check in SCHM instruction
      s390x/ioinst: Throw addressing exception when memory_map failed
      s390x/ioinst: Add missing alignment checks for IO instructions
      s390/sclpconsole: handle char layer busy conditions
    
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    Anthony Liguori committed Jul 30, 2013
    Copy the full SHA
    dbef7b1 View commit details
    Browse the repository at this point in the history
  4. mips_r4k: Silence BIOS loading warning for qtest

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Message-id: 1375106733-832-6-git-send-email-afaerber@suse.de
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    afaerber authored and Anthony Liguori committed Jul 30, 2013
    Copy the full SHA
    c9dd6a9 View commit details
    Browse the repository at this point in the history
  5. mips_jazz: Silence BIOS loading warning for qtest

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Message-id: 1375106733-832-5-git-send-email-afaerber@suse.de
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    afaerber authored and Anthony Liguori committed Jul 30, 2013
    Copy the full SHA
    38c8894 View commit details
    Browse the repository at this point in the history
  6. mips_malta: Silence BIOS loading warning for qtest

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Message-id: 1375106733-832-4-git-send-email-afaerber@suse.de
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    afaerber authored and Anthony Liguori committed Jul 30, 2013
    Copy the full SHA
    2c57bd9 View commit details
    Browse the repository at this point in the history
  7. mips_fulong2e: Silence BIOS loading warning for qtest

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Message-id: 1375106733-832-3-git-send-email-afaerber@suse.de
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    afaerber authored and Anthony Liguori committed Jul 30, 2013
    Copy the full SHA
    4a7ed99 View commit details
    Browse the repository at this point in the history
  8. target-ppc: Suppress TCG instruction emulation warnings for qtest

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Message-id: 1375106733-832-2-git-send-email-afaerber@suse.de
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    afaerber authored and Anthony Liguori committed Jul 30, 2013
    Copy the full SHA
    96b3bfa View commit details
    Browse the repository at this point in the history
  9. chardev: fix CHR_EVENT_OPENED events for mux chardevs

    As of bd5c51e, chardevs no longer use
    bottom-halves to issue CHR_EVENT_OPENED events. To maintain past
    semantics, we instead defer the CHR_EVENT_OPENED events toward the end
    of chardev initialization.
    
    For muxes, this isn't good enough, since a range of FEs must be able
    to attach to the mux prior to any CHR_EVENT_OPENED being issued, else
    each FE will immediately print it's initial output (prompts, banners,
    etc.) just prior to us switching to the next FE as part of
    initialization.
    
    The is new and confusing behavior for users, as they'll see output for
    things like the HMP monitor, even though their the current mux focus
    may be a guest serial port with potentially no output.
    
    We fix this by further deferring CHR_EVENT_OPENED events for FEs
    associated with muxes until after machine init by flagging mux chardevs
    with 'explicit_be_open', which suppresses emission of CHR_EVENT_OPENED
    events until we explicitly set the mux as opened later.
    
    Currently, we must defer till after machine init since we potentially
    associate FEs with muxes as part of realize (for instance,
    serial_isa_realizefn).
    
    Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
    Message-id: 1375207462-8141-1-git-send-email-mdroth@linux.vnet.ibm.com
    Cc: qemu-stable@nongnu.org
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    mdroth authored and Anthony Liguori committed Jul 30, 2013
    Copy the full SHA
    7b7ab18 View commit details
    Browse the repository at this point in the history
  10. tci: Fix broken build (compiler warning caused by redefined macro BIT)

    The definition of macro BIT in tci/tcg-target.c now conflicts with the
    definition of the same macro in includes qemu/bitops.h.
    
    This conflict was triggered by a recent change in the include chain of
    tcg.c (probably commit 949fc82).
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Message-id: 1375216883-23969-1-git-send-email-sw@weilnetz.de
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    stweil authored and Anthony Liguori committed Jul 30, 2013
    Copy the full SHA
    5fe0d35 View commit details
    Browse the repository at this point in the history
  11. target-mips: correct the values in the DSP tests

    Five tests files for DSP instructions had wrong expected values in the tests.
    This change fixes this, and this has been cross-checked by running the same
    test binaries on Malta 74K board.
    
    Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    petar-jovanovic authored and aurel32 committed Jul 30, 2013
    Copy the full SHA
    beb3faa View commit details
    Browse the repository at this point in the history
Older