[Spice-commits] Changes to 'bz700134'

Gerd Hoffmann kraxel at kemper.freedesktop.org
Fri Jun 17 07:50:28 PDT 2011


New branch 'bz700134' available with the following commits:
commit 6f15688e14ba1b2e2449ccd4c875a3b777584a7d
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jun 17 12:20:05 2011 +0200

    async qxl I/O
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit af65d4585a07c4e24b8d5f47f4d34d3ab837f7d0
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jun 17 12:51:31 2011 +0200

    remove qxl_destroy_primary

commit c5d0cba2b5d300e7ddd57dad15ff4b3e597a8e1b
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jun 17 12:33:04 2011 +0200

    move qemu_spice_create_primary_surface call out of qxl_create_guest_primary

commit 10c2c61aa5bae43637736d1326c727467a90af96
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jun 17 12:26:21 2011 +0200

    move qemu_spice_add_memslot call out of qxl_add_memslot

commit 4b48c8824f58c81868ac1f93ea9ef86312bf4494
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jun 17 10:49:22 2011 +0200

    spice: lock spice worker calls
    
    ... so we can call them from a thread.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 207c9a1d332cdd38f8f890c9e03f352c1e7c9915
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jun 17 10:42:25 2011 +0200

    spice: add qemu_spice_display_init_common
    
    Factor out SimpleSpiceDisplay initialization into
    qemu_spice_display_init_common() and call it from
    both qxl.c (for vga mode) and spice-display.c
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit cc18b4bb3e609499d0c3dc205ef258aa4213c430
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jun 17 10:34:25 2011 +0200

    spice: add worker wrapper functions.
    
    Add wrapper functions for all spice worker calls.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 44201e2e0515c04fbccf050c6705730513e406b3
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Jun 15 13:11:33 2011 +0200

    spice: catch spice server initialization failures.
    
    When the spice server initialization fails report this and exit instead
    of ignoring the error.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit eb47d7c5d96060040931c42773ee07e61e547af9
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu May 26 17:34:11 2011 +0100

    hw/9118.c: Implement active-low interrupt support
    
    The 9118 ethernet controller interrupt line is active low unless
    the IRQ config register is programmed to set both the IRQ_POL
    (polarity: active-high) and IRQ_TYPE (type: push-pull) bits:
    implement support for inverting the irq output in other configurations.
    This also requires that we support setting the bits in the first
    place, and that we correctly preserve them across software reset.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 953ffe0f935f40c0d6061d69e76e0339393b54f8
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Thu Jun 2 19:58:06 2011 +0200

    Introduce format string for pid_t
    
    BeOS and Haiku on i386 use long for 32-bit types, including pid_t.
    Using %d with pid_t therefore results in a warning.
    
    Unfortunately POSIX:2008 does not define a PRId* string for pid_t.
    
    In some places pid_t was previously casted to long and %ld hardcoded.
    The predecessor of this patch added another upcast for the simpletrace
    filename but was not applied to date.
    
    Since new uses of pid_t with %d keep creeping in, let's instead define
    an OS-dependent format string and use that consistently.
    
    Cc: Stefan Hajnoczi <stefanha at gmail.com>
    Cc: Blue Swirl <blauwirbel at gmail.com>
    Cc: Ingo Weinhold <ingo_weinhold at gmx.de>
    Cc: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 1e36f6a5b573009267160edc33cb216c9621abc0
Author: Juha Riihimäki <juha.riihimaki at nokia.com>
Date:   Tue May 31 17:48:23 2011 +0100

    smc91c111: qdevify reset
    
    Register the smc91c111 reset function as a qdev reset function.
    
    Signed-off-by: Juha Riihimäki <juha.riihimaki at nokia.com>
    Reviewed-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 22e1e729600dad1639329185614d094243409359
Merge: c235d7387c850857ec6b0ba8ee28c7e1548f68c0 f97742d0d36810ea72a2bd40b3abb890589ea3b8
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Jun 15 18:31:56 2011 +0000

    Merge branch 'cocoa-for-upstream' of git://repo.or.cz/qemu/afaerber
    
    * 'cocoa-for-upstream' of git://repo.or.cz/qemu/afaerber:
      Darwin: Fix compilation warning regarding the deprecated daemon() function
      cocoa: Avoid warning related to multiple handleEvent: definitions
      cocoa: Revert dependency on VNC
      cocoa: Provide central qemu_main() prototype
      Fix libfdt warnings on Darwin
      configure: Fix check for fdatasync()
      Remove warning in printf due to type mismatch
      Cocoa: avoid displaying window when command-line contains '-h' or '-help'
      Fix compilation warning due to incorrectly specified type
      cocoa: do not create a spurious window for -version

commit c235d7387c850857ec6b0ba8ee28c7e1548f68c0
Author: Matthew Fernandez <matthew.fernandez at gmail.com>
Date:   Tue Jun 7 16:32:40 2011 +0000

    Command line support for altering the log file location
    
    Add command line support for logging to a location other than /tmp/qemu.log.
    
    With logging enabled (command line option -d), the log is written to
    the hard-coded path /tmp/qemu.log. This patch adds support for writing
    the log to a different location by passing the -D option.
    
    Signed-off-by: Matthew Fernandez <matthew.fernandez at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 71f34ad05359d7fa97996562d904979281ddc7f5
Merge: b45a9b185120a10455859341d8035cce9b441fc8 e13e973eedba0a52b4b8b079c4b85cdc68b7b4f0
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 15 09:03:49 2011 -0500

    Merge remote-tracking branch 'alon/pull-libcacard-1' into staging

commit b45a9b185120a10455859341d8035cce9b441fc8
Merge: f897235e0a0840c44645b609dc52a4c47ddfc3d5 3dc769ab43fb4f0e552ecae7ed4414e2b7b77c4b
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 15 09:03:33 2011 -0500

    Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

commit f897235e0a0840c44645b609dc52a4c47ddfc3d5
Merge: 1f8bedba79f453596b06e9ebbfa2be8db1eccb68 94cc916a8c7e631afc650cb3c9c2832167b0dd8f
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 15 09:03:22 2011 -0500

    Merge remote-tracking branch 'kraxel/usb.16' into staging

commit 1f8bedba79f453596b06e9ebbfa2be8db1eccb68
Merge: f79116867ec80ed5d1d10043a3fd9ac8afd182c1 7887f6201ff3fdc9a142eba14d61c563adb57596
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 15 09:02:18 2011 -0500

    Merge remote-tracking branch 'kwolf/for-anthony' into staging

commit 7887f6201ff3fdc9a142eba14d61c563adb57596
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Jun 7 17:51:21 2011 +0200

    Allow nested qemu_bh_poll() after BH deletion
    
    Without this, qemu segfaults when a BH handler first deletes its BH and
    then calls another function which involves a nested qemu_bh_poll() call.
    
    This can be reproduced by generating an I/O error (e.g. with blkdebug) on
    an IDE device and using rerror/werror=stop to stop the VM. When continuing
    the VM, qemu segfaults.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Reviewed-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>

commit ee752da74f5d07cf441f8d42455c4241d6051ae5
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Jun 10 16:32:13 2011 +0200

    ide: Clear error_status after restarting flush
    
    Clearing the error status flag was missing for restarting flushes. Now that the
    error status is separate from the BM status register, we can simply set it to 0
    after restarting the request. This ensures that we never forget to clear a bit.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit d353fb72f59cd0e1f67baf773e74719cda761a89
Author: Christoph Hellwig <hch at lst.de>
Date:   Thu May 19 10:58:19 2011 +0200

    ide: add TRIM support
    
    Add support for TRIM sub function of the data set management command,
    and wire it up to the qemu discard infrastructure.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 4e1e00515e2522bbae98a0653ea2692ec20851ac
Author: Christoph Hellwig <hch at lst.de>
Date:   Thu May 19 10:58:09 2011 +0200

    ide: allow other dma comands than read and write
    
    Replace the is_read flag with a dma_cmd flag to allow the dma and
    restart logic to handler other commands like TRIM.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit cb144ccb2ffdb3bca4026455074e434d8db34d73
Author: Christoph Hellwig <hch at lst.de>
Date:   Thu May 19 10:57:59 2011 +0200

    make dma_bdrv_io available to drivers
    
    Make dma_bdrv_io available for drivers, and pass an explicit I/O function
    instead of hardcoding bdrv_aio_readv/bdrv_aio_writev.  This is required
    to implement non-READ/WRITE dma commands in the ide driver, e.g. the
    upcoming TRIM support.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 0754f9ecef98ad95442f16657df9721dd5682c3a
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Thu Jun 9 14:15:18 2011 +0200

    ide: Add forgotten VMSTATE_END_OF_LIST in subsection
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit fdc650d76d785ba56b1e87c260ce96d8e22c7cc8
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Thu Jun 9 14:12:57 2011 +0200

    ide: Fix ide_drive_pio_state_needed()
    
    When a failed PIO request caused the VM to stop, we still need to transfer the
    PIO state even though DRQ=0 at this point.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit def93791f22a3536c3508244ec7d270098484c7d
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Thu May 26 15:00:34 2011 +0200

    ide: Split error status from status register
    
    When adding the werror=stop mode, some flags were added to s->status
    which are used to determine what kind of operation should be restarted
    when the VM is continued.
    
    Unfortunately, it turns out that s->status is in fact a device register
    and as such is visible to the guest (some of the abused bits are even
    writable for the guest).
    
    For migration we keep on using the old VMState field (renamed to
    migration_compat_status) if the status register doesn't use any of the
    previously abused bits. If it does, we use a subsection with a clean copy of
    the status register.
    
    The error status is always sent in a subsection if there is any error. It can't
    use the old field because errors happen even without PCI.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 9e2a3701a1fcfec0316b9dc1a6cd62869de5542c
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue May 24 16:40:02 2011 +0200

    qcow2: Fix in-flight list after qcow2_cache_put failure
    
    If qcow2_cache_put returns an error during cluster allocation and the
    allocation fails, it must be removed from the list of in-flight allocations.
    Otherwise we'd get a loop in the list when the ACB is used for the next
    allocation.
    
    Luckily, this qcow2_cache_put shouldn't fail anyway because the L2 table is
    only read, so that qcow2_cache_put doesn't even involve I/O.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Reviewed-by: Christoph Hellwig <hch at lst.de>

