[Spice-commits] Changes to 'audio.2'

Gerd Hoffmann kraxel at kemper.freedesktop.org
Wed Oct 27 08:54:16 PDT 2010


New branch 'audio.2' available with the following commits:
commit b58c546329cc449dc12238d6fd7b06aa0734406f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Oct 20 17:43:12 2010 +0200

    Add Intel HD Audio support to qemu.
    
    This patch adds three devices to qemu:
    
    intel-hda
    	Intel HD Audio Controller, the PCI device.  Provides a HDA bus.
    	Emulates ICH6 at the moment.  Adding a ICH9 PCIE
    	variant shouldn't be hard.
    
    hda-duplex
    	HDA Codec.  Attaches to the HDA bus.  Supports 16bit stereo,
    	rates 16k -> 96k, playback, recording and volume control
    	(with CONFIG_MIXEMU=y).
    
    hda-output
    	HDA Codec without recording support.  Subset of the hda-duplex
    	codec.  Use this if you don't want your guests access your mic.
    
    Usage: add '-device intel-hda -device hda-duplex' to your command line.
    
    Tested guests:
     * Linux works.
     * Win7 works.
     * WinXP doesn't work.

commit d4ac623c2dfd7a0f8d536c8debae7f9d4c13daba
Author: H. Peter Anvin <hpa at linux.intel.com>
Date:   Fri Sep 10 14:47:56 2010 -0700

    Add support for a USB audio device model
    
    This brings a usb audio device to qemu.  Output only, fixed at
    16bit stereo @ 480000 Hz.  Based on a patch from
    H. Peter Anvin <hpa at linux.intel.com>
    
    Usage: add '-device usb-audio' to your qemu command line.
    
    Works sorta ok on a idle machine.  Known issues:
    
     * Is *very* sensitive to latencies: when the uhci emulation misses one
       of the usb frame rate wakeups (1k/sec!) you'll loose/delay data from
       the audio stream, resulting in dropouts.
     * Also seems to not play very well with the usb tablet (and/or usb hub,
       to be investigated).  Best try this as the only device on a usb bus.
     * Burns quite some CPU due to usb polling.
    
    In short:  It brings the qemu usb emulation to its limits.  Enjoy!

commit b7c2af6f7f1e9d322d133ae995a9cbbfe445b10b
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Oct 27 12:21:04 2010 +0200

    pa: tweak config
    
    Zap unused divisor field.
    Raise the buffer size default.

commit 638a9addb574c94257c70fbece1a68d596c0db73
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Oct 27 12:18:29 2010 +0200

    pa: setup buffer attrs
    
    Request reasonable buffer sizes from pulseaudio.  Without this
    pa_simple_write() can block quite long and lead to dropouts,
    especially with guests which use small audio ring buffers.

commit 3e2416fed2d83569b728446c1db3fea54f3a557f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Oct 27 12:16:29 2010 +0200

    pa: process 1/4 buffer max at once
    
    Limit the size of data pieces processed by the pulseaudio worker
    threads.  Never ever process more than 1/4 of the buffer at once.
    Data processing is less bulky then.

commit 28744c9a791a08160b2b8307971621ba599da6ab
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Oct 27 12:14:18 2010 +0200

    pa: allow processing buffer pieces
    
    Remove some state update dependencies between the pulseaudio worker
    threads and main thread.  The worker threads can process the buffer
    piecewise now.

commit 174b2877b0f6a607f994f7a5b9b9a36caaff5d75
Merge: 21bcc5907f4c4a8acffcda8b6662710784cba388 46c7fc182d990a373d6a9197a69ff05bba902005
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Oct 26 09:51:03 2010 -0500

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

commit 21bcc5907f4c4a8acffcda8b6662710784cba388
Merge: 758c309f0a5cb52441a1ee015566cf9cd96fa933 8c269b542c5bbbcd74c1664959b223d941a2893b
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Oct 26 09:50:58 2010 -0500

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

