[Spice-commits] Changes to 'spice.nosubmit'

Gerd Hoffmann kraxel at kemper.freedesktop.org
Fri Feb 18 08:10:34 PST 2011


New branch 'spice.nosubmit' available with the following commits:
commit 64aeabda5ff25206eec3b550898ec3c6e128f461
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Aug 26 13:04:14 2010 +0200

    [debug] loadvm logging

commit 5441a7c675e987084ae94d3b62e7c46332a25b39
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Apr 20 13:33:54 2010 +0200

    spice: add virtio-serial based spice vmchannel backend [obsolete]
    
    Adds the spicevmc device.  This is a communication channel between the
    spice client and the guest.  It is used to send display information and
    mouse events from the spice clients to the guest.
    
    [ obsoleted by spicevmc chardev, just kept here temporary for
      convinience, will not be submitted to upstream qemu. ]

commit 459505a2647a5197cb60ad48a05917f6d8e52695
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Sat Feb 12 03:15:25 2011 +0300

    Merge mainstone.h header into mainstone.c
    
    Now the only user of mainstone.h is mainstone.c file. Merge header
    into board file.
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit cb380f615c565804b83c16595185d308c8e1f0e1
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Sat Feb 12 03:15:24 2011 +0300

    mainstone: convert FPGA emulation code to use QDev/SysBus
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 43d91709c10c6227ed2150fc6cb710cb6bf04fc6
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Sat Feb 12 03:15:23 2011 +0300

    mainstone: correct and simplify irq handling
    
    Simplify IRQ handling to stop setting an input irq pin. As a win, also get
    correct IRQ status after save/load cycle.
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 8fe3046f17ff98469c5874a0e7be823adc768485
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Feb 14 14:24:24 2011 -0600

    Fix build from previous commit
    
    I unfortunately got on an unnamed branch and pushed the wrong bits
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 53fae6d27f342a17bdc218dc51ccccebd99f3545
Author: Bruce Rogers <brogers at novell.com>
Date:   Sat Feb 5 14:47:56 2011 -0700

    PATCH] slirp: fix buffer overrun
    
    Since the addition of the slirp member to struct mbuf, the value of
    SLIRP_MSIZE and the initialization of m_size have not been correct,
    resulting in overrunning the end of the malloc'd buffer in some cases.
    
    Signed-off-by: Bruce Rogers <brogers at novell.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0fbfbb59a9766247be20023b17eb7872e7b29323
Author: Gleb Natapov <gleb at redhat.com>
Date:   Mon Feb 7 16:14:44 2011 +0200

    correctly check ppr priority during interrupt injection]
    
    TPR blocks all interrupts in a priority class, so simple "less or
    equal" check is not enough.
    
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Reviewed-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ed94592be21557054f83962ffcfd7b11c25d3b5d
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Feb 8 18:18:18 2011 +0100

    io-thread: make sure to initialize qemu_work_cond and qemu_cpu_cond
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8668f61d20eac971d116ebbe8436b4ae963884a8
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 12 17:44:11 2011 +0000

    vmmouse: fix queue_size field initialization
    
    Initialize the field queue_size, dropped by
    91c9e09147ba1f3604a3d5d29b4de7702082a33f.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit dd703b991cce99271a032a975885dd37d8c07a94
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 5 14:35:00 2011 +0000

    hpet: make optional
    
    Ignore failure with hpet device creation.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 4912371fc39120fb7eb1a6b3f270fab30d05a7b6
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 5 14:34:56 2011 +0000

    sysbus: add creation function that may fail
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 86d864140bc597dce0fedf8547f4d615a920c444
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 5 14:34:52 2011 +0000

    x86: make vmmouse optional
    
    Compile vmmouse in hwlib. Ignore failure if vmmouse device can't be
    created.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 86f4a9a5c7f1d98b73520ff9f396206ebc5ddb71
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 5 14:34:48 2011 +0000

    isa: add creation function that may fail
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 91c9e09147ba1f3604a3d5d29b4de7702082a33f
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 5 14:34:45 2011 +0000

    vmmouse: convert to qdev
    
    Convert to qdev, also add a proper reset function.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 6872ef610bad337701e0dcb0ab06558c04a0146f
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 5 14:34:41 2011 +0000

    vmport: convert to qdev
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 7ba7e49e6a7493e1cd0fe07cc67403846d642fc5
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 5 14:34:37 2011 +0000

    x86,MIPS: make vmware_vga optional
    
    Allow failure with vmware_vga device creation and use standard
    VGA instead.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 7cc050b1659545d0c87108c17f0bf78561efcf9a
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 5 14:34:32 2011 +0000

    pci: add creation functions that may fail
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 0bcdeda7e478f1ce1345585d8240e8d5a9b274d5
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 5 14:34:25 2011 +0000

    qdev: add creation function that may fail
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 5c81e4ca9e5c11239a9db12f0f57c6c1e24b6760
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 5 14:34:19 2011 +0000

    vmware_vga: refactor device creation
    
    Turn vmsvga_init into an inline function.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 55619bb667a681d248009f3b10094b6cf121671f
Author: Andrzej Zaborowski <balrog at zabor.org>
Date:   Fri Feb 11 23:35:20 2011 +0100

    mst_fpga: Drop one more pxa.h inclusion.
    
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit c8ba63f829631fef24a9aed6451fb7c8830384f6
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Fri Feb 11 23:57:39 2011 +0300

    pxa2xx: convert i2c master to use qdev/vmsd
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 987e8b3b03c2420e451ac91df4330ff767b56bb0
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Fri Feb 11 23:57:38 2011 +0300

    max7310: finish qdev'ication
    
    1) Move GPIO-related functionality to qdev. Now one can use directly
    qdev_get_gpio_in()/qdev_connect_gpio_out() on max7310 devices.
    
    2) Make reset to be called through qdev.reset callback.
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 2e4b4e79c6da9780d5f51a992249b51818ba5959
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Fri Feb 11 23:57:37 2011 +0300

    tosa: we aren't connected to VBus, pass this info to Linux kernel
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit bb70651e45c798d301549aa2e12ea6beb858c21d
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Fri Feb 11 23:57:35 2011 +0300

    mainstone: pass one irq to the mst_fpga instead of the whole PIC
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 21c75ddbf9487cd24bc9cceff1af1946e42143c0
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Fri Feb 11 23:57:34 2011 +0300

    Drop unnecessary inclusions of pxa.h header
    
    Seceral files contained onnecessary dependencies on hw/pxa.h header.
    Drop unused references.
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 7fe63a170addbfadd785b70c6a1e9a49d113c89b
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Fri Feb 11 23:57:33 2011 +0300

    Add scoop post_load callback that sets IRQs to loaded levels
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit f23c1b2a38b1c77261c761cc2b9795d98065386f
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Mon Jan 31 18:20:46 2011 +0300

    tc6393xb: correct NAND isr assertion
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 0fba9fd6c305fd1fbe950eb4136dc9edc36cb3fd
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Mon Jan 31 18:20:41 2011 +0300

    sysbus: print number of irqs in dev_print
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 7a719c7ce55549dc226f3a4d465d3a5ed99fd8ac
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Mon Jan 31 18:20:40 2011 +0300

    .gitignore: ignore vi swap files and ctags files
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 3213883efa336de4e0b573df8e55983eafad1ff3
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Mon Jan 31 18:20:42 2011 +0300

    arm: drop unused irq-related part of CPUARMState
    
    These two fields were added as a part of ARMv7 support patch (back in
    2007), were never used by any code, so can be dropped.
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Reviewed-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit f2f27b9f9bff33217ad1ee9f975f5e98980a8f1a
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Feb 10 15:47:14 2011 +0000

    target-arm: Remove stray #include from middle of neon_helper.c
    
    Remove a stray #include <stdio.h> from the middle of neon_helper.c:
    it was harmless but pointless since we include stdio.h at the top
    of the file anyway.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 005e1a0a02810ee132742d8a29771cd48a2b4285
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Feb 10 13:59:35 2011 +0000

    linux-user/arm: fix compilation failures using softfloat's struct types
    
    Add uses of the float32/float64 boxing and unboxing macros so that
    the ARM linux-user targets will compile with USE_SOFTFLOAT_STRUCT_TYPES
    enabled.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d5138cf4a8f2415d2d568adfd3f65d3cc5a0b736
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Feb 10 13:59:34 2011 +0000

    softfloat: Fix compilation failures with USE_SOFTFLOAT_STRUCT_TYPES
    
    Make softfloat compile with USE_SOFTFLOAT_STRUCT_TYPES defined, by
    adding and using new macros const_float16(), const_float32() and
    const_float64() so you can use array initializers in an array of
    float16/float32/float64 whether the types are bare or wrapped in the
    structs.
    
    [aurelien at aurel32.net: do the same for float16]
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 2d981da77d7fb0c3ec83286bc617c4fc64765ac2
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Feb 10 11:29:01 2011 +0000

    target-arm: Use standard FPSCR for Neon half-precision operations
    
    The Neon half-precision conversion operations (VCVT.F16.F32 and
    VCVT.F32.F16) use ARM standard floating-point arithmetic, unlike
    the VFP versions (VCVTB and VCVTT).
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit fb91678d2c9562484d16b5d7be9119784730c47e
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Feb 10 11:29:00 2011 +0000

    target-arm: Silence NaNs resulting from half-precision conversions
    
    Silence the NaNs that may result from half-precision conversion,
    as we do for the other conversions.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit f591e1bedf01a4b1de0891a66320a0724412d009
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Feb 10 11:28:59 2011 +0000

    softfloat: Correctly handle NaNs in float16_to_float32()
    
    Correctly handle NaNs in float16_to_float32(), by defining and
    using a float16ToCommonNaN() function, as we do with the other formats.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 600e30d2b293bd19b0d0cdb7e8a517cecf482d12
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Feb 10 11:28:58 2011 +0000

    softfloat: Fix single-to-half precision float conversions
    
    Fix various bugs in the single-to-half-precision conversion code:
     * input NaNs not correctly converted in IEEE mode
       (fixed by defining and using a commonNaNToFloat16())
     * wrong values returned when converting NaN/Inf into non-IEEE
       half precision value
     * wrong values returned for conversion of values which are
       on the boundary between denormal and zero for the half
       precision format
     * zeroes not correctly identified
     * excessively large results in non-IEEE mode should
       generate InvalidOp, not Overflow
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit bcd4d9afd411494f9e1cb2a3b4a65dcf4207857e
Author: Christophe Lyon <christophe.lyon at st.com>
Date:   Thu Feb 10 11:28:57 2011 +0000

    softfloat: Honour default_nan_mode for float-to-float conversions
    
    Honour the default_nan_mode flag when doing conversions between
    different floating point formats, as well as when returning a NaN from
    a two-operand floating point function. This corrects the behaviour
    of float<->double conversions on both ARM and SH4.
    
    Signed-off-by: Christophe Lyon <christophe.lyon at st.com>
    Reviewed-by: Peter Maydell <peter.maydell at linaro.org>
    Reviewed-by: Aurelien Jarno <aurelien at aurel32.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit bb4d4bb376c6ae4d2dfa6e59dfa4e87a75d3a672
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Feb 10 11:28:56 2011 +0000

    softfloat: Add float16 type and float16 NaN handling functions
    
    Add a float16 type to softfloat, rather than using bits16 directly.
    Also add the missing functions float16_is_quiet_nan(),
    float16_is_signaling_nan() and float16_maybe_silence_nan(),
    which are needed for the float16 conversion routines.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d1a1eb7472b40950dac176a191f3d5d4ae980ecc