commit 39aa9a12ccbfd1ca2253fd1dc584bfb13670be47
Author: Devin Nakamura <devin122 at gmail.com>
Date:   Thu Jun 9 01:06:43 2011 -0400

    Replaced tabs with spaces in block.h and block_int.h
    
    Signed-off-by: Devin Nakamura <devin122 at gmail.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit e67a64a869312eccc1487409aaa03177da4d2f26
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Jun 7 16:12:58 2011 +0200

    vdi: Avoid direct AIO callback
    
    bdrv_aio_* must not call the callback before returning to its caller. In vdi,
    this could happen in some error cases. This starts the real requests processing
    in a BH to avoid this situation.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit b11a24dee661dd1e1de0dcbc149052ed67b0647a
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Jun 7 15:20:44 2011 +0200

    qcow: Avoid direct AIO callback
    
    bdrv_aio_* must not call the callback before returning to its caller. In qcow,
    this could happen in some error cases. This starts the real requests processing
    in a BH to avoid this situation.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 42496d6240bfedc7ac6d92f04f92cff6c2e9f226
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Jun 7 15:04:32 2011 +0200

    qcow2: Avoid direct AIO callback
    
    bdrv_aio_* must not call the callback before returning to its caller. In qcow2,
    this could happen in some error cases. This starts the real requests processing
    in a BH to avoid this situation.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit f79116867ec80ed5d1d10043a3fd9ac8afd182c1
Author: Yang, Wei Y <wei.y.yang at intel.com>
Date:   Mon May 30 23:17:42 2011 +0800

    kvm: Enable CPU SMEP feature
    
    This patchset enables a new CPU feature SMEP (Supervisor Mode Execution
    Protection) in QEMU-KVM. SMEP prevents kernel from executing code in application.
    Updated Intel SDM describes this CPU feature. The document will be published soon.
    
    SMEP is identified by CPUID leaf 7 EBX[7], which is 0 before. Get the right value by query KVM kernel module, so that guest can get SMEP through CPUID.
    
     Signed-off-by: Yang, Wei <wei.y.yang at intel.com>
     Singed-off-by: Shan, Haitao <haitao.shan at intel.com>
     Singed-off-by: Li, Xin <xin.li at intel.com>
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit b3baa152aaef1905876670590275c2dd0bbb088c
Author: brillywu at viatech.com.cn <brillywu at viatech.com.cn>
Date:   Wed Jun 1 09:59:52 2011 +0800

    kvm: Add CPUID support for VIA CPU
    
    When KVM is running on VIA CPU with host cpu's model, the
    feautures of VIA CPU will be passed into kvm guest by calling
    the CPUID instruction for Centaur.
    
    Signed-off-by: BrillyWu<brillywu at viatech.com.cn>
    Signed-off-by: KaryJin<karyjin at viatech.com.cn>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 6df658f55c41c583b3f6d6f872e3314ad7fe744c
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue May 24 18:09:10 2011 +0200

    usb-ccid: Plug memory leak on qdev exit()
    
    ccid_initfn() allocates CCIDBus dynamically, but there is no exit
    callback to free it.
    
    Fix by getting rid of the allocation.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>