commit 758c309f0a5cb52441a1ee015566cf9cd96fa933
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Oct 25 16:06:45 2010 -0500

    seabios: Update to 0.6.1
    
     - 0ff9051 Update version to 0.6.1
     - 9c000e6 Support Samsung SE-S084 USB DVD drive (and probably many others)
     - eebe949 pciinit: remove unused variable, old_addr, in pci_set_io_region_addr().
     - 06644f4 Minor - indentation change to jpeg.c.
     - 2dcd9fa Enhance tools/readserial.py to support reading from a pipe.
     - 7ce09ae Make tools/transdump.py more resilient to unknown input.
     - 6039fc5 Update qemu_cfg_read to use "rep insb".
     - 9a01a9c Only show bootsplash during boot menu.
     - 5feb83c add write support to virtio-blk
     - 22f6378 Don't try to talk to APIC on 486
     - e2074bf Add ACPI SSDT/DSDT support for CPU hotplug.
     - eb6dc78 Add additional debug status messages to bootsplash code.
     - c8e4e88 Allow qemu to use bootsplash code via fwcfg interface.
     - 597040d Add tools/trandump.py tool for converting hexdump() output.
     - 48f5f8b Default bootsplash on (for coreboot users).
     - 8d85eb1 Autodetect video mode based on bootsplash jpeg dimensions.
     - b2b9d4a Rename "decdata" to "jpeg" in bootsplash - to be consistent with jpeg.c.
     - bbc4722 Breakup jpeg_decode into parsing and displaying phases.
     - 2976dd4 Avoid using BSS variables in jpeg.c.
     - cc9e1bf Add FUNC16() helper macro for converting a 16bit func to a segoff_s.
     - b4525a0 Handle unaligned sizes in iomemcpy().
     - 0e27e19 Cleanup bootsplash vesa signature detection.
     - cadaf0e Be sure to disable bootsplash on all BIOS boot cases.
     - 2641186 Add call16_int10 helper to bootsplash.c.
     - 6dc76f4 Don't do "double buffering" in bootsplash code.
     - 227dc3e Check that malloc succeeds in bootsplash code.
     - a576c9c Bootsplash fixes and cleanups.
     - 9fd4851 Minor - clarify bit logic in mptable.c.
     - abf31d3 Fix integer truncating bug in calc_future_timer().
     - 1d5c333 seabios: pciinit: fix 64bit bar initilization.
     - ae6924d Minor - introduce GDT_GRANLIMIT macro.
     - 0f78889 Avoid code addresses >64K in big real mode.
     - aec19c9 seabios: smm: move out piix4 specific smram logic to dev-i440fx.c
     - 08328e7 seabios: shadow: make device finding more generic.
     - 4c67f90 seabios: acpi: clean up of finding pm device.
     - fe54a53 seabios: acpi: split out piix4 pm logic.
     - d06afb4 seabios: acpi: move acpi definitions to acpi.h from acpi.c
     - 2f54bb4 seabios: acpi: move out endian conversion helper function.
     - 23173ac seabios: pci: introduce helper function to find device from table and initialize it.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c57c846a80f9306aa2c6cf7efdef45ed42723fac
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Oct 23 15:24:07 2010 +0000

    qemu-timer: move commonly used timer code to qemu-timer-common
    
    Move timer init functions to a new file, qemu-timer-common.c. Make other
    critical timer functions inlined to preserve performance in
    qemu-timer.c, also move muldiv64() (used by the inline functions)
    to qemu-timer.h.
    
    Adjust block/raw-posix.c and simpletrace.c to use get_clock() directly.
    Remove a similar/duplicate definition in qemu-tool.c.
    
    Adjust hw/omap_clk.c to include qemu-timer.h because muldiv64() is used
    there.
    
    After this change, tracing can be used also for user code and
    simpletrace on Win32.
    
    Cc: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Acked-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 2b2e59e6c95beff2248069b2b129ba8c92c5f4d3
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Oct 21 10:18:40 2010 +0200

    rewrite i386 tests Makefile
    
    1) compute path to i386 compiler from configure.  If it is found, run
    the i386 tests.  I use macros so that this approach could be applied
    for other arches as well.
    
    2) provide an easily extensible way to add tests
    
    Most tests fail, but at least "make test" does something meaningful.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 48118b020558bb4cde05894d9d8322a20cbb2f8d
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Oct 21 10:18:39 2010 +0200

    fix test_path
    
    path.c grew quite a few new dependencies (mostly via cutils.c),
    include them.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit e311248b6442827820bfc7340ea1401caee3a0f1
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Oct 21 10:18:38 2010 +0200

    make runcom compile on recent distributions
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f34f1fed71a6b63a243962b473a3b69358a07fa0
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Oct 21 10:18:37 2010 +0200

    disable test_enter on i386, it is broken
    
    Many other tests fail, but this has an infinite loop with both
    qemu-i386 and native execution (albeit on x86_64), so there is
    something more going on.  I'm not going to debug it now, so just
    disable the test.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 9517a9e6a550a141f6e60550e1cec65005273170
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Oct 21 10:18:36 2010 +0200

    unbreak "make" from vpath-built tests directory
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit e6c3b0f7c4c544b7e06b72fb7d9813bb80c8784b
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Oct 21 10:18:35 2010 +0200

    unbreak "make" from tests directory
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 5340c8a0f358f2dccf9b1a92da15c9f9fd25096f
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Oct 22 18:26:08 2010 +0000

    mips_fulong2e: fix ram allocation
    
    RAM registration used incorrect offset.
    
    Fix by using the offset obtained previously for this purpose.
    
    Spotted by GCC 4.6.0 20100925 warning, which is also avoided.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 2c80e42395bfe0bf291c082f9399431e1ff9d758
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Wed Oct 13 20:54:27 2010 +0200

    Replace remaining gcc format attributes by macro GCC_FMT_ATTR (format checking)
    
    Replace the remaining format attribute printf by macro
    GCC_FMT_ATTR which uses gnu_printf (if supported).
    
    v2
    * Removal of dyngen specific code is now done in a separate patch.
    * Handle attribute in new ui/spice-display.c, too.
    
    Cc: Blue Swirl <blauwirbel at gmail.com>
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 47b01cf3a16b9526f99084e99de13dfd9072882e
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Wed Oct 13 20:54:26 2010 +0200

    Remove special handling of system include files (no longer needed)
    
    The formerly used dyngen code did not work with
    system include files like stdio.h.
    
    Tests with Linux, OSX and Win32 show that this
    restriction is no longer needed.
    
    So we hopefully can remove that special piece of code.
    This results in cleaner code and allows better use of
    the new GCC_FMT_ATTR macro.
    
    Cc: Blue Swirl <blauwirbel at gmail.com>
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit dbb1413589512574519abcf52a9a7127ddc7844b
Merge: d03703c81a202cea156811e5dbc8e88627c19986 25d2e3613d159782b66f497184ebdcf3ccb686ab
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Oct 22 08:02:14 2010 -0500

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