Author: Tristan Gingold <gingold at adacore.com>
Date:   Thu Feb 10 10:04:57 2011 +0100

    Make tb_alloc static
    
    This function is only used within exec.c, so no need to make it public.
    
    Signed-off-by: Tristan Gingold <gingold at adacore.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 6c5f738daec123020d32543fe90a6633a4f6643e
Author: Edgar E. Iglesias <edgar.iglesias at petalogix.com>
Date:   Thu Feb 10 00:46:09 2011 +0100

    microblaze: Handle singlestepping over direct jmps
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at petalogix.com>

commit 1c0de9fa509c48aeeb6ef2465307d603abc9ee4e
Merge: 923e65097d2101a78f716f7932f4291315d88bbf 898b1bebf97e5f973624a4e513da45dffefdb9b7
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Wed Feb 9 19:53:36 2011 +0100

    Merge branch 'linux-user-for-upstream' of git://gitorious.org/qemu-maemo/qemu
    
    * 'linux-user-for-upstream' of git://gitorious.org/qemu-maemo/qemu:
      linux-user: fix for loopmount ioctl
      linux-user: fix build errors for mmap2-only ports
      user: speed up init_paths a bit
      linux-user: implement sched_{g,s}etaffinity
      linux-user/FLAT: allow targets to override FLAT processing
      linux-user/FLAT: fix auto-stack sizing
      linux-user: decode MAP_{UNINITIALIZED,EXECUTABLE} in strace
      linux-user: add ppoll syscall support
      linux-user/elfload: add FDPIC support
      linux-user: fix sizeof handling for getsockopt
      linux-user: Fix possible realloc memory leak
      linux-user: Add support for -version option

commit 923e65097d2101a78f716f7932f4291315d88bbf
Author: Christophe Lyon <christophe.lyon at st.com>
Date:   Tue Feb 8 18:39:02 2011 +0100

    target-arm: implement vsli.64, vsri.64
    
    Signed-off-by: Christophe Lyon <christophe.lyon at st.com>
    Reviewed-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit acdf01effa1851780a731ca5ffeab79a474a6335
Author: Christophe Lyon <christophe.lyon at st.com>
Date:   Wed Feb 9 13:19:15 2011 +0100

    target-arm: fix VSHLL Neon instruction.
    
    Fix bit mask used when widening the result of shift on narrow input.
    
    Signed-off-by: Christophe Lyon <christophe.lyon at st.com>
    Reviewed-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit efd410373a4551911f3928bb2ccdf28792b294bf
Author: Chris Dearman <chris at mips.com>
Date:   Tue Feb 8 19:03:30 2011 -0800

    [PATCH] [MIPS] Clear softfpu exception state for round, trunc, ceil and floor
    
    MIPS FPU instructions should start with a clean softfpu status. This
    is done for the arithmetic operations and cvt instructions, but not
    for round, trunc, ceil and floor.
    
    Signed-off-by: Chris Dearman <chris at mips.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit cc2212c2f851291929becc3f4fd153d05ca4c54a
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Wed Feb 9 15:42:33 2011 +0000

    target-arm: Fix 32 bit signed saturating narrow
    
    The returned value when doing saturating signed 64->32 bit
    conversion of a negative number was incorrect due to a missing cast.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit af1bbf30c407cb194599a4e1724c38c7bf1d94b3
Author: Juha Riihimäki <juha.riihimaki at nokia.com>
Date:   Wed Feb 9 15:42:32 2011 +0000

    target-arm: Fix VQMOVUN Neon instruction.
    
    VQMOVUN does a signed-to-unsigned saturating conversion. This is
    different from both the signed-to-signed and unsigned-to-unsigned
    conversions already implemented, so we need a new set of helper
    functions (neon_unarrow_sat*).
    
    Signed-off-by: Juha Riihimäki <juha.riihimaki at nokia.com>
    Reviewed-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 898b1bebf97e5f973624a4e513da45dffefdb9b7
Author: Martin Mohring <martin.mohring at 5edatasoft.com>
Date:   Tue Feb 8 14:48:56 2011 +0200

    linux-user: fix for loopmount ioctl
    
    In case a chrooted build uses XEN or KVM, a looped mount needs to be done to setup the chroot.
    The ioctl for loop mount works correctly for arm, mips, ppc32 and sh4, so its now activated.
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit 8d9016c0919bab1fdf3a36c0f72d012924bb7efd
Author: Mike Frysinger <vapier at gentoo.org>
Date:   Mon Feb 7 01:05:57 2011 -0500

    linux-user: fix build errors for mmap2-only ports
    
    The current print_mmap func is only enabled when the target supports the
    mmap syscall, but both mmap and mmap2 syscalls use it.  This leads to a
    build failure when the target supports mmap2 but not mmap.
    
    Signed-off-by: Mike Frysinger <vapier at gentoo.org>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit 2296f194dfde4c0a54f249d3fdb8c8ca21dc611b
Author: Mike Frysinger <vapier at gentoo.org>
Date:   Mon Feb 7 01:05:56 2011 -0500

    user: speed up init_paths a bit
    
    The current init_paths code will attempt to opendir() every single file it
    finds.  This can obviously generated a huge number of syscalls with even a
    moderately small sysroot that will fail.  Since the readdir() call provides
    the file type in the struct itself, use it.  On my system, this prevents
    over 1000 syscalls from being made at every invocation of a target binary,
    and I only have a C library installed.
    
    Signed-off-by: Mike Frysinger <vapier at gentoo.org>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit 737de1d1357b13f162b26ca0b775eb375594833a
Author: Mike Frysinger <vapier at gentoo.org>
Date:   Mon Feb 7 01:05:55 2011 -0500

    linux-user: implement sched_{g,s}etaffinity
    
    Signed-off-by: Mike Frysinger <vapier at gentoo.org>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit c3109ba1b109f84929abbfe0462d910d5aa8617c
Author: Mike Frysinger <vapier at gentoo.org>
Date:   Mon Feb 7 01:05:54 2011 -0500

    linux-user/FLAT: allow targets to override FLAT processing
    
    This brings flatload.c more in line with the current Linux FLAT loader
    which allows targets to handle various FLAT aspects in their own way.
    For the common behavior, the new functions get stubbed out.
    
    Signed-off-by: Mike Frysinger <vapier at gentoo.org>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit 82a39595f7c70aecfb4649ae5a125147b62131f8