commit 44dc0ca3d22db732a6c4b7f3e59594fc323113f8
Author: Alon Levy <alevy at redhat.com>
Date:   Sun May 15 11:51:28 2011 +0300

    libcacard: add libcacard.la target
    
    No flag to configure is required. Instead, added a libcacard.la target that
    is not built by default, only when requested explicitly via:
    
    mkdir build
    cd build
    ../configure
    make libcacard.la
    make install-libcacard
    
    Uses libtool to do actual linking of object files and shared library, and
    installing. Tested only under linux, but supposed to work on other systems as
    well.
    
    If libtool isn't found you get a message complaining about that, only at build
    time (since it is not a default target I did not add a message at configure
    time).
    
    New build artifacts:
     .libs subdirectories (at <buildroot> and <buildroot>/libcacard)
     *.lo files (at same locations as the respective o files)
    
    Added %.lo : %.c rule that uses libtool.
    Updated clean rule to clean up those artifacts.
    Added specific rule to call dtrace with libtool wrapper (note that because of
    a current upstream dtrace bug fixed by systemtap b1568fd85 commit the -fPIC flag
    isn't actually passed on. still current dtrace+libtool produced object links fine).
    If libtool is missing any of the following targets will complain and exit 1:
     any subdir: *.lo
     root and libcacard: libcacard.la, libcacard-instsall
    
    Tested to link and load with all tracing backends.

commit 3aa5d2bee8e948deabd7c25a7c6ee963daa56a27
Author: Alon Levy <alevy at redhat.com>
Date:   Sun May 15 12:08:59 2011 +0300

    configure: add libdir and --libdir

commit 94cc916a8c7e631afc650cb3c9c2832167b0dd8f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jun 10 14:38:08 2011 +0200

    usb-uhci: fix expire time initialization.
    
    expire_time must be initialited when the guest activates the
    usb scheduler, not at device creation time.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 9bba1eb180cb9b08ee1a53c19c52ee57253ac8c2
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Tue Jun 7 19:50:12 2011 +0100

    hw/usb-ohci.c: Implement remote wakeup
    
    Implement the wakeup callback in the OHCI USBPortOps, so that when
    a downstream device wakes up it correctly causes the OHCI controller
    to come out of suspend.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 4b0315d7edcbcfcbb07f7935c6e879b3f49fb99e
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Tue Jun 7 20:02:29 2011 +0100

    hw/usb-ohci.c: Ignore writes to HcPeriodCurrentED register
    
    HcPeriodCurrentED is read-only, but Linux writes to it anyway; silently
    ignore this rather than printing a warning message.
    
    (Specifically, drivers/usb/host/ohci-hub.c:ohci_rh_resume() writes a
    0, in at least kernels 2.6.25 through 2.6.39.)
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 4001f22ffdd6bc890ffc58e6e1ac75443fe67c97
Author: Brad Hards <bradh at frogmouth.net>
Date:   Thu Jun 2 11:18:48 2011 +1000

    usb: Use defines for serial bus release number register for EHCI
    
    Signed-off-by: Brad Hards <bradh at frogmouth.net>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit e59d33a7346641aef52deb3e5e577ea6a73a7be9
Author: Brad Hards <bradh at frogmouth.net>
Date:   Thu Jun 2 11:18:47 2011 +1000

    usb: Use defines for serial bus release number register for UHCI
    
    Signed-off-by: Brad Hards <bradh at frogmouth.net>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 8e257816b0cb267b0cdfb819449d39f1689e0aa4
Author: Brad Hards <bradh at frogmouth.net>
Date:   Thu Jun 2 11:18:46 2011 +1000

    usb: Add defines for USB Serial Bus Release Number register
    
    Signed-off-by: Brad Hards <bradh at frogmouth.net>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 290a5c60a3d203a62a09c88083456ed3ad20329f
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Tue May 31 11:35:29 2011 +0200

    usb-bus: Don't detach non attached devices on device exit
    
    This causes an "Error: tried to detach unattached usb device " to be printed,
    this can happen when deleting ie a usb host qdev, which did not
    get attached (because a device matching the filter never got plugged in).
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 290d26d2e7510fbbcb68a765695b5838af60b3f0
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Tue May 31 11:35:27 2011 +0200

    usb-bus: Add knowledge of USB_SPEED_SUPER to usb_speed helper
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit f8ddbfbcda3ed83b57df537f2457db25de2cc572
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Tue May 31 11:35:26 2011 +0200

    usb-linux: Enlarge buffer for descriptors to 8192 bytes
    
    1024 bytes is way to small, one hd UVC webcam I have over here has so
    many resolutions its descriptors take op close to 4k. Hopefully 8k will
    be enough for all devices.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit e447fc63530bcd0e50201da3b06e112eab1a851d
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Jun 1 14:41:59 2011 +0200

    usb: don't call usb_host_device_open from vl.c
    
    Not needed any more, usb-host is qdev-ified these days.
    Well, at least the linux version ...
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 1f45a81bef8bc4aee98e29bd28bfb21edb623879
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon Jun 6 09:45:20 2011 +0200

    usb-linux: only cleanup in host_close when host_open was successful.

commit 97f8616648b426f35621d7f9165c304a3416cd62
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Tue May 31 11:35:24 2011 +0200

    usb-linux: Don't try to open the same device twice
    
    If a user wants to redirect 2 identical usb sticks, in theory this is
    possible by doing:
    usb_add host:1234:5678
    usb_add host:1234:5678
    
    But this will lead to us trying to open the first stick twice, since we
    don't break the loop after having found a match in our filter list, so the next'
    filter list entry will result in us trying to open the same device again.
    
    Fix this by adding the missing break.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 130314f83dc43fc3cc2f431d8cfa1595209673fe
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Tue May 31 11:35:22 2011 +0200

    usb-linux: Ensure devep != 0
    
    So that we don't index endp_table with a negative index.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 61c1117f08f4ed6f7e5cfa59cc9e02cf19c8f92d
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Tue May 31 11:35:20 2011 +0200

    usb-linux: Don't do perror when errno is not set
    
    Note that "op" also is not set, so before this change these error paths
    would feed NULL to perror.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit f264cfbf4a010e1be879bf2e62d323443989d72f
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Tue May 31 11:35:19 2011 +0200

    usb-linux: Teach about super speed
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 3991c35e8586cc42501de1236d0c155e82223540
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Tue May 31 11:35:18 2011 +0200

    usb-linux: Get speed from sysfs rather then from the connectinfo ioctl
    
    The connectinfo ioctl only differentiates between lo speed devices, and
    all other speeds, where as we would like to know the real speed. The real
    speed is available in sysfs so use that when available.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit f72e502e5f0b846a4e4bffd35315e36567da68c8
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue May 31 12:21:43 2011 +0200

    usb: documentation update
    
    Add some more informations to docs/usb2.txt about using usb2 (also usb1)
    devices.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 025b168ca674e42896c573fdbddf3090c6dc0d8f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon Jun 6 12:31:34 2011 +0200

    usb-ehci: split trace calls to handle arg count limits
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit e654887f3880fb0f6d4d40d15d2977de245a6440
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon May 30 16:09:08 2011 +0200

    usb-ehci: itd handling fixes.
    
    This patch fixes a bunch of issues in the itd descriptor handling.
    Most important fix is to handle transfers which cross page borders
    correctly by looking up the address of the next page.  Luckily the
    linux uses physically contigous memory so the data used to hits the
    correct location even with this bug instead of corrupting guest
    memory.  Also the transfer length updates for outgoing transfers wasn't
    correct.
    
    While being at it DPRINTFs have been replaced by tracepoints.
    
    The isoch_pause logic has been disabled.  Not clear to me which propose
    this serves and I think it is incorrect too as we just skip processing
    itds.  Even when no xfer happens we have to clear the active bit.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 69bf405b50ae18cdbbb7b8bf08ab1f275d4e0d75
Author: Kevin O'Connor <kevin at koconnor.net>
Date:   Sat May 28 11:47:50 2011 -0400

    The USB tablet should not claim boot protocol support.
    
    The USB tablet advertises that it supports the "boot" protocol.
    However, its reports aren't "boot" protocol compatible.  So, it
    shouldn't claim that.
    
    Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 46115ac4c4f211b5b9b4d22f7af6ebe91c79a05c
Author: Kevin O'Connor <kevin at koconnor.net>
Date:   Sat May 28 11:47:15 2011 -0400

    Fix USB mouse Set_Protocol behavior
    
    The QEMU USB mouse claims to support the "boot" protocol
    (bInterfaceSubClass is 1).  However, the mouse rejects the
    Set_Protocol command.
    
    The qemu mouse does support the "boot" protocol specification, so a
    simple fix is to enable the Set_Protocol request.
    
    Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit d05393071ad4cb72ae69f77f9f61fc451251521f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri May 20 22:08:44 2011 +0200

    usb-ehci: drop EXECUTING checks.
    
    The state machine doesn't stop in EXECUTING state any more when async
    packets are in flight, so the checks are not needed any more and can
    be dropped.
    
    Also kick out the check for the frame timer.  As we don't stop & sleep
    any more on async packets this is obsolete.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 07771f6fcebdb12de6dca537423f56299ed9b4b9
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon May 23 17:37:12 2011 +0200

    usb: cancel async packets on unplug
    
    This patch adds USBBusOps struct with (for now) only a single callback
    which is called when a device is about to be destroyed.  The USB Host
    adapters are implementing this callback and use it to cancel any async
    requests which might be in flight before the device actually goes away.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 8e4faf3de9d1a8bd3289e5cc69d4ed206e2ed0cf
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Mon May 23 14:49:43 2011 +0200

    ehci: fix a number of unused-but-set-variable warnings (new with gcc-4.6)
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit d2bd525fbbebcb108a62963140dad076b476aa5f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon May 23 09:50:27 2011 +0200

    usb-ehci: fix error handling.
    
    Set the correct bits for nodev, stall and babble errors.
    Raise errint irq.  Fix state transition from WRITEBACK
    to the next state.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit ba7cb5a86ae2ad8b2b78b9367493f9a0d990bac8
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri May 20 17:25:07 2011 +0200

    usb-ehci: fix offset writeback in ehci_buffer_rw
    
    Two bugs at once:
    
    First the mask is backwards, so the it used to keeps the offset and
    clears the page address, which is not what we need when we update the
    offset.
    
    Second the offset calculation is wrong in case head isn't page aligned.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 8ac6d699c453e0f46e601597e371e9ae58c0237e
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu May 19 17:56:19 2011 +0200

    usb-ehci: multiqueue support
    
    This patch adds support for keeping multiple queues going at the same
    time.  One slow device will not affect other devices any more.
    
    The patch adds code to manage EHCIQueue structs.  It also does a number
    of changes to the state machine:
    
     * The state machine will never ever stop in EXECUTING any more.
       Instead it will continue with the next queue (aka HORIZONTALQH) when
       the usb device returns USB_RET_ASYNC.
     * The state machine will stop processing when it figures it walks in
       circles (easy to figure now that we have a EHCIQueue struct for each
       QH we've processed).  The bailout logic should not be needed any
       more.  For now it is still in, but will assert() in case it triggers.
     * The state machine will just skip queues with a async USBPacket in
       flight.
     * The state machine will resume processing as soon as the async
       USBPacket is finished.
    
    The patch also takes care to flush the QH struct back to guest memory
    when needed, so we don't get stale data when (re-)loading it from guest
    memory in FETCHQH state.
    
    It also makes the writeback code to not touch the first three dwords of
    the QH struct as the EHCI must not write them.  This actually fixes a
    bug where QH chaining changes (next ptr) by the linux ehci driver where
    overwritten by the emulated EHCI.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 0122f47279d18eb79fa63ddc550aa43a98d85faf
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu May 19 10:49:03 2011 +0200

    usb-ehci: add queue data struct
    
    Add EHCIQueue struct, move the fields needed to track the queue state
    into that struct.  Pass the new struct instead of ehci state down to
    functions which handle the queue state.  Lot of variable references have
    changed due to that without an actual functional change.
    
    Replace fetch_addr with two variables, one for async and one for
    periodic schedule.  Add functions to get and set the fetch address.
    
    Use EHCIQueue->usb_status (old name: EHCIState->exec_status) directly in
    ehci_execute_complete instead of passing around the status using a
    parameters and the return value.
    
    ehci_state_fetchqh returns a EHCIQueue struct now.
    
    No change in behavior.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit f2c88dc10e9258ba57f5edaeb3670259fb6ac2b9
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu May 19 09:24:00 2011 +0200

    usb-ehci: trace buffer copy
    
    Add a trace point for buffer copies and drop the DPRINTF's.
    
    No change in behavior.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit c4f8e21165036a2f5422cd5faa507ccdf91aa945
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu May 19 08:55:09 2011 +0200

    usb-ehci: improve mmio tracing
    
    Add a separate tracepoint to log how register values change in response
    to a mmio write.  Especially useful for registers which have read-only
    or clear-on-write bits in them.
    
    No change in behavior.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit dcbd0b5c0ef825c02b443e11f501599d801f396a
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu May 19 08:46:53 2011 +0200

    usb-ehci: trace port state
    
    Trace usb port operations (attach, detach, reset),
    drop a few obsolete DPRINTF's.
    
    No change in behavior.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 26d53979db57939969efc7c698c2240a89f50648
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed May 18 14:23:35 2011 +0200

    usb-ehci: trace state machine changes
    
    Add functions to get and set the current state of the state machine,
    add tracepoints there to trace state transitions.  Add support for
    traceing the queue heads and transfer descriptors as we look at them.
    
    Drop a few DPRINTFs and all DPRINTF_ST lines, they are obsolete now.
    
    No change in behavior.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 439a97ccab2dba51e4dad94ba2d347143a0709cc
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed May 18 10:12:58 2011 +0200

    usb-ehci: trace mmio and usbsts
    
    This patch starts adding trace support to ehci.  It traces
    updates of the status register (USBSTS), mmio access and
    controller reset.
    
    It also adds functions to set and clear status register bits
    and puts them in use everywhere.
    
    Some DPRINTF's are dropped in favor of the new tracepoints.
    
    No change in behavior.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 41c01ee7157c04abea1b97ab409cd5065ecd30bd
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue May 24 16:12:31 2011 +0200

    usb-linux: catch ENODEV in more places.
    
    Factor out disconnect code (called when a device disappears) to a
    separate function.  Add a check for ENODEV errno to a few more places
    to make sure we notice disconnects.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 7bf4162a801761792834e9e7da4b80b089434ce7
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Jun 10 22:05:30 2011 +0200

    block/rbd: Remove unused local variable
    
    Variable 'snap' is assigned a value that is never used.
    Remove snap and the related code.
    
    Cc: Christian Brunner <chb at muc.de>
    Cc: Josh Durgin <josh.durgin at dreamhost.com>
    Cc: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Reviewed-by: Josh Durgin <josh.durgin at dreamhost.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit f97742d0d36810ea72a2bd40b3abb890589ea3b8
Author: Alexandre Raymond <cerbere at gmail.com>
Date:   Mon Jun 6 23:34:10 2011 -0400

    Darwin: Fix compilation warning regarding the deprecated daemon() function
    
    Changes since v1: create a wrapper function named qemu_daemon() in oslib-posix.c
    instead of putting the OS specific workaround in qemu-nbd.c directly.
    
    On OSX >= 10.5, daemon() is deprecated, resulting in the following warning:
    ----8<----
    qemu-nbd.c: In function ‘main’:
    qemu-nbd.c:371: warning: ‘daemon’ is deprecated (declared at /usr/include/stdlib.h:289)
    ----8<----
    
    The following trick, used in mDNSResponder, takes care of this warning:
    http://www.opensource.apple.com/source/mDNSResponder/mDNSResponder-258.18/mDNSPosix/PosixDaemon.c
    
    On OSX, it temporarily renames the daemon() function before including stdlib.h
    and declares it manually as an extern function. This way, the compiler does not
    see the declaration from stdlib.h and thus does not display the warning.
    
    Signed-off-by: Alexandre Raymond <cerbere at gmail.com>
    Cc: Blue Swirl <blauwirbel at gmail.com>
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>

commit 7fee199cf9704587d4ed9eb23044970f2206debc
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Thu Jun 9 20:53:32 2011 +0200

    cocoa: Avoid warning related to multiple handleEvent: definitions
    
    Avoid compiler confusion as to which method signature to use for the
    handleEvent: selector on OSX >= 10.6 by making the variable type-safe
    as opposed to generic 'id' type.
    Requires moving the variable definition to after the class definition.
    
    ----8<----
    ui/cocoa.m: In function ‘cocoa_refresh’:
    ui/cocoa.m:997: warning: multiple methods named ‘-handleEvent:’ found
    /System/Library/Frameworks/AppKit.framework/Headers/NSTextInputContext.h:84: warning: using ‘-(BOOL)handleEvent:(NSEvent *)theEvent’
    ui/cocoa.m:272: warning: also found ‘-(void)handleEvent:(NSEvent *)event’
    ----8<---
    
    Reported-by: Alexandre Raymond <cerbere at gmail.com>
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Tested-by: Alexandre Raymond <cerbere at gmail.com>

commit e949467ba6e9829be0a2fc7ec27ec544d7bd3a29
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Thu Jun 2 20:51:22 2011 +0200

    cocoa: Revert dependency on VNC
    
    In 821601ea5b02a68ada479731a4d3d07a9876632a (Make VNC support optional)
    cocoa.o was moved from ui-obj-$(CONFIG_COCOA) to vnc-obj-$(CONFIG_COCOA),
    adding a dependency on $(CONFIG_VNC). That must've been unintentional.
    
    Cc: Jes Sorensen <Jes.Sorensen at redhat.com>
    Cc: Anthony Liguori <aliguori at us.ibm.com>
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>

commit 3bbbee18a4e72f92a5830d6937ec50c441ec7826
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Sun May 29 19:42:51 2011 +0200

    cocoa: Provide central qemu_main() prototype
    
    This fixes a missing prototype warning in vl.c and obsoletes
    the prototype in cocoa.m. Adjust callers in cocoa.m to supply
    third argument, which is currently only used on Linux/ppc.
    
    The prototype is designed so that it could be shared with SDL
    and other frontends, if desired.
    
    Cc: Alexandre Raymond <cerbere at gmail.com>
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>

commit d3922ab5fa791ac1546140f2a8df86d632d8fd6a
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Sat May 28 15:45:18 2011 +0200

    Fix libfdt warnings on Darwin
    
    Building with libfdt results in the following warnings on Mac OS X:
    
      CC    ppc-softmmu/device_tree.o
    In file included from /Users/andreas/QEMU/latest64/include/libfdt.h:54,
                     from /Users/andreas/QEMU/qemu/device_tree.c:26:
    /Users/andreas/QEMU/qemu/libfdt_env.h:25:20: warning: endian.h: No such file or directory
    /Users/andreas/QEMU/qemu/libfdt_env.h:26:22: warning: byteswap.h: No such file or directory
    /Users/andreas/QEMU/qemu/libfdt_env.h:28:5: warning: "__BYTE_ORDER" is not defined
    /Users/andreas/QEMU/qemu/libfdt_env.h:28:21: warning: "__BIG_ENDIAN" is not defined
    
    Since QEMU's copy of libfdt_env.h only uses bswap_32() and bswap_64(),
    let QEMU's bswap.h take care of the headers and use its endianness define.
    
    Cc: Hollis Blanchard <hollis at penguinppc.org>
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Acked-by: Alexander Graf <agraf at suse.de>

commit d1722a27f552a22561104210e0afad4577878e53
Author: Alexandre Raymond <cerbere at gmail.com>
Date:   Sun May 29 18:22:48 2011 -0400

    configure: Fix check for fdatasync()
    
    Under Darwin, a symbol exists for the fdatasync() function, so that our
    link test succeeds. However _POSIX_SYNCHRONIZED_IO is set to '-1'.
    
    According to POSIX:2008, a value of -1 means the feature is not supported.
    A value of 0 means supported at compilation time, and a value greater 0
    means supported at both compilation and run time.
    
    Enable fdatasync() only if _POSIX_SYNCHRONIZED_IO is '>0'.
    
    Signed-off-by: Alexandre Raymond <cerbere at gmail.com>
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>

commit dfa5294fce3e035192b283fe0b6fd08be48d78da
Author: Alexandre Raymond <cerbere at gmail.com>
Date:   Sun May 29 18:22:50 2011 -0400

    Remove warning in printf due to type mismatch
    
    ----8<----
    qemu/target-lm32/translate.c: In function ‘gen_intermediate_code_internal’:
    qemu/target-lm32/translate.c:1135: warning: format ‘%zd’ expects type ‘signed size_t’, but argument 4 has type ‘int’
    ----8<----
    
    Both gen_opc_ptr and gen_opc_buf are "uint16_t *". The difference between
    pointers is a ptrdiff_t so printf needs '%td'.
    
    Signed-off-by: Alexandre Raymond <cerbere at gmail.com>
    Acked-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>

commit 9851484f3d4afea83b46cc0974758ab756edfacd
Author: Alexandre Raymond <cerbere at gmail.com>
Date:   Sun May 29 18:22:49 2011 -0400

    Cocoa: avoid displaying window when command-line contains '-h' or '-help'
    
    There was already a check in place to avoid displaying a window
    in certain modes such as vnc, nographic or curses.
    
    Add a check for '-h' and '-help' to avoid displaying a window for a split-
    second before showing the usage information.
    
    Signed-off-by: Alexandre Raymond <cerbere at gmail.com>
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>

commit d9cbb0f3ed0e3a185a61a18de856d51cf7789bf5
Author: Alexandre Raymond <cerbere at gmail.com>
Date:   Fri May 27 13:22:28 2011 -0400

    Fix compilation warning due to incorrectly specified type
    
    In audio/coreaudio.c, a variable named "str" was assigned "const char" values,
    which resulted in the following warnings:
    
    -----8<-----
    audio/coreaudio.c: In function ‘coreaudio_logstatus’:
    audio/coreaudio.c:59: warning: initialization discards qualifiers from pointer target type
    audio/coreaudio.c:63: warning: assignment discards qualifiers from pointer target type
    (...)
    -----8<-----
    
    Signed-off-by: Alexandre Raymond <cerbere at gmail.com>
    Acked-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>

commit e4ebcc1a37a7e66205f477a7d2805fb5d0ce3d3b
Author: Tristan Gingold <gingold at adacore.com>
Date:   Tue Mar 15 14:18:22 2011 +0100

    cocoa: do not create a spurious window for -version
    
    When invoked with -version, qemu will exit just after displaying the version,
    so there is no need to create a window.
    Also handles --XXX options.
    
    Signed-off-by: Tristan Gingold <gingold at adacore.com>
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>

commit 0b862cedf36d927818c50584ddd611b0370673df
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Jun 9 22:54:29 2011 +0100

    configure: Detect and don't try to use older libcurl
    
    Older versions of libcurl don't have some of the features we try to
    use, in particular curl_multi_setopt(). Check for this in the 'is
    libcurl available?' configure test so we disable curl support if the
    library is too old.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 5f04e36882ab958b5a2e5f5153609921d03dd7d5
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Jun 9 11:43:12 2011 +0100

    Changelog: Add explanatory note that this file is no longer updated
    
    Add an explanatory note to the top of Changelog pointing at the
    wiki and git history for changelogs for more recent releases.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit caef55ed14db20b5764453b02390f1f4179698ff
Author: Brad Hards <bradh at frogmouth.net>
Date:   Thu Jun 9 07:50:43 2011 +1000

    doc: Minor typo fix.
    
    Thanks to agraf_, stefanha and Snader_LB for their IRC assistance.
    
    Thanks to Markus Armbruster and Alexander Graf (again) for their
    assistance with the second version of this patch. No patch is too
    simple to test...
    
    Signed-off-by: Brad Hards <bradh at frogmouth.net>
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 09716e45a05cc0c93bcf55bd0c0888dd678e490f
Author: Alexander Graf <agraf at suse.de>
Date:   Thu Jun 9 00:55:37 2011 +0200

    sigfd: use pthread_sigmask
    
    Qemu uses signalfd to figure out, if a signal occured without the need
    to actually receive the signal. Instead, it can read from the fd to receive
    its news.
    
    Now, we obviously don't always have signalfd around. Especially not on
    non-Linux systems. So what we do there is that we create a new thread,
    block that thread on all signals and simply call sigwait to wait for a
    signal we're interested in to occur.
    
    This all sounds great, but what we're really doing is:
    
        sigset_t all;
    
        sigfillset(&all);
        sigprocmask(SIG_BLOCK, &all, NULL);
    
    which - on Darwin - blocks all signals on the current _process_, not only
    on the current thread. To block signals on the thread, we can use
    pthread_sigmask().
    
    This patch does that, assuming that my above analysis is correct, and thus
    renders Qemu useable on Darwin again.
    
    Reported-by: Andreas Färber <andreas.faerber at web.de>
    Acked-by: Paolo Bonizni <pbonzini at redhat.com>
    CC: Jan Kiszka <jan.kiszka at siemens.com>
    CC: Anthony Liguori <anthony at codemonkey.ws>
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 448293961f889d635295ad5b1ecc57ce267801ba
Merge: 1c532d92ab9bc2a8180296d7abe14f29d762f612 3b4fefd6e65a7bdb994d10a9fa36c19b5749b502
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Fri Jun 10 22:21:14 2011 +0200

    Merge remote branch 'rth/axp-next' into alpha-merge
    
    * rth/axp-next: (26 commits)
      target-alpha: Implement TLB flush primitives.
      target-alpha: Use a fixed frequency for the RPCC in system mode.
      target-alpha: Trap for unassigned and unaligned addresses.
      target-alpha: Remap PIO space for 43-bit KSEG for EV6.
      target-alpha: Implement cpu_alpha_handle_mmu_fault for system mode.
      target-alpha: Implement more CALL_PAL values inline.
      target-alpha: Disable interrupts properly.
      target-alpha: All ISA checks to use TB->FLAGS.
      target-alpha: Swap shadow registers moving to/from PALmode.
      target-alpha: Implement do_interrupt for system mode.
      target-alpha: Add IPRs to be used by the emulation PALcode.
      target-alpha: Use kernel mmu_idx for pal_mode.
      target-alpha: Add various symbolic constants.
      target-alpha: Use do_restore_state for arithmetic exceptions.
      target-alpha: Tidy up arithmetic exceptions.
      target-alpha: Tidy exception constants.
      target-alpha: Enable the alpha-softmmu target.
      target-alpha: Rationalize internal processor registers.
      target-alpha: Merge HW_REI and HW_RET implementations.
      target-alpha: Cleanup MMU modes.
      ...

commit 1c532d92ab9bc2a8180296d7abe14f29d762f612
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Fri Jun 10 15:29:11 2011 +0200

    fsdev: Fix archs that dont use fsdev
    
    Fix provided by: "Aneesh Kumar K.V" <aneesh.kumar at linux.vnet.ibm.com>
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 924f766af9be3ff036a419fc85ed740aa01f8eac
Merge: 93e0597ef9fa266756c30e61fafe4b70fc7ce6a6 37628f11c6b190ebb3082938868aadb23942ee3a
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 8 12:16:24 2011 -0500

    Merge remote-tracking branch 'qmp/for-anthony' into staging

commit 93e0597ef9fa266756c30e61fafe4b70fc7ce6a6
Merge: ac779fe2334ebea5d4a365b053d786f7748a1db5 5c3234c6c037943bd4c2d643a1b8cc35f563dbdb
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 8 12:15:43 2011 -0500

    Merge remote-tracking branch 'jvrao/for-anthony' into staging

commit ac779fe2334ebea5d4a365b053d786f7748a1db5
Merge: 13748cf499fbd93468e7103c0866e073a666f270 212496c98219df17913f3157a7bf85575b32384f
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 8 12:15:11 2011 -0500

    Merge remote-tracking branch 'spice/spice.v37' into staging
    
    Conflicts:
    	vl.c

commit 13748cf499fbd93468e7103c0866e073a666f270
Merge: 99cce9fa4e091fd7ead1926e1c0db016ef293f36 7665385a8580ee5cea2cae44e1b58d6d7518a156
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 8 12:13:58 2011 -0500

    Merge remote-tracking branch 'stefanha/trivial-patches' into staging

commit 99cce9fa4e091fd7ead1926e1c0db016ef293f36
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue May 31 15:01:46 2011 +0200

    qemu-img create: Fix displayed default cluster size
    
    When not specifying a cluster size on the command line, qemu-img printed
    a cluster size of 0:
    
        Formatting '/tmp/test.qcow2', fmt=qcow2 size=67108864
        encryption=off cluster_size=0
    
    This patch adds the default cluster size to the QEMUOptionParameter list, so
    that it displays the default value that is used.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit d220894e025ea85d604a2cdc1eef541ed516728e
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jun 1 14:03:31 2011 +0200

    bdrv_img_create: Fix segfault
    
    Block drivers that don't support creating images don't have a size option. Fail
    gracefully instead of segfaulting when trying to access the option's value.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 80fa3341a70151d250be92ae900e3c1580817540
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jun 1 10:50:00 2011 +0200

    qcow2: Fix memory leaks in error cases
    
    This fixes memory leaks that may be caused by I/O errors during L1 table growth
    (can happen during save_vm) and in qemu-img check.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 30cdc48cc8c9ad28e1b95460021d0c121b3ed4f4
Author: Josh Durgin <josh.durgin at dreamhost.com>
Date:   Thu May 26 16:07:34 2011 -0700

    rbd: Add bdrv_truncate implementation
    
    Reviewed-by: Christian Brunner <chb at muc.de>
    Signed-off-by: Josh Durgin <josh.durgin at dreamhost.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 51a135287ae6be62d54d7ac2a99e647cbab1a828
Author: Josh Durgin <josh.durgin at dreamhost.com>
Date:   Thu May 26 16:07:33 2011 -0700

    rbd: check return values when scheduling aio
    
    If scheduling fails, the number of outstanding I/Os must be correct,
    or there will be a hang when waiting for everything to be flushed.
    
    Reviewed-by: Christian Brunner <chb at muc.de>
    Reported-by: Stefan Hajnoczi <stefanha at gmail.com>
    Signed-off-by: Josh Durgin <josh.durgin at dreamhost.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit fab5cf592c36a00124018604abc24f4000e07690
Author: Josh Durgin <josh.durgin at dreamhost.com>
Date:   Thu May 26 16:07:32 2011 -0700

    rbd: allow configuration of rados from the rbd filename
    
    The new format is rbd:pool/image[@snapshot][:option1=value1[:option2=value2...]]
    Each option is used to configure rados, and may be any Ceph option, or "conf".
    The "conf" option specifies a Ceph configuration file to read.
    
    This allows rbd volumes from more than one Ceph cluster to be used by
    specifying different monitor addresses, as well as having different
    logging levels or locations for different volumes.
    
    Reviewed-by: Christian Brunner <chb at muc.de>
    Signed-off-by: Josh Durgin <josh.durgin at dreamhost.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit ad32e9c003647142d08dfce450eafa0ab7887d10
Author: Josh Durgin <josh.durgin at dreamhost.com>
Date:   Thu May 26 16:07:31 2011 -0700

    rbd: use the higher level librbd instead of just librados
    
    librbd stacks on top of librados to provide access
    to rbd images.
    
    Using librbd simplifies the qemu code, and allows
    qemu to use new versions of the rbd format
    with few (if any) changes.
    
    Reviewed-by: Christian Brunner <chb at muc.de>
    Signed-off-by: Josh Durgin <josh.durgin at dreamhost.com>
    Signed-off-by: Yehuda Sadeh <yehuda at hq.newdream.net>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit d1f6fd8d1400ab356aee776b1ecc3ed1e89dbeaa
Author: Christoph Egger <Christoph.Egger at amd.com>
Date:   Mon May 23 14:31:17 2011 +0200

    block/raw-posix: get right partition size
    
    use the correct way to get the size of a disk device or partition
    
    From: Adam Hamsik <haad at netbsd.org>
    Signed-off-by: Christoph Egger <Christoph.Egger at amd.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 1de1ae0a7d956b3c87712bf2c09d277f99873f4c
Author: Christoph Egger <Christoph.Egger at amd.com>
Date:   Tue May 24 11:30:29 2011 +0200

    block/raw-posix: use a character device if a block device is given
    
    On NetBSD a userland process is better with the character device
    interface. In addition, a block device can't be opened twice; if a Xen
    backend opens it, qemu can't and vice-versa.
    
    Signed-off-by: Christoph Egger <Christoph.Egger at amd.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 16372ff03d71c7ed3283f0e873ea0727a35810a9
Author: Alexander Graf <agraf at suse.de>
Date:   Wed May 25 00:46:55 2011 +0200

    vmdk: fix endianness bugs
    
    The vmdk code is sloppy when handling the header descriptor during
    creation of an image. Fix all header accesses in the create path to
    either store native endianness or convert it when appropriate.
    
    Reported-by: Yury Tsarev <ytsarev at novell.com>
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit a659979328fb6d4d6100d398f5bd9a2310c3e169
Author: Christoph Hellwig <hch at lst.de>
Date:   Tue May 17 18:04:06 2011 +0200

    block: clarify the meaning of BDRV_O_NOCACHE
    
    Change BDRV_O_NOCACHE to only imply bypassing the host OS file cache,
    but no writeback semantics.  All existing callers are changed to also
    specify BDRV_O_CACHE_WB to give them writeback semantics.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 69c38b8fcec823da05f98f6ea98ec2b0013d64e2
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Thu May 19 16:42:24 2011 +0200

    ide/core: Remove explicit setting of BM_STATUS_INT
    
    BM_STATUS_INT is automatically set during ide_set_irq(), there's no reason to
    set it manually in addition.
    
    There is even one case where the interrupt status bit was set, but no IRQ was
    raised. This is when the PRD table was reached but there is more data to
    transfer. The correct behaviour for this case is not to set BM_STATUS_INT.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 7665385a8580ee5cea2cae44e1b58d6d7518a156
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Tue Apr 26 01:32:08 2011 +0000

    virtio: Move virtio-pci to hw library
    
    This module has no target dependencies (except for target_phys_addr_t
    size) and can thus be built as part of libhw.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Reviewed-by: Aurelien Jarno <aurelien at aurel32.net>
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>

commit 8001c294f878966c0a9efe2e811d56d3f5a7da69
Author: Martin Simmons <martin at lispworks.com>
Date:   Mon Jun 6 15:49:17 2011 +0100

    target-i386: Make x86 mfence and lfence illegal without SSE2
    
    While trying to use qemu -cpu pentium3 to test for incorrect uses of certain
    SSE2 instructions, I found that QEMU allowed the mfence and lfence
    instructions to be executed even though Pentium 3 doesn't support them.
    
    According to the processor specs (and experience on a real Pentium 3), these
    instructions are only available with SSE2, but QEMU is checking for SSE.  The
    check for the related sfence instruction is correct (it works with SSE).
    
    This trival patch fixes the test.
    
    Signed-off-by: Martin Simmons <martin at lispworks.com>
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>

commit 351326a61842f3d4e7ed34d89b7d0f952f0af039
Author: Laurent Vivier <laurent at vivier.eu>
Date:   Fri Mar 25 09:36:36 2011 +0000

    m68k: Replace gen_im32() by tcg_const_i32()
    
    Signed-off-by: Laurent Vivier <laurent at vivier.eu>
    Reviewed-by: Andreas Färber <andreas.faerber at web.de>
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>

commit a9899996c8bc8eb7686f64207ef2ce1137dd125b
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Jun 4 07:25:59 2011 +0200

    slirp: fix guestfwd id
    
    When using -net user,guestfwd=... Qemu immediately complains about the id
    being in invalid format. This is because we pass in an id that contains a
    colon, while the id restrictions don't allow colons.
    
    This patch changes the colon into a dot, making guestfwd work again.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>

commit 9bf0960a9adb93c38b879a2114f6c67e30427307
Author: Alexandre Raymond <cerbere at gmail.com>
Date:   Thu Jun 2 23:26:49 2011 -0400

    Fix compilation warning due to missing header for sigaction (followup)
    
    This patch removes all references to signal.h when qemu-common.h is included
    as they become redundant.
    
    Signed-off-by: Alexandre Raymond <cerbere at gmail.com>
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>

commit 86f69a92b163dac5ee230c8a109c3e8f37f13d38
Author: Alexandre Raymond <cerbere at gmail.com>
Date:   Wed Jun 1 22:21:30 2011 -0400

    Fix compilation warning due to missing header for sigaction
    
    Fix the following warning by including signal.h directly in qemu-common.h
    ----8<----
    iohandler.c: In function ‘qemu_init_child_watch’:
    iohandler.c:172: warning: implicit declaration of function ‘sigaction’
    iohandler.c:172: warning: nested extern declaration of ‘sigaction’
    ----8<----
    
    Signed-off-by: Alexandre Raymond <cerbere at gmail.com>
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>

commit a90d4690074526f54ad0851fce19fa6783f06803
Author: Glauber Costa <glommer at redhat.com>
Date:   Mon May 16 15:45:08 2011 -0300

    Add an isa device for SGA
    
    This patch adds a dummy legacy ISA device whose responsibility is to
    deploy sgabios, an option rom for a serial graphics adapter.
    The proposal is that this device is always-on when -nographics,
    but can otherwise be enable in any setup when -device sga is used.
    
    [v2: suggestions on qdev by Markus ]
    [v3: cleanups and documentation, per list suggestions ]
    
    Signed-off-by: Glauber Costa <glommer at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c1990ebfa11265d3aa9b6a4d5d1a02bd3f9ac5c6
Author: Michael Roth <mdroth at linux.vnet.ibm.com>
Date:   Wed Jun 1 12:15:00 2011 -0500

    json-parser: add handling for NULL token list
    
    Currently a NULL token list will crash the parser, instead we have it
    pass back a NULL QObject.
    
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5e2dafeb198ba095ea784a97b44011ce2ed03511
Author: Michael Roth <mdroth at linux.vnet.ibm.com>
Date:   Wed Jun 1 12:14:59 2011 -0500

    json-streamer: add handling for JSON_ERROR token/state
    
    This allows a JSON_ERROR state to be passed to the streamer to force a
    flush of the current tokens and pass a NULL token list to the parser
    rather that have it churn on bad data. (Alternatively we could just not
    pass it to the parser at all, but it may be useful to push there errors
    up the stack. NULL token lists are not currently handled by the parser,
    the next patch will address that)
    
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b011f61931f0113b29b7cd7e921dd022e0b04834
Author: Michael Roth <mdroth at linux.vnet.ibm.com>
Date:   Wed Jun 1 12:14:58 2011 -0500

    json-lexer: make lexer error-recovery more deterministic
    
    Currently when we reach an error state we effectively flush everything
    fed to the lexer, which can put us in a state where we keep feeding
    tokens into the parser at arbitrary offsets in the stream. This makes it
    difficult for the lexer/tokenizer/parser to get back in sync when bad
    input is made by the client.
    
    With these changes we emit an error state/token up to the tokenizer as
    soon as we reach an error state, and continue processing any data passed
    in rather than bailing out. The reset token will be used to reset the
    tokenizer and parser, such that they'll recover state as soon as the
    lexer begins generating valid token sequences again.
    
    We also map chr(192,193,245-255) to an error state here, since they are
    invalid UTF-8 characters. QMP guest proxy/agent will use chr(255) to
    force a flush/reset of previous input for reliable delivery of certain
    events, so also we document that thoroughly here.
    
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bd3924a33a66c40065a8fa73b4d7a27aca3b0e04
Author: Michael Roth <mdroth at linux.vnet.ibm.com>
Date:   Wed Jun 1 12:14:57 2011 -0500

    json-lexer: fix flushing logic to not always go to error state
    
    Currently we flush the lexer by passing in a NULL character. This
    generally forces the lexer to go to the corresponding TERMINAL() state
    for whatever token type it is currently parsing, emits the token to the
    parser, then puts the lexer back into IN_START state. However, since a
    NULL character causes char_consumed to be 0, we always do a second pass
    after this, which puts us in the IN_ERROR state. Fix this behavior by
    adding a "flush" flag that tells the lexer not to do a more than 1
    iteration.
    
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 529a0ef5f30e28a801d6527a3556adcaa4959669
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 1 12:14:56 2011 -0500

    json-lexer: reset the lexer state on an invalid token
    
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 11e8a46cc3594567c6ba9b745f8f1b7d50be5b75
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 1 12:14:55 2011 -0500

    json-parser: detect premature EOI
    
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit eca7db46ff8f24a70f4040af3e941dc19fd33ebe
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 1 12:14:54 2011 -0500

    json-streamer: make sure to reset token_size after emitting a token list
    
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 29c75ddd87ff7904005da08ff1056395261d90f1
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 1 12:14:53 2011 -0500

    json-streamer: limit the maximum recursion depth and maximum token count
    
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 325601b47b64b33cbe237508df2037e195795497
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 1 12:14:52 2011 -0500

    json-lexer: limit the maximum size of a given token
    
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 55f8301f7665eeef6d454cf4843c3f67b067f357
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 1 12:14:51 2011 -0500

    json-streamer: allow recovery after bad input
    
    Once we detect a malformed message, make sure to reset our state.
    
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ef749d07e717ca38b7d8b525c81d6b04db5f16ed
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 1 12:14:50 2011 -0500

    json-parser: propagate error from parser
    
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d5ec4f27c387c3b3200abb8656343b2519ea3047
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Jun 1 12:14:49 2011 -0500

    Introduce the new error framework
    
    New error-handling framework that allows for exception-like error
    propagation.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 87c2f59166b7ec5b3ce44b5c4a2337c07a78e533
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Jun 1 12:14:48 2011 -0500

    QError: Introduce qerror_format()
    
    Will be used by new error propagation framework to convert Error objects
    into human-readable form.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a12eeaaa4fdaed9ed4a92f337b5f3c8a5a3fb946
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Jun 1 12:14:47 2011 -0500

    QError: Introduce qerror_format_desc()
    
    Refactor non-QError-specific bits out of qerror_human() into general
    function that can be used by the error_get_pretty() analogue in the
    new error-propagation framework.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Michael Roth <mdroth at linux.vnet.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 23bf93b215b48bab4a9739d6300ec533773588e8
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Jun 7 10:34:31 2011 +0200

    docs: qdev-device-use.txt has become stale, update it
    
    Document more bus addresses.
    
    Update for bugs fixed.
    
    Describe where exactly the -drive options go.
    
    Update for recent split of qdev ide-drive into ide-{cd,hd},
    scsi-disk into scsi-{cd,hd}.
    
    Document scsi-hd's removable property only for usb-storage, because
    that's where it's used.
    
    Fix description of -global isa.fdc.
    
    Document usb-storage lossage.
    
    Clean up misleading description of network device's split into guest
    and host part.
    
    Document -vga's machine dependence.
    
    New qdevs: virtconsole, qxl-vga, isa-vga, intel-hda, usb-ccid
    
    Update for changed pci-assign property iommu.
    
    New section "Default Devices".
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0826c7105aea1d3fd5d4448dee6e63f5d3ee2cff
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Jun 7 10:34:30 2011 +0200

    isa-vga: Make available with -device, like the other VGA qdevs
    
    Switch no_user off and make it suppress the default VGA.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a16c53b101a9897b0b2be96a1bb3bde7c04380f2
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Jun 6 08:25:06 2011 -0500

    Fix regression introduced by -machine accel=
    
    Commit 85097db6 changed the timing when kvm_allowed is set until after
    kvm is initialized.  During initialization, the ioeventfd initialization code
    checks kvm_enabled() and after this change, ioeventfd is effectively disabled.
    
    This causes a significant regression in performance.
    
    Fix this by setting kvm_allowed before calling init.
    
    Reported-by: Khoa Huynh <khoa at us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 25f3151ece1d5881826232bebccc21b588d4e03e
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue May 31 10:51:11 2011 -0500

    timer: drop HPET and RTC
    
    dynticks will provide equally good timer granularity on all modern Linux
    systems.  This is more or less dead code these days.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5c3234c6c037943bd4c2d643a1b8cc35f563dbdb
Author: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
Date:   Wed Jun 1 12:35:14 2011 +0530

    hw/9pfs: Don't crash when we get a request with not supported 9p operation
    
    Return EOPNOTSUPP as error
    
    Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
    Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao at linux.vnet.ibm.com>

commit faa44e3d3e986f29579e0d0d07b7aef771184e8c
Author: Venkateswararao Jujjuri (JV) <jvrao at linux.vnet.ibm.com>
Date:   Wed Jun 1 12:35:14 2011 +0530

    [virtio-9p] Make rpath thread safe
    
    Current rpath inline function is heavily used in all system calls.
    This function has a static buffer making it a non-thread safe function.
    This patch introduces new thread-safe routine and makes use of it.
    
    Signed-off-by: Venkateswararao Jujjuri "<jvrao at linux.vnet.ibm.com>

commit 873c32139354caef3cc1013f00963cc740a6a727
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Wed Jun 1 12:35:14 2011 +0530

    virtio-9p: Use relative includes for files in hw
    
    Commit 353ac78d495ef976242abd868f68d78420861c2c moved the files
    without fixing the include paths. It used a modified CFLAGS
    to add hw to the include search path, but this breaks builds
    where the user wants to set special CFLAGS. Long include paths
    also increase compilation time.
    
    Therefore this patch removes the special CFLAGS for virtio
    and fixes the include statements by using relative include paths.
    
    v2: Remove special CFLAGS.
    v3: Update needed for latest QEMU.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao at linux.vnet.ibm.com>

commit f4f61d272e26ca34612c05070dfbda86dc00298b
Author: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
Date:   Wed Jun 1 12:35:13 2011 +0530

    virtio-9p: Move device specific code to virtio-9p-device
    
    Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
    Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao at linux.vnet.ibm.com>

commit 9fe1ebebd0c427fd9b3d1ffffa77a9969d873d93
Author: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
Date:   Wed Jun 1 12:35:13 2011 +0530

    virtio-9p: Move 9p device registration into virtio-9p.c
    
    This patch move the 9p device registration into its own file
    
    Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
    Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao at linux.vnet.ibm.com>

commit 1c88c71564bb6e6554f8aad16c7be1bf2a57c89b
Author: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
Date:   Wed Jun 1 12:35:13 2011 +0530

    virtio-9p: Don't link to 9p if virtio is not enabled
    
    If virtio is not enabled then we should not pull in
    virtfs files
    
    Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
    Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao at linux.vnet.ibm.com>

commit 936532a4928ce6c95de5718974f6c987aaad7b68
Author: Malahal Naineni <malahal at us.ibm.com>
Date:   Wed Jun 1 12:35:11 2011 +0530

    [virtio-9p] Stop renaming files with similar name!
    
    v9fs_complete_rename() mistakenly renames files with similar name
    as we don't check if the matched name is really an offspring.
    
    Signed-off-by: Malahal Naineni <malahal at us.ibm.com>
    Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao at linux.vnet.ibm.com>

commit 37628f11c6b190ebb3082938868aadb23942ee3a
Author: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
Date:   Wed May 25 19:48:01 2011 +0100

    QMP: add server mode to QEMUMonitorProtocol
    
    QEMU supports socket chardevs that establish connections like a server
    or a client.  The QEMUMonitorProtocol class only supports connecting as
    a client.  It is not possible to connect race-free when launching QEMU
    since trying to connect before QEMU has bound and is listening on the
    socket results in failure.
    
    Add the QEMUMonitorProtocol(server=True) argument to bind and listen on
    the socket.  The QEMU process can then be launched and connects to the
    already existing QMP socket without a race condition:
    
      qmp = qmp.QEMUMonitorProtocol(monitor_path, server=True)
      popen = subprocess.Popen(args)
      qmp.accept()
    
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit 91b8eddf41fd62ecbc61cb901c40f50287126fac
Author: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
Date:   Wed May 25 19:48:00 2011 +0100

    QMP: add get_events(wait=True) option
    
    The get_events() function polls for new QMP events and then returns.  It
    can be useful to wait for the next QMP event so add the boolean 'wait'
    keyword argument.
    
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit e9b4b432e781863869b074d46966bfa0bd672b8f
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Fri Apr 29 12:11:50 2011 -0300

    HMP: Use QMP inject nmi implementation
    
    This **CHANGES** the human monitor "nmi" command behavior.
    
    Currently it accepts an CPU argument which, when provided, will send
    the NMI to the specified CPU. This feature is of discussable value
    though and HMP shouldn't have more features than QMP, so let's use
    QMP's instead (it's also simpler).
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit a404666457b54142d6cfe8302bcded9be4cda379
Author: Lai Jiangshan <laijs at cn.fujitsu.com>
Date:   Mon Mar 7 17:05:15 2011 +0800

    QMP: add inject-nmi qmp command
    
    inject-nmi command injects an NMI on all CPUs of guest.
    It is only supported for x86 guest currently, it will
    returns "Unsupported" error for non-x86 guest.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit 4c5a1e4db7c68b0e7edf5687dc10beeb776bad9f
Author: Lai Jiangshan <laijs at cn.fujitsu.com>
Date:   Mon Mar 7 17:05:04 2011 +0800

    QMP: QError: New QERR_UNSUPPORTED
    
    New QERR_UNSUPPORTED for unsupported commands or requests.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit 3dc769ab43fb4f0e552ecae7ed4414e2b7b77c4b
Author: Yang, Wei Y <wei.y.yang at intel.com>
Date:   Mon May 30 23:17:42 2011 +0800

    kvm: Enable CPU SMEP feature
    
    This patchset enables a new CPU feature SMEP (Supervisor Mode Execution
    Protection) in QEMU-KVM. SMEP prevents kernel from executing code in application.
    Updated Intel SDM describes this CPU feature. The document will be published soon.
    
    SMEP is identified by CPUID leaf 7 EBX[7], which is 0 before. Get the right value by query KVM kernel module, so that guest can get SMEP through CPUID.
    
     Signed-off-by: Yang, Wei <wei.y.yang at intel.com>
     Singed-off-by: Shan, Haitao <haitao.shan at intel.com>
     Singed-off-by: Li, Xin <xin.li at intel.com>
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 2d5f20b5f055109c4ccfd1dbf22a100be0b03491
Author: brillywu at viatech.com.cn <brillywu at viatech.com.cn>
Date:   Wed Jun 1 09:59:52 2011 +0800

    kvm: Add CPUID support for VIA CPU
    
    When KVM is running on VIA CPU with host cpu's model, the
    feautures of VIA CPU will be passed into kvm guest by calling
    the CPUID instruction for Centaur.
    
    Signed-off-by: BrillyWu<brillywu at viatech.com.cn>
    Signed-off-by: KaryJin<karyjin at viatech.com.cn>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 3b4fefd6e65a7bdb994d10a9fa36c19b5749b502
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Apr 18 20:01:20 2011 -0700

    target-alpha: Implement TLB flush primitives.
    
    Expose these via MTPR, more or less like the real HW does.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit e5214853eac8f86aca2f5493e7171d6f36ddde38
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Apr 18 19:53:31 2011 -0700

    target-alpha: Use a fixed frequency for the RPCC in system mode.
    
    Also include the PCC_OFS in the return value.  For user mode we
    can pretend the PCC_OFS value is always zero.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 5b4504079a3bc37f85cce44e77c347e9ec742307
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Apr 18 16:13:12 2011 -0700

    target-alpha: Trap for unassigned and unaligned addresses.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit fa6e0a6354539582ae98c232982070d99ea14770
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Apr 27 09:22:18 2011 -0700

    target-alpha: Remap PIO space for 43-bit KSEG for EV6.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit a3b9af162468674cd4bb6e1c7671d7bdabd8699c
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Apr 18 15:59:21 2011 -0700

    target-alpha: Implement cpu_alpha_handle_mmu_fault for system mode.
    
    Reads the page table how PALcode would, except that the virtual
    page table base register is not used.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 2ace7e55a2b3bdf6a373e5809459a720f71851cf
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon May 23 13:09:00 2011 -0700

    target-alpha: Implement more CALL_PAL values inline.
    
    In particular, SWPIPL is used quite a lot by the Linux kernel.
    Doing this inline makes it significantly easier to step through
    without the debugger getting confused by the mode switch.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 6a80e088c70b88f844ed90b78f4ce987c43ec522
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Apr 18 15:09:09 2011 -0700

    target-alpha: Disable interrupts properly.
    
    Interrupts are disabled in PALmode, and when the PS IL is high enough.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit a18ad89351dd6c828b7fe33fafd1764cef61a40d
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon May 23 12:30:22 2011 -0700

    target-alpha: All ISA checks to use TB->FLAGS.
    
    We had two different methods in use, both of which referenced ENV,
    and neither of which indicated to the generic code when different
    compilation modes are not compatible.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 21d2beaaef6f99f14022fad98fe2ab189fc1c657
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Apr 18 14:07:59 2011 -0700

    target-alpha: Swap shadow registers moving to/from PALmode.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 3a6fa678bf67d94e7b07a42de5b2f66a2fb1c635
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Apr 18 14:05:35 2011 -0700

    target-alpha: Implement do_interrupt for system mode.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 26b46094478a347e65d3b1cbdb60f069d259a965
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon May 23 12:12:29 2011 -0700

    target-alpha: Add IPRs to be used by the emulation PALcode.
    
    These aren't actually used yet, but we can at least access
    them via the HW_MFPR and HW_MTPR instructions.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit bba9bdcee8d4acc4e5f243f40d015a5a30493faa
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 20 14:14:44 2011 -0700

    target-alpha: Use kernel mmu_idx for pal_mode.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit ea879fc719b0756f1768f765ee3a5660ce05ca7b
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Apr 18 14:19:17 2011 -0700

    target-alpha: Add various symbolic constants.
    
    The EXC_M_* constants were being set for the EV6, not as set for
    the Unix kernel entry point.
    
    Use PS_USER_MODE instead of hard-coding access to the PS register.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 2d9671d391531a9bc3e79b8a7538dd06f3094623
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Apr 25 12:20:27 2011 -0700

    target-alpha: Use do_restore_state for arithmetic exceptions.
    
    This gets the PC right after an arithmetic exception.  Also tidies
    the code in the TLB fault handlers to use common code.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit b5f1aa64442409cca7a146f34fc0fd53ac8a3527
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Apr 18 13:19:28 2011 -0700

    target-alpha: Tidy up arithmetic exceptions.
    
    Introduce and use arith_excp, filling in the trap_arg[01] IPRs.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 07b6c13b09d2e00a95e83fa76630d7c0d16c10b3
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 20 14:04:57 2011 -0700

    target-alpha: Tidy exception constants.
    
    There's no need to attempt to match EXCP_* values with PALcode entry
    point offsets.  Instead, compress all the values to make for more
    efficient switch statements within QEMU.
    
    We will be doing TLB fill within QEMU proper, not within the PALcode,
    so all of the ITB/DTB miss, double fault, and access exceptions can
    be compressed to EXCP_MMFAULT.
    
    Compress all of the EXCP_CALL_PAL exceptions into one.
    Use env->error_code to store the specific entry point.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit b758aca1f6cdb175634812b79f5560c36c902d00
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 20 14:02:28 2011 -0700

    target-alpha: Enable the alpha-softmmu target.
    
    With all of the pre-existing code that would not compile gone,
    this is the earliest point at which the target can be enabled.
    
    There is no machine defined yet, so this will crash on startup.
    Enable the target anyway, to make sure that further compilation
    problems do not creep back in.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 129d8aa575b1a0c06b471a506c5a233bd270bff4
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 20 13:30:00 2011 -0700

    target-alpha: Rationalize internal processor registers.
    
    Delete all the code that tried to emulate the real IPRs of some
    unnamed CPU.  Replace those with just 3 slots that we can use to
    communicate trap information between the helper functions that
    signal exceptions and the OS trap handler.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 508b43eaf3dd179363557bf68e911ddea637e58b
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 20 13:21:15 2011 -0700

    target-alpha: Merge HW_REI and HW_RET implementations.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 8417845ee9dbb2881409bac75365099d17d1cc3d
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 20 13:11:25 2011 -0700

    target-alpha: Cleanup MMU modes.
    
    Don't bother including executive and supervisor modes.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit e52458fe29ac6f2c0edb17c3f78164200cd047b8
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 20 13:07:25 2011 -0700

    target-alpha: Fix system store_conditional
    
    This code contained typos, as it had never been compiled.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 2374e73edafff0586cbfb67c333c5a7588f81fd5
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 20 13:04:35 2011 -0700

    target-alpha: Fix translation of PALmode memory insns.
    
    All of the "raw" memory accesses should be "phys" instead.  Fix
    some confusion about argument ordering of the store routines.
    Fix the implementation of store-conditional.
    
    Delete the "alt-mode" helpers.  Because we only implement two
    mmu modes, let /a imply user-mode unconditionally.
    
    Leave some combinations of virt access without permission
    checks as unimplemented.  There are too many hoops through
    which to jump, and these insns will not be needed in the
    emulation palcode.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 352e48b0f492359559cb46f8b3222bac9c461ac4
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Apr 18 12:17:02 2011 -0700

    target-alpha: Remove partial support for palcode emulation.
    
    This code does not work, and will be replaced by a bios image.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit bf1b03fe182eb5a0df9ec6fc4121d8a36e1fdb97
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Apr 25 12:52:57 2011 -0700

    target-alpha: Single-step properly across branches.
    
    We were failing to generate EXC_DEBUG in the EXIT_PC_UPDATED path.
    This caused us not to stop at the instruction after a branch, but
    on the instruction afterward.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit b9bec751c8c8b08d8055da32306eb105db03031b
Author: Richard Henderson <rth at twiddle.net>
Date:   Sun Apr 10 10:31:20 2011 -0700

    target-alpha: Disassemble EV6 PALcode instructions.
    
    The QEMU emulation PALcode will use EV6 PALcode insns regardless
    of the "real" cpu instruction set being emulated.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 8d6df264f130a21d08cde320a9f3bccbdd7b532c
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 20 12:23:18 2011 -0700

    target-alpha: Claim ownership.
    
    I've been maintaining this port for a while now.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit e13e973eedba0a52b4b8b079c4b85cdc68b7b4f0
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue May 24 18:09:10 2011 +0200

    usb-ccid: Plug memory leak on qdev exit()
    
    ccid_initfn() allocates CCIDBus dynamically, but there is no exit
    callback to free it.
    
    Fix by getting rid of the allocation.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>

commit b7b8c61893f64416cf8b07a3192f25976d4a29eb
Author: Alon Levy <alevy at redhat.com>
Date:   Sun May 15 11:51:28 2011 +0300

    libcacard: add libcacard.la target
    
    No flag to configure is required. Instead, added a libcacard.la target that
    is not built by default, only when requested explicitly via:
    
    mkdir build
    cd build
    ../configure
    make libcacard.la
    make install-libcacard
    
    Uses libtool to do actual linking of object files and shared library, and
    installing. Tested only under linux, but supposed to work on other systems as
    well.
    
    If libtool isn't found you get a message complaining about that, only at build
    time (since it is not a default target I did not add a message at configure
    time).
    
    New build artifacts:
     .libs subdirectories (at <buildroot> and <buildroot>/libcacard)
     *.lo files (at same locations as the respective o files)
    
    Added %.lo : %.c rule that uses libtool.
    Updated clean rule to clean up those artifacts.
    Added specific rule to call dtrace with libtool wrapper (note that because of
    a current upstream dtrace bug fixed by systemtap b1568fd85 commit the -fPIC flag
    isn't actually passed on. still current dtrace+libtool produced object links fine).
    If libtool is missing any of the following targets will complain and exit 1:
     any subdir: *.lo
     root and libcacard: libcacard.la, libcacard-instsall
    
    Tested to link and load with all tracing backends.

commit aedce09e87cc0d4672fa6d318d577413342473a2
Author: Alon Levy <alevy at redhat.com>
Date:   Sun May 15 12:08:59 2011 +0300

    configure: add libdir and --libdir



More information about the Spice-commits mailing list