commit 8c269b542c5bbbcd74c1664959b223d941a2893b
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Oct 20 13:17:30 2010 +0200

    virtio-blk: Respect werror option for flushes
    
    The werror option now affects not only write requests, but also flush requests.
    Previously, it was not possible to stop a VM on a failed flush.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit e2bcadadc35673223c1445152445d0c9b6887b9e
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Mon Oct 18 17:13:05 2010 +0200

    ide: Handle flush failure
    
    Instead of always assuming success for bdrv_aio_flush, actually do something
    with the error. This respects the werror option and accordingly ignores the
    error, reports it to the guest or stops the VM and retries after cont.
    
    Ignoring the error is trivial, obviously. For stopping the VM and retrying
    later old code can be reused, but we need to introduce a new status for "retry
    a flush". For reporting to the guest, fortunately the same action is required
    as for a failed read/write (status = DRDY | ERR, error = ABRT), so this code
    can be reused as well.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 6bcb1a79a31563f2c414e1bd35d044d6ab385011
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Mon Oct 18 17:10:49 2010 +0200

    ide: Factor ide_flush_cache out
    
    The next patch reuses this code, so put it in its own function.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit a18953fbe72ba553a564ba11fdda03aac41d4f38
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Thu Oct 14 15:46:04 2010 +0200

    qemu-img: Fix qemu-img convert -obacking_file
    
    The old -B option caused a backing file to be used for the converted image and
    to avoid copying clusters from the old backing file. When replaced with
    -obacking_file, qemu-img convert does assign the backing file to the new image,
    but it doesn't realize that it should avoid copying clusters from the backing
    file.
    
    This patch checks the -o options for a backing_file and applies the same logic
    as for -B in this case.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit a77cffe7e916f4dd28f2048982ea2e0d98143b11
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Sep 24 21:02:05 2010 +0200

    block: Use GCC_FMT_ATTR and fix a format error
    
    Adding the gcc format attribute detects a format bug
    which is fixed here.
    
    v2:
    Don't use type cast. BDRV_SECTOR_SIZE is unsigned long long,
    so %lld should be the correct format specifier.
    
    Cc: Blue Swirl <blauwirbel at gmail.com>
    Cc: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 191c2890ddc9626d35c9e432494e1699a8181025
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Thu Sep 16 13:18:08 2010 +0200

    qemu-io: New command map
    
    The new map command in qemu-io lists all allocated/unallocated areas in an
    image file.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 51ef67270b1d10e1fcf3de7368dccad1ba0bf9d1
Author: edison <edison at cloud.com>
Date:   Tue Sep 21 19:58:41 2010 -0700

    Copy snapshots out of QCOW2 disk
    
    In order to backup snapshots, created from QCOW2 iamge, we want to copy snapshots out of QCOW2 disk to a seperate storage.
    The following patch adds a new option in "qemu-img": qemu-img convert -f qcow2 -O qcow2 -s snapshot_name src_img bck_img.
    Right now, it only supports to copy the full snapshot, delta snapshot is on the way.
    
    Changes from V1: all the comments from Kevin are addressed:
    Add read-only checking
    Fix coding style
    Change the name from bdrv_snapshot_load to bdrv_snapshot_load_tmp
    
    Signed-off-by: Disheng Su <edison at cloud.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit a58b8d5401b6064d52113f243456115d046bdd12
