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-serial-port: Convert to QOM realize/unrealize

    Note: virtconsole's/virtserialport's realizefn now registers its
    handlers before VirtIOSerialPort's realizefn.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    b49feab 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 Aug 1, 2013
    Copy the full SHA
    064e9e6 View commit details
    Browse the repository at this point in the history
  3. 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
    29c9574 View commit details
    Browse the repository at this point in the history
  4. 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
    97dcf4e View commit details
    Browse the repository at this point in the history
  5. 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
    b9a4f81 View commit details
    Browse the repository at this point in the history
  6. virtio-scsi: Convert to QOM realize

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    5408e59 View commit details
    Browse the repository at this point in the history
  7. 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
    141d6fd View commit details
    Browse the repository at this point in the history
  8. virtio-rng: Convert to QOM realize

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    ce6616b View commit details
    Browse the repository at this point in the history
  9. 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
    fde71c9 View commit details
    Browse the repository at this point in the history
  10. virtio-balloon: Convert to QOM realize

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    fe7ade2 View commit details
    Browse the repository at this point in the history
  11. 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
    a6dbaaf View commit details
    Browse the repository at this point in the history
  12. virtio-net: Convert to QOM realize

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    375c5d5 View commit details
    Browse the repository at this point in the history
  13. 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
    74d0a94 View commit details
    Browse the repository at this point in the history
  14. virtio-serial: Convert to QOM realize

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

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

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    2a9d9da View commit details
    Browse the repository at this point in the history
  17. 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
    2d934ea View commit details
    Browse the repository at this point in the history
  18. virtio-9p: Convert to QOM realize

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Aug 1, 2013
    Copy the full SHA
    0e0aba9 View commit details
    Browse the repository at this point in the history
  19. 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
    cf77288 View commit details
    Browse the repository at this point in the history
  20. 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
    7ed0f54 View commit details
    Browse the repository at this point in the history
  21. 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
    6e91e41 View commit details
    Browse the repository at this point in the history
  22. 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 Aug 1, 2013
    Copy the full SHA
    3db4c3c View commit details
    Browse the repository at this point in the history
  23. 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
    97efe79 View commit details
    Browse the repository at this point in the history
  24. 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
    60e823b View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2013

  1. 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
  2. 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
Older