Skip to content

Commits

Permalink
memory-ioport
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 Jan 21, 2013

  1. sysbus: Drop sysbus_from_qdev() cast macro

    Replace by SYS_BUS_DEVICE() QOM cast macro using a scripted conversion.
    Avoids the old macro creeping into new code.
    
    Resolve a Coding Style warning in openpic code.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Cc: Anthony Liguori <anthony@codemonkey.ws>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    afaerber authored and Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    1356b98 View commit details
    Browse the repository at this point in the history
  2. vnc: fix possible uninitialized removals

    Some VncState values are not initialized before the Websocket handshake.
    If it fails QEMU segfaults during the cleanup. To prevent this behavior
    intialization checks are added.
    
    Signed-off-by: Tim Hardeck <thardeck@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    thardeck authored and Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    6fd8e79 View commit details
    Browse the repository at this point in the history
  3. vnc: added initial websocket protocol support

    This patch adds basic Websocket Protocol version 13 - RFC 6455 - support
    to QEMU VNC. Binary encoding support on the client side is mandatory.
    
    Because of the GnuTLS requirement the Websockets implementation is
    optional (--enable-vnc-ws).
    
    To activate Websocket support the VNC option "websocket"is used, for
    example "-vnc :0,websocket".
    The listen port for Websocket connections is (5700 + display) so if
    QEMU VNC is started with :0 the Websocket port would be 5700.
    As an alternative the Websocket port could be manually specified by
    using ",websocket=<port>" instead.
    
    Parts of the implementation base on Anthony Liguori's QEMU Websocket
    patch from 2010 and on Joel Martin's LibVNC Websocket implementation.
    
    Signed-off-by: Tim Hardeck <thardeck@suse.de>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    thardeck authored and Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    7536ee4 View commit details
    Browse the repository at this point in the history
  4. vnc: added buffer_advance function

    Following Anthony Liguori's Websocket implementation I have added the
    buffer_advance function to VNC and replaced all related buffer memmove
    operations with it.
    
    Signed-off-by: Tim Hardeck <thardeck@suse.de>
    Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    thardeck authored and Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    32ed268 View commit details
    Browse the repository at this point in the history
  5. virtio-s390-device: create a virtio-s390-bus during init.

    A virtio-s390-bus is created during the init. So one VirtIODevice can be
    connected on the virtio-s390-device through this bus.
    
    Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    konrad-fred authored and Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    11e9235 View commit details
    Browse the repository at this point in the history
  6. virtio-s390-bus: add virtio-s390-bus.

    This add the virtio-s390-bus which extends virtio-bus. So one VirtIODevice can
    be connected on this bus.
    
    Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    konrad-fred authored and Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    ea35d4f View commit details
    Browse the repository at this point in the history
  7. virtio-pci: refactor virtio-pci device.

    Create the virtio-pci device which is abstract. This transport device will
    create a virtio-pci-bus, so one VirtIODevice can be connected.
    
    Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    konrad-fred authored and Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    085bccb View commit details
    Browse the repository at this point in the history
  8. virtio-pci-bus: introduce virtio-pci-bus.

    Introduce virtio-pci-bus, which extends virtio-bus. It is used with virtio-pci
    transport device.
    
    Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    konrad-fred authored and Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    0a2acf5 View commit details
    Browse the repository at this point in the history
  9. virtio-device: refactor virtio-device.

    Create the virtio-device which is abstract. All the virtio-device can extend
    this class. It also add some functions to virtio-bus.
    
    Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    konrad-fred authored and Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    8e05db9 View commit details
    Browse the repository at this point in the history
  10. virtio-bus: introduce virtio-bus

    Introduce virtio-bus. Refactored transport device will create a bus which
    extends virtio-bus.
    
    Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    konrad-fred authored and Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    ff8eca5 View commit details
    Browse the repository at this point in the history
  11. qdev: add a maximum device allowed field for the bus.

    Add a max_dev field to BusClass to specify the maximum amount of devices allowed
    on the bus (has no effect if max_dev=0)
    
    Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
    
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    konrad-fred authored and Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    1395af6 View commit details
    Browse the repository at this point in the history
  12. Merge remote-tracking branch 'quintela/thread.next' into staging

    # By Juan Quintela (7) and Paolo Bonzini (6)
    # Via Juan Quintela
    * quintela/thread.next:
      migration: remove argument to qemu_savevm_state_cancel
      migration: Only go to the iterate stage if there is anything to send
      migration: unfold rest of migrate_fd_put_ready() into thread
      migration: move exit condition to migration thread
      migration: Add buffered_flush error handling
      migration: move beginning stage to the migration thread
      qemu-file: Only set last_error if it is not already set
      migration: fix off-by-one in buffered_rate_limit
      migration: remove double call to migrate_fd_close
      migration: make function static
      use XFER_LIMIT_RATIO consistently
      Protect migration_bitmap_sync() with the ramlist lock
      Unlock ramlist lock also in error case
    Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    016c718 View commit details
    Browse the repository at this point in the history
  13. Merge remote-tracking branch 'stefanha/trivial-patches' into staging

    # By Stefan Weil (2) and others
    # Via Stefan Hajnoczi
    * stefanha/trivial-patches:
      hw/tpci200: Fix compiler warning (redefined symbol with MinGW)
      configure: silence pkg-config's check for curses
      acpitable: open the data file in binary mode
      hw: Spelling fix in log message
    Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    e0f0183 View commit details
    Browse the repository at this point in the history
  14. Merge remote-tracking branch 'kraxel/seabios-1.7.2' into staging

    # By Gerd Hoffmann
    # Via Gerd Hoffmann
    * kraxel/seabios-1.7.2:
      seabios: update to 1.7.2 release
    Anthony Liguori committed Jan 21, 2013
    Copy the full SHA
    f2bdbd5 View commit details
    Browse the repository at this point in the history
  15. target-microblaze: Drop unused cpu_mb_close() prototype

    Such a function never existed.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    afaerber authored and edgarigl committed Jan 21, 2013
    Copy the full SHA
    56a8810 View commit details
    Browse the repository at this point in the history
  16. target-cris: Drop unused cpu_cris_close() prototype

    Such a function never existed.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
    afaerber authored and edgarigl committed Jan 21, 2013
    Copy the full SHA
    a42a56c View commit details
    Browse the repository at this point in the history
  17. hw/tpci200: Fix compiler warning (redefined symbol with MinGW)

    STATUS_TIMEOUT is defined in winnt.h:
    
      CC    hw/tpci200.o
    hw/tpci200.c:34:0:
     warning: "STATUS_TIMEOUT" redefined [enabled by default]
    /usr/lib/gcc/x86_64-w64-mingw32/4.6/../../../../x86_64-w64-mingw32/include/winnt.h:1036:0:
     note: this is the location of the previous definition
    
    Use STATUS_TIME instead of STATUS_TIMEOUT as suggested by Alberto Garcia.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    stweil authored and Stefan Hajnoczi committed Jan 21, 2013
    Copy the full SHA
    09a021f View commit details
    Browse the repository at this point in the history
  18. configure: silence pkg-config's check for curses

    Signed-off-by: Vadim Evard <v.e.evard@gmail.com>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Pipeliner authored and Stefan Hajnoczi committed Jan 21, 2013
    Copy the full SHA
    acf15c8 View commit details
    Browse the repository at this point in the history
  19. acpitable: open the data file in binary mode

    -acpitable {file|data}=file reads the content of file, but it is
    in binary form, so the file should be opened usin O_BINARY flag.
    On *nix it is a no-op, but on windows and other weird platform
    it is really needed.
    
    Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    Michael Tokarev authored and Stefan Hajnoczi committed Jan 21, 2013
    Copy the full SHA
    5facfb4 View commit details
    Browse the repository at this point in the history
  20. hw: Spelling fix in log message

    defineition -> definition
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Reviewed-by: Andreas F=E4rber <afaerber@suse.de>
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    stweil authored and Stefan Hajnoczi committed Jan 21, 2013
    Copy the full SHA
    d0f5453 View commit details
    Browse the repository at this point in the history
  21. seabios: update to 1.7.2 release

    Not that many changes as we have a pretty recent git snapshot in master
    already:
    
    Hannes Reinecke (1):
          megasas: Invert PCI device selection
    
    Kevin O'Connor (2):
          Minor: Separate UUID display from F12 boot prompt.
          boot: Support "halt" in the boot order to prevent default boot attempts.
    
    Laszlo Ersek (1):
          display_uuid(): fix incomplete check after the loop
    
    Paolo Bonzini (1):
          vgabios: implement AX=1120H..1124H functions
    kraxel committed Jan 21, 2013
    Copy the full SHA
    3588185 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2013

  1. Merge remote-tracking branch 'stefanha/block' into staging

    # By Kevin Wolf (4) and others
    # Via Stefan Hajnoczi
    * stefanha/block:
      dataplane: support viostor virtio-pci status bit setting
      dataplane: avoid reentrancy during virtio_blk_data_plane_stop()
      win32-aio: use iov utility functions instead of open-coding them
      win32-aio: Fix memory leak
      win32-aio: Fix vectored reads
      aio: Fix return value of aio_poll()
      ide: Remove wrong assertion
      block: fix null-pointer bug on error case in block commit
    Anthony Liguori committed Jan 20, 2013
    Copy the full SHA
    8b17ed4 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2013

  1. tci: Fix broken build (regression)

    s390x-linux-user now also uses GETPC. Instead of adding it to the list of
    targets which use GETPC, the macro is now defined unconditionally.
    
    This avoids future build regressions like this one:
    
      CC    s390x-linux-user/target-s390x/int_helper.o
    cc1: warnings being treated as errors
    qemu/target-s390x/int_helper.c: In function ‘helper_divs32’:
    qemu/target-s390x/int_helper.c:47: error: implicit declaration of function ‘GETPC’
    qemu/target-s390x/int_helper.c:47: error: nested extern declaration of ‘GETPC’
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    stweil authored and blueswirl committed Jan 19, 2013
    Copy the full SHA
    b54c287 View commit details
    Browse the repository at this point in the history
  2. block/raw-posix: Make hdev_aio_discard() available outside Linux

    Fixes the build on OpenBSD among others.
    
    Suggested-by: Kevin Wolf <kwolf@redhat.com>
    Signed-off-by: Andreas Färber <andreas.faerber@web.de>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    afaerber authored and blueswirl committed Jan 19, 2013
    Copy the full SHA
    c36dd8a View commit details
    Browse the repository at this point in the history
  3. usb: Fix compilation for MinGW (regression)

    84f2d0e added an argument to function usb_host_info.
    The stub function must match the declaration in usb.h.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    stweil authored and blueswirl committed Jan 19, 2013
    Copy the full SHA
    c1db291 View commit details
    Browse the repository at this point in the history
  4. cpu-defs.h: Drop qemu_work_item prototype

    Commit c64ca81 (cpu: Move
    queued_work_{first,last} to CPUState) moved the qemu_work_item fields
    away. Clean up the now unused prototype.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    afaerber authored and blueswirl committed Jan 19, 2013
    Copy the full SHA
    249fe3f View commit details
    Browse the repository at this point in the history
  5. tcg/target-arm: Add missing parens to assertions

    Silence a (legitimate) complaint about missing parentheses:
    
    tcg/arm/tcg-target.c: In function ‘tcg_out_qemu_ld’:
    tcg/arm/tcg-target.c:1148:5: error: suggest parentheses around
    comparison in operand of ‘&’ [-Werror=parentheses]
    tcg/arm/tcg-target.c: In function ‘tcg_out_qemu_st’:
    tcg/arm/tcg-target.c:1357:5: error: suggest parentheses around
    comparison in operand of ‘&’ [-Werror=parentheses]
    
    which meant that we would mistakenly always assert if running
    a QEMU built with debug enabled on ARM.
    
    Signed-off-by: Peter Maydell <peter.maydelL@linaro.org>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    pm215 authored and blueswirl committed Jan 19, 2013
    Copy the full SHA
    5256a72 View commit details
    Browse the repository at this point in the history
  6. Replace non-portable asprintf by g_strdup_printf

    g_strdup_printf already handles OOM errors, so some error handling in
    QEMU code can be removed.
    
    Signed-off-by: Stefan Weil <sw@weilnetz.de>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    stweil authored and blueswirl committed Jan 19, 2013
    Copy the full SHA
    e4ada48 View commit details
    Browse the repository at this point in the history
  7. vl: Use size_t for sizes in get_boot_devices_list()

    Code mixes uint32_t, int and size_t.  Very unlikely to go wrong in
    practice, but clean it up anyway.
    
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Markus Armbruster authored and blueswirl committed Jan 19, 2013
    Copy the full SHA
    0e7a759 View commit details
    Browse the repository at this point in the history
  8. fw_cfg: Use void *, size_t instead of uint8_t *, uint32_t for blobs

    Many callers pass size_t, which gets silently truncated to uint32_t.
    Harmless, because all practical sizes are well below 4GiB.  Clean it
    up anyway.  Size overflow now fails assertions.
    
    Bonus: saves a whole bunch of silly casts.
    
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Markus Armbruster authored and blueswirl committed Jan 19, 2013
    Copy the full SHA
    089da57 View commit details
    Browse the repository at this point in the history
  9. pc: Clean up bochs_bios_init()'s (non-)use of sizeof

    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Markus Armbruster authored and blueswirl committed Jan 19, 2013
    Copy the full SHA
    b3dd155 View commit details
    Browse the repository at this point in the history
  10. sun4: Fix unchecked strdup() by switching to fw_cfg_add_string()

    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Markus Armbruster authored and blueswirl committed Jan 19, 2013
    Copy the full SHA
    0e0d2d6 View commit details
    Browse the repository at this point in the history
  11. pc: Fix unchecked strdup() by switching to fw_cfg_add_string()

    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Markus Armbruster authored and blueswirl committed Jan 19, 2013
    Copy the full SHA
    96f8058 View commit details
    Browse the repository at this point in the history
  12. fw_cfg: New fw_cfg_add_string()

    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Markus Armbruster authored and blueswirl committed Jan 19, 2013
    Copy the full SHA
    44687f7 View commit details
    Browse the repository at this point in the history
  13. fw_cfg: Dumb down fw_cfg_add_*() not to return success / failure

    No caller is checking the value, so all errors get ignored, usually
    silently.  assert() instead.
    
    Signed-off-by: Markus Armbruster <armbru@redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
    Markus Armbruster authored and blueswirl committed Jan 19, 2013
    Copy the full SHA
    4cad386 View commit details
    Browse the repository at this point in the history
Older