Author: Christoph Hellwig <hch at lst.de>
Date:   Mon Oct 4 15:29:41 2010 +0200

    ide: set WCACHE supported in IDENTIFY data
    
    ATA does not only have the WCACHE enabled bit in identify word 85, but also
    a WCACHE supported bit in word 82.  While the Linux kernel is fine with the
    latter at least hdparm also needs the former before correctly displaying
    the cache settings.  There's also a non-zero chance other operating systems
    are more picky in their volatile write cache detection.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 9b036055ef65d0ab3236dfdb0d07828cea961133
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Mon Jun 14 15:15:03 2010 +0200

    qcow2: Remove old image creation function
    
    They have been #ifdef'd out by the previous patch.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit a9420734b617be43d075c55b980479411807512e
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Jun 11 21:37:37 2010 +0200

    qcow2: Simplify image creation
    
    Instead of doing lots of magic for setting up initial refcount blocks and stuff
    create a minimal (inconsistent) image, open it and initialize the rest with
    regular qcow2 functions.
    
    This is a complete rewrite of the image creation function. The old
    implementating is #ifdef'd out and will be removed by the next patch (removing
    it here would have made the diff unreadable because diff tries to find
    similarities when it's really a rewrite)
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 72893756e0da74fcb626c52dfff1fc6e9de84f0c
Author: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
Date:   Mon Oct 18 16:53:53 2010 +0100

    qcow2: Support exact L1 table growth
    
    The L1 table grow operation includes a size calculation that bumps up
    the new L1 table size in order to anticipate the size needs of vmstate
    data.  This helps reduce the number of times that the L1 table has to be
    grown when vmstate data is appended.
    
    This size overhead is not necessary during image creation,
    bdrv_truncate(), or snapshot goto operations.  In fact, existing
    qemu-iotests that exercise table growth are no longer able to trigger it
    because image creation preallocates an L1 table that is too large after
    changes to qcow_create2().
    
    This patch keeps the size calculation but also adds exact growth for
    callers that do not want to inflate the L1 table size unnecessarily.
    
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 46c7fc182d990a373d6a9197a69ff05bba902005
Author: Kusanagi Kouichi <slash at ac.auone-net.jp>
Date:   Wed Oct 20 18:00:01 2010 +0900

    monitor: Ignore "." and ".." when completing file name.
    
    Signed-off-by: Kusanagi Kouichi <slash at ac.auone-net.jp>
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit 945d3e6378fc639925370c62cb5e3d32b8f297c3
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Tue Oct 19 16:03:15 2010 +0200

    Fix test suite build with tracing enabled
    
    qemu_malloc instrumentations require linking against the trace objects.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Acked-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit e7a06af838a45be4f92e655fd4628e3351a09c98
Author: Jan Kiszka <jan.kiszka at web.de>
Date:   Sat Oct 16 19:42:43 2010 +0200

    Silence compiler warning in json test case
    
    This avoids
    
        error: zero-length gnu_printf format string
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit 7af72c24aed92bfb7ebc999ddd509c3d8c8b3f83
Author: Hidetoshi Seto <seto.hidetoshi at jp.fujitsu.com>
Date:   Thu Oct 14 09:51:02 2010 +0900

    Trivial fix for QMP/qmp-events.txt
    
    Fix example of STOP event that was just copy-and-pasted.
    
    Signed-off-by: Hidetoshi Seto <seto.hidetoshi at jp.fujitsu.com>
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit d03703c81a202cea156811e5dbc8e88627c19986
Author: Samuel Thibault <samuel.thibault at gnu.org>
Date:   Tue Oct 19 19:48:20 2010 +0200

    curses: Fix control-{@[\]^_} and ESC
    
    control-{@[\]^_} shouldn't get the 'a' - 'A' offset for correct
    translation. ESC is better simulated as escape key.
    
    Signed-off-by: Samuel Thibault <samuel.thibault at ens-lyon.org>
    Signed-off-by: Andrew Zaborowski <balrogg at gmail.com>

commit 25d2e3613d159782b66f497184ebdcf3ccb686ab
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Thu Oct 21 13:35:04 2010 -0200

    kvm: save/restore x86-64 MSRs on x86-64 kernels
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 384331a61a8ca42f32516ced20cb52470c5f6f57
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Thu Oct 21 13:35:03 2010 -0200

    kvm: writeback SMP TSCs on migration only
    
    commit 6389c45441269baa2873e6feafebd17105ddeaf6
    Author: Jan Kiszka <jan.kiszka at siemens.com>
    Date:   Mon Mar 1 18:17:26 2010 +0100
    
        qemu-kvm: Cleanup/fix TSC and PV clock writeback
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 75b10c43365e2a9cab5398f31b96a463b0d57eff
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Thu Oct 21 13:35:02 2010 -0200

    kvm: factor out kvm_has_msr_star
    
    And add kvm_has_msr_hsave_pa(), to avoid warnings on older
    kernels without support.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit aa851e365b3f62ad86cf599860217b60e02dc893
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Thu Oct 21 13:35:01 2010 -0200

    kvm: add save/restore of MSR_VM_HSAVE_PA
    
    commit 2bba4446746add456ceeb0e8359a43032a2ea333
    Author: Alexander Graf <agraf at suse.de>
    Date:   Thu Dec 18 15:38:32 2008 +0100
    
        Enable nested SVM support in userspace
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit d8da8574b167144d1868f343514dfb88716e2edb
Author: Hidetoshi Seto <seto.hidetoshi at jp.fujitsu.com>
Date:   Thu Oct 21 17:23:14 2010 +0900

    Fix build on !KVM_CAP_MCE
    
    This patch removes following warnings:
    
    target-i386/kvm.c: In function 'kvm_put_msrs':
    target-i386/kvm.c:782: error: unused variable 'i'
    target-i386/kvm.c: In function 'kvm_get_msrs':
    target-i386/kvm.c:1083: error: label at end of compound statement
    
    Signed-off-by: Hidetoshi Seto <seto.hidetoshi at jp.fujitsu.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit f71ac88fe97620f9cc80facc5e00826b8256fe5d