Author: Mike Frysinger <vapier at gentoo.org>
Date:   Mon Feb 7 01:05:53 2011 -0500

    linux-user/FLAT: fix auto-stack sizing
    
    The current auto-stack sizing works like it does on a NOMMU system; the
    problem is that this only works if the envp/argv arrays are fairly slim.
    On a desktop system, this is rarely the case, and can easily blow past
    the stack and into data/text regions as the default stack for FLAT progs
    is a mere 4KiB.  So rather than rely on the NOMMU calculation (which is
    only there because NOMMU can't easily allocate gobs of contiguous mem),
    calc the full space actually needed and let the MMU host make space.
    
    Signed-off-by: Mike Frysinger <vapier at gentoo.org>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit 906c1b8ec8ed8987662e2697af20b9ca19c659b5
Author: Mike Frysinger <vapier at gentoo.org>
Date:   Mon Feb 7 01:05:52 2011 -0500

    linux-user: decode MAP_{UNINITIALIZED,EXECUTABLE} in strace
    
    Signed-off-by: Mike Frysinger <vapier at gentoo.org>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit d8035d4cfce42e0268e39e109d5abf01d9f25259
Author: Mike Frysinger <vapier at gentoo.org>
Date:   Mon Feb 7 01:05:51 2011 -0500

    linux-user: add ppoll syscall support
    
    Some architectures (like Blackfin) only implement ppoll (and skip poll).
    So add support for it using existing poll code.
    
    Reviewed-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Mike Frysinger <vapier at gentoo.org>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit 1af02e83c00fe269fbbaeaccc7c0b914ad277d18
Author: Mike Frysinger <vapier at gentoo.org>
Date:   Mon Feb 7 01:05:50 2011 -0500

    linux-user/elfload: add FDPIC support
    
    Signed-off-by: Mike Frysinger <vapier at gentoo.org>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit 73160d952922157f16946e8ebb4419072de4c657
Author: Mike Frysinger <vapier at gentoo.org>
Date:   Mon Feb 7 01:05:49 2011 -0500

    linux-user: fix sizeof handling for getsockopt
    
    Signed-off-by: Mike Frysinger <vapier at gentoo.org>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit 8d79de6e42947a4a11ad7c7bb87e8f745a4f8321
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Mon Jan 17 21:36:06 2011 +0100

    linux-user: Fix possible realloc memory leak
    
    Extract from "man realloc":
    "If realloc() fails the original block is left untouched;
    it is not freed or moved."
    
    Fix a possible memory leak (reported by cppcheck).
    
    Cc: Riku Voipio <riku.voipio at iki.fi>
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit 6672b0b22a8ab92ad3a07889c2220a7568a3da30
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Jan 20 03:28:02 2011 +0000

    linux-user: Add support for -version option
    
    Add support to the linux-user qemu for the -version command line
    option, bringing it into line with the system emulation qemu.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit c0c1dc992584b8ccbae0e8f8b09124b76662633b
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Tue Feb 8 18:18:19 2011 +0100

    cris, microblaze: use cpu_has_work
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 29057492871e63caeab8ee7cdf1062c0270f19d8
Author: Jan Kiszka <jan.kiszka at web.de>
Date:   Fri Feb 4 13:47:25 2011 -0200

    x86: Fix MCA broadcast parameters for TCG case
    
    When broadcasting MCEs, we need to set MCIP and RIPV in mcg_status like
    it is done for KVM. Use the symbolic constants at this chance.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit f26e5a54f0554798a2e6f7a074b809b13635d007
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Feb 4 22:01:32 2011 +0100

    qemu-timer: Fix compilation of new timer code for w32, w64
    
    qemu_next_alarm_deadline() is needed by MinGW, too.
    
    Cc: Paolo Bonzini <pbonzini at redhat.com>
    Cc: Anthony Liguori <aliguori at us.ibm.com>
    Acked-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 8591675f44929a9e4b5d3a5fd702a4b6d41c7903
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Jan 26 12:12:35 2011 -0200

    block: enable in_use flag
    
    Set block device in use during block migration, disallow drive_del and
    bdrv_truncate for in use devices.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit db593f2565dc12442d6bac9e8eaefa027dfcada9
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Jan 26 12:12:34 2011 -0200

    Add flag to indicate external users to block device
    
    Certain operations such as drive_del or resize cannot be performed
    while external users (eg. block migration) reference the block device.
    
    Add a flag to indicate that.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit f48905d44f670cd83227b3a8d06ae1406f0c771c
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Jan 26 12:12:33 2011 -0200

    block-migration: add reference to target DriveInfo
    
    So that ejection of attached device by guest does not free data
    in use by block migration instance.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    CC: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 84fb392526479d54602a3830326d50d44657f630
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Jan 26 12:12:32 2011 -0200

    blockdev: add refcount to DriveInfo
    
    The host part of a block device can be deleted with in progress
    block migration.
    
    To fix this, add a reference count to DriveInfo, freeing resources
    on last reference.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    CC: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 8f794c557c4b51c7a957d47ef6a2230114bb9e79
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Jan 26 12:12:31 2011 -0200

    block-migration: actually disable dirty tracking on cleanup
    
    Call to set_dirty_tracking() is misplaced.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 2c4b9d0ea42c27ec2112e437a0fa954afe73bd23
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 1 15:51:31 2011 +0100

    ahci: make number of ports runtime determined
    
    Different AHCI controllers have a different number of ports, so the core
    shouldn't care about the amount of ports available.
    
    This patch makes the number of ports available to the AHCI core runtime
    configurable, allowing us to have multiple different AHCI implementations
    with different amounts of ports.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 760c3e44d3a1d8a7e9d22f0429b1805d1c688178
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 1 15:51:30 2011 +0100

    ahci: Implement HBA reset
    
    The ahci code was missing its soft reset functionality. This wasn't really an
    issue for Linux guests, but Windows gets confused when the controller doesn't
    reset when it tells it so.
    
    Using this patch I can now successfully boot Windows 7 from AHCI using AHCI
    enabled SeaBIOS.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 87e62065bb5e0e544e45e6935e3ac2b053fe446e
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 1 15:51:29 2011 +0100

    ahci: send init d2h fis on fis enable
    
    The drive sends a d2h init fis on initialization. Usually, the guest doesn't
    receive fises yet at that point though, so the delivery is deferred.
    
    Let's reflect that by sending the init fis on fis receive enablement.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 7fb6577b130c615e42e1ccf8dad69c27c3eef085
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 1 15:51:28 2011 +0100

    ahci: split ICH and AHCI even more
    
    Sebastian's patch already did a pretty good job at splitting up ICH-9
    AHCI code and the AHCI core. We need some more though. Copyright was missing,
    the lspci dump belongs to ICH-9, we don't need the AHCI core to have its
    own qdev device duplicate.
    
    So let's split them a bit more in this patch, making things easier to
    read an understand.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit f83a40dcd7c38aef8cb4aa93e1f6f0e21c750992
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 1 15:51:27 2011 +0100

    ahci: add license header in ahci.h
    
    Due to popular request, this patch adds a license header to ahci.h
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 03c7a6a8e7122b9c12a532577046094a69593116
Author: Sebastian Herbszt <herbszt at gmx.de>
Date:   Tue Feb 1 15:51:26 2011 +0100

    ahci: split ICH9 from core
    
    There are multiple ahci devices out there. The currently implemented ich-9
    is only one of the many. So let's split that one out into a separate file
    to stress the difference.
    
    Signed-off-by: Sebastian Herbszt <herbszt at gmx.de>
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 4f3669ea5bd73ade0dce5f1155cb9ad9788fd54c
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Feb 4 21:01:16 2011 +0100

    block/vdi: Fix wrong size in conditionally used memset, memcmp
    
    Error report from cppcheck:
    block/vdi.c:122: error: Using sizeof for array given as function argument returns the size of pointer.
    block/vdi.c:128: error: Using sizeof for array given as function argument returns the size of pointer.
    
    Fix both by setting the correct size.
    
    The buggy code is only used when QEMU is build without uuid support.
    The bug is not critical, so there is no urgent need to apply it to
    old versions of QEMU.
    
    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 42af9c30ea9a963ce604ac96230fde2f987634db
Author: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Date:   Mon Feb 7 16:04:04 2011 +0900

    Documentation: add Sheepdog disk images
    
    Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit e1a7107f2d92af646ec37b74d074dc150e688559
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Thu Jan 27 16:46:01 2011 +0100

    qcow2: Really use cache=unsafe for image creation
    
    For cache=unsafe we also need to set BDRV_O_CACHE_WB, otherwise we have some
    strange unsafe writethrough mode.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Reviewed-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>

commit ad36ce8ba95a756ef558579c6e9ecedfae4dfd0b
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 5 13:18:20 2011 +0000

    checkpatch.pl: don't complain about old lines with tabs
    
    Don't complain when the patch includes lines with tabs
    only in the hunk's untouched context.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit a2fdc8907bee6eb572fea992be7126e1b616d5bf
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Feb 3 19:43:25 2011 +0000

    target-arm: Fix decoding of Thumb preload and hint space
    
    Refine the decoding of the Thumb preload and hint space, so we
    UNDEF on the patterns that are supposed to UNDEF rather than NOP.
    We also move the tests for this space earlier, so we don't emit
    harmless but unnecessary address generation code for preload
    hints (which by their nature are likely to be in hot code paths).
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 3d185e5dd4967b7d03772d806ee566ed09d67485
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Feb 3 19:43:24 2011 +0000

    target-arm: Fix decoding of preload and memory hint space
    
    Correct the decoding of the ARM preload and memory hint space,
    by adding decoding of PLI, PLDW and the v7MP unallocated hint
    space. This commit also corrects a slightly overexuberant
    decoding of PLD(register) which was not checking that bit 4
    was one.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 607b4b0876bd3b1f33786ecc010ca2723de57270
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Feb 3 19:43:23 2011 +0000

    target-arm: Clean up handling of MPIDR
    
    The ARM cp15 register 0,c0,c0,5 is standardised in the v7 architecture
    as the MPIDR. Clean up its implementation to remove A9 specific handling.
    
    This commit includes fixing an error in the value returned for the
    MPIDR on A9, where we were erroneously claiming a cluster ID of 9.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e1bbf44636a7435be0582f56aa0947d5186d6009
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Thu Feb 3 19:43:22 2011 +0000

    target-arm: Add CPU feature flag for v7MP
    
    Add a CPU feature flag for v7MP (the multiprocessing extensions); some
    instructions exist only for v7MP and not for the base v7 architecture.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 4fef930af8d7fab4b6c777fa4c6e2b902359262a
Author: Gleb Natapov <gleb at redhat.com>
Date:   Wed Feb 2 17:34:34 2011 +0200

    do not pass NULL to strdup.
    
    Also use qemu_strdup() instead of strdup() in bootindex code.
    
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 72902672dc2ed6281cdb205259c1d52ecf01f6b2
Author: Christophe Lyon <christophe.lyon at st.com>
Date:   Fri Feb 4 15:17:51 2011 +0100

    Set the right overflow bit for neon 32 and 64 bit saturating add/sub.
    
    Signed-off-by: Christophe Lyon <christophe.lyon at st.com>
    Reviewed-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 5371cb81405a35ca4c1f6ab23f93a4f7260ffa53
Author: Christophe Lyon <christophe.lyon at st.com>
Date:   Tue Jan 25 18:18:08 2011 +0100

    target-arm: Fix Neon vsra instructions.
    
    This patch fixes the errors reported by my tests in VSRA.
    
    Signed-off-by: Christophe Lyon <christophe.lyon at st.com>
    Reviewed-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7026259f79ffc85ceaaaeee32df518ea96863ee4
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Fri Feb 4 20:19:33 2011 +0100

    target-sh4: fix negc
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 1f5e71a8e6b24dce74b156472ff9253b9bd33a11
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Thu Feb 3 22:54:14 2011 +0100

    ioapic: Style & magics cleanup
    
    Fix a few style issues and convert magic numbers into prober symbolic
    constants, also fixing the wrong but unused IOAPIC_DM_SIPI value.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5dce499948e4a4abe62f010baf4a7ed3d49e53cb
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Thu Feb 3 22:54:13 2011 +0100

    ioapic: Add support for qemu-kvm's vmstate v2
    
    qemu-kvm carries the IOAPIC base address in its v2 vmstate. We only
    support the default base address so far, and saving even that in the
    device state was rejected.
    
    Add a padding field to be able to read qemu-kvm's old state, but
    increase our version to 3, indicating that we are not saving a valid
    address. This also gives downstream the chance to change to stop
    evaluating the base_address and move to v3 as well.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 35a74c5c5941b474d8b985237e1bde0b8cd2a20f
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Thu Feb 3 22:54:12 2011 +0100

    ioapic: Save/restore irr
    
    This is a guest modifiable state that must be saved/restored properly.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0280b571c1a153f8926612d8c8d7359242d596f5
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Thu Feb 3 22:54:11 2011 +0100

    ioapic: Implement EOI handling for level-triggered IRQs
    
    Add the missing EOI broadcast from local APIC to the IOAPICs on
    completion of level-triggered IRQs. This ensures that a still asserted
    IRQ source properly re-triggers an APIC IRQ.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 73eb4c04e9e8ea7f6eb83694cb0c43e38d882a7c
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Fri Feb 4 09:05:53 2011 +0100

    vnc: qemu can die if the client is disconnected while updating screen
    
    agraf reported that qemu_mutex_destroy(vs->output_mutex) while failing
    in vnc_disconnect_finish().
    
    It's because vnc_worker_thread_loop() tries to unlock the mutex while
    not locked. The unlocking call doesn't fail (pthread bug ?), but
    the destroy call does.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7185f9315bcf90e99b123370cf4d19b8c20afbd5
Author: Amit Shah <amit.shah at redhat.com>
Date:   Fri Feb 4 14:24:18 2011 +0530

    virtio-serial: Make sure virtqueue is ready before discarding data
    
    This can happen if a port gets unplugged before guest has chance to
    initialise vqs.
    
    Reported-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4e79bcbb96d3c189e50adbdac7b1e28d834ba43e
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Thu Feb 3 22:35:07 2011 +0100

    ui/sdl: Fix handling of caps lock and num lock keys
    
    Starting with SDL version 1.2.14, caps lock and num lock keys
    will send a SDL_KEYUP when SDL_DISABLE_LOCK_KEYS=1 is set in
    the environment.
    
    The new code sets the environment unconditionally
    (it won't harm old versions which do not know it).
    
    The workaround for SDL_KEYUP is only compiled with old SDL versions.
    
    A similar patch without handling of old SDL versions was already
    published by Benjamin Drung for Ubuntu.
    
    Cc: Anthony Liguori <aliguori at us.ibm.com>
    Cc: Kevin Wolf <kwolf at redhat.com>
    Cc: Benjamin Drung <benjamin.drung at gmail.com>
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4c3d45eb694de3e0bda10841a06ba98be4d569b1
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 3 14:49:01 2011 +0100

    Unify alarm deadline computation
    
    This patch shows how using the correct formula for
    qemu_next_deadline_dyntick can simplify the code of
    host_alarm_handler and eliminate useless duplication.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6ad0a1ed21ecd187dbe3239eb45c3598672af6a8
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 3 14:49:00 2011 +0100

    Correct alarm deadline computation
    
    When the QEMU_CLOCK_HOST clock was added, computation of its
    deadline was added to qemu_next_deadline, which is correct but
    incomplete.
    
    I noticed this by reading the very convoluted rules whereby
    qemu_next_deadline_dyntick is computed, which miss QEMU_CLOCK_HOST
    when use_icount is true.  This patch inlines qemu_next_deadline
    into qemu_next_deadline_dyntick, and then corrects the logic to skip
    only QEMU_CLOCK_VIRTUAL when use_icount is true.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Cc: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9c13246ac13a87e05b5e6e7158e715dfa65fc7aa
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 3 14:48:59 2011 +0100

    use nanoseconds everywhere for timeout computation
    
    Suggested by Aurelien Jarno.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit eb60260de0b050a5e8ab725e84d377d0b44c43ae
Author: Yoshiaki Tamura <tamura.yoshiaki at lab.ntt.co.jp>
Date:   Thu Feb 3 13:34:08 2011 +0900

    savevm: fix corruption in vmstate_subsection_load().
    
    Although it's rare to happen in live migration, when the head of a
    byte stream contains 0x05 which is the marker of subsection, the
    loader gets corrupted because vmstate_subsection_load() continues even
    the device doesn't require it.  This patch adds a checker whether
    subsection is needed, and skips following routines if not needed.
    
    Signed-off-by: Yoshiaki Tamura <tamura.yoshiaki at lab.ntt.co.jp>
    Acked-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bfddb47a343b4718e5768aa80bce8adead0f7fca
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Wed Feb 2 08:39:28 2011 +0100

    Open up the 0.15 development branch
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0e192fae3c79e7d2830f8b1fa694cd8e128084cf
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Feb 1 16:59:46 2011 -0600

    Update version for 0.14.0-rc0
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f487d6278f75f84378833b8c3a67443346d639dc
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Feb 1 16:57:00 2011 -0600

    Update SeaBIOS to 0.6.1.2
    
     - 06d0bdd Minor build fixes.
     - 33abfc0 Update version to 0.6.1.2.
     - 484dd56 fix virtio-blk failure after reboot
     - dd9c0d3 Update version to 0.6.1.1.
     - 50ecfa8 mark irq9 active high in DSDT
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5430a28fe452907c9e1b2097e073bc1ea4b29f39
Author: mst at redhat.com <mst at redhat.com>
Date:   Tue Feb 1 22:13:42 2011 +0200

    vhost: force vhost off for non-MSI guests
    
    When MSI is off, each interrupt needs to be bounced through the io
    thread when it's set/cleared, so vhost-net causes more context switches and
    higher CPU utilization than userspace virtio which handles networking in
    the same thread.
    
    We'll need to fix this by adding level irq support in kvm irqfd,
    for now disable vhost-net in these configurations.
    
    Added a vhostforce flag to force vhost-net back on.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f157ed202e51dc2492b201dc34ed28e89c973fb7
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Tue Feb 1 14:25:40 2011 +0200

    tap: safe sndbuf default
    
    With current sndbuf default value, a blocked
    target guest can prevent another guest from
    transmitting any packets. While current
    sndbuf value (1M) is reported to help some
    UDP based workloads, the default should
    be safe (0).
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 466b58648a7b2ba7edb280b585e0b0c26e3be31e
Author: Gleb Natapov <gleb at redhat.com>
Date:   Sun Jan 30 12:29:19 2011 +0200

    Add boot index documentation.
    
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit cf8ce30d03339861a46c31aa44c11279c282f2b0
Author: Gleb Natapov <gleb at redhat.com>
Date:   Sun Jan 30 12:29:18 2011 +0200

    Add bootindex handling into usb storage device.
    
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 363f8cb9bcd308bd03d28e04ea5f5557dea5d5e8
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Dec 23 13:42:54 2010 +0100

    fix QemuOpts leak
    
    Now that no backend's open function saves the passed QemuOpts, fix a leak
    in the qemu_chr_open backwards-compatible parser.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 44b37b933745a9005504427dec06f4066af9762e
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Dec 23 13:42:53 2010 +0100

    remove text_console_opts
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4104833f51e9c2e7a3def0411e48159e77bf7906
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Dec 23 13:42:52 2010 +0100

    add set_echo implementation for text consoles
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 491e114a953d746b5787e72516d052aef0b67bc4
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Dec 23 13:42:51 2010 +0100

    create TextConsole together with the CharDeviceState
    
    A nicer solution would be to get rid of the opaque pointer and
    use containment, but it would also be a much bigger patch.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bb002513a9bd2bff169c3d431a8f00c5b2e3aa99
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Dec 23 13:42:50 2010 +0100

    add set_echo implementation for qemu_chr_stdio
    
    This also requires moving QemuOpts out of term_init.
    
    Clearing ISIG is independent of whether echo is enabled or disabled.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0369364be871f9c4b4429a69ddcd2ba21be34ea3
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Dec 23 13:42:49 2010 +0100

    move atexit(term_exit) and O_NONBLOCK to qemu_chr_open_stdio
    
    In the next patch, term_init will be changed to enable or disable
    echo at will.  Move extraneous stuff out of it.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c48855e1404e9b5857e07b7839f806fa98b4abdc
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Dec 23 13:42:48 2010 +0100

    add qemu_chr_set_echo
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d55dbc3acdaf92b42c7fd077c8b6c1392131c043
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Dec 23 13:42:47 2010 +0100

    remove broken code for tty
    
    This code is taking the settings for a serial port and moving it to
    fd 0 when qemu exits.  This is likely just cut-and-paste, rip it.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b3a98367eec7b2d87acca54ef5e4de3b0e0a7ed5
Merge: 9363ee31ab53fc0fd39fbe5936d9c00a2f4e54a4 c5999bfcfdf66390c98115044cb6fd174fbcf36d
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Feb 1 15:23:24 2011 -0600

    Merge remote branch 'qemu-kvm/uq/master' into staging
    
    aliguori: fix build with !defined(KVM_CAP_ASYNC_PF)
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9363ee31ab53fc0fd39fbe5936d9c00a2f4e54a4
Merge: cfb41c82ab9c468e599d3603ffcebeb81b6577ca cbcc6336ce9e5c048821b136649712e078c4d05f
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Feb 1 15:22:48 2011 -0600

    Merge remote branch 'spice/spice.v29.pull' into staging
    
    Conflicts:
    	trace-events

commit cfb41c82ab9c468e599d3603ffcebeb81b6577ca
Merge: e54b7f5256659dddaf6b5c021847859829d7ebd7 ea87e95f8fda609fa665c2abd33c30ae65e6fae2
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Feb 1 15:21:23 2011 -0600

    Merge remote branch 'spice/usb.5' into staging

commit e54b7f5256659dddaf6b5c021847859829d7ebd7
Merge: 1cd20f8bf0ecb9d1d1bd5e2ffab3b88835380c9b 37f95bf3d063fcfcb3b05f82203629dc50f18615
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Feb 1 15:20:56 2011 -0600

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

commit 1cd20f8bf0ecb9d1d1bd5e2ffab3b88835380c9b
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Jan 31 14:27:36 2011 -0600

    vnc: Fix password expiration through 'change vnc ""' (v2)
    
    commit 52c18be9e99dabe295321153fda7fce9f76647ac introduced a regression in the
    change vnc password command that changed the behavior of setting the VNC
    password to an empty string from disabling login to disabling authentication.
    
    This commit refactors the code to eliminate this overloaded semantics in
    vnc_display_password and instead introduces the vnc_display_disable_login.   The
    monitor implementation then determines the behavior of an empty or missing
    string.
    
    Recently, a set_password command was added that allows both the Spice and VNC
    password to be set.  This command has not shown up in a release yet so the
    behavior is not yet defined.
    
    This patch proposes that an empty password be treated as an empty password with
    no special handling.  For specifically disabling login, I believe a new command
    should be introduced instead of overloading semantics.
    
    I'm not sure how Spice handles this but I would recommend that we have Spice
    and VNC have consistent semantics here for the 0.14.0 release.
    
    Reported-by: Neil Wilson <neil at aldur.co.uk>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
    ---
    v1 -> v2
     - Add a proper return to make sure that login is really disabled instead of
       relying on the VNC server to treat empty passwords specially

commit e321c34aa1d2560bea4d525af66417147467c515
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Tue Feb 1 15:54:52 2011 +0000

    linux-user: avoid gcc array overrun warning for sparc
    
    Suppress a gcc array bounds overrun warning when filling in the SPARC
    signal frame by adjusting our definition of the structure so that the
    fp and callers_pc membes are part of the ins[] array rather than
    separate fields; since qemu has no need to access the fields individually
    there is no need to follow the kernel's structure field naming exactly.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c84a88d8cb298b6757ad01a12a8bbba66cb6eaa2
Author: Peter Maydell <peter.maydell at linaro.org>
Date:   Mon Jan 31 10:42:26 2011 +0000

    hw/slavio_intctl.c: fix gcc warning about array bounds overrun
    
    The Ubuntu 10.10 gcc for ARM complains that we might be overrunning
    the cpu_irqs[][] array: silence this by correcting the bounds on the
    loop. (In fact we would not have overrun the array because bit
    MAX_PILS in pil_pending and irl_out will always be 0.)
    
    Also add a comment about why the loop's lower bound is OK.
    
    Signed-off-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 60f356e86d66a4a22530ec7570f7582af602d200
Author: Fabien Chouteau <chouteau at adacore.com>
Date:   Mon Jan 31 11:36:54 2011 +0100

    SPARC: Fix Leon3 cache control
    
    The "leon3_cache_control_int" (op_helper.c) function is called within leon3.c
    which leads to segfault error with the global "env".
    
    Now cache control is a CPU feature and everything is handled in op_helper.c.
    
    Signed-off-by: Fabien Chouteau <chouteau at adacore.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 2685d2961b51437d0c7bc71f4ed7c320f6cbd010
Merge: 319ae529b8d55ea60b1036809aaab2130048d0e1 4c90051801725d5bd12979a585a8da5f1eecd497
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Jan 31 12:07:17 2011 -0600

    Merge remote branch 'mst/for_anthony' into staging

commit 319ae529b8d55ea60b1036809aaab2130048d0e1
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 28 11:21:46 2011 +0100

    blockdev: Fix drive_add for drives without media
    
    Watch this:
    
        (qemu) drive_add 0 if=none
        (qemu) info block
        none0: type=hd removable=0 [not inserted]
        (qemu) drive_del none0
        Segmentation fault (core dumped)
    
    add_init_drive() is confused about drive_init()'s failure modes, and
    cleans up when it shouldn't.  This leaves the DriveInfo with member
    opts dangling.  drive_del attempts to free it, and dies.
    
    drive_init() behaves as follows:
    
    * If it created a drive with media, it returns its DriveInfo.
    
    * If it created a drive without media, it clears *fatal_error and
      returns NULL.
    
    * If it couldn't create a drive, it sets *fatal_error and returns
      NULL.
    
    Of its three callers:
    
    * drive_init_func() is correct.
    
    * usb_msd_init() assumes drive_init() failed when it returns NULL.
      This is correct only because it always passes option "file", and
      "drive without media" can't happen then.
    
    * add_init_drive() assumes drive_init() failed when it returns NULL.
      This is incorrect.
    
    Clean up drive_init() to return NULL on failure and only on failure.
    Drop its parameter fatal_error.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 5645b0f4f2185437d8df03810ce9c102cc4c90db
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Jan 31 11:50:09 2011 +0100

    blockdev: Replace drive_add()'s fmt, ... by optstr parameter
    
    Let the callers build the optstr.  Only one wants to.  All the others
    become simpler, because they don't have to worry about escaping '%'.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 4e5d9b578f5d5ffbf7ef7e26abed23a0548a853a
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 28 11:21:45 2011 +0100

    blockdev: Reject multiple definitions for the same drive
    
    We silently ignore multiple definitions for the same drive:
    
        $ qemu-system-x86_64 -nodefaults -vnc :1 -S -monitor stdio -drive if=ide,index=1,file=tmp.qcow2 -drive if=ide,index=1,file=nonexistant
        QEMU 0.13.50 monitor - type 'help' for more information
        (qemu) info block
        ide0-hd1: type=hd removable=0 file=tmp.qcow2 backing_file=tmp.img ro=0 drv=qcow2 encrypted=0
    
    With if=none, this can become quite confusing:
    
        $ qemu-system-x86_64 -nodefaults -vnc :1 -S -monitor stdio -drive if=none,index=1,file=tmp.qcow2,id=eins -drive if=none,index=1,file=nonexistant,id=zwei -device ide-drive,drive=eins -device ide-drive,drive=zwei
        qemu-system-x86_64: -device ide-drive,drive=zwei: Property 'ide-drive.drive' can't find value 'zwei'
    
    The second -device fails, because it refers to drive zwei, which got
    silently ignored.
    
    Make multiple drive definitions fail cleanly.
    
    Unfortunately, there's code that relies on multiple drive definitions
    being silently ignored: main() merrily adds default drives even when
    the user already defined these drives.  Fix that up.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit f1bd51ac2b6e6ccd3d13dfd52c1c381a68bf261c
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 28 11:21:44 2011 +0100

    blockdev: New drive_get_by_index()
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 505a7fb1b1bfa732117d526a8d3a0f27741155d6
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 28 11:21:43 2011 +0100

    blockdev: Factor drive_index_to_{bus,unit}_id out of drive_init()
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 2292ddaeab3467c68efd9e07e17ca0c9fc510fdc
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 28 11:21:41 2011 +0100

    blockdev: Make drive_add() take explicit type, index parameters
    
    Before, type & index were hidden in printf-like fmt, ... parameters,
    which get expanded into an option string.  Rather inconvenient for
    uses later in this series.
    
    New IF_DEFAULT to ask for the machine's default interface.  Before,
    that was done by having no option "if" in the option string.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 27d6bf40edc346a61ade6d4c5d4f27f6b40acc81
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 28 11:21:40 2011 +0100

    blockdev: Fix regression in -drive if=scsi,index=N
    
    Before commit 622b520f, index=12 meant bus=1,unit=5.
    
    Since the commit, it means bus=0,unit=12.  The drive is created, but
    not the guest device.  That's because the controllers we use with
    if=scsi drives (lsi53c895a and esp) support only 7 units, and
    scsi_bus_legacy_handle_cmdline() ignores drives with unit numbers
    exceeding that limit.
    
    Changing the mapping of index to bus, unit is a regression.  Breaking
    -drive invocations that used to work just makes it worse.
    
    Revert the part of commit 622b520f that causes this, and clean up
    some.
    
    Note that the fix only affects if=scsi.  You can still put more than 7
    units on a SCSI bus with -device & friends.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 1960966d1b57628f730b66fe33cd2005846092e0
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 28 11:21:39 2011 +0100

    blockdev: Put BlockInterfaceType names and max_devs in tables
    
    Turns drive_init()'s lengthy conditional into a concise loop, and
    makes the data available elsewhere.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 904ebffee5a7e7d246039ad5826195fe51ccf769
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 28 11:21:38 2011 +0100

    blockdev: Move BlockInterfaceType from qemu-common.h to blockdev.h
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 13839974d14701626a2f9dcc5f8cf65783d51c11
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 28 11:21:37 2011 +0100

    blockdev: New drive_get_next(), replacing qdev_init_bdrv()
    
    qdev_init_bdrv() doesn't belong into qdev.c; it's about drives, not
    qdevs.  Rename to drive_get_next, move to blockdev.c, drop the bogus
    DeviceState argument, and return DriveInfo instead of
    BlockDriverState.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 1869a65385e9d81f490b4203dd070cc49b7749c9
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Jan 29 08:19:15 2011 +0000

    qcow2-refcount: remove write-only variables
    
    Variables l2_modified and l2_size are not really used, remove them.
    Spotted by GCC 4.6.0:
      CC    block/qcow2-refcount.o
    /src/qemu/block/qcow2-refcount.c: In function 'qcow2_update_snapshot_refcount':
    /src/qemu/block/qcow2-refcount.c:708:37: error: variable 'l2_modified' set but not used [-Werror=unused-but-set-variable]
    /src/qemu/block/qcow2-refcount.c:708:9: error: variable 'l2_size' set but not used [-Werror=unused-but-set-variable]
    
    CC: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 31e1ea3ee7d05ab1aa134fe07a8f33b42417641f
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 28 11:21:36 2011 +0100

    scsi hotplug: Set DriveInfo member bus correctly
    
    drive_init() picks the first free bus and unit number, unless the user
    specifies them.
    
    This isn't a good fit for the drive_add monitor command, because there
    we specify the controller by PCI address instead of using bus number
    set by drive_init().
    
    scsi_hot_add() takes care to replace the unit number set by
    drive_init() by the real one, but it neglects to replace the bus
    number.  Thus, bus/unit in DriveInfo may be bogus.  Affects
    drive_get() and drive_get_max_bus().  I'm not aware of anything bad
    happening because of that; looks like by the time we're hot-plugging,
    the two functions aren't used anymore.  Fix it anyway.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 1b40bbd13a2d37dcd88763b84d01ec68bc96ff14
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Jan 28 15:57:39 2011 +0100

    raw-win32: Fix bdrv_flush return value
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 0d09c7970063ecdabdc2841ffa32e1cf3e032336
Author: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
Date:   Fri Jan 28 17:11:59 2011 +0000

    qed: Images with backing file do not require QED_F_NEED_CHECK
    
    The consistency check on open is necessary in order to fix inconsistent
    table offsets left as a result of a crash mid-operation.  Images with a
    backing file actually flush before updating table offsets and are
    therefore guaranteed to be consistent.  Do not mark these images dirty.
    
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 5ea929e3d13622e5d06ca8795819f1590644cda2
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 26 16:56:48 2011 +0100

    qcow2: Add bdrv_discard support
    
    This adds a bdrv_discard function to qcow2 that frees the discarded clusters.
    It does not yet pass the discard on to the underlying file system driver, but
    the space can be reused by future writes to the image.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Reviewed-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>

commit a9c49a6b023fd3706002fd8d549c58f0343932f8
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 26 16:56:34 2011 +0100

    qemu-io: Fix discard command
    
    qemu-io passed bytes where it's supposed to pass sectors, so discard requests
    were off.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Reviewed-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>

commit b4447363469650fc98f67714336cb0baa6156a5e
Author: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Date:   Fri Jan 28 01:33:10 2011 +0900

    sheepdog: support creating images on remote hosts
    
    This patch parses the input filename in sd_create(), and enables us
    specifying a target server to create sheepdog images.
    
    Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit bf595021c765c8869cf2942874c419d7b73bbaf6
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jan 27 11:25:03 2011 +0100

    Reorganize struct Qcow2Cache for better struct packing
    
    Move size after the two pointers in struct Qcow2Cache to get better
    packing of struct elements on 64 bit architectures.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit fe6ceac86041ecdf7b99a3d57991941277fa7694
Author: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
Date:   Wed Jan 26 10:24:56 2011 +0000

    ahci: Fix cpu_physical_memory_unmap() argument ordering
    
    The len and is_write arguments to cpu_physical_memory_unmap() were
    swapped.  This patch changes calls to use the correct argument ordering.
    
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit d7142456c4c0a8793a7888e00ef7fbf0553f9c66
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Wed Jan 26 11:54:58 2011 +0100

    Add documentation for STRTOSZ_DEFSUFFIX_ macros
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit d0dcac833a767dade968a07aba4d116f162ebc72
Author: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
Date:   Tue Jan 25 16:17:14 2011 +0000

    virtio-pci: Disable virtio-ioeventfd when !CONFIG_IOTHREAD
    
    It is not possible to use virtio-ioeventfd when building without an I/O
    thread.  We rely on a signal to kick us out of vcpu execution.  Timers
    and AIO use SIGALRM and SIGUSR2 respectively.  Unfortunately eventfd
    does not support O_ASYNC (SIGIO) so eventfd cannot be used in a signal
    driven manner.
    
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Acked-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit e5051fc70807750f7a4798d2d83e159793c466d3
Author: Christoph Hellwig <hch at lst.de>
Date:   Mon Jan 24 13:32:51 2011 +0100

    virtio-blk: tell the guest about size changes
    
    Raise a config change interrupt when the size changed.  This allows
    virtio-blk guest drivers to read-read the information from the
    config space once it got the config chaged interrupt.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit db97ee6a976bacbb0d18818e951cfc41b39269a7
Author: Christoph Hellwig <hch at lst.de>
Date:   Mon Jan 24 13:32:41 2011 +0100

    block: tell drivers about an image resize
    
    Extend the change_cb callback with a reason argument, and use it
    to tell drivers about size changes.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 6d4a2b3a47959f02e7f307f50396e70e8464f95e
Author: Christoph Hellwig <hch at lst.de>
Date:   Mon Jan 24 13:32:33 2011 +0100

    block: add block_resize monitor command
    
    Add a monitor command that allows resizing of block devices while
    qemu is running.  It uses the existing bdrv_truncate method already
    used by qemu-img to do it's work.  Compared to qemu-img the size
    parsing is very simplicistic, but I think having a properly numering
    object is more useful for non-humand monitor users than having
    the units and relative resize parsing.
    
    For SCSI devices the new size can be updated in Linux guests by
    doing the following shell command:
    
    	echo > /sys/class/scsi_device/0:0:0:0/device/rescan
    
    For ATA devices I don't know of a way to update the block device
    size in Linux system, and for virtio-blk the next two patches
    will provide an automatic update of the size when this command
    is issued on the host.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 2be22ca5a8dd96c68ef0e90fd916aa6555ae915b
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Mon Jan 24 16:33:31 2011 +0100

    strtosz(): Use suffix macros in switch() statement
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 7eb053494c76bb417f83b6e6784a5dbb27638dba
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Mon Jan 24 16:33:30 2011 +0100

    strtosz(): Fix name confusion in use of modf()
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit a2afc2c16339a85176696738e4c58ed4ff36f8b5
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Mon Jan 24 16:33:29 2011 +0100

    strtosz() use qemu_toupper() to simplify switch statement
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit f3bd362a1857c617a4154062cadd501fc52c4199
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Mon Jan 24 16:33:28 2011 +0100

    strtosz(): use unsigned char and switch to qemu_isspace()
    
    isspace() behavior is undefined for signed char.
    
    Bug pointed out by Eric Blake, thanks!
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 45d1aa828f8c94b082a0aa2dbf76535594ee45df
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Jan 30 13:10:10 2011 +0000

    Update OpenBIOS images to r1018
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 1b958498acaeee61f0db648b464c04f228f8aab6
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Jan 29 22:52:33 2011 +0000

    sdl: remove unused variable
    
    Variable rec is not used, remove it. Spotted by GCC 4.6.0:
      CC    ui/sdl.o
    /src/qemu/ui/sdl.c: In function 'sdl_setdata':
    /src/qemu/ui/sdl.c:90:14: error: variable 'rec' set but not used [-Werror=unused-but-set-variable]
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 320fba2a1f384e17db150d74540a2cf005eb47b5
Author: Fabien Chouteau <chouteau at adacore.com>
Date:   Thu Jan 27 10:24:41 2011 +0100

    New trace-event backend: stderr
    
    This backend sends trace events to standard error output during the emulation.
    
    Also add a "--list-backends" option to tracetool, so configure script can
    display the list of available backends.
    
    Signed-off-by: Fabien Chouteau <chouteau at adacore.com>
    Acked-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 491e2a338fdf8310c84f6ebaed1683a871a0700e
Author: Hervé Poussineau <hpoussin at reactos.org>
Date:   Tue Jan 18 22:43:56 2011 +0100

    prep: Disable second IDE channel, as long as ISA IDE emulation doesn't support same irq for both channels
    
    Cc: Andreas Färber <andreas.faerber at web.de>
    Signed-off-by: Hervé Poussineau <hpoussin at reactos.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 74145374bfc0b7b02415184606236f0390479deb
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Tue Jan 18 22:43:55 2011 +0100

    prep: Remove bogus BIOS size check
    
    r3480 added this check to account for the entry vector 0xfff00100 to be
    available for CPUs that need it. Today however, the NIP is not yet
    initialized at this point (zero), so the check always triggers.
    
    Moreover, BIOS size check is already done previously, so this part can
    be removed too.
    
    Cc: Alexander Graf <agraf at suse.de>
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Signed-off-by: Hervé Poussineau <hpoussin at reactos.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 51e08f3e4b8a3b6d27fde9a9e75c8fa32eaa72d0
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Jan 25 11:55:15 2011 +0100

    mc146818rtc: update registers after a format change
    
    For some unknown reason, the MIPS kernel briefly changes the RTC to
    binary mode during boot, switch back to BCD mode and read the time. As
    the registers are updated only every second, they may still be in the
    old format when they are read.
    
    This patch forces a register update immediately after a format change
    (BCD/binary or 12/24H). This avoid long fsck during boot due to time
    wrap.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c29cd656a8fad633fb9ca45b88ade9838d35fd5c
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Jan 25 11:55:15 2011 +0100

    mc146818rtc: constantify
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 46eece9d8969ac37bcdf0a3f056a9cceb20bc641
Author: Juha Riihimäki <juha.riihimaki at nokia.com>
Date:   Thu Jan 27 19:18:35 2011 +0000

    target-arm: Fix Neon VQ(R)DMULH.S16 instructions
    
    Correct an error in the implementation of the 16 bit
    forms of VQ(R)DMULH, bringing them into line with the
    32 bit implementation.
    
    Signed-off-by: Juha Riihimäki <juha.riihimaki at nokia.com>
    Reviewed-by: Peter Maydell <peter.maydell at linaro.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 92e3c2a39e95576dd215b063e493069c67ffaab8
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Jan 25 11:55:14 2011 +0100

    virtio-blk: fix cross-endianness targets
    
    virtio-blk doesn't work on cross-endian configuration, as endianness is
    not handled correctly.
    
    This patch adds missing endianness conversions to make virtio-blk
    working. Tested on the following configurations:
    - i386 guest on x86_64 host
    - ppc guest on x86_64 host
    - i386 guest on mips host
    - ppc guest on mips host
    
    Reviewed-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 44b15bc5c65ab6b3103f508504e4adf8ee9902d7
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Jan 25 11:55:14 2011 +0100

    virtio-net: fix cross-endianness support
    
    virtio-net used to work on cross-endianness configurations, but doesn't
    anymore with recent guest kernels, as the new features don't handle
    endianness correctly.
    
    This patch fixes wrong conversion, and add missing ones to make
    virtio-net working. Tested on the following configurations:
    - i386 guest on x86_64 host
    - ppc guest on x86_64 host
    - i386 guest on mips host
    - ppc guest on mips host
    
    Cc: Anthony Liguori <aliguori at us.ibm.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit f53671c054ba0b5d5b10e2a7294786fa2f73479e
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Jan 27 08:21:35 2011 +0100

    escc: fix interrupt flags
    
    Recent PowerPC kernel end up in kernel panic during boot in -nographic
    mode. In this mode the second serial port is used as the udbg console,
    and thus a few characters are sent on this port. This activates the
    tx interrupt flag, and later choke the Linux kernel, as it was not
    expecting such a flag to be set.
    
    The problem here comes from the fact that contrary to most devices the
    interrupt flags are only set if the interrupt is enabled. Quoting the
    datasheet: "If the corresponding IE bit is not set, the IP for that
    source of interrupt will never be set."
    
    This patch fixes that by enabling the interrupt flag only when the
    corresponding interrupt is enabled.
    
    Cc: Blue Swirl <blauwirbel at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0bb533374a110f22412d95e75768afb8212f8243
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Fri Jan 21 19:57:50 2011 +0300

    pxa2xx_gpio: switch to using qdev
    
    As noted by Markus Armbruster pxa2xx_gpio vmstate version bumped
    because of a change in the or .ilevel / .olevel arrays are saved,
    for convenience.
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 7ef4227baae2cdd460bfe714393cb8e7e4cff354
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Fri Jan 21 19:56:10 2011 +0300

    spitz: make spitz-keyboard to use qdev infrastructure
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 34f9f0b5802a6ff9ec0be00810f7910d3935df3e
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Fri Jan 21 13:12:11 2011 +0300

    spitz: make sl-nand emulation use qdev infrastructure
    
    Switch sl-nand emulation to use qdev and vmstate. Also drop ecc_get/_put
    functions as sl-nand was the only user of that code.
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 43842120f482564ea2059a78ae6b8a93bb18c91d
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Thu Jan 20 18:52:28 2011 +0300

    Use vmstate to save/load spitz-lcdtg and corgi-ssp state
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 383d01c663290e09d4529bf539ee9e91b75d2fec
Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Thu Jan 20 18:52:27 2011 +0300

    SharpSL scoop device - convert to qdev
    
    Convert SharpSL scoop device to qdev, remove lots of supporting code, as
    lot of init and gpio related things can now be done automagically.
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 4c90051801725d5bd12979a585a8da5f1eecd497
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Thu Jan 27 12:49:04 2011 +0900

    pci: typo in pcibus_get_dev_path()
    
    This patch fixes typo in pcibus_get_dev_path().
    Without this patch, the result of pcibus_get_dev_path() isn't unique.
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit bb34007e86aa2a7902ee60e0f6fa2f0e4cccbffe
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Jan 26 15:55:07 2011 +0200

    pci: bridge control fixup
    
    PCI_BRIDGE_CTL_DISCARD_STATUS (bit 10 in bridge control register)
    is W1C so we should not make it writeable, otherwise the assert(!(wmask
    & w1cmask)) in pci_default_write_config() is hit
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Reported-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Tested-by: Isaku Yamahata <yamahata at valinux.co.jp>

commit be7052c2a8f667f1dc42b06afcebb964ee0b03ff
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Mon Jan 24 19:00:47 2011 +0900

    pci: memory leak of PCIDevice::rom_file
    
    PCIDevice::rom_file is leaked.
    PCIDevice::rom_file is allocated in pci_qdev_init(), but not freed anywhere.
    free it in qemu_unregister_device().
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit c5999bfcfdf66390c98115044cb6fd174fbcf36d
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:22 2011 +0100

    kvm: x86: Only read/write MSR_KVM_ASYNC_PF_EN if supported
    
    If the kernel does not support KVM_CAP_ASYNC_PF, it also does not know
    about the related MSR. So skip it during state synchronization in that
    case. Fixes annoying kernel warnings.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit d8f771d9124e9a295b564d47d7546d93e844b526
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:21 2011 +0100

    kvm: x86: Implicitly clear nmi_injected/pending on reset
    
    All CPUX86State variables before CPU_COMMON are automatically cleared on
    reset. Reorder nmi_injected and nmi_pending to avoid having to touch
    them explicitly.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit b66042c722e4e7b2811a08873b1ecf2c2c1e5f0a
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:20 2011 +0100

    kvm: Do not use qemu_fair_mutex
    
    The imbalance in the hold time of qemu_global_mutex only exists in TCG
    mode. In contrast to TCG VCPUs, KVM drops the global lock during guest
    execution. We already avoid touching the fairness lock from the
    IO-thread in KVM mode, so also stop using it from the VCPU threads.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit b0c883b5e079a4f719c43f875034e5e665ccc232
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:19 2011 +0100

    kvm: Flush coalesced mmio buffer on IO window exits
    
    We must flush pending mmio writes if we leave kvm_cpu_exec for an IO
    window. Otherwise we risk to loose those requests when migrating to a
    different host during that window.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 110761987d10c6e6983cc445618acfd158d7ce02
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:18 2011 +0100

    kvm: x86: Rework identity map and TSS setup for larger BIOS sizes
    
    In order to support loading BIOSes > 256K, reorder the code, adjusting
    the base if the kernel supports moving the identity map.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 94a8d39afd8ccfdbf578af04c3385fdb5f545af1
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:17 2011 +0100

    kvm: Consolidate must-have capability checks
    
    Instead of splattering the code with #ifdefs and runtime checks for
    capabilities we cannot work without anyway, provide central test
    infrastructure for verifying their availability both at build and
    runtime.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit cad1e2827b616487e3574300f2eaeea13a355197
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:16 2011 +0100

    kvm: Drop smp_cpus argument from init functions
    
    No longer used.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 521f0798d7e38c21983211a6585ebcf79de4c14a
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:15 2011 +0100

    kvm: x86: Fix !CONFIG_KVM_PARA build
    
    If we lack kvm_para.h, MSR_KVM_ASYNC_PF_EN is not defined. The change in
    kvm_arch_init_vcpu is just for consistency reasons.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit ff5c186b8b6169bf25a6f30670a75fb9d4c945e3
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:14 2011 +0100

    kvm: x86: Reset paravirtual MSRs
    
    Make sure to write the cleared MSR_KVM_SYSTEM_TIME, MSR_KVM_WALL_CLOCK,
    and MSR_KVM_ASYNC_PF_EN to the kernel state so that a freshly booted
    guest cannot be disturbed by old values.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    CC: Glauber Costa <glommer at redhat.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit c3a3a7d356c4df2fe145037172ae52cba5f545a5
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:13 2011 +0100

    kvm: x86: Refactor msr_star/hsave_pa setup and checks
    
    Simplify kvm_has_msr_star/hsave_pa to booleans and push their one-time
    initialization into kvm_arch_init. Also handle potential errors of that
    setup procedure.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 1a5e9d2fafa5d31587e218cea462637bfad52b53
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:12 2011 +0100

    kvm: x86: Fix xcr0 reset mismerge
    
    For unknown reasons, xcr0 reset ended up in kvm_arch_update_guest_debug
    on upstream merge. Fix this and also remove the misleading comment (1 is
    THE reset value).
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 3390e7f79784cbc75df408740cda4edbcf57ac58
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:11 2011 +0100

    kvm: x86: Remove redundant mp_state initialization
    
    kvm_arch_reset_vcpu initializes mp_state, and that function is invoked
    right after kvm_arch_init_vcpu.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit c14750e8ad4a9d8d7621e2594abda34df19a6eff
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:10 2011 +0100

    kvm: x86: Prepare kvm_get_mp_state for in-kernel irqchip
    
    This code path will not yet be taken as we still lack in-kernel irqchip
    support. But qemu-kvm can already make use of it and drop its own
    mp_state access services.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 0d75a9ecd7ff77db0f1b5bfb3a3fee2438acefa4
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:09 2011 +0100

    kvm: x86: Align kvm_arch_put_registers code with comment
    
    The ordering doesn't matter in this case, but better keep it consistent.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit f5c848eed769b795ac9c06bfb315e4aa9116337c
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:08 2011 +0100

    x86: Optionally dump code bytes on cpu_dump_state
    
    Introduce the cpu_dump_state flag CPU_DUMP_CODE and implement it for
    x86. This writes out the code bytes around the current instruction
    pointer. Make use of this feature in KVM to help debugging fatal vm
    exits.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit bb44e0d12df70bd4a653341db4446daf6a9326be
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:07 2011 +0100

    kvm: Improve reporting of fatal errors
    
    Report KVM_EXIT_UNKNOWN, KVM_EXIT_FAIL_ENTRY, and KVM_EXIT_EXCEPTION
    with more details to stderr. The latter two are so far x86-only, so move
    them into the arch-specific handler. Integrate the Intel real mode
    warning on KVM_EXIT_FAIL_ENTRY that qemu-kvm carries, but actually
    restrict it to Intel CPUs. Moreover, always dump the CPU state in case
    we fail.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 73aaec4a39b3cf11082303a6cf6bcde8796c09c6
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:06 2011 +0100

    kvm: Stop on all fatal exit reasons
    
    Ensure that we stop the guest whenever we face a fatal or unknown exit
    reason. If we stop, we also have to enforce a cpu loop exit.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 646042e1aba31f377892e48f6145fbc8487d4481
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 21 21:48:05 2011 +0100

    kvm: x86: Swallow KVM_EXIT_SET_TPR
    
    This exit only triggers activity in the common exit path, but we should
    accept it in order to be able to detect unknown exit types.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit a426e122173f36f05ea2cb72dcff77b7408546ce
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Tue Jan 4 09:32:13 2011 +0100

    kvm: Fix coding style violations
    
    No functional changes.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit b9bec74bcb16519a876ec21cd5277c526a9b512d
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Dec 27 16:19:29 2010 +0100

    kvm: x86: Fix a few coding style violations
    
    No functional changes.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit 95c077c91900c1420cd4f0be996ffeea6fb6cec8
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Dec 27 15:58:23 2010 +0100

    kvm: x86: Prevent sign extension of DR7 in guest debugging mode
    
    This unbreaks guest debugging when the 4th hardware breakpoint used for
    guest debugging is a watchpoint of 4 or 8 byte lenght. The 31st bit of
    DR7 is set in that case and used to cause a sign extension to the high
    word which was breaking the guest state (vm entry failure).
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit 3980e3024b2d1677a9910de5e35d22d5d8392522
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Dec 27 15:57:35 2010 +0100

    kvm: x86: Remove obsolete SS.RPL/DPL aligment
    
    This seems to date back to the days KVM didn't support real mode. The
    check is no longer needed and, even worse, is corrupting the guest state
    in case SS.RPL != DPL.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit acaa75507b34f7b588924a09c76c6848d209e08c
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Dec 27 15:56:44 2010 +0100

    kvm: x86: Fix DPL write back of segment registers
    
    The DPL is stored in the flags and not in the selector. In fact, the RPL
    may differ from the DPL at some point in time, and so we were corrupting
    the guest state so far.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit 7cc2cc3e2608b182f1e0fc7ecae6e3b1fa4f46e0
Author: Jin Dongming <jin.dongming at np.css.fujitsu.com>
Date:   Wed Dec 22 12:24:51 2010 +0900

    kvm: introduce kvm_inject_x86_mce_on
    
    Pass a table instead of multiple args.
    
    Note:
    
        kvm_inject_x86_mce(env, bank, status, mcg_status, addr, misc,
                           abort_on_error);
    
    is equal to:
    
        struct kvm_x86_mce mce = {
            .bank = bank,
            .status = status,
            .mcg_status = mcg_status,
            .addr = addr,
            .misc = misc,
        };
        kvm_inject_x86_mce_on(env, &mce, abort_on_error);
    
    Signed-off-by: Hidetoshi Seto <seto.hidetoshi at jp.fujitsu.com>
    Signed-off-by: Jin Dongming <jin.dongming at np.css.fujitsu.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit e387c33892be35ca70255739a2fe118f76c95ac3
Author: Jin Dongming <jin.dongming at np.css.fujitsu.com>
Date:   Wed Dec 22 12:24:38 2010 +0900

    kvm: kvm_mce_inj_* subroutines for templated error injections
    
    Refactor codes for maintainability.
    
    Signed-off-by: Hidetoshi Seto <seto.hidetoshi at jp.fujitsu.com>
    Signed-off-by: Jin Dongming <jin.dongming at np.css.fujitsu.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 6643e2f001f207bdb85646a4c48d1e13244d87c3
Author: Jin Dongming <jin.dongming at np.css.fujitsu.com>
Date:   Wed Dec 22 12:24:22 2010 +0900

    kvm: introduce kvm_mce_in_progress
    
    Share same error handing, and rename this function after
    MCIP (Machine Check In Progress) flag.
    
    Signed-off-by: Hidetoshi Seto <seto.hidetoshi at jp.fujitsu.com>
    Signed-off-by: Jin Dongming <jin.dongming at np.css.fujitsu.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 2bd3e04c3b3c76d573435a299a4d85bad0021a90
Author: Jin Dongming <jin.dongming at np.css.fujitsu.com>
Date:   Fri Dec 10 17:21:14 2010 +0900

    Add function for checking mca broadcast of CPU
    
    Add function for checking whether current CPU support mca broadcast.
    
    Signed-off-by: Jin Dongming <jin.dongming at np.css.fujitsu.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 31ce5e0c49821d92fb30cce2f3055ef33613b287
Author: Jin Dongming <jin.dongming at np.css.fujitsu.com>
Date:   Fri Dec 10 17:21:02 2010 +0900

    Add "broadcast" option for mce command
    
    When the following test case is injected with mce command, maybe user could not
    get the expected result.
        DATA
                   command cpu bank status             mcg_status  addr   misc
            (qemu) mce     1   1    0xbd00000000000000 0x05        0x1234 0x8c
    
        Expected Result
               panic type: "Fatal Machine check"
    
    That is because each mce command can only inject the given cpu and could not
    inject mce interrupt to other cpus. So user will get the following result:
        panic type: "Fatal machine check on current CPU"
    
    "broadcast" option is used for injecting dummy data into other cpus. Injecting
    mce with this option the expected result could be gotten.
    
    Usage:
        Broadcast[on]
               command broadcast cpu bank status             mcg_status  addr   misc
        (qemu) mce     -b        1   1    0xbd00000000000000 0x05        0x1234 0x8c
    
        Broadcast[off]
               command cpu bank status             mcg_status  addr   misc
        (qemu) mce     1   1    0xbd00000000000000 0x05        0x1234 0x8c
    
    Signed-off-by: Jin Dongming <jin.dongming at np.css.fujitsu.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit b3cd24e04a2aea342429c09ed93468dd3206fede
Author: Jin Dongming <jin.dongming at np.css.fujitsu.com>
Date:   Fri Dec 10 17:20:44 2010 +0900

    Clean up cpu_inject_x86_mce()
    
    Clean up cpu_inject_x86_mce() for later patch.
    
    Signed-off-by: Jin Dongming <jin.dongming at np.css.fujitsu.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 14a095184c6068c78e67f17c200cf00b4170f704
Author: Lai Jiangshan <laijs at cn.fujitsu.com>
Date:   Fri Dec 10 15:52:36 2010 +0800

    kvm: convert kvm_ioctl(KVM_CHECK_EXTENSION) to kvm_check_extension()
    
    simple cleanup and use existing helper: kvm_check_extension().
    
    Signed-off-by: Lai Jiangshan <laijs at cn.fujitsu.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 276ce81563aeadea5493fbc4fbc84647d5bfbdeb
Author: Lai Jiangshan <laijs at cn.fujitsu.com>
Date:   Fri Dec 10 15:42:53 2010 +0800

    kvm: Enable user space NMI injection for kvm guest
    
    Make use of the new KVM_NMI IOCTL to send NMIs into the KVM guest if the
    user space raised them. (example: qemu monitor's "nmi" command)
    
    Signed-off-by: Lai Jiangshan <laijs at cn.fujitsu.com>
    Acked-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 37f95bf3d063fcfcb3b05f82203629dc50f18615
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 19 16:07:10 2011 +0530

    virtio-serial: save/restore new fields in port struct
    
    The new fields that got added as part of not copying over the guest
    buffer to the host need to be saved/restored across migration.  Do that
    and bump up the version number.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>

commit f1925dff7e6c4799f5951cf167a437c0737a266c
Author: Amit Shah <amit.shah at redhat.com>
Date:   Fri Dec 10 16:51:14 2010 +0530

    virtio-serial: Add support for flow control
    
    This commit lets apps signal an incomplete write.  When that happens,
    stop sending out any more data to the app and wait for it to unthrottle
    the port.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>

commit e300ac275bbf19b31cf5968b8de8abe52c26e163
Author: Amit Shah <amit.shah at redhat.com>
Date:   Mon Dec 13 17:50:07 2010 +0530

    virtio-serial: Let virtio-serial-bus know if all data was consumed
    
    The have_data() API to hand off guest data to apps using virtio-serial
    so far assumed all the data was consumed.  Relax this assumption.
    Future commits will allow for incomplete writes.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>

commit 471344db88cc3e7adf7664aa34d54ce0cacc3419
Author: Amit Shah <amit.shah at redhat.com>
Date:   Fri Dec 10 17:29:49 2010 +0530

    virtio-serial: Don't copy over guest buffer to host
    
    When the guest writes something to a host, we copied over the entire
    buffer first into the host and then processed it.  Do away with that, it
    could result in a malicious guest causing a DoS on the host.
    
    Reported-by: Paul Brook <paul at codesourcery.com>
    Signed-off-by: Amit Shah <amit.shah at redhat.com>

commit 6bff86560d42a9c391cf1e502ebd764c293c4d02
Author: Amit Shah <amit.shah at redhat.com>
Date:   Fri Jan 7 14:33:36 2011 +0530

    virtio-serial: move out discard logic in a separate function
    
    Instead of combining flush logic into the discard case and not discard
    case, have one function doing discard case.  This will help later when
    adding flow control logic to the do_flush_queued_data() function.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>

commit 28eaf465316491884952f855f7bfc9dab597e6fb
Author: Amit Shah <amit.shah at redhat.com>
Date:   Fri Dec 10 17:10:43 2010 +0530

    virtio-console: Remove unnecessary braces
    
    Remove unnecessary braces around a case statement.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>

commit cbe77b616cb73d0a0aedbf9c80cb3dcb7d324535
Author: Amit Shah <amit.shah at redhat.com>
Date:   Mon Apr 5 14:20:29 2010 +0530

    virtio-console: Factor out common init between console and generic ports
    
    The initialisation for generic ports and console ports is similar.
    Factor out the parts that are the same in a different function that can
    be called from each of the initfns.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>



More information about the Spice-commits mailing list