Author: Hidetoshi Seto <seto.hidetoshi at jp.fujitsu.com>
Date:   Thu Oct 21 17:47:06 2010 +0900

    x86, mce: broadcast mce depending on the cpu version
    
    There is no reason why SRAO event received by the main thread
    is the only one that being broadcasted.
    
    According to the x86 ASDM vol.3A 15.10.4.1,
    MCE signal is broadcast on processor version 06H_EH or later.
    
    This change is required to handle SRAR in smp guests.
    
    Signed-off-by: Hidetoshi Seto <seto.hidetoshi at jp.fujitsu.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit f8502cfbbf0bdd30603159a23d86cd19ad202a25
Author: Hidetoshi Seto <seto.hidetoshi at jp.fujitsu.com>
Date:   Thu Oct 21 17:46:49 2010 +0900

    x86, mce: ignore SRAO only when MCG_SER_P is available
    
    And restruct this block to call kvm_mce_in_exception() only when it is
    required.
    
    Signed-off-by: Hidetoshi Seto <seto.hidetoshi at jp.fujitsu.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 633aa0acfe2c4d3e56acfe28c912796bf54de6d3
Author: Gleb Natapov <gleb at redhat.com>
Date:   Sun Oct 17 11:45:25 2010 +0200

    Fix pci hotplug to generate level triggered interrupt.
    
    SCI is level triggered. pci hotplug should behave appropriately.
    
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4441a2870a669b9dd0f79a040850412f3d8428ca
Author: Gleb Natapov <gleb at redhat.com>
Date:   Sun Oct 17 11:45:24 2010 +0200

    Use defines instead of numbers for pci hotplug sts bit
    
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0f53994f7ad4d34e0a0a4a10cb71b2f936e25e3f
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Tue Oct 19 09:00:34 2010 -0200

    Fix memory leak in register save load due to xsave support
    
    From: Avi Kivity <avi at redhat.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 577804958ae8ea40b630bc820b72c33f37b01e81
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Mon Oct 11 15:31:22 2010 -0300

    Add savevm/loadvm support for MCE
    
    Port qemu-kvm's
    
    commit 1bab5d11545d8de5facf46c28630085a2f9651ae
    Author: Huang Ying <ying.huang at intel.com>
    Date:   Wed Mar 3 16:52:46 2010 +0800
    
        Add savevm/loadvm support for MCE
    
        MCE registers are saved/load into/from CPUState in
        kvm_arch_save/load_regs. To simulate the MCG_STATUS clearing upon
        reset, MSR_MCG_STATUS is set to 0 for KVM_PUT_RESET_STATE.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit c0532a76b407af4b276dc5a62d8178db59857ea6
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Mon Oct 11 15:31:21 2010 -0300

    MCE: Relay UCR MCE to guest
    
    Port qemu-kvm's
    
    commit 4b62fff1101a7ad77553147717a8bd3bf79df7ef
    Author: Huang Ying <ying.huang at intel.com>
    Date:   Mon Sep 21 10:43:25 2009 +0800
    
        MCE: Relay UCR MCE to guest
    
        UCR (uncorrected recovery) MCE is supported in recent Intel CPUs,
        where some hardware error such as some memory error can be reported
        without PCC (processor context corrupted). To recover from such MCE,
        the corresponding memory will be unmapped, and all processes accessing
        the memory will be killed via SIGBUS.
    
        For KVM, if QEMU/KVM is killed, all guest processes will be killed
        too. So we relay SIGBUS from host OS to guest system via a UCR MCE
        injection. Then guest OS can isolate corresponding memory and kill
        necessary guest processes only. SIGBUS sent to main thread (not VCPU
        threads) will be broadcast to all VCPU threads as UCR MCE.
    
    aliguori: fix build
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 983dfc3b135de0a4808a41a8ca71e1809ba6a62e
Author: Huang Ying <ying.huang at intel.com>
Date:   Mon Oct 11 15:31:20 2010 -0300

    Add RAM -> physical addr mapping in MCE simulation
    
    In QEMU-KVM, physical address != RAM address. While MCE simulation
    needs physical address instead of RAM address. So
    kvm_physical_memory_addr_from_ram() is implemented to do the
    conversion, and it is invoked before being filled in the IA32_MCi_ADDR
    MSR.
    
    Reported-by: Dean Nelson <dnelson at redhat.com>
    Signed-off-by: Huang Ying <ying.huang at intel.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit e890261f671a0573efbc024972d8769423fc82fc
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Mon Oct 11 15:31:19 2010 -0300

    Export qemu_ram_addr_from_host
    
    To be used by next patches.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit e7701825e17d74913b0f1585d523cedaf1d6632a
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Mon Oct 11 15:31:18 2010 -0300

    kvm: x86: add mce support
    
    Port qemu-kvm's MCE support
    
    commit c68b2374c9048812f488e00ffb95db66c0bc07a7
    Author: Huang Ying <ying.huang at intel.com>
    Date:   Mon Jul 20 10:00:53 2009 +0800
    
        Add MCE simulation support to qemu/kvm
    
        KVM ioctls are used to initialize MCE simulation and inject MCE. The
        real MCE simulation is implemented in Linux kernel. The Kernel part
        has been merged.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit a8486bc9c91a10c9190bbd577f6f02b9eb515d90
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Mon Oct 11 15:31:16 2010 -0300

    iothread: use signalfd
    
    Block SIGALRM, SIGIO and consume them via signalfd.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit dcc38d1cce61e7d986e74dcd9bff2a5efc53a87c
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Mon Oct 11 15:31:15 2010 -0300

    signalfd compatibility
    
    Port qemu-kvm's signalfd compat code.
    
    commit 5a7fdd0abd7cd24dac205317a4195446ab8748b5
    Author: Anthony Liguori <aliguori at us.ibm.com>
    Date:   Wed May 7 11:55:47 2008 -0500
    
        Use signalfd() in io-thread
    
        This patch reworks the IO thread to use signalfd() instead of sigtimedwait()
        This will eliminate the need to use SIGIO everywhere.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit 296acb643b0f7ec3ab3d8c4a8fc48039d9269818
Author: Joerg Roedel <joerg.roedel at amd.com>
Date:   Mon Sep 27 15:16:17 2010 +0200

    Add svm cpuid features
    
    This patch adds the svm cpuid feature flags to the qemu
    intialization path. It also adds the svm features available
    on phenom to its cpu-definition and extends the host cpu
    type to support all svm features KVM can provide.
    
    Signed-off-by: Joerg Roedel <joerg.roedel at amd.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit db0ad1ba047b59cb89865008dcd0edd301e84c37
Author: Joerg Roedel <joerg.roedel at amd.com>
Date:   Mon Sep 27 15:16:16 2010 +0200

    Set cpuid definition to 0 before initializing it
    
    This patch cleans the (stack-allocated) cpuid definition to
    0 before actually initializing it.
    
    Signed-off-by: Joerg Roedel <joerg.roedel at amd.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit 1e027be7e91d854d7a0132e4a32bdf222c33dcfe
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Oct 14 11:19:04 2010 +0200

    configure: Support disabling warnings in $gcc_flags
    
    -Wall enables a bunch of warnings at once.  configure puts it after
    $gcc_flags.  This makes it impossible to disable warnings enabled by
    -Wall there.  Fix by putting configured flags last.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c3b08d0e05f381b0a02647038d454eecf51ae014
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Oct 8 10:32:23 2010 +0200

    tcg: Fix compiler error (comparison of unsigned expression)
    
    When qemu is configured with --enable-debug-tcg,
    gcc throws this warning (or error with -Werror):
    
    tcg/tcg.c:1030: error: comparison of unsigned expression >= 0 is always true
    
    Fix it by removing the >= 0 part.
    The type cast to 'unsigned' catches negative values of op
    (which should never happen).
    
    This is a modification of Hollis Blanchard's patch.
    
    Cc: Hollis Blanchard <hollis at penguinppc.org>
    Cc: Blue Swirl <blauwirbel at gmail.com>
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit b2d4d8329963b13c5cebe5944dcc99f0e9d1b5c7
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Oct 8 12:30:14 2010 +0200

    wacom tablet: activate event handlers.
    
    Add qemu_activate_mouse_event_handler() calls to the usb wavom tablet so
    it actually receives events.  Also make sure we only remove the handler
    if we registered it before.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit cd496926155afcb3b6323e70dd720dc118b3a255
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Oct 8 12:30:13 2010 +0200

    vmmouse: adapt to mouse handler changes.
    
    This patch updates the vmmouse handler registration and activation.
    
    Old behavior:
      vmmouse_read_id, vmmouse_request_relative and vmmouse_request_absolute
      unregister the handler and re-register it.
    
    New behavior:
      vmmouse_request_relative and vmmouse_request_absolute will unregister
      the handler in case the mode did change.  Then register and active the
      handler with current mode if needed.
    
    Note that the old code never ever *activates* the handler, so the
    vmmouse doesn't receive events.  This trips up Fedora 14 for example:
    Boot a default install without usb tablet, watch the X-Server activating
    the vmmouse then, enjoy a non-functional mouse.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 45b23ff8f05d8f145d680476dd08e7f444cef547
Author: Venkateswararao Jujjuri (JV) <jvrao at linux.vnet.ibm.com>
Date:   Wed Oct 6 17:09:42 2010 -0700

    [virtio-9p] Add support to v9fs_string_alloc_printf() for handling %lu.
    
    Signed-off-by: Venkateswararao Jujjuri <jvrao at linux.vnet.ibm.com>

commit 56d15a53292c06a9c8c574e368003f57a06522ee
Author: Sanchit Garg <sancgarg at linux.vnet.ibm.com>
Date:   Fri Oct 8 11:30:16 2010 +0530

    [virtio-9p] Use preadv/pwritev instead of readv/writev
    
    readv & writev, read & write respectively from the current offset
    of the file & hence their use has to be preceeded by a call to lseek.
    preadv/writev can be used instead, as they take the offset as an argument.
    This saves one system call( lseek ).
    In case preadv is not supported, it is implemented by an lseek
    followed by a readv. Depending upon the configuration of QEMU, the
    appropriate read & write methods are selected. This patch also fixes the
    zero byte read/write bug & obviates the need to apply a fix for that bug separately.
    
    Signed-off-by: M. Mohan Kumar <mohan at in.ibm.com>
    Signed-off-by: Sanchit Garg <sancgarg at linux.vnet.ibm.com>
    Signed-off-by: Venkateswararao Jujjuri <jvrao at linux.vnet.ibm.com>

commit 9f506893a454ce24263aba49594aa953e9a52853
Author: Harsh Prateek Bora <harsh at linux.vnet.ibm.com>
Date:   Mon Oct 18 15:36:36 2010 +0530

    [virtio-9p] Qemu 9p commandline options validity checks
    
    Signed-off-by: Harsh Prateek Bora <harsh at linux.vnet.ibm.com>
    Signed-off-by: Venkateswararao Jujjuri <jvrao at linux.vnet.ibm.com>

commit 70fc55ebe4fe5e72802468f16ae09169cf323b04
Author: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
Date:   Mon Oct 18 15:28:16 2010 +0530

    virtio-9p: Support mapped posix acl
    
    Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
    Signed-off-by: Venkateswararao Jujjuri <jvrao at linux.vnet.ibm.com>

commit fc22118d9bb56ec71655b936a29513c140e6c289
Author: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
Date:   Mon Oct 18 15:28:16 2010 +0530

    virtio-9p: Use layered xattr approach
    
    We would need this to make sure we handle the mapped
    security model correctly for different xattr names.
    
    Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
    Signed-off-by: Venkateswararao Jujjuri <jvrao at linux.vnet.ibm.com>

commit 0f8151cb75e09c9a7de24a37f22166e46a9eaf7b
Author: Venkateswararao Jujjuri (JV) <jvrao at linux.vnet.ibm.com>
Date:   Sun Sep 19 10:47:11 2010 -0700

    [virtio-9p] Ignore O_DIRECT hint from client.
    
    The O_DIRECT flag imposes alignment restrictions on the length and address
    of userspace buffers and the file offset of I/Os.
    
    While VirtFS/9P has plans to implement O_DIRECT behavior on the server,
    for now we will stick to a behavior like NFS by bypassing the page cache
    only on the client. Server may still cache the I/O.
    
    Signed-off-by: Venkateswararao Jujjuri <jvrao at linux.vnet.ibm.com>

commit df0973a4650d4889463ff66cb6fbdf0ab8090c70
Author: M. Mohan Kumar <mohan at in.ibm.com>
Date:   Tue Sep 14 15:08:25 2010 +0530

    qemu-virtio-9p: Implement TREADLINK operation for 9p2000.L
    
    Synopsis
    
            size[4] TReadlink tag[2] fid[4]
            size[4] RReadlink tag[2] target[s]
    
    Description
            Readlink is used to return the contents of the symoblic link
            referred by fid. Contents of symboic link is returned as a
            response.
    
            target[s] - Contents of the symbolic link referred by fid.
    
    Signed-off-by: M. Mohan Kumar <mohan at in.ibm.com>
    Reviewed-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
    Signed-off-by: Venkateswararao Jujjuri <jvrao at linux.vnet.ibm.com>

commit b41e95d34877c1917ba9fca7ca8f5d4122d4c619
Author: Venkateswararao Jujjuri (JV) <jvrao at linux.vnet.ibm.com>
Date:   Wed Sep 22 17:18:33 2010 -0700

    [virtio-9p] Introduce server side TFSYNC/RFSYNC for dotl
    
    SYNOPSIS
        size[4] Tfsync tag[2] fid[4]
    
        size[4] Rfsync tag[2]
    
    DESCRIPTION
    
    The Tfsync transaction transfers ("flushes") all modified in-core data of
    file identified by fid to the disk device (or other  permanent  storage
    device)  where that  file  resides.
    
    Signed-off-by: Venkateswararao Jujjuri <jvrao at linux.vnet.ibm.com>

commit 8f35400358488ffa1147e9eab9e2c9cf0efd5e4e
Author: M. Mohan Kumar <mohan at in.ibm.com>
Date:   Wed Sep 8 02:36:52 2010 +0530

    qemu-virtio9p: Implement TGETLOCK
    
    Synopsis
    
        size[4] TGetlock tag[2] fid[4] getlock[n]
        size[4] RGetlock tag[2] getlock[n]
    
    Description
    
    TGetlock is used to test for the existence of byte range posix locks on
    a file identified by given fid. The reply contains getlock structure. If
    the lock could be placed it returns F_UNLCK in type field of getlock structure.
    Otherwise it returns the details of the conflicting locks in the getlock
    structure
    
        getlock structure:
          type[1] - Type of lock: F_RDLCK, F_WRLCK
          start[8] - Starting offset for lock
          length[8] - Number of bytes to lock
            If length is 0, lock all bytes starting at the location
            'start' through to the end of file
          proc_id[4] - process id that wants to take lock/owns the task
                   in case of reply
          client[4] - Client id of the system that owns the process
    
    Signed-off-by: M. Mohan Kumar <mohan at in.ibm.com>
    Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
    Signed-off-by: Venkateswararao Jujjuri <jvrao at linux.vnet.ibm.com>

commit 82cc3ee88ba238ec3ba96f4673d8a184588b82a4
Author: M. Mohan Kumar <mohan at in.ibm.com>
Date:   Wed Sep 8 02:19:32 2010 +0530

    [virto-9p] Implement TLOCK
    
    Synopsis
    
        size[4] TLock tag[2] fid[4] flock[n]
        size[4] RLock tag[2] status[1]
    
    Description
    
    Tlock is used to acquire/release byte range posix locks on a file
    identified by given fid. The reply contains status of the lock request
    
        flock structure:
            type[1] - Type of lock: F_RDLCK, F_WRLCK, F_UNLCK
            flags[4] - Flags could be either of
              P9_LOCK_FLAGS_BLOCK(1) - Blocked lock request, if there is a
                conflicting lock exists, wait for that lock to be released.
              P9_LOCK_FLAGS_RECLAIM(2) - Reclaim lock request, used when client is
                trying to reclaim a lock after a server restrart (due to crash)
            start[8] - Starting offset for lock
            length[8] - Number of bytes to lock
              If length is 0, lock all bytes starting at the location 'start'
              through to the end of file
            pid[4] - PID of the process that wants to take lock
            client_id[4] - Unique client id
    
            status[1] - Status of the lock request, can be
              P9_LOCK_SUCCESS(0), P9_LOCK_BLOCKED(1), P9_LOCK_ERROR(2) or
              P9_LOCK_GRACE(3)
              P9_LOCK_SUCCESS - Request was successful
              P9_LOCK_BLOCKED - A conflicting lock is held by another process
              P9_LOCK_ERROR - Error while processing the lock request
              P9_LOCK_GRACE - Server is in grace period, it can't accept new lock
                    requests in this period (except locks with
                    P9_LOCK_FLAGS_RECLAIM flag set)
    
    Signed-off-by: M. Mohan Kumar <mohan at in.ibm.com>
    Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
    Signed-off-by: Venkateswararao Jujjuri <jvrao at linux.vnet.ibm.com>

commit ab03b63d7a9c7978d51e56c191f0b86888d121dc
Author: Sripathi Kodi <sripathik at in.ibm.com>
Date:   Mon Sep 20 23:24:29 2010 +0530

    [virtio-9p] open should not return EBADF
    
    When 9P server fails to create a file due to permission problems it should
    return EPERM. However the current 9P2000.L code returns EBADF. EBADF is NOT
    a valid return value from open() call.
    
    The problem is because we do not preserve the errno variable properly. If the
    file open had failed, the call to close() on the fd in v9fs_post_lcreate()
    fails and sets errno to EBADF. We should preserve the errno that we got from
    open() and we should call close() only if we had a valid fd.
    
    Signed-off-by: Sripathi Kodi <sripathik at in.ibm.com>
    Signed-off-by: Venkateswararao Jujjuri <jvrao at linux.vnet.ibm.com>

commit a12c668f0a44bbbb7b9bc2b852c62f6864c8b92d
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Oct 20 16:41:36 2010 +0000

    trace: improve info trace output
    
    Use PRI*64 to print full 64 bit data even on ILP32 hosts.
    
    Print also sixth tracepoint parameter.
    
    Acked-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Cc: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit cf85cf8e972f3ad79f203be4edb7968d6e052293
Author: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
Date:   Wed Oct 20 16:41:31 2010 +0000

    trace: Format strings must begin/end with double quotes
    
    Document the restriction that format strings must begin and end with
    double quotes.  This is for easy parsing since we don't run cpp over
    trace-events.
    
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit d8023f311499e06c02b4da7e74388d7ad906ea23
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Oct 20 16:41:28 2010 +0000

    apic: convert debug printf statements to tracepoints
    
    Replace debug printf statements with tracepoints.
    
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 6df40080b00ecd004466714c25cb762056036c56
Author: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
Date:   Mon Oct 18 13:42:54 2010 +0100

    trace: Relax trace-events parsing regex in simpletrace.py
    
    The regular expression to parse trace event definitions assumed the
    format string would be a simple double-quoted string.  However, we now
    use PRI?64 for portability which splits string literals.  The regular
    expression can disregard the format string entirely since simpletrace.py
    never needs to use it.
    
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 38cc9b607f85017b095793cab6c129bc9844f441
Author: Jindrich Makovicka <makovick at gmail.com>
Date:   Sun Oct 17 20:17:19 2010 +0200

    issue snd_pcm_start() when capturing audio
    
    snd_pcm_start() starts the capture process and ensures that the events
    are delivered to the poll handler. Without the call, capture can be started
    only when there is simultaneous playback running.
    
    Signed-off-by: Jindrich Makovicka <makovick at gmail.com>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 22d948a2d97434192018bdabaf0a50cda7f994be
Author: Jindrich Makovicka <makovick at gmail.com>
Date:   Sun Oct 17 19:28:14 2010 +0200

    fix 100% CPU load when idle with ALSA
    
    Playback control function did not disable polling when playback stops.
    Caused busy spinning of the main loop due to unprocessed events.
    
    Signed-off-by: Jindrich Makovicka <makovick at gmail.com>
    Signed-off-by: malc <av1474 at comtv.ru>



More information about the Spice-commits mailing list