[Spice-commits] Changes to 'master'

Gerd Hoffmann kraxel at kemper.freedesktop.org
Tue Apr 13 14:19:00 PDT 2010


New branch 'master' available with the following commits:
commit f7e2aca83419dde3c94fa1d5e615581bb4ded9c0
Author: malc <av1474 at comtv.ru>
Date:   Tue Apr 6 03:10:03 2010 +0400

    tcg/ppc: Fix typo
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit a884dcb80451db46b9360c9695b5c55e5d03b16a
Author: malc <av1474 at comtv.ru>
Date:   Tue Apr 6 02:53:11 2010 +0400

    tcg/ppc: Implment bswap16/32
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 61d3cf93e2676282ba1a8d568b2406257f208b26
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Apr 5 19:57:40 2010 +0100

    OHCI qdev conversion
    
    Convert remaining OHCI devices to QDEV interface.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 4f78c9ad5a6076a37a944ededfbec508861103f7
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Apr 5 19:56:34 2010 +0100

    Fix arm-linux-user
    
    Only include hw/loader.h from target-arm/helper.c when building for
    system emulation.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 983fe82611b87a1198d32f58636f6f38b88ad337
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Apr 5 19:34:51 2010 +0100

    ARMv7-M reset fixes
    
    Move ARMv7-M PC/SP initialization to the CPU reset routine.  Add a board
    reset routine to call this.  Also load values directly from ROM as
    images have not been copied yet.
    
    Avoid clearing the NVIC pointer on cpu reset.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 116348def2bb446d972bdc2f44bd77ff631f85de
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Apr 5 13:19:56 2010 +0200

    tcg/mips: use seb/seh instructions on MIPS32R2
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ba0d89bbebbc2a40107552879d46d2814a4b8da1
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Apr 5 14:49:27 2010 +0200

    tcg/mips: fix 64-bit linux-user on big endian MIPS
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit aa77bebd989469a973cc1dfb4d582d4655a4adde
Author: malc <av1474 at comtv.ru>
Date:   Mon Apr 5 16:08:47 2010 +0400

    tcg/ppc: Implement eqv, nand and nor
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 355b194369d02df7a97d554eef2a9cffe98d736f
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Apr 5 00:28:53 2010 +0100

    Split TLB addend and target_phys_addr_t
    
    Historically the qemu tlb "addend" field was used for both RAM and IO accesses,
    so needed to be able to hold both host addresses (unsigned long) and guest
    physical addresses (target_phys_addr_t).  However since the introduction of
    the iotlb field it has only been used for RAM accesses.
    
    This means we can change the type of addend to unsigned long, and remove
    associated hacks in the big-endian TCG backends.
    
    We can also remove the host dependence from target_phys_addr_t.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 5bd2c0d7a6778542827ac7f897eed3fb5cf7ff5a
Author: Paul Brook <paul at codesourcery.com>
Date:   Sun Apr 4 21:48:31 2010 +0100

    UHCI spurious interrut fix
    
    Only raise an interrupt if the TD has actually completed.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit a67ba3b6f88acaca5ee19e583dcdcd9d9288b072
Author: Paul Brook <paul at codesourcery.com>
Date:   Sun Apr 4 21:18:26 2010 +0100

    Revert "Compile usb-ohci only once"
    
    This reverts commit f1698408f1dcb7548a21828a0b1e2b530fae3af3.
    
    PCI is always little-endian. Having a user-visible "be" property is just
    plain wrong.

commit 36368cf0d513efff45b0dbb4350cdc04a2bee0c8
Author: malc <av1474 at comtv.ru>
Date:   Sun Apr 4 20:36:29 2010 +0400

    tcg/ppc: Fix not_i32
    
    Thanks to Alexander Graf for bug report and a good reproducible test
    case.
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 4a9590f32e5692114aaae4ca10da89dac633e164
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Apr 3 11:37:26 2010 +0200

    Make cpu_get_real_ticks use mfspr
    
    PowerPC CPUs have had two ways to read the time base for quite some time now.
    They provide it using the mfspr instruction or - if a special bit is set in
    that opcode - using mftb. For timekeeping we're currently using mftb.
    
    While trying to get Qemu up and running on an e500v2 system, I stumbled over
    the CPU not supporting mftbu. It just throws an illegal instruction trap.
    
    So let's read the SPR values instead. All PPC CPUs should support them anyways.
    
    I tested this patch on an e500v2 system where it makes qemu work and on my 970MP
    system with 32-bit user space where everything still works with this patch
    applied.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 93c5a32f89c19a97badd0aa79d2ac2e44376b40e
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Apr 3 07:40:47 2010 +0000

    sparc32: add IOMMU chipset doc links
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 240566908f55c51f17acc85e6a6b6281a42a1183
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Apr 3 07:35:50 2010 +0000

    sparc32: rename iommu.c to sun4m_iommu.c to make room for other IOMMUs
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 68fb89a2c07b6ad1e69a9a45f664d533f2662ec6
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Apr 3 06:17:35 2010 +0000

    sparc32: improve timer implementation
    
    Timer with zero period (free-run) will never match.
    
    Timer counting starts with tick value of 0x200, not from 0,
    so the period must calculated from one tick less than the limit.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 25da2f343cba4f854f19b2b52817f2e5c851ee17
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Apr 2 10:26:30 2010 -0500

    Fix build on mingw32
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9caa3ec1e9aab16428dbaecde14da6bdf4b9ce3a
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Fri Apr 2 12:16:04 2010 +0200

    hw/r2d: add a USB keyboard
    
    The R2D board does not have a PS/2 port, and only support a keyboard on
    the USB bus.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 98f22dc172e1ebd5341da3de0d67666442566f72
Author: TeLeMan <geleman at gmail.com>
Date:   Tue Mar 30 09:33:24 2010 +0800

    usb-bus: fix no params
    
    After commit 702f3e0fb52c124c07f215426eeadb70a716643f, the params is
    nerver NULL. It should check *params instead of params to determine
    whether the params is empty.
    
    Signed-off-by: TeLeMan <geleman at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8152fc0bfa364814d2627532719fcb6f1e3e7744
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Fri Apr 2 10:07:44 2010 +0200

    Update PowerPC OpenBIOS image to r721
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 2b3af999845db4b5546e5d0d46eb615381cd9dc0
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Thu Apr 1 16:59:51 2010 -0500

    win32: Fix compiler errors from u_int64_t
    
    u_int64_t raises compiler error messages:
    
      CC    libhw32/virtio.o
    /qemu/ar7/hw/virtio.c: In function ‘virtio_queue_get_avail_size’:
    /qemu/ar7/hw/virtio.c:776: error: ‘u_int64_t’ undeclared (first use in this function)
    /qemu/ar7/hw/virtio.c:776: error: (Each undeclared identifier is reported only once
    /qemu/ar7/hw/virtio.c:776: error: for each function it appears in.)
    
    Replacing u_int64_t by uint64_t helps.
    
    Cc: Michael S. Tsirkin <mst at redhat.com>
    Cc: Anthony Liguori <aliguori at us.ibm.com>
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a18f844fb552586651c9b7534c0370669f0701c3
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Apr 1 22:00:41 2010 +0200

    tcg/TODO: remove setcond
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a1606b0baaed1be23a6d8b90036290e1610b8dd0
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Sun Mar 28 11:44:41 2010 +0200

    Fix compilation with missing inotify_init1
    
    Commit c05c7a7306a23a4b01d1606172b142c45caffc92
    breaks cross compilation for mips (and other
    compilations without CONFIG_INOTIFY1):
    
    make[1]: Entering directory `/qemu/bin/mips'
      CC    i386-linux-user/syscall.o
    cc1: warnings being treated as errors
    /qemu/linux-user/syscall.c: In function ‘do_syscall’:
    /qemu/linux-user/syscall.c:7067: error: implicit declaration of function ‘sys_inotify_init1’
    
    Cc: Riku Voipio <riku.voipio at nokia.com>
    Cc: Aurelien Jarno <aurelien at aurel32.net>
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0104dcacf374cb9ceff078e9470cc0cc5bb7c8ec
Author: Alexander Graf <agraf at suse.de>
Date:   Thu Apr 1 18:42:37 2010 +0200

    S390: Tell user why VM creation failed
    
    The KVM kernel module on S390 refuses to create a VM when the switch_amode
    kernel parameter is not used.
    
    Since that is not exactly obvious, let's give the user a nice warning.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c92114b1fb9b8e3cd0ee503fbb2a4c96bd0e300c
Author: Alexander Graf <agraf at suse.de>
Date:   Thu Apr 1 18:42:36 2010 +0200

    S390: Add stub for cpu_get_phys_page_debug
    
    We don't implement any virtual memory in the S390 target so far, so let's
    add a stub for this now mandatory function.
    
    Fixes building of S390 target.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 477ba620018d51da23c60556b500118cb8d1d373
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Mar 29 02:12:51 2010 +0200

    tcg: initial ia64 support
    
    A few words about design choices:
    * On IA64, instructions should be grouped by bundle, and dependencies
      between instructions declared. A first version of this code tried to
      schedule instructions automatically, but was very complex and too
      invasive for the current common TCG code (ops not ending at
      instruction boundaries, code retranslation breaking already generated
      code, etc.)  It was also not very efficient, as dependencies between
      TCG ops is not available.
      Instead the option taken by the current implementation does not try
      to fill the bundle by scheduling instructions, but by providing ops
      not available as an ia64 instruction, and by offering 22-bit constant
      loading for most of the instructions. With both options the bundle are
      filled at approximately the same level.
    
    * Up to 128 registers can be affected to a function on IA64, but TCG
      limits this number to 64, which is actually more than enough. The
      register affectation is the following:
      - r0: used to map a constant argument with value 0
      - r1: global pointer
      - r2, r3: internal use
      - r4 to r6: not used to avoid saving them
      - r7: env structure
      - r8 to r11: free for TCG (call clobbered)
      - r12: stack pointer
      - r13: thread pointer
      - r14 to r31: free for TCG (call clobbered)
      - r32: reserved (return address)
      - r33: reserved (PFS)
      - r33 to r63: free for TCG
    
    * The IA64 architecture has only 64-bit registers and no 32-bit
      instructions (the only exception being cmp4). Therefore 64-bit
      registers and instructions are used for 32-bit ops. The adopted
      strategy is the same as the ABI, that is the higher 32 bits are
      undefined. Most ops (and, or, add, shl, etc.) can directly use
      the 64-bit registers, while some others have to sign-extend (sar,
      div, etc.) or zero-extend (shr, divu, etc.) the register first.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ebf50fb3b948ed2ef0c5802f8721044b78896427
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Mar 29 02:12:51 2010 +0200

    tcg: align static_code_gen_buffer to CODE_GEN_ALIGN
    
    On ia64, the default memory alignement is not enough for a code
    alignement. To fix that, force static_code_gen_buffer alignment
    to CODE_GEN_ALIGN.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 903ec55cc00d0bf65573ae0b185e9b8c3593f930
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Mar 29 02:12:51 2010 +0200

    ia64 disas support
    
    Taken from binutils SVN, using last GPLv2 version.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 45d679d64350c44df93d918ddacd6ae0c6da9dbb
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Mar 29 02:12:51 2010 +0200

    linux-user: fix page_unprotect when host page size > target page size
    
    When the host page size is bigger that the target one, unprotecting a
    page should:
    - mark all the target pages corresponding to the host page as writable
    - invalidate all tb corresponding to the host page (and not the target
      page)
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 60e99246d6b4d1de32aec3281483cdd85b415570
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Mar 29 02:12:51 2010 +0200

    linux-user/ia64: workaround ia64 strangenesses
    
    ia64 has some strangenesses that need to be workaround:
    - it has a __clone2() syscall instead of the using clone() one, with
      different arguments, and which is not declared in the usual headers.
    - ucontext.uc_sigmask is declared with type long int, while it is
      actually of type sigset_t.
    - uc_mcontext, uc_sigmask, uc_stack, uc_link are declared using #define,
      which clashes with the target_ucontext fields. Change their names to
      tuc_*, as already done for some target architectures.

commit 9bc6304c156dcc01c619672ca33d7152bb18bcb9
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Mar 17 13:08:42 2010 +0200

    virtio-net: vhost net support
    
    This connects virtio-net to vhost net backend.
    The code is structured in a way analogous to what we have with vnet
    header capability in tap.
    
    We start/stop backend on driver start/stop as
    well as on save and vm start (for migration).
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b202554cf791f7182eccd70c7685827abded3907
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Mar 17 13:08:38 2010 +0200

    tap: add API to retrieve vhost net header
    
    will be used by virtio-net for vhost net support
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 82b0d80ef6a37b46bac1311c31935dc130a5a703
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Mar 17 13:08:24 2010 +0200

    tap: add vhost/vhostfd options
    
    This adds vhost binary option to tap, to enable vhost net accelerator.
    Default is off for now, we'll be able to make default on long term
    when we know it's stable.
    
    vhostfd option can be used by management, to pass in the fd. Assigning
    vhostfd implies vhost=on.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d59700553ecbf052cce1e099e8f4dae2704fe424
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Mar 17 13:08:17 2010 +0200

    vhost: vhost net support
    
    This adds vhost net device support in qemu. Will be tied to tap device
    and virtio by following patches.  Raw backend is currently missing,
    will be worked on/submitted separately.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ade80dc84527ae7418e9fcaf33e09574da0d2b29
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Mar 17 13:08:13 2010 +0200

    virtio-pci: fill in notifier support
    
    Support host/guest notifiers in virtio-pci.
    The last one only with kvm, that's okay
    because vhost relies on kvm anyway.
    
    Note on kvm usage: kvm ioeventfd API
    is implemented on non-kvm systems as well,
    this is the reason we don't need if (kvm_enabled())
    around it.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2be24aaafe1a5da1cd78b4ef8442af29dd0083a7
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Mar 17 13:08:10 2010 +0200

    virtio: move typedef to qemu-common
    
    make it possible to use type without header include,
    simplifying header dependencies.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3e607cb503acbd8606e5d42e6b80adcf1ccf9a92
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Mar 17 13:08:05 2010 +0200

    virtio: add set_status callback
    
    vhost net backend needs to be notified when
    frontend status changes. Add a callback,
    similar to set_features.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1cbdabe203164433fbbec3a1815d8be42a085c88
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Mar 17 13:08:02 2010 +0200

    virtio: notifier support + APIs for queue fields
    
    vhost needs physical addresses for ring and other queue fields,
    so add APIs for these. In particular, add binding API to set
    host/guest notifiers.  Will be used by vhost.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2292b33986de9e2ac10b2674f85722bdfbc977d5
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Mar 17 13:07:58 2010 +0200

    notifier: event notifier implementation
    
    event notifiers are slightly generalized eventfd descriptors. Current
    implementation depends on eventfd because vhost is the only user, and
    vhost depends on eventfd anyway, but a stub is provided for non-eventfd
    case.
    
    We'll be able to further generalize this when another user comes along
    and we see how to best do this.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ca82180603446831187203383de4b5ede4e2c346
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Mar 17 13:07:54 2010 +0200

    kvm: add API to set ioeventfd
    
    Comment on kvm usage: rather than require users to do if (kvm_enabled())
    and/or ifdefs, this patch adds an API that, internally, is defined to
    stub function on non-kvm build, and checks kvm_enabled for non-kvm
    run.
    
    While rest of qemu code still uses if (kvm_enabled()), I think this
    approach is cleaner, and we should convert rest of code to it
    long term.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 95d528a2fe9f1eaec11dc3256dc9dec49b557990
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Mar 17 13:07:50 2010 +0200

    tap: add interface to get device fd
    
    Will be used by vhost to attach/detach to backend.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 087431d1d1bf4e785edfa89e8cd05fcdac558dc3
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Mar 31 11:52:44 2010 -0500

    virtio-pci: compile per-target
    
    With vhost, virtio-pci needs to include kvm.h and kvm.h needs to be built
    per-target.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b33612d03540fda7fa67485f1c20395beb7a2bf0
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Thu Apr 1 08:33:06 2010 -0500

    Fix -enable-kvm
    
    Make vl.o compiled per target and fix a thinko in hw/acpi.c.  It's not trivial
    to make kvm.h consumable by compiled-once files.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d3f822d241d673103046a07874f8a3f37d1cb41b
Author: Shahar Havivi <shaharh at redhat.com>
Date:   Sun Mar 14 22:41:15 2010 +0200

    Restore terminal monitor attributes - addition
    
    Patch 2d753894c7553d6a05e8fdbed5f4704398919a35 was missing this check,
    when running monitor as /dev/tty and other serial device, i.e:
      qemu -monitor /dev/tty -serial /dev/pts/1
    
    Without this patch any serial device will override the monitor stored
    attributes. (monitor is called in main() before any serial device).
    
    Signed-off-by: Shahar Havivi <shaharh at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c81131db15dd1844d0db1d51f3cd7a105cfd2cf3
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Mar 16 19:18:07 2010 +0100

    Don't check for bus master for old guests
    
    Older Linux guests don't activate the bus master enable bit. So for those we
    can just try to be clever and track if they set the DEVICE_OK bit even though
    bus mastering is still disabled.
    
    Under that condition we can disable the windows safety check. With that logic
    in place both guests should work just fine. Without PCI hotplug breaks
    virtio-net in Linux < 2.6.34 guests.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    CC: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f3571b1a5b465ae4fb1f168fc1480a3cff780d83
Author: Max Reitz <max at tyndur.org>
Date:   Sun Mar 14 12:19:03 2010 +0100

    usb: class specific interface requests
    
    Mass Storage Reset and Get Max LUN are class specific requests, but
    they were not marked as such in hw/usb-msd.c, moved therefore
    ClassInterfaceRequest and ClassInterfaceOutRequest from hw/usb-net.c
    to hw/usb.h.
    Furthermore there was a problem in hw/usb-ohci.c when using DEBUG
    concerning systems where size_t is a 32 bit integer (printf resulted
    in a segmentation fault).
    
    Signed-off-by: Max Reitz <max at tyndur.org>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1c47cb16517914144d5b29ac1a67f6d720e7e52e
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Tue Mar 30 19:27:34 2010 +0000

    Add missing #include needed for madvise() on OpenBSD
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 2ae144c9cc6e8f7732a66c510899958d003d695e
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Tue Mar 30 18:24:49 2010 +0000

    Fix i386-bsd-user build
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f01576f18569fac675671a81bf931901050c3a73
Author: Juergen Lock <nox at jelal.kn-bremen.de>
Date:   Thu Mar 25 22:32:16 2010 +0100

    Get bsd-user host page protection code working on FreeBSD hosts
    
    Use kinfo_getvmmap(3) on FeeBSD >= 7.x and /compat/linux/proc on older
    FreeBSD.  (kinfo_getvmmap is preferred since /compat/linux/proc is
    usually only mounted on hosts also using the Linuxolator.)
    
    This patch is a bit hacky because the includes needed for kinfo_getvmmap
    conflict with other definitions in exec.c by default so I had to `trick
    around' a little, but I built the result in FreeBSD 6.4-stable and
    7.2-stable tbs and on 8-stable on the host so the hacks at least
    should be stable.  (If this is a problem maybe we could also move the
    kinfo_getvmmap invocations into a seperate source file but that would
    be more work...)
    
    Signed-off-by: Juergen Lock <nox at jelal.kn-bremen.de>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit b035ffd11813524d7c0e44354f5c4bdd281f4b37
Author: Juergen Lock <nox at jelal.kn-bremen.de>
Date:   Thu Mar 25 22:11:17 2010 +0100

    Fix bsd-user qemu_vmalloc() host page protection code
    
    Just do the same as linux-user does.
    
    Signed-off-by: Juergen Lock <nox at jelal.kn-bremen.de>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit d1839d7367303e38e603bc0371d65648b4480078
Author: Juergen Lock <nox at jelal.kn-bremen.de>
Date:   Thu Mar 25 22:34:00 2010 +0100

    Fix some compilation warnings on FreeBSD hosts
    
    Signed-off-by: Juergen Lock <nox at jelal.kn-bremen.de>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 92c0e6579c045916ec592ceef7caf868ff310cfa
Author: Juergen Lock <nox at jelal.kn-bremen.de>
Date:   Thu Mar 25 22:07:12 2010 +0100

    Use sysctl instead of /proc to find executable path on FreeBSD
    
    ..since /proc usually isn't mounted on FreeBSD.
    
    Signed-off-by: Juergen Lock <nox at jelal.kn-bremen.de>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 2b5eb3712350d65d3eacb3ae468aae5e846b27b3
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Tue Mar 30 17:36:23 2010 +0000

    Compile most PPC devices only once
    
    Make byte swapping unconditional since PPC is big endian.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit add85a76bb3b589ad38710ca24f5a10f1446d5e7
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:24:04 2010 +0000

    Compile prep_pci only once
    
    Make byte swapping unconditional since PPC is big endian.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 29e922b61fb3d93836825ca9731bb2cadbb6ed72
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:24:00 2010 +0000

    Compile qemu-timer only once
    
    Arrange various declarations so that also non-CPU code can access
    them, adjust users.
    
    Move CPU specific code to cpus.c.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 5c4532ee7894277d8d54db108e891c4204d15f1d
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:23:59 2010 +0000

    Compile openpic only once
    
    Replace TARGET_PAGE_SIZE with 4096. Make byte swapping unconditional
    since PPC is big endian.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 02c7c992f0036bca8f1256e8a1f0d80a81e173f0
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:23:57 2010 +0000

    Compile ide/macio only once
    
    Replace TARGET_PAGE_SIZE with 4096. Make byte swapping unconditional
    since PPC is big endian.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 3d08ff698b938613699682b5c5432547a7ebe898
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:23:56 2010 +0000

    Compile pflash_cfi01 only once
    
    Push TARGET_WORDS_BIGENDIAN dependency to board level.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 5f9fc5ad7efe2840d3170775768fb85686d94869
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:23:55 2010 +0000

    Compile pflash_cfi02 only once
    
    Push TARGET_WORDS_BIGENDIAN dependency to board level.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 53b67b3052f39b049bc7c79ae1ce132c90098c6c
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:23:52 2010 +0000

    Compile acpi only once
    
    Use qemu_irqs to trigger CMOS S3 and SMI events.
    
    Avoid using kvm.h, which uses CPUState.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ad96090a01d848df67d70c5259ed8aa321fa8716
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:23:52 2010 +0000

    Refactor target specific handling, compile vl.c only once
    
    Move target specific functions and RAM handling to arch_init.c.
    
    Add a flag to QEMUOptions structure to indicate for which
    architectures the option is allowed, check the flag
    in run time and remove conditional code in option handling.
    
    Now that no target dependencies remain, compile vl.c only once
    for all targets.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 296af7c9524cffbedda258b95272ade25b0a726e
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:23:50 2010 +0000

    Refactor CPUState handling out of vl.c
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit de06f8d19310618dbef3d729ec4ded92fa05866b
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:23:50 2010 +0000

    Refactor a few architecture dependent pieces in vl.c
    
    These will be moved later.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit d745bef890f9fa57298ae099365da8e8aa575cbd
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:23:49 2010 +0000

    Move KVM and Xen global flags to vl.c
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit d2053c3cca0b5c78317a183e19d2933ed23c6fc2
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:23:48 2010 +0000

    Move cpu_exec_init_all() declaration to qemu-common.h
    
    Let cpu_exec_init_all() be called from non-CPU code.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 1c14f162dd92c0448948791531dc82ac277330ae
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:23:47 2010 +0000

    Allow various header files to be included from non-CPU code
    
    Allow balloon.h, gdbstub.h and kvm.h to be included from
    non-CPU code.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 54fc6ea92bdd698498706d3cd8e10afd78680bed
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 29 19:23:46 2010 +0000

    Adjust debug handling
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 6d8ff4d85ce2f3fc8a18dc8f077f73a4bd19a89a
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Mar 29 02:09:23 2010 +0200

    tcg/mips: fix branch offset during retranslation
    
    Branch offsets should only be overwritten during relocation, to support
    partial retranslation.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 91dbed4ba1d9e14d40ed6b1bc5906b8c26bff255
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sun Mar 28 18:47:25 2010 +0200

    exec: remove dead code
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7983f435e5306a4b17e1edcb408ba64b33e9c88f
Author: Rob Landley <rob at landley.net>
Date:   Sun Mar 28 16:51:43 2010 +0200

    linux-user/ppc: use the Linux register layout
    
    The dynamic linker converts the Linux layout to the AIX layout and is
    reentrant so it won't do it a second time if it's already been
    converted. In short it work just fine with either register layout.
    
    OTOH, statically linked binaries expect a Linux layout.
    
    Remove code converting the Linux layout to AIX layout so that all
    binaries are presented the Linux Layout.
    
    Signed-off-by: Rob Landley <rob at landley.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e432cef9161685ea3dbb3f31a90820e53f74041e
Author: Christoph Hellwig <hch at lst.de>
Date:   Sun Mar 28 12:19:31 2010 +0200

    qemu-io: fix aio help texts
    
    Fix a few typos in the help texts for the various aio commands.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 1584c84574695175904371d16b13d00a457c40a8
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Sun Mar 28 11:44:29 2010 +0200

    tcg/arm: Replace qemu_ld32u (left over from previous commit)
    
    Commit 86feb1c860dc38e9c89e787c5210e8191800385e
    did not change all occurrences of INDEX_op_qemu_ld32u
    for tcg/arm.
    
    Please note that I could not test this patch
    (I have currently no arm system available).
    
    Cc: Richard Henderson <rth at twiddle.net>
    Cc: Aurelien Jarno <aurelien at aurel32.net>
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7e4c0336e2b2ebc804d2e3d6432025a1e5193f13
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 27 21:33:46 2010 +0000

    Fix driftfix option
    
    Based on patch by Zachary Amsden.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 73d96e29648304babda911dc8e652c03f487459a
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 27 18:41:08 2010 +0000

    Fix BSD and win32 builds
    
      CC    net/tap-bsd.o
    /src/qemu/net/tap-bsd.c: In function `tap_open':
    /src/qemu/net/tap-bsd.c:93: warning: implicit declaration of function `error_report'
    
      CC    sparc-softmmu/../net/tap-win32.o
    cc1: warnings being treated as errors
    /src/qemu/target-sparc/../net/tap-win32.c: In function 'net_init_tap':
    /src/qemu/target-sparc/../net/tap-win32.c:709: warning: implicit declaration of function 'error_report'
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 87d0a28e78dcd310801d53ebaa3eb6fba1432f0b
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 27 18:24:45 2010 +0000

    Refactor numa mode setting
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f8be67ee14217f7da7ee9451e872eca6dcf1e749
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 27 18:24:35 2010 +0000

    pflash_cfi02: fix incorrect TARGET_FMT_lx/d use
    
    Also use target_phys_addr_t for addresses.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 57448a975e0aa32b8466caf48ff247e567647c4e
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 27 18:18:17 2010 +0000

    Compile vmware_vga only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit cc01cc8ea20bc89ac1b1af76aac27c5eecfabd36
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Mar 27 17:31:04 2010 +0100

    tcg-mips: add guest base support
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 489722cf3f1b6e1f94fe141263c830bed39a3318
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Mar 27 16:50:55 2010 +0100

    tcg/mips: implement the not_i32 op the same way as gcc
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 2b79487a56d58f65d14f7040e118da9f7724f4a2
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Mar 27 16:32:55 2010 +0100

    tcg-mips: implement nor
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 6adc05492fce75b530b3534cb6ec055ac3b4afb5
Author: Michael Tokarev <mjt at tls.msk.ru>
Date:   Sat Mar 27 16:35:37 2010 +0300

    be more specific in -mem-path error messages
    
    Signed-Off-By: Michael Tokarev <mjt at tls.msk.ru>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 444593493c875aa446b5e5c8fea32d43544603b0
Author: Juergen Lock <nox at jelal.kn-bremen.de>
Date:   Thu Mar 25 22:35:03 2010 +0100

    Add a missing #include for FreeBSD hosts
    
    Signed-off-by: Juergen Lock <nox at jelal.kn-bremen.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0167f772d1505b79f2db2f1d3ccad54f2cbe5de1
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Mar 22 10:29:05 2010 +0100

    error: Move qerror_report() from qemu-error.[ch] to qerror.[ch]
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 526f0ac1538378a561b629cb2f99a0349d48bc2f
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Mar 22 10:29:04 2010 +0100

    error: Link qemu-img, qemu-nbd, qemu-io with qemu-error.o
    
    The location tracking interface is used by code shared with qemi-img,
    qemu-nbd and qemu-io, so it needs to be available there.  Commit
    827b0813 provides it in a rather hamfisted way: it adds a dummy
    implementation to qemu-tool.c.
    
    It's cleaner to provide the real thing, and put a few more dummy
    monitor functions into qemu-tool.c.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 6627f64510b622912d35ced2771583e03b1f155f
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Mar 22 10:29:03 2010 +0100

    error: Make use of error_set_progname() optional
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit fc2377ea29d11eb7ccc881b60ced7782fbc60443
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Mar 22 10:29:02 2010 +0100

    error: Trim includes after "Infrastructure to track locations..."
    
    Missed in commit 827b0813.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c8bfe7db2761c37136b550eb3bccd221dc7226cd
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Mar 22 10:29:01 2010 +0100

    error: Trim includes in qerror.c
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 9f59b566a6569be148df0f2eb912b11c9d030deb
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Mar 22 10:29:00 2010 +0100

    error: Trim includes after "Move qemu_error & friends..."
    
    Missed in commit 2f792016.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 703e0e89c669a70bbd6bf33c5e75f910d8d8cca3
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Mar 19 14:21:13 2010 -0700

    linux-user: Use RLIMIT_STACK for default stack size.
    
    The current default stack limit of 512kB is far too small; a fair
    number of gcc testsuite failures (for all guests) are directly
    attributable to this.  Using the -s option in every invocation of
    the emulator is annoying to say the least.
    
    A reasonable compromise seems to be to honor the system rlimit.
    At least on two Linux distributions, this is set to 8MB and 10MB
    respectively.  If the system does not limit the stack, then we're
    no worse off than before.
    
    At the same time, rename the variable from x86_stack_size and
    change the ultimate fallback size from 512kB to 8MB.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 3ad493fc5ea38c005670adc5933058a28ccabdd4
Author: Rabin Vincent <rabin at rab.in>
Date:   Sat Mar 20 02:28:03 2010 +0530

    target-arm: disable PAGE_EXEC for XN pages
    
    Don't set PAGE_EXEC for XN pages, to avoid a bypass of XN protection
    checking if the page is already in the TLB.
    
    Signed-off-by: Rabin Vincent <rabin at rab.in>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ca5a2a4b12bd44762a5106c9352eafd878bbd52f
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Fri Mar 19 11:30:35 2010 +0100

    fix race between timer firing vs. alarm_timer->pending = 0
    
    The period for Win32 timers is very short and always the same
    independent of dynticks, so it's possible that the timer fires
    before qemu_run_all_timers has reset alarm_timer->pending to zero.
    Reset alarm_timer->pending before rearming.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 06b611c48edb1bf0301c3e7fe49dec2b9feaaf89
Author: Ryota Ozaki <ozaki.ryota at gmail.com>
Date:   Sat Mar 20 16:08:38 2010 +0900

    qemu-io: Fix return value handling of bdrv_open
    
    bdrv_open may return -errno so we have to check
    if the return value is '< 0', not '== -1'.
    
    Signed-off-by: Ryota Ozaki <ozaki.ryota at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit b6353bea572f8cc0f35fb7dc438ce74c08dda9e7
Author: Ryota Ozaki <ozaki.ryota at gmail.com>
Date:   Sat Mar 20 15:23:23 2010 +0900

    qemu-nbd: Fix invalid usage of the first argument of errx
    
    errx takes the exit status of a process as the first
    argument. Passing errno to it is wrong. Instead the
    patch lets errx take EXIT_FAILURE.
    
    Signed-off-by: Ryota Ozaki <ozaki.ryota at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a16c174c51e7cd896c701d5d0e8329e610e90ce1
Author: Ryota Ozaki <ozaki.ryota at gmail.com>
Date:   Sat Mar 20 15:23:22 2010 +0900

    qemu-nbd: Fix return value handling of bdrv_open
    
    bdrv_open may return -errno so we have to check
    if the return value is '< 0', not '== -1'.
    
    Signed-off-by: Ryota Ozaki <ozaki.ryota at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit bd12ff9df78b0d04059a35c4a9d0a9337eb4999e
Author: Adam Litke <agl at us.ibm.com>
Date:   Thu Mar 25 08:58:17 2010 -0500

    balloon: Fix overflow when reporting actual memory size
    
    Beginning with its introduction, the virtio balloon has had an overflow error
    that causes 'info balloon' to misreport the actual memory size when the balloon
    itself becomes larger than 4G.  Use a cast when converting dev->actual from
    pages to kB to prevent overflows.
    
    Before:
    (qemu) info balloon
    balloon: actual=5120
    (qemu) balloon 1025
    (qemu) info balloon
    balloon: actual=1025
    (qemu) balloon 1024
    (qemu) info balloon
    balloon: actual=5120
    
    After:
    (qemu) info balloon
    balloon: actual=5120
    (qemu) balloon 1025
    (qemu) info balloon
    balloon: actual=1025
    (qemu) balloon 1024
    (qemu) info balloon
    balloon: actual=1024
    
    Signed-off-by: Adam Litke <agl at us.ibm.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c96c84a9ff4bc184cb1f6cc9771a550f3854ba59
Author: Amos Kong <akong at redhat.com>
Date:   Wed Mar 24 23:12:05 2010 +0800

    json-parser: Output the content of invalid keyword
    
    When input some invalid word 'unknowcmd' through QMP port, qemu outputs
    this error message:
      "parse error: invalid keyword `%s'"
    
    This patch makes qemu output the content of invalid keyword, like:
    
      "parse error: invalid keyword `unknowcmd'"
    
    Signed-off-by: Amos Kong <akong at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 57e69b7d4e270883c7b7adb9c5993bb42e13a5ea
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Mar 12 13:52:31 2010 +0100

    raw-posix: Better error return values for hdev_create
    
    Now that we output an error message according to the returned error code in
    qemu-img, let's return the real error codes. "Input/output error" for
    everything isn't helpful.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Reviewed-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8d533561f6a6f78b00caf138062f174ca6cd55a2
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Mar 27 11:52:05 2010 +0100

    qemu-options.hx: fix a typo
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit b970ea8f8d7d05c4abd3e46afc207a585f941be1
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 27 07:26:16 2010 +0000

    Compile some MIPS devices only once
    
    Move CPU specific declarations to a separate file.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 6450a334c4820a5f7ac4b8c5e1482156e3bbab3c
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 27 06:58:53 2010 +0000

    Fix build
    
    Actually some systems don't define PAGE_SIZE. Fixes build breakage
    by f7736b91c40a617e93505e32dcbd2cb56aad8a23.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f7736b91c40a617e93505e32dcbd2cb56aad8a23
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 27 06:20:53 2010 +0000

    Compile ide/core only once
    
    Make win2k install hack unconditional as it is still restricted to
    x86 only in vl.c.
    
    Replace TARGET_PAGE_SIZE and 4096 with PAGE_SIZE.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit b305b9d7d6990e492966ffb1fdf619482adeb7e2
Author: Alexander Graf <agraf at suse.de>
Date:   Thu Mar 25 14:59:02 2010 +0100

    target-s390: Don't compile in virtio-pci
    
    As soon as virtio-pci.c gets compiled and used on S390 the internal qdev magic
    gets confused and tries to give us PCI devices instead of S390 virtio devices.
    
    Since we don't have PCI on S390, we can safely not compile virtio-pci at all.
    
    In order to do this I added a new config option "CONFIG_VIRTIO_PCI" that I
    enabled for every platform except S390. Thanks to this the change should be a
    complete nop for every other platform.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit de6a1deccf165fa88da71f8d930382c8b4990878
Author: Dmitry Ilyevsky <ilyevsky at gmail.com>
Date:   Fri Mar 26 03:25:36 2010 +0300

    target-ppc: generic PowerPC TBL
    
    Time base SPRs TBL/TBU should be accessible in user/priv modes for reading
    as specified in POWER ISA documentation. Therefore SPRs permissions were
    changed in gen_tbl function.
    
    Signed-off-by: Dmitry Ilyevsky <ilyevsky at gmail.com>
    Acked-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 86feb1c860dc38e9c89e787c5210e8191800385e
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Mar 19 12:00:26 2010 -0700

    tcg: Disambiguate qemu_ld32u with 32-bit and 64-bit outputs.
    
    Some targets (e.g. Alpha and MIPS64) need to keep 32-bit operands
    sign-extended in 64-bit registers (regardless of the "real" sign
    of the operand).  For that, we need to be able to distinguish
    between a 32-bit load with a 32-bit result and a 32-bit load with
    a given extension to a 64-bit result.  This distinction already
    exists for the ld* loads, but not the qemu_ld* loads.
    
    Reserve qemu_ld32u for 64-bit outputs and introduce qemu_ld32 for
    32-bit outputs.  Adjust all code generators to match.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 32d98fbd10415433283a6cbdde86c3305b0ba8c2
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Mar 19 13:08:56 2010 -0700

    tcg: Allow target-specific implementation of NOR.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 9940a96bc8d29a385cd00b80e52124e931a379cd
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Mar 19 13:03:58 2010 -0700

    tcg: Allow target-specific implementation of NAND.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8d625cf1d159b313daefec13abc637c3e8862bd5
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Mar 19 13:02:02 2010 -0700

    tcg: Allow target-specific implementation of EQV.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a10f9f4f0c947ad0aa8283b62ea012b67f883523
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Mar 19 12:44:47 2010 -0700

    tcg: Use not_i32 to implement not_i64.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c02244a5088eaa7d8ff69f51fba8b67da094f604
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Mar 19 11:36:30 2010 -0700

    tcg: Change TCGType to an enumeration.
    
    The TCGType name was already used consistently.  Changing it
    to an enumeration instead of a set of defines aids debugging.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8a56e840911572391019cd8b4ee86976dac2f593
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Mar 19 11:26:05 2010 -0700

    tcg: Use TCGCond where appropriate.
    
    Use the TCGCond enumeration type in the brcond and setcond
    related prototypes in tcg-op.h and each code generator.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a975160954d22c6330b81b5613bd5613f0935011
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Mar 19 11:12:29 2010 -0700

    tcg: Name the opcode enumeration.
    
    Give the enumeration formed from tcg-opc.h a name: TCGOpcode.
    Use that enumeration type instead of "int" whereever appropriate.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a63b5829af498775c24f685f4a40ceec3a8f93ba
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Fri Mar 19 11:31:15 2010 +0100

    remove remaining occurrences AREG[1-9] and TCG_AREG[1-9]
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7270547fe8d0d2c1d13fee592042208d4a82f73a
Author: Michael Casadevall <mcasadevall at ubuntu.com>
Date:   Fri Mar 26 15:25:10 2010 +0000

    linux-user: Add the syscall id for pselect6 on ARM
    
    As this is now supported in newer linux kernels.
    
    Signed-off-by: Michael Casadevall <mcasadevall at ubuntu.com>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c05c7a7306a23a4b01d1606172b142c45caffc92
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Fri Mar 26 15:25:11 2010 +0000

    linux-user: add inotify_init1 syscall support
    
    New syscall which gets actively used when you have a
    fresh kernel.
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit bedd2912c83b1a87a6bfe3f59a892fd65cda7084
Author: Johan Bengtsson <teofrastius at gmail.com>
Date:   Wed Mar 17 13:56:07 2010 +0100

    target-arm: Fix handling of AL condition in IT instruction
    
    Do not try to insert a conditional jump over next instruction when the
    condition code is AL as this will trigger an internal error.
    
    Signed-off-by: Johan Bengtsson <teofrastius at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 3f90f252ecbbb1a0872b72d57965f0db860e22a3
Author: Richard Henderson <rth at twiddle.net>
Date:   Sat Feb 20 11:32:23 2010 -0800

    tcg-hppa: Fix 64-bit argument ordering
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 3436332ed6eeb379d6d545d357362b8bcea40495
Author: Richard Henderson <rth at twiddle.net>
Date:   Sat Feb 20 11:31:31 2010 -0800

    tcg-hppa: Fix const errors in hppa-dis.c
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0c62de2f4df339230aa0f0b954847a870a02a5de
Author: Juergen Lock <nox at jelal.kn-bremen.de>
Date:   Mon Mar 22 19:12:43 2010 +0100

    Fix bsd-user broken by commit b5ec5ce0e39d6e7ea707d5604a5f6d567dfd2f48
    
    Signed-off-by: Juergen Lock <nox at jelal.kn-bremen.de>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 6725f3fa1d25dadcc54bcfdfba8d2eb004ef6c01
Author: Lars Munch <lars at segv.dk>
Date:   Tue Mar 23 17:27:01 2010 +0100

    Fix recent pxa270 serial breakage
    
    This fixes a copy/paste bug introduced in commit
    2d48377a8531de63ec1d0c4b9b1959dc4b78356c that pushed TARGET_WORDS_BIGENDIAN
    dependency to board level.
    
    Signed-off-by: Lars Munch <lars at segv.dk>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit bb334b1239ca06f7ba25d4dc5665499a736d0110
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Tue Mar 23 16:13:03 2010 +0100

    qemu-error: Avoid build warning.
    
      CC    qemu-error.o
    cc1: warnings being treated as errors
    /home/edgar/src/c/qemu/git/qemu/qemu-error.c: In function 'error_print_loc':
    /home/edgar/src/c/qemu/git/qemu/qemu-error.c:191: error: format not a string literal and no format arguments
    make: *** [qemu-error.o] Error 1
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 4dcf7d87d954cf1a9711e31b30e95ae4d6f53c4b
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Mar 23 09:59:54 2010 +0100

    pci_host: fix breakage
    
    This has been broken by commit 952760bb7bce7fbfe0afcf04fee268745f297b87
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8f51bdab44ee7e5286e05a0b25ccc612b14231e2
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 22 20:18:58 2010 +0000

    Compile virtio-pci only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 70615c38ded2a20ad8282b7dcde95482fc0a7744
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Mar 22 20:18:40 2010 +0000

    Compile sound devices only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c9a43af9afc29538d77699e99a887560c654eee2
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 20:37:50 2010 +0000

    Fix Sparc64 build
    
    952760bb7bce7fbfe0afcf04fee268745f297b87 missed one change.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 952760bb7bce7fbfe0afcf04fee268745f297b87
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:15 2010 +0000

    Compile pci_host only once
    
    Convert pci_host_conf_register_mmio_noswap(x) to
    pci_host_conf_register_mmio(x, 0).
    
    Convert pci_host_conf_register_mmio(x) to
    pci_host_conf_register_mmio(x, 1) for big endian hosts, all cases
    happen to be BE.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c1f63a9d43f294d53e5f78f3534e5b8198e1fa74
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:14 2010 +0000

    Compile pcie_host only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 6842a08ee0f59dd00adcd51fda4705c412b6a0dd
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:13 2010 +0000

    Compile pci only once
    
    Move coalesced_mmio declarations to a more accessible location.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f1698408f1dcb7548a21828a0b1e2b530fae3af3
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:12 2010 +0000

    Compile usb-ohci only once
    
    Push TARGET_WORDS_BIGENDIAN dependency to board level.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 2d48377a8531de63ec1d0c4b9b1959dc4b78356c
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:11 2010 +0000

    Compile serial only once
    
    Push TARGET_WORDS_BIGENDIAN dependency to board level.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit d3ffc7a6e7372e1b88a4bf1c588cbe8ed46b2ca4
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:10 2010 +0000

    Compile ne2000_isa only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 84108e128e0245dc1ff9c0aa064e9cfe2316b32d
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:09 2010 +0000

    Compile isa_mmio only once
    
    Push TARGET_WORDS_BIGENDIAN dependency to board level.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 7161e5710b8b371d88b8c6b9361d266d8bdd70ce
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:08 2010 +0000

    Compile most PCI network cards only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit e1060e9d2dc3b892b6be7988e5f8836a847ba05b
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:07 2010 +0000

    Compile qemu-error only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 64dc9c31ae3d3e450c65099715a3fb653927f21f
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:07 2010 +0000

    Compile async only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 35da37e141bc96355a0a3a4e8e1df0722d1fdb0b
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:06 2010 +0000

    Compile fdc only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 9953b2fc28448a2f237402b5af6ec90bd5fe10b0
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:05 2010 +0000

    Compile most IDE devices only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 4c65f1e5ba5ea512e962c7f4271235b799121e70
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:04 2010 +0000

    Compile usb-uhci only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 7f55c7ced67a58018c74f15dd38dfaf00c6591c9
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:03 2010 +0000

    Compile vga-isa only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 71093711589dafcb920dc3bc9bb811eaf8b14101
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:02 2010 +0000

    Compile pcspk only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit df6327780d69ceb8da151fdb96aa90f6b310259a
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:02 2010 +0000

    Compile i8254 only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit b994504610560b55a0b28bc9f920a9b7c6beb3a3
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:01 2010 +0000

    Compile parallel only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 1afdfddc41fe1b0a79b3a713d3e2393a165cb1bb
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:47:00 2010 +0000

    Compile vga-pci only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit aa28b9bf9ba0904766b15e7ab8d62a76cb3225da
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:46:26 2010 +0000

    Move x86 specific PC declarations to a separate file
    
    x86 definitions (especially CPUState uses) prevent many files from
    being compiled within libhw.
    
    Move x86 specific declarations (APIC stuff) to a separate file.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit aaf12c25312c49620777a232e8f770357450a603
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 19:44:06 2010 +0000

    Revert 'Fix build'
    
    Partially revert 80a1ab598c6960e7a941e38c5d8638c532c585c3.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 5ec9cc64a450140bdaf6164102833e324ecc655c
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Sun Mar 21 14:15:24 2010 -0500

    Revert "Introduce a default qmp session"
    
    This reverts commit 3290c4aac5b97bb1e3b2b28d94669f2c611ce84a.
    
    Conflicts:
    
    	vl.c

commit 2d114dc16f723649328e84919718f79ed2672903
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Sun Mar 21 14:14:38 2010 -0500

    Revert "qmp: don't make -qmp disable the default monitor"
    
    This reverts commit d49f626ed00cecc90fb1ff88da9bdf11e57094d1.

commit 31dc63dfa1f9ec88f9c36eabac294570584e473d
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Sun Mar 21 14:13:34 2010 -0500

    Revert "tap: invoke downscript when we exit abnormally"
    
    This reverts commit 8af8ce4d6116e3d46ad298ca8fe50d3b515b1aac.

commit 28695489e392e2bd34cf4ccf8611d431808e084c
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Sun Mar 21 14:13:02 2010 -0500

    Revert "Convert atexit users to exit_notifier"
    
    This reverts commit d7234f4d7e373a708e1df9ab565a71b71b189025.
    
    Conflicts:
    
    	hw/xen_machine_pv.c
    
    This should have never been committed.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 365c4243ecdd0eb2372ce4a5bb20ded77c755c1d
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Sun Mar 21 14:11:51 2010 -0500

    Revert "Add exit notifiers"
    
    This reverts commit 3b6304f706ef7eebc0b3b3f3a5093ec75448ee19.
    
    This was mistakenly committed.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8ec68b06bd0916d176f468bad39f7096e046172a
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 12:30:46 2010 +0000

    Fix a typo
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 4d9045339a69ff11764476529b9121e0f219c2f9
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 21 08:28:47 2010 +0000

    Compile disassemblers only once
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 9e97d8e9418ddd8f26a2aa4dbb80853d3e8af392
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Mar 20 12:27:42 2010 +0100

    tcg/arm: don't save/restore r7 in prologue/epilogue
    
    There is no need to save r7, it is used to store the address
    of the env structure and is not modified by GCC.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 26c5d372e4848cbe85bcda10a4c5e98ad3aa051a
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Mar 20 12:10:20 2010 +0100

    tcg/arm: fix load/store definitions for 32-bit targets
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 30138f2814a3d2748937a32620eb4e68a3c58041
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Fri Mar 19 23:15:32 2010 +0100

    tcg: protect div2 in tcg/tcg-opc.h
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit bafd20cec911c491fbe16aa1c8a4aa97673ac0b1
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 20 08:55:06 2010 +0000

    Fix a typo which broke Xen build
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 9b164805a3dba7368a7ea715cf6c585d605b2486
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 20 08:26:27 2010 +0000

    Fix mingw32 build
    
    mkdir() only takes path argument on mingw32:
    
      CC    i386-softmmu/vl.o
    /src/qemu/vl.c: In function 'qmp_add_default':
    /src/qemu/vl.c:3763: error: too many arguments to function 'mkdir'
    /src/qemu/vl.c:3769: error: too many arguments to function 'mkdir'
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 80a1ab598c6960e7a941e38c5d8638c532c585c3
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 20 08:11:01 2010 +0000

    Fix build
    
    CC    curses.o
    cc1: warnings being treated as errors
    /src/qemu/curses.c: In function 'curses_display_init':
    /src/qemu/curses.c:341: error: initialization from incompatible pointer type
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 3290c4aac5b97bb1e3b2b28d94669f2c611ce84a
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Mar 17 17:37:03 2010 -0500

    Introduce a default qmp session
    
    Basically, -qmp unix:%{home}/.qemu/qmp/%{uuid}.sock,server,nowait
    
    %{uuid} will be -uuid if it's specified, otherwise, if libuuid is available,
    we generate a uuid.  If it's not available, we don't create one.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d49f626ed00cecc90fb1ff88da9bdf11e57094d1
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Mar 17 14:52:30 2010 -0500

    qmp: don't make -qmp disable the default monitor
    
    Instead, we introduce a default_qmp flag.  We don't use it yet, but will in the
    next patch.
    
    This has a user-visible impact as specifying just -qmp will now also show a
    monitor on the 'vc'.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8af8ce4d6116e3d46ad298ca8fe50d3b515b1aac
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Mar 17 18:00:45 2010 -0500

    tap: invoke downscript when we exit abnormally
    
    Right now, downscript is not invoked reliably.  If you execute 'quit' from the
    monitor, it won't be invoked.
    
    This fixes that by converting tap to use an exit_notifier to execute the
    downscript.  In this case, allowing an exit notifier to include state is
    critically important for the conversion.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d7234f4d7e373a708e1df9ab565a71b71b189025
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Mar 17 17:59:26 2010 -0500

    Convert atexit users to exit_notifier
    
    All of these users have global state so we really don't see a benefit from
    exit_notifier.  However, using exit_notifier means that there's one less
    justification for having global state in the first place.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3b6304f706ef7eebc0b3b3f3a5093ec75448ee19
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Mar 17 17:44:48 2010 -0500

    Add exit notifiers
    
    Like atexit() but with state
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3af12c86d9db42c826dc9a7577b657543baf7fab
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Mar 10 09:42:58 2010 -0600

    sdl: use mouse mode notifier
    
    Today we poll the mouse mode whenever there is a mouse movement.  There is a
    subtle usability problem with this though.
    
    If we're in relative mode and grab is enabled, when we change to absolute mode,
    we break grab.  This gives a user a seamless transition when the new pointer
    is enabled.
    
    But because we poll for mouse change, this grab break won't occur until the user
    attempts to move the mouse.  By using notifiers, the grab break happens as soon
    as possible.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 37c34d9d5d87ea9d51760310c8863b82cb8c055a
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Mar 10 09:38:29 2010 -0600

    input: make vnc use mouse mode notifiers
    
    When we switch to absolute mode, we send out a notification (if the client
    supports it).  Today, we only send this notification when the client sends us
    a mouse event and we're in the wrong mode.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1aaee43cf7a43ca8e7f12883ee7e3a35fe5eb84c
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Mar 9 20:58:07 2010 -0600

    Expose whether a mouse is an absolute device via QMP and the human monitor.
    
    For QMP, we just add an attribute which is backwards compatible.  For the human
    monitor, we add (absolute) to the end of the line.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7e581fb3b126691a4358fcc7057b234dcb9ea3ad
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Mar 9 13:25:00 2010 -0600

    Add notifier for mouse mode changes
    
    Right now, DisplayState clients rely on polling the mouse mode to determine
    when the device is changed to an absolute device.  Use a notification list to
    add an explicit notification.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit eb2e259d95a67ef0cd8a61c0bd4974559e9bfa5d
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Mar 9 14:26:40 2010 -0600

    Add kbd_mouse_has_absolute()
    
    kbd_mouse_is_absolute tells us whether the current mouse handler is an absolute
    device.  kbd_mouse_has_absolute tells us whether we have any device that is
    capable of absolute input.
    
    This lets us tell a user that they have configured an absolute device but that
    the guest is not currently using it.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6fef28ee6e5e0a443857e67aa026d49b6bbdc1b6
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Mar 9 20:52:22 2010 -0600

    Rewrite mouse handlers to use QTAILQ and to have an activation function
    
    And convert usb-hid to use it (to avoid regression with bisection)
    
    Right now, when we do info mice and we've added a usb tablet, we don't see it
    until the guest starts using the tablet.  We implement this behavior in order
    to provide a means to delay registration of a mouse handler since we treat
    the last registered handler as the current handler.
    
    This is a usability problem though as we would like to give the user feedback
    that they've either 1) not added an absolute device 2) there is an absolute
    device but the guest isn't using it 3) we have an absolute device and it's
    active.
    
    By using QTAILQ and having an explicit activation function that moves the
    handler to the front of the queue, we can implement the same semantics as
    before with respect to automatically switching to usb tablet while providing
    the user with a whole lot more information.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d1e70c5e6d1472856c52969301247fe8c3c8389d
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Mar 9 13:16:14 2010 -0600

    Add support for generic notifier lists
    
    Notifiers are data-less callbacks and a notifier list is a list of registered
    notifiers that all are interested in a particular event.
    
    We'll use this in a few patches to implement mouse change notification.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
    ---
    v1 -> v2
     - Do not do memory allocations by placing list nodes in notifier

commit ddbda4323e2bdc7cb3925b0f4080f9eb836a09e8
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Mar 17 16:00:24 2010 -0500

    Revert "usb-linux: remove unreachable default in switch statement"
    
    This reverts commit 3c9c706c3b66d838942aba53c0d3fdcdf06c7423.
    
    This breaks build (gcc 4.3.2):
        CC    usb-linux.o
     cc1: warnings being treated as errors
     /src/qemu/usb-linux.c: In function 'usb_linux_update_endp_table':
     /src/qemu/usb-linux.c:759: error: 'type' may be used uninitialized in
     this function
    
    Reported-by: Blue Swirl <blauwirbel at gmail.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4bed9837309e58d208183f81d8344996744292cf
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 11 17:55:41 2010 +0100

    Handle deleted IOHandlers in a single buffer
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ca96c316c0a10d7c673063f1bacb7d2c816cf38e
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 11 17:55:40 2010 +0100

    bt: remove bt_host_read_poll()
    
    It allways returned true, that is the equivalent of not having the
    callback.
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7b27a769f139102c906c8d11d844d51dce068a6a
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 11 17:55:39 2010 +0100

    rename IOCanRWHandler to IOCanReadHandler
    
    It was always only used for reads
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1c39e2a2e4f9a55065a58a28aa2457f80fc3073e
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 11 17:55:38 2010 +0100

    remove useless cast
    
    values are already pointers, no need to cast them to void *
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 31d4ee6cf69b4a78a9ac1fe0c2108dd72f3374f6
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 11 17:55:37 2010 +0100

    Convert io handlers to QLIST
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 77ac48626362abf47a9a6f915fdeea732391f2ba
Author: Avi Kivity <avi at redhat.com>
Date:   Thu Mar 11 16:48:43 2010 +0200

    CODING_STYLE: Reserve qemu_ prefix for library wrappers
    
    Signed-off-by: Avi Kivity <avi at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d35215f8085db57fea54bf7bc2d8438350440bcf
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Thu Mar 18 20:48:19 2010 +0000

    Fix OpenBSD linker warning
    
    qemu-option.o(.text+0x20f8): In function `qemu_opts_from_qdict_1':
    /src/qemu/qemu-option.c:813: warning: strcpy() is almost always misused, please use strlcpy()
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 43dc2a645e00e6761a741e3d16c27c5b5a373b66
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Thu Mar 18 18:41:57 2010 +0000

    Replace assert(0) with abort() or cpu_abort()
    
    When building with -DNDEBUG, assert(0) will not stop execution
    so it must not be used for abnormal termination.
    
    Use cpu_abort() when in CPU context, abort() otherwise.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 609c1daced7f444f9f6569bba72d6a56a697ac95
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Thu Mar 18 18:41:49 2010 +0000

    Fix manpage errors
    
    Split long unbreakable lines to smaller sections.
    
    Spotted by Debian Lintian tool:
    http://lintian.debian.org/full/pkg-qemu-devel@lists.alioth.debian.org.html#qemu
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit e5322f76a72352eea8eb511390c27726b64e5a87
Author: Arnaud Patard (Rtp) <arnaud.patard at rtp-net.org>
Date:   Wed Mar 10 10:45:12 2010 +0100

    hw/usb-msd: fix some usb requests
    
    The usb-msd device emulation needs some small tweaks in the requests
    emulations. For instance, the reset/maxlun requests are class/interface
    specific so requests for them with the type class and recipient interface
    bits sets have to be handled.
    
    Signed-off-by: Arnaud Patard <arnaud.patard at rtp-net.org>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 314b1811c15f4e982e4667d9b845aee4b5a63d91
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Mar 10 17:47:17 2010 +0100

    scsi-disk: fix buffer overflow
    
    In case s->version is shorter than 4 bytes we overflow the memcpy src
    buffer.  Fix it by clearing the target buffer, then copy only the
    amount of bytes we actually have.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3a0558b519c10f462e2b0eb5bbcdb9aa3d176d93
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Mar 10 17:12:02 2010 +0100

    vnc: add no-lock-key-sync option
    
    Add an option to disable the heuristics which try to keep
    capslock and numlock state for guest and host in sync.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit af821177a73f1f1a2160b1d1a540847b2d69361e
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Mar 10 00:10:36 2010 +0100

    migration: unix migration should obey autostart are the other ones
    
    This was the only incoming migration without autostart check
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit cfaf6d36ae761da1033159d85d670706ffb24fb9
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Mar 10 00:10:35 2010 +0100

    migration: Clear fd also in error cases
    
    Not clearing the fd and closing the file makes qemu spin using 100%CPU
    after incoming migration error.
    
    See for instance bug:
    https://bugzilla.redhat.com/show_bug.cgi?id=518032
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0056dcc1146545e7c814db83b7b7b62e0c93ac68
Author: Naphtali Sprei <nsprei at redhat.com>
Date:   Thu Mar 11 16:44:34 2010 +0200

    read-only: Another minor cleanup
    
    Don't rely on CDROM hint for read_only attribute
    
    Signed-off-by: Naphtali Sprei <nsprei at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 07108b29c5f3b01f8c8f511d2af16ad33aa6b2d3
Author: Naphtali Sprei <nsprei at redhat.com>
Date:   Sun Mar 14 15:19:57 2010 +0200

    read-only: minor cleanup
    
    Really use read-only flags for opening the file when asked for read-only
    
    Signed-off-by: Naphtali Sprei <nsprei at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit db1a49726c3c6cbe9cbca5b118e80c0fec65e8dd
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:55 2010 +0100

    split out qemu-timer.c
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d6f4ade214a9f74dca9495b83a24ff9c113e4f9a
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:54 2010 +0100

    disentangle tcg and deadline calculation
    
    Just tell main_loop_wait whether to be blocking or nonblocking, so that
    there is no need to call qemu_cpus_have_work from the timer subsystem.
    Instead, tcg_cpu_exec can say "we want the main loop not to block because
    we have stuff to do".
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 16b151c3935b0855827de5ff19e0b636b65b4281
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:53 2010 +0100

    place together more #ifdef CONFIG_IOTHREAD blocks
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1b48824fa011397e4ba541d0a5887c214047653b
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:52 2010 +0100

    move vmstate registration of vmstate_timers earlier
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a2aaa079df740fb85756ff7c9b54a333542d6e18
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:51 2010 +0100

    new function qemu_icount_delta
    
    Tweaking the rounding in qemu_next_deadline ensures that there's
    no change whatsoever.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 63255043028fe61abab4da8b8da5946778e7d9f7
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:50 2010 +0100

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

commit e2a7bb4b156aff7c7bc1da111dd8bcc0931dede8
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:49 2010 +0100

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

commit 4e3de9e954b2674543b3b5c99890c20a7f324a9d
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:48 2010 +0100

    centralize handling of -icount
    
    A simple patch to place together all handling of -icount.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 972abbe03beaf78e736edb2031f939a8c08a57b0
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:47 2010 +0100

    introduce and use qemu_clock_enable
    
    By adding the possibility to turn on/off a clock, yet another
    incestuous relationship between timers and CPUs can be disentangled.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8c04ba55f91c8379c512d12d121cc9c1e1f9c755
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:46 2010 +0100

    change qemu_run_timers interface
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b6964827541afbf9c3aa246737ae3d17aaf19869
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:45 2010 +0100

    extract timer handling out of main_loop_wait
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3a720b14b9e09f8553832b835ede9933b70fe9a9
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:44 2010 +0100

    remove qemu_rearm_alarm_timer from main loop
    
    Make the timer subsystem register its own callback instead.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1db89e912365ff36ef436732ed81e4a1bb43056e
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:43 2010 +0100

    tweak qemu_notify_event
    
    Instead of testing specially next_cpu in host_alarm_handler, just do
    that in qemu_notify_event.  The idea is, if we are not running (or
    not yet running) target CPU code, prepare things so that the execution
    loop is exited asap; just make that clear.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7a5e5838116a752d51c443dbb1cc61541c02b597
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:42 2010 +0100

    do not use qemu_event_increment outside qemu_notify_event
    
    qemu_notify_event in the non-iothread case is only stopping the current
    CPU.  However, if the CPU is idle and the main loop is in the select
    call then a call to qemu_event_increment is needed too (as done in
    host_alarm_handler).  Since in general one doesn't know whether the CPU
    is executing or not, it is a safe bet to always do qemu_event_increment.
    
    Another way to see it: after this patch qemu_event_increment is the
    "common part" of qemu_notify_event for both the CONFIG_IOTHREAD and
    !CONFIG_IOTHREAD cases, which makes sense.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1828be316f6637d43dd4c4f5f32925b17fb8107f
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:41 2010 +0100

    more alarm timer cleanup
    
    The timer_alarm_pending variable is related to the alarm timer but not
    placed in the struct.  Also, in qemu_mod_timer the wrong flag was being
    tested: the timer is rearmed in the alarm timer "bottom half", so the
    right flag to test there is the "pending" flag.
    
    Finally, I hoisted the NULL checks from alarm_has_dynticks to
    host_alarm_handler.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit cd48d7e8f322cdb05692b023b168816ed6306fc4
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:40 2010 +0100

    only one flag is needed for alarm_timer
    
    The ALARM_FLAG_DYNTICKS can be testing simply by checking if there is
    a rearm function.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 291defbcda4dbcd3d7bfdd800c395cff66bd9faf
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:39 2010 +0100

    fix error in win32_rearm_timer
    
    The TIME_ONESHOT and TIME_PERIODIC flags are mutually exclusive.
    The code after the patch matches the flags used in win32_start_timer.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9aea10297f34c33ee2225426c12be474a797a13b
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Mar 10 11:38:38 2010 +0100

    avoid dubiously clever code in win32_start_timer
    
    The code is initializing an unsigned int to UINT_MAX using "-1", so that
    the following always-true comparison seems to be always-false at a
    first look.  Since alarm timer initializations are never nested, it is
    simpler to unconditionally store the result of timeGetDevCaps into
    data->period.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6d0ee85040e4d238e2483191fe6e74aebbecd5d5
Author: Adam Litke <agl at us.ibm.com>
Date:   Tue Mar 9 12:54:09 2010 -0600

    balloon: Do not save VM state wrt asynchronous virtio operations
    
    When working with the VM state (for loadvm/savevm and migration), it is not
    valid to load and store pointers since the validity of those pointers cannot be
    assured in the new qemu address space.  Therefore, virtio_balloon_save() and
    virtio_balloon_load() must not handle the stats-related fields in struct
    VirtIOBalloon.
    
    If a memory stats request is in-flight at the time of a migration or savevm,
    the request will not complete and should be resubmitted once migration or
    loadvm completes.  Note that this extremely small race window can only be
    triggered using QMP so it is not possible to hang the user monitor.
    
    Signed-off-by: Adam Litke <agl at us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8cfacf079047c50d272ce64e45a78d816db8b36e
Author: Christoph Hellwig <hch at lst.de>
Date:   Thu Mar 4 14:20:17 2010 +0100

    block: add logical_block_size property
    
    Add a logical block size attribute as various guest side tools only
    increase the filesystem sector size based on it, not the advisory
    physical block size.
    
    For scsi we already have support for a different logical block size
    in place for CDROMs that we can built upon.  Only my recent block
    device characteristics VPD page needs some fixups.  Note that we
    leave the logial block size for CDROMs hardcoded as the 2k value
    is expected for it in general.
    
    For virtio-blk we already have a feature flag claiming to support
    a variable logical block size that was added for the s390 kuli
    hypervisor.  Interestingly it does not actually change the units
    in which the protocol works, which is still fixed at 512 bytes,
    but only communicates a different minimum I/O granularity.  So
    all we need to do in virtio is to add a trap for unaligned I/O
    and round down the device size to the next multiple of the logical
    block size.
    
    IDE does not support any other logical block size than 512 bytes.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 702f3e0fb52c124c07f215426eeadb70a716643f
Author: Jan Kiszka <jan.kiszka at web.de>
Date:   Sun Mar 7 12:17:08 2010 +0100

    Avoid crash on '-usbdevice <device>' without parameters
    
    Many usbdevice_init implementors assume params is non-NULL.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at web.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit cc39a92cbfc80c70d2b83708a4c9b309c3126ac3
Author: Chris Webb <chris at arachsys.com>
Date:   Mon Mar 8 14:34:49 2010 +0000

    Fix SIGFPE for vnc display of width/height = 1
    
    During boot, the screen gets resized to height 1 and a mouse click at this
    point will cause a division by zero when calculating the absolute pointer
    position from the pixel (x, y). Return a click in the middle of the screen
    instead in this case.
    
    Signed-off-by: Chris Webb <chris at arachsys.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3c9c706c3b66d838942aba53c0d3fdcdf06c7423
Author: Paul Bolle <pebolle at tiscali.nl>
Date:   Mon Mar 8 13:58:35 2010 +0100

    usb-linux: remove unreachable default in switch statement
    
    Signed-off-by: Paul Bolle <pebolle at tiscali.nl>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b6034a399e37b6e6ff71b1def7c69d72a0e892b6
Author: Bjørn Mork <bjorn at mork.no>
Date:   Mon Mar 8 13:07:14 2010 +0100

    sdl: improve error message on fatal error
    
    The SDL_SetVideoMode() error condition is easily triggered by a user by
    simply configure a guest with a host unsupported display resolution
    and attempting to enable fullscreen.  Since the error is fatal, adding
    a bit of debugging help can't harm.
    
    Sample output with this change:
    
     (qemu) Could not open SDL display (1280x1024x32): No video mode large enough for 1280x1024
    
    The width x height might seem redundant as SDL also provides it in
    SDL_GetError(), but I believe there are situations where it is
    useful.  I.e. if there is some other SDL error.  Anyway, redundant
    information in fatal error messages has never harmed a single gerbil.
    
    Signed-off-by: Bjørn Mork <bjorn at mork.no>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit fd04a2aedae37dc9f481225f445d04bddd1590b0
Author: Shahar Havivi <shaharh at redhat.com>
Date:   Sat Mar 6 00:26:13 2010 +0200

    Wrong error message in block_passwd command
    
    Signed-off-by: Shahar Havivi <shaharh at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 25b28f01d840c56c1323f2bb941da061a8003176
Author: Shahar Havivi <shaharh at redhat.com>
Date:   Sat Mar 6 00:25:35 2010 +0200

    QError: New QERR_DEVICE_NOT_ENCRYPTED
    
    Signed-off-by: Shahar Havivi <shaharh at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4a39943bd1fd2ac7e3163f9d9b056394519661f3
Merge: 7d834c7450245335db0a7055ccdc783ccab21935 8bc27249f0f62524887ea355a6604722edd276a9
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Mar 17 09:44:37 2010 -0500

    Merge remote branch 'markus/qerror' into staging

commit 7d834c7450245335db0a7055ccdc783ccab21935
Merge: d4c430a80f000d722bb70287af4d4c184a8d7006 7a7e5db99399dd5e17fc75036577f822a516b504
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Mar 17 09:42:58 2010 -0500

    Merge remote branch 'mst/pci' into staging

commit d4c430a80f000d722bb70287af4d4c184a8d7006
Author: Paul Brook <paul at codesourcery.com>
Date:   Wed Mar 17 02:14:28 2010 +0000

    Large page TLB flush
    
    QEMU uses a fixed page size for the CPU TLB.  If the guest uses large
    pages then we effectively split these into multiple smaller pages, and
    populate the corresponding TLB entries on demand.
    
    When the guest invalidates the TLB by virtual address we must invalidate
    all entries covered by the large page.  However the address used to
    invalidate the entry may not be present in the QEMU TLB, so we do not
    know which regions to clear.
    
    Implementing a full vaiable size TLB is hard and slow, so just keep a
    simple address/mask pair to record which addresses may have been mapped by
    large pages.  If the guest invalidates this region then flush the
    whole TLB.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 8bc27249f0f62524887ea355a6604722edd276a9
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Feb 10 20:52:01 2010 +0100

    monitor: convert do_device_add() to QObject

commit c7e4e8ceb379e15c8cb79427f10169b2ccaa8de6
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Feb 10 20:47:28 2010 +0100

    monitor: Use argument type 'O' for device_add
    
    While there, improve the params help text.

commit 361127dfb48d7d6b6b8e2e5fa79160d92e740a44
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Feb 10 20:24:35 2010 +0100

    monitor: New argument type 'O'
    
    In the human monitor, it declares a single optional argument to be
    parsed according to the QemuOptsList given by its name.
    
    In QMP, it declares an optional argument for each member of the
    QemuOptsList.
    
    Restriction: only lists with empty desc are supported for now.  Good
    enough for the job at hand.  We'll lift the restriction when we need
    that.

commit 304329eea01f730733db3f0d6483c01d957378cb
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Feb 10 20:09:14 2010 +0100

    qemu-option: Rename find_list() to qemu_find_opts() & external linkage
    
    Next commit wants to use it.

commit 8212c64f0e1b32300b7ec4e79885a0caf6f521a6
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Feb 10 19:52:18 2010 +0100

    qemu-option: Move the implied first name into QemuOptsList
    
    We sometimes permit omitting the first option name, for example
    -device foo is short for -device driver=foo.  The name to use
    ("driver" in the example) is passed as argument to qemu_opts_parse().
    For each QemuOptsList, we use at most one such name.
    
    Move the name into QemuOptsList, and pass whether to permit the
    abbreviation.  This ensures continued consistency, and simplifies the
    commit after next in this series.

commit 01e7f18869c9ee4c84793f4a39ec1f5f4128a0aa
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Feb 10 20:15:29 2010 +0100

    qemu-option: Functions to convert to/from QDict
    
    The functions are somewhat restricted.  Good enough for the job at
    hand.  We'll extend them when we need more.

commit 0204276bc9108d6a927f4267b87338950a538671
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 14:17:34 2010 +0100

    error: Convert do_device_add() to QError
    
    Conversion to QObject is still missing.

commit 3801cf8ae58726b89a37f4594b7c9095e1050501
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 10:03:13 2010 +0100

    Revert "qdev: Use QError for 'device not found' error"
    
    This reverts commit 3ced9f7a36189aed94d8bf86f3f5087a53012455.
    
    The next commit will convert all of qdev_device_add() to QError, and
    it'll be clearer with this partial conversion reverted.

commit fab5767f90c96194f918d39af683fff3d9ea421a
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 19:54:06 2010 +0100

    error: New QERR_NO_BUS_FOR_DEVICE

commit 4d9a1a15214c01dcbff2d7c02cef027e80442d79
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 19:53:54 2010 +0100

    error: New QERR_DEVICE_INIT_FAILED

commit 8eae73b5d7085b0f9b087033c328fdbbbcc6271d
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 19:53:36 2010 +0100

    error: New QERR_BUS_NO_HOTPLUG

commit 56e9f56309b7c77dfb328dbf450d04fd54ce4542
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 19:52:45 2010 +0100

    error: New QERR_BAD_BUS_FOR_DEVICE

commit aa924ae7306f18f258c48f070c0d06215f157d0f
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 10:30:05 2010 +0100

    error: New error_printf_unless_qmp()

commit ac8dae679498aec6d454926b0b83df27373604e7
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 18:09:33 2010 +0100

    qdev: Convert qbus_find() to QError

commit 07574baf7b714a10e35b716b0eb6ede197adfca7
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 18:06:18 2010 +0100

    error: New QERR_DEVICE_NO_BUS

commit 1ae787184025b7e890a666e0041024a3d92529ce
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 18:05:59 2010 +0100

    error: New QERR_DEVICE_MULTIPLE_BUSSES

commit 7bbd823701cf4447b5c23430f1ad78ce501793b4
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 18:05:39 2010 +0100

    error: New QERR_BUS_NOT_FOUND

commit fc98eb430e49077710b0a6f287fc685c78e12556
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 16:09:25 2010 +0100

    qdev: Relax parsing of bus option
    
    Treat multiple successive slashes as a one slash.  Ignore trailing
    slashes.  This is how POSIX pathnames work.

commit fdcfa190ab3f042339bcd77c640b20dec73d715e
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 13:20:23 2010 +0100

    qdev: convert setting device properties to QError

commit 84745d68e7338271f0f7ec567ab52abf20a0ce9c
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Mar 16 17:44:38 2010 +0100

    error: New QERR_PROPERTY_VALUE_NOT_FOUND

commit 9c5eff958d527d1803114a6f78d086fb313b9bd2
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Mar 16 17:40:48 2010 +0100

    error: New QERR_PROPERTY_VALUE_IN_USE

commit 06b4a703e0e87034a8b122f6ffc50c732e7ceddd
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 13:17:58 2010 +0100

    error: New QERR_PROPERTY_VALUE_BAD

commit c58a35f8e32af621fab2b4f9c868f47971f67e59
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 13:11:41 2010 +0100

    error: New QERR_PROPERTY_NOT_FOUND

commit fc5469d87b54bfbe06b76a9bb9da6589c326e0b2
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 17:42:46 2010 +0100

    error: Polish human-readable error descriptions
    
    Also put error definitions in alphabetical order

commit cde0fc7544ca590c83f349d4dcccf375d55d6042
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Mar 2 14:56:34 2010 +0100

    error: Let converted handlers print in human monitor
    
    While fully converted handlers are not supposed to print anything when
    running in a QMP monitor, they are free to print in a human monitor.
    For instance, device_add (not yet converted) prints help, and will
    continue to do so after conversion.
    
    Moreover, utility functions converted to QError should remain usable
    from unconverted handlers.
    
    Two problems:
    
    * handler_audit() complains when a converted handler prints.  Limit
      that to QMP monitors.
    
    * With QMP, handlers need to pass the error object by way of
      monitor_set_error().  However, we do that both for QMP and for the
      human monitor.  The human monitor prints the error object after the
      handler returns.  If the handler prints anything else, that output
      "overtakes" the error message.
    
      Limit use of monitor_set_error() to QMP monitors.  Update
      handler_audit() accordingly.

commit 6620d3ce9ee44c01c7d715322be7879ad3d98c7a
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 11 17:05:43 2010 +0100

    monitor: New monitor_cur_is_qmp()

commit 036f7166c73a9e0cc1b2f10c03763e61894a1033
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 11:47:06 2010 +0100

    qdev: Hide "ptr" properties from users
    
    Users can't set them, so qdev_device_help() shouldn't list them.  Fix
    that.  Also make qdev_prop_parse() hide them instead of printing a
    meaningless "has no parser" error message.
    
    Their value means nothing to users, so qdev_print_props() shouldn't
    print it.  Fix by removing their print method.
    
    Their only use is dirty hacks.  Document that.

commit c64eafaf0c2f080d81f4c51a1eb2a98ceb40d2c8
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 13:31:49 2010 +0100

    qdev: Hide "no_user" devices from users
    
    Users can't create them, so qdev_device_help() shouldn't list them.
    Fix that.
    
    Also make qdev_device_add() pretend they don't exist.  Before, it
    rejected them with a "can't be added via command line" message, which
    wasn't quite right for monitor command device_add.

commit 0c17542d90a3863048ad6daff5de31c5c4d367d4
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 19:12:18 2010 +0100

    qdev: Factor qdev_create_from_info() out of qdev_create()
    
    To make it obvious that -device and device_add can't die in
    hw_error().

commit 327867b62a121a93ab1e8e9278eba2cd44eee650
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 19 19:08:45 2010 +0100

    qdev: Fix -device and device_add to handle unsuitable bus gracefully
    
    "device_add isa-serial,bus=pci.0" kills QEMU.  Not good.

commit 0f0bc3f1d526924ef4a75ad25dd0ec3771a66496
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 20:13:51 2010 +0100

    error: Track locations on command line
    
    New LOC_CMDLINE.  Use it for tracking option with argument in
    lookup_opt().  We now report errors like this
    
        qemu: -device smbus-eeprom: Did not find I2C bus for smbus-eeprom

commit ef82516d8fb41cbae9703d07516641f6bdf91a77
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 19:56:01 2010 +0100

    QemuOpts: Fix qemu_config_parse() to catch file read errors

commit cf5a65aaaf3e9382e50df550ba049a1c8691a5dd
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 19:48:33 2010 +0100

    error: Track locations in configuration files
    
    New LOC_FILE.  Use it for tracking file name and line number in
    qemu_config_parse().  We now report errors like
    
        qemu:foo.conf:42: Did not find I2C bus for smbus-eeprom
    
    In particular, gems like this message:
    
        -device: no driver specified
    
    become almost nice now:
    
        qemu:foo.conf:44: -device: no driver specified
    
    (A later commit will get rid of the bogus -device:)

commit 65abca0a3441fb47024553e7676f6f3eef685a32
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Feb 24 14:37:14 2010 +0100

    error: Include the program name in error messages to stderr

commit 827b08139c8ba97c18bda19e4893fdf26878b531
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 19:46:49 2010 +0100

    error: Infrastructure to track locations for error reporting
    
    New struct Location holds a location.  So far, the only location is
    LOC_NONE, so this doesn't do anything useful yet.
    
    Passing the current location all over the place would be too
    cumbersome.  Hide it away in static cur_loc instead, and provide
    accessors.  Print it in error_report().
    
    Store it in QError, and print it in qerror_print().
    
    Store it in QemuOpt, for use by qemu_opts_foreach().  This makes
    error_report() do the right thing when it runs within
    qemu_opts_foreach().
    
    We may still have to store it in other data structures holding user
    input for better error messages.  Left for another day.

commit ab5b027ee645f26320379d1d80cd96fdc944ecb5
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Mar 2 18:15:09 2010 +0100

    error: Rename qemu_error_new() to qerror_report()

commit 1ecda02b24a13f501e747b8442934829d82698ae
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 17:25:24 2010 +0100

    error: Replace qemu_error() by error_report()
    
    error_report() terminates the message with a newline.  Strip it it
    from its arguments.
    
    This fixes a few error messages lacking a newline:
    net_handle_fd_param()'s "No file descriptor named %s found", and
    tap_open()'s "vnet_hdr=1 requested, but no kernel support for
    IFF_VNET_HDR available" (all three versions).
    
    There's one place that passes arguments without newlines
    intentionally: load_vmstate().  Fix it up.

commit 6fdb03d58c614e0097d80ed130c19dcc393f7421
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 18:41:52 2010 +0100

    error: Don't abuse qemu_error() for non-error in scsi_hot_add()
    
    Commit 30d335d6 converted an informational message from
    monitor_printf() to qemu_error(), probably because the latter doesn't
    need a mon argument.  A later commit will make qemu_error() print
    additional stuff that is only appropriate for proper errors, and then
    this will break.  Clean it up.

commit 53db16b5b056e7b38384014c1bce75116ed27044
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 18:55:59 2010 +0100

    error: Don't abuse qemu_error() for non-error in qbus_find()
    
    qbus_find() adds an informational line to error messages, and prints
    both lines with one qemu_error().  Use error_printf() for the
    informational line instead.
    
    While there, simplify: instead of printing buffers filled by
    qbus_list_bus() and qbus_list_dev() in one go, make them print it.

commit 8a9662ca67c7ecb6cc3d9b2055438bacbf61682e
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 18:44:15 2010 +0100

    error: Don't abuse qemu_error() for non-error in qdev_device_help()
    
    qdev_device_help() prints device information with qemu_error().  A
    later commit will make qemu_error() print additional stuff that is
    only appropriate for proper errors, and then this will break.  Use
    error_printf() instead.
    
    While there, simplify: instead of printing a buffer filled by
    qdev_print_devinfo() in one go, make qdev_print_devinfo() print it.

commit ba0fe87acd8937d403f60da63290aadb0b84827e
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 17:14:17 2010 +0100

    error: New error_printf() and error_vprintf()

commit 2f7920166d1aa402104d7b30d0225e71588f91f9
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 16:24:31 2010 +0100

    error: Move qemu_error & friends into their own header

commit 6e4f984cb9474db99bf4e3998ff86cdb9ed02380
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 13:16:02 2010 +0100

    error: Simplify error sink setup
    
    qemu_error_sink can either point to a monitor or a file.  In practice,
    it always points to the current monitor if we have one, else to
    stderr.  Simply route errors to the current monitor or else to stderr,
    and remove qemu_error_sink along with the functions to control it.
    
    Actually, the old code switches the sink slightly later, in
    handle_user_command() and handle_qmp_command(), than it gets switched
    now, implicitly, by setting the current monitor in monitor_read() and
    monitor_control_read().  Likewise, it switches back slightly earlier
    (same places).  Doesn't make a difference, because there are no calls
    of qemu_error() in between.

commit b4a51f7f5d4855d1af7eb6ce6c6f79bd24d1d5a8
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Feb 17 10:55:46 2010 +0100

    error: Move qemu_error() & friends from monitor.c to own file
    
    They're about reporting errors, not about the monitor.

commit d6f468337aba7eeeab0c7a772eda7491eb432cca
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Feb 17 10:52:26 2010 +0100

    monitor: Factor monitor_set_error() out of qemu_error_internal()
    
    This separates the monitor part from the QError part.

commit a44264880ef42254edb88f9ec5d6f35e3e84089b
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 11:49:42 2010 +0100

    block: Simplify usb_msd_initfn() test for "can read bdrv key"
    
    The old test assumes that "hotplugged" implies "we have a current
    monitor for reading the key".  This is in fact true, but it's not
    obviously true.
    
    Aside: if it were false, we could pass a null pointer to
    monitor_read_bdrv_key_start(), which would then crash.
    
    The previous commit permits us to check for "we have a current
    monitor" directly, so do that.

commit 8631b6084a13e712ae8356d779077991aba010a5
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 11:41:55 2010 +0100

    monitor: Separate "default monitor" and "current monitor" cleanly
    
    Commits 376253ec..731b0364 introduced global variable cur_mon, which
    points to the "default monitor" (if any), except during execution of
    monitor_read() or monitor_control_read() it points to the monitor from
    which we're reading instead (the "current monitor").  Monitor command
    handlers run within monitor_read() or monitor_control_read().
    
    Default monitor and current monitor are really separate things, and
    squashing them together is confusing and error-prone.
    
    For instance, usb_host_scan() can run both in "info usbhost" and
    periodically via usb_host_auto_check().  It prints to cur_mon, which
    is what we want in the former case: the monitor executing "info
    usbhost".  But since that's the default monitor in the latter case, it
    periodically spams the default monitor there.
    
    A few places use cur_mon to log stuff to the default monitor.  If we
    ever log something while cur_mon points to current monitor instead of
    default monitor, the log temporarily "jumps" to another monitor.
    Whether that can or cannot happen isn't always obvious.
    
    Maybe logging to the default monitor (which may not even exist) is a
    bad idea, and we should log to stderr or a logfile instead.  But
    that's outside the scope of this commit.
    
    Change cur_mon to point to the current monitor.  Create new
    default_mon to point to the default monitor.  Update users of cur_mon
    accordingly.
    
    This fixes the periodical spamming of the default monitor by
    usb_host_scan().  It also stops "log jumping", should that problem
    exist.

commit 070a2f819a2ec03f26d6033f522f0ce9e29f6539
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 18 10:21:36 2010 +0100

    tools: Remove unused cur_mon from qemu-tool.c

commit d9346e81de83a99ac20d94d6598ae927895cb9ef
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Feb 17 18:07:48 2010 +0100

    pc: Factor common code out of pc_boot_set() and cmos_init()
    
    Code duplicated in commit 0ecdffbb.  The two versions are similar, but
    not identical:
    
    * cmos_init() reports errors to stderr, pc_boot_set() via
      qemu_error().  The latter is fine for both, so pick that for the
      common code.
    
    * cmos_init() obeys fd_bootchk, pc_boot_set() ignores it.  Make it a
      parameter of the common code.

commit 8ad00f84251c7aefca26461faccfbb557e1dba47
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Feb 17 18:05:26 2010 +0100

    pc: Fix error reporting for -boot once
    
    Commit 0ecdffbb created pc_boot_set() for use from monitor command
    "boot_set", via qemu_boot_set().  pc_boot_set() reports errors to
    cur_mon, which works fine for monitor code.
    
    Commit e0f084bf reused the function int reset handler
    restore_boot_devices().  Use of cur_mon is problematic in that
    context.  For instance, the "Too many boot devices for PC" error for
    "-boot order=abcdefgh,once=c" goes to the monitor instead of stderr.
    The monitor may not even exist.
    
    Fix by switching to qemu_error().

commit 03cd4655cbbc304f355deffd3413f7e3cbbcbe5e
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Feb 17 16:24:10 2010 +0100

    savevm: Fix -loadvm to report errors to stderr, not the monitor
    
    A monitor may not even exist.
    
    Change load_vmstate() to use qemu_error() instead of monitor_printf().
    Parameter mon is now unused, remove it.

commit 4491e0f3984c81ebe12027de2f3d185953f09bde
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Feb 17 14:34:57 2010 +0100

    usb: Remove disabled monitor_printf() in usb_read_file()
    
    The monitor_printf() reports failure.  Printing is wrong, because the
    caller tries various arguments, and expects the function to fail for
    some or all.
    
    Disabled since commit 26a9e82a.  Remove it.

commit 409dbce54b57b85bd229174da86d77ca08508508
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sun Mar 14 21:20:59 2010 +0100

    load_elf: replace the address addend by a translation function
    
    A few machines need to translate the ELF header addresses into physical
    addresses. Currently the only possibility is to add a value to the
    addresses.
    
    This patch replaces the addend argument by and a translation function
    and an opaque passed to the function. A NULL function does not translate
    the address.
    
    The patch also convert all machines that have an addend, simplify the
    PowerPC kernel loading and fix the MIPS kernel loading using this new
    feature. Other machines may benefit from this feature.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7a7e5db99399dd5e17fc75036577f822a516b504
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Mon Mar 15 13:34:16 2010 +0200

    pcnet: make subsystem vendor id match hardware
    
    Real pcnet device (AT2450) apparently has subsystem
    device and vendor id set to 0, this is out of spec
    (which requires that vendor id is obtained from PCI SIG)
    but windows xp driver seems to need this in order
    to associate.
    
    qemu sets pci subsystem id to qumranet/qemu
    since d350d97d196a632b6c7493acf07a061017fc6f7d,
    debian does not yet have this patch.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=521247
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Cc: Gerd Hoffmann <kraxel at redhat.com>
    Cc: Anthony Liguori <aliguori at us.ibm.com>

commit 15e89f5916c9e82347cbd1fd416db3e348bab426
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Mar 3 14:00:21 2010 +0200

    eepro100: address pci todo's, use pci_set_xx
    
    eepro100 uses macros which rely on a specific
    local variable name (pci_conf) which is scary.
    Some of the uses are wrong or unnecessary,
    remove them. The rest are small in number, open-code
    them using pci_set_xx functions.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit cb66ffcf9e298dc1bfc11682172ff9472bcd4495
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Mar 12 14:03:49 2010 +0100

    qemu-img rebase: Document -f option
    
    The option was implemented in e53dbee0, but I forgot documenting it.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Reviewed-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7b9cbadb2b0e9b84e2aa0911d9836fa97928a506
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sun Mar 14 23:30:19 2010 +0100

    mips: add header to mips_int.c and mips_timer.c
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit dbfff4deb5b8082d65e374950f2a6f2d88fb8fe0
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sun Mar 14 23:01:01 2010 +0100

    tcg: declare internal helpers as const and pure
    
    TCG internal helpers only access to the values passed in arguments, and
    do not modify the CPU internal state. Thus they can be declared as
    const and pure.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 39324ca488ac8f7124b3698d28bf46b90d9acd84
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Mar 7 11:28:48 2010 +0100

    Fix corner case in chardev udp: parameter
    
    The missing '@' broke 'udp::<port>@:<port>' parsing.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 18141ed67f5ee8c7e8e3f8bffdb24d7b8cdbc270
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Mar 7 11:28:40 2010 +0100

    Don't set default monitor when there is a mux'ed one
    
    This fixes eg. "-nographic -serial mon:stdio [-serial ...]".
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 2b71cd72d3a3e30c7204ffd7f2e6b041fd366841
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Mar 2 23:23:12 2010 +0100

    tcg/arm: use helpers for divu/remu
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 31d6655100cd54a8c081e04349661c0f08117e66
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Mar 2 23:16:36 2010 +0100

    tcg: add div/rem 32-bit helpers
    
    Some targets like ARM would benefit to use 32-bit helpers for
    div/rem/divu/remu.
    
    Create a #define for div2 so that targets can select between
    div, div2 and helper implementation. Use the helper version if none
    of the #define are present.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7296abaccc98872e28cec50091dbf26d38e4f062
Author: Paul Brook <paul at codesourcery.com>
Date:   Sun Mar 14 14:58:46 2010 +0000

    Fix pagetable code
    
    The multi-level pagetable code fails to iterate ove all entries because
    of the L2_BITS v.s. L2_SIZE thinko.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 66c80e75752e87a9479577fda1446a7623884f01
Author: Vagrant Cascadian <vagrant at freegeek.org>
Date:   Sun Mar 14 08:51:53 2010 +0000

    spelling typo (compatibilty) in hw/fw_cfg.c
    
    here's a trivial patch to fix the spelling of "compatibility":
    
    Signed-off-by: Vagrant Cascadian <vagrant at freegeek.org>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 2f7a21c4a5a4db2183214ccd207c0c146971170b
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Mar 13 16:46:33 2010 +0100

    x86/cpuid: fix indentation
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8560efed6a72a816c0115f41ddb9d79f7ce63f28
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Mar 13 16:43:15 2010 +0100

    x86/cpuid: Enable all features of real CPU
    
    Enable all features of real CPU, unsupported features will be
    trimmed depending on TCG or KVM capabilities.
    
    Move the list of unsupported TCG features near the TCG capabilities
    masks.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 58012d66dc7323f48e9bad3be6d65a50ed3d76bc
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Thu Mar 11 14:39:06 2010 +0100

    x86/cpuid: fix CPUID levels
    
    Bump up the xlevel number for qemu32 to allow parsing of the processor
    name string for this model.
    Similiarly the 486 processor should have at least the feature bit
    leaf enabled.
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d3bf59157c8b7f35935266f145723d9c9585f783
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Thu Mar 11 14:39:04 2010 +0100

    x86/cpuid: Always expose 32 and 64-bit CPUs
    
    Since 64-bit capability is just another CPUID bit we now properly
    mask, there is no reason anymore to hide the 64-bit capable CPU
    models from a 32-bit only QEMU. All 64-bit CPUs can be used
    perfectly in 32-bit legacy mode anyway, so these models also make
    sense for 32-bit.
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 551a2dec8fa55006a68393b9d6fb63577d2b3f1c
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Thu Mar 11 14:39:03 2010 +0100

    x86/cpuid: add TCG feature bit trimming
    
    In KVM we trim the user provided CPUID bits to match the host CPU's
    one. Introduce a similar feature to QEMU/TCG. Create a mask of TCG's
    capabilities and apply it to the user bits.
    This allows to let the CPU models reflect their native archetypes.
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 457dfed6146e19e4c7540456533be006076a2307
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Thu Mar 11 14:39:01 2010 +0100

    x86/cpuid: remove unnecessary kvm_trim function
    
    Correct me if I am wrong, but kvm_trim looks like a really bloated
    implementation of a bitwise AND. So remove this function and replace
    it with the real stuff(TM).
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ed2c54d4ccfc1f64b174712d0fc02dbe35f75744
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Thu Mar 11 14:39:00 2010 +0100

    x86/cpuid: add "host" to the list of supported CPU models
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e117f7725af8416a0c6e416fe18549d1625f7498
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Thu Mar 11 14:38:59 2010 +0100

    x86/cpuid: add missing CPUID feature flag names
    
    Some CPUID feature flags had no string value, so they could not be
    switched on or off from the command line.
    Add names for the missing ones mentioned in the current public CPUID
    specification from both Intel and AMD. Those only mentioned in the
    Linux kernel source I put as comments.
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit bdde476a9cefb2dce8111600e7d5fec1c42bf56c
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Thu Mar 11 14:38:58 2010 +0100

    x86/cpuid: moved host_cpuid function and remove prototype
    
    the host_cpuid function was located at the end of the file and had
    a prototype before it's first use. Move it up and remove the
    prototype.
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 4d067ed7a778c5b903b048b5f13b8fa3873d1211
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Thu Mar 11 14:38:57 2010 +0100

    x86/cpuid: fix missing feature set bits
    
    This one was accidently removed with commit
    bb0300dc57c10b3721451b0ff566a03f9276cc77
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 42673936d1b2dfc7b74a18c759f02735876a8453
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Thu Mar 11 14:38:56 2010 +0100

    x86/cpuid: replace magic number with named constant
    
    CPUID leaf Fn8000_0001.EDX contains a copy of many Fn0000_0001.EDX bits.
    Define a name for this mask to improve readability and avoid typos.
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c6dc6f63bf7ee418c0a430a8b3386817ede69940
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Thu Mar 11 14:38:55 2010 +0100

    x86/cpuid: move CPUID functions into separate file
    
    about half of target-i386/helper.c consist of CPUID related functions.
    Only one of them is a real TCG helper function. So move the whole
    CPUID stuff out of this into a separate file to get better
    maintainable parts.
    This is only code reordering and should not affect QEMU's
    functionality.
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a6c6f76ceb95a0986fd1a36cc30f8241734d20c3
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 13 14:18:50 2010 +0000

    Fix build with -DNDEBUG in CFLAGS
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 090414a30c6c1d276eca48e76945f2cfcf0cccf9
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 13 11:36:09 2010 +0000

    Fix a typo in error message
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 995bf0ca57e52f4991d7f90c7eb2bbf7bc3f3c44
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Mar 10 17:30:29 2010 +0100

    fdc: fix drive property handling.
    
    Fix the floppy controller init wrappers to set the drive properties
    only in case the DriveInfo pointers passed in are non NULL.  This allows
    to set the properties using -global.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 990caaf19c73d6e82c78bfd144a403c35525085a
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Mon Mar 8 15:43:41 2010 +0100

    install: honor DESTDIR on sysconfdir population
    
    When creating and populating $sysconfdir, we should prepend $DESTDIR
    as we do with all other paths.
    
    Reported-by: Frank Arnold <frank.arnold at amd.com>
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ca2fb938cdf686c4f8278974fbb6eaf2573f8f8f
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Mon Mar 8 14:09:48 2010 +0100

    configure: fix --sysconfdir specification
    
    --sysconfdir requires a parameter (the path), this should be reflected
    in the case pattern.
    
    Reported-by: Frank Arnold <frank.arnold at amd.com>
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ea825eeefdbbceb7eadb61986e3ab9ad17ebeab8
Author: Adam Lackorzynski <adam at os.inf.tu-dresden.de>
Date:   Tue Mar 2 01:17:35 2010 +0100

    target-arm: make RFE usable with any register
    
    The rfe instruction can be used with any register, not just sp. Adjust the
    condition check accordingly.
    
    Signed-off-by: Adam Lackorzynski <adam at os.inf.tu-dresden.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 932234f64ccd2e939aaba8836a3967b770ecdeb9
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Wed Mar 3 00:13:43 2010 +0100

    tcg/arm: implement andc op
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a3f5054b1a215a140e40a408bc13208196fb3d5d
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Fri Mar 5 22:48:03 2010 +0100

    tcg: update README with const and pure helpers
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 4e17eae9f2ee49833698aae2753c5bb041510870
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Fri Mar 5 08:35:07 2010 +0100

    tcg/arm: correctly save/restore registers in prologue/epilogue
    
    Since commit 6113d6d3169393c323ac4c82d756a850145a5e7a QEMU crashes
    on ARM hosts. This is not a bug of this commit, but a latent bug
    revealed by this commit.
    
    The TCG code is called through a procedure call using the prologue
    and epilogue code. This code does not save and restore enough registers.
    The "Procedure Call Standard for the ARM Architecture" says:
    
      A subroutine must preserve the contents of the registers r4-r8, r10,
      r11 and SP (and r9 in PCS variants that designate r9 as v6).
    
    The current code only saves and restores r9 to r11, and misses r4 to
    r8. The patch fixes that by saving r4 to r12. Theoretically there is
    no need to save and restore r12, but an even number of registers have
    to be saved as per EABI.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 2e21e7491ff2af3628a97d4652e7adcc6961c2e9
Author: TeLeMan <geleman at gmail.com>
Date:   Fri Mar 12 19:38:06 2010 +0800

    target-i386: fix commit c22549204a6edc431e8e4358e61bd56386ff6957
    
    The commit c22549204a6edc431e8e4358e61bd56386ff6957 led movntps &
    movntdq to be translated incorrectly.
    
    Signed-off-by: TeLeMan <geleman at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 30724e758a21ba9f807efafe268626bd479db9de
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Mar 13 01:39:17 2010 +0100

    target-mips: update address space definitions
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 65850a0254744050f79c42347f84cc79d0c2348e
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 13 09:52:19 2010 +0000

    Fix Sparc host build breakage
    
    Fix error:
      CC    sparc-bsd-user/op_helper.o
    In file included from /src/qemu/tcg/tcg.c:158:
    /src/qemu/tcg/sparc/tcg-target.c:728:5: "TARGET_PHYS_ADDR_BITS" is not defined
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 338e9e6ce5a1e04f52b3c82d34bea4e836c01003
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Mar 13 09:48:08 2010 +0000

    Fix more wrong usermode virtual address types
    
    Fixes warning:
      CC    sparc-bsd-user/exec.o
    /src/qemu/exec.c: In function `page_check_range':
    /src/qemu/exec.c:2375: warning: comparison is always true due to limited range of data type
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit b480d9b74dfd1efd29026b7dc6438364a633ee99
Author: Paul Brook <paul at codesourcery.com>
Date:   Fri Mar 12 23:23:29 2010 +0000

    Fix usermode virtual address type
    
    Usermode virtual addresses are abi_ulong, not target_ulong.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 4836a2b09a94969d3d69c5c9f9ba8f58767575ca
Author: Juergen Lock <nox at jelal.kn-bremen.de>
Date:   Fri Mar 12 22:50:15 2010 +0100

    FreeBSD ppc_init_cacheline_sizes(): add missing #includes
    
    This fixes commit e4ee916d3f9a93df06bd498c92767c1558d59a0b.
    (The bug was mine actually...)
    
    Submitted by: Andreas Tobler <andreast at fgznet.ch>
    
    Signed-off-by: Juergen Lock <nox at jelal.kn-bremen.de>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 35f6b5997a334436e5bd4ca59aa92f2ccb3d4cb0
Author: malc <av1474 at comtv.ru>
Date:   Sat Mar 13 00:27:46 2010 +0300

    tcg/ppc[64]: Only define addend load helpers in softmmu case
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit b1aa27c4eab62b3c75a892671db5131bedf1cdf6
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Mar 1 02:27:26 2010 +0000

    Remove userspace target_phys_addr_t
    
    TARGET_PHYS_ADDR_BITS isn't meaningful for userspace emulation, so don't
    define it.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 3c7b48b74cb017ab6da7c3c0bc205a03943a6274
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Mar 1 04:11:28 2010 +0000

    Target specific usermode cleanup
    
    Disable various target specific code that is only relevant to system emulation.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 4fcc562bff94c28cc06d510d87280afc467add6d
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Mar 1 03:46:18 2010 +0000

    Remove cpu_get_phys_page_debug from userspace emulation
    
    cpu_get_phys_page_debug makes no sense for userspace emulation, so remove it.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit b3755a915e40271e8d2b1119e8a1dc1f3e88d2e5
Author: Paul Brook <paul at codesourcery.com>
Date:   Fri Mar 12 16:54:58 2010 +0000

    Disable phsyical memory handling in userspace emulation.
    
    Code to handle physical memory access is not meaningful in usrmode emulation,
    so disable it.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 20cb400d41b07f33ed34d5ed917e534c7f12738b
Author: Paul Brook <paul at codesourcery.com>
Date:   Fri Mar 12 16:54:58 2010 +0000

    Remove TLB from userspace
    
    Remove TLB from userspace CPU structure.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 41c1b1c9ebb45b97795fa9e58eaa6fedc4eafe0e
Author: Paul Brook <paul at codesourcery.com>
Date:   Fri Mar 12 16:54:58 2010 +0000

    Add tb_page_addr_t
    
    The page tracking code in exec.c is used by both userspace and system
    emulation.  Userspace emulation uses it to track virtual pages, and
    system emulation to track ram pages.  Introduce a new type to hold this
    kind of address.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 376a790970de7e84170ee9360b6ff53ecfa4a1be
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Mar 10 15:57:04 2010 -0800

    Fix last page errors in page_check_range and page_set_flags.
    
    The addr < end comparison prevents iterating over the last
    page in the guest address space; an iteration based on
    length avoids this problem.
    
    At the same time, assert that the given address is in the
    guest address space.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 5cd2c5b6ad75c46d40118ac67c0c09d4e7930a65
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Mar 10 15:53:37 2010 -0800

    Implement multi-level page tables.
    
    Define L1_MAP_ADDR_SPACE_BITS to be either the virtual address size
    (in user mode) or physical address size (in system mode), and use
    that to size l1_map.  This rewrites page_find_alloc, page_flush_tb,
    and walk_memory_regions.
    
    Use TARGET_PHYS_ADDR_SPACE_BITS for the physical memory map based
    off of l1_phys_map.  This rewrites page_phys_find_alloc and
    phys_page_for_each.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 14f24e1465edc44b9b4d89fbbea66e06088154e1
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Mar 10 15:39:07 2010 -0800

    linux-user: Fix mmap_find_vma returning invalid addresses.
    
    Don't return addresses that aren't properly aligned for the guest,
    e.g. when the guest has a larger page size than the host.  Don't
    return addresses that are outside the virtual address space for the
    target, by paying proper attention to the h2g/g2h macros.
    
    At the same time, place the default mapping base for 64-bit guests
    (on 64-bit hosts) outside the low 4G.  Consistently interpret
    mmap_next_start in the guest address space.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 7bc7b099dfa38a856b1bc892c0f9f3d6fe28e170
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Mar 10 14:38:59 2010 -0800

    linux-user: Use h2g_valid in qemu_vmalloc.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit b9f83121a13153536d886305414b540460c34508
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Mar 10 14:36:58 2010 -0800

    Use TARGET_VIRT_ADDR_SPACE_BITS in h2g_valid.
    
    Previously, only 32-bit guests had a proper check for the
    validity of the virtual address.  Extend that check to 64-bit
    guests with a restricted virtual address space.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 5270589032f450ae7c3448730855aa18ff68ccff
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Mar 10 14:33:23 2010 -0800

    Move TARGET_PHYS_ADDR_SPACE_BITS to target-*/cpu.h.
    
    Removes a set of ifdefs from exec.c.
    
    Introduce TARGET_VIRT_ADDR_SPACE_BITS for all targets other
    than Alpha.  This will be used for page_find_alloc, which is
    supposed to be using virtual addresses in the first place.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>

commit 0aef4261ac0ec9089ade0e3a92f986cb4ba7317e
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Mar 11 21:29:42 2010 +0100

    target-ppc: fix evsrwu and evsrws (second try)
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 26b14dc4aba5f5794b3aa2cc1b1d9f99bf6f0a82
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Mar 11 21:22:35 2010 +0100

    target-ppc: fix evsrwu and evsrws
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e29ef9fabef7366356b13667dfc01265354e9f41
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Mar 11 21:14:47 2010 +0100

    target-ppc: fix evslw instruction
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ad483a514e3adffd4820b84a3cd7d58c1dd759b3
Author: malc <av1474 at comtv.ru>
Date:   Thu Mar 11 18:28:38 2010 +0300

    audio: fix comment
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 81d9b784df3276cb6fa92376e587c67b2f09537b
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Mar 10 09:06:34 2010 -0600

    QMP: Really move the RESET event to qemu_system_reset()
    
    Something bad has happened in the merge of commit 0ee44250, as
    the log message says it's supposed to be in qemu_system_reset()
    but it is do_vm_stop().
    
    Possibly, it was a problem with the conflict resolution with
    ea375f9a (which has been merged first).
    
    This commit moves (again) the RESET event into qemu_system_reset().
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b16f827bdf7444b8cd338b9ecb654b4752f47225
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Mar 6 18:02:31 2010 +0100

    target-i386: fix SIB decoding with index = 4
    
    A SIB byte with an index of 4 means "no scaled index", even if the scale
    value is not 0. In 64-bit mode, if REX.X is used, an index of 4 selects
    %r12. This is correctly handled by the computation of the index variable,
    which includes the index bits, and also the REX.X prefix:
    
        index = ((code >> 3) & 7) | REX_X(s);
    
    Thanks to Avi Kivity, Jamie Lokier and Malc for the analysis of the
    problem and the initial patch.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 1298cb6804d6073ef3cb9c06e663ee59d06d92cc
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 4 10:00:39 2010 +0100

    documentation: qemu_write_full don't work with non-blocking fd's
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3e7896dec40ec5b9a51338fa636a58014d6d3f94
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 4 10:00:38 2010 +0100

    block: print errno on error
    
    Now that we changed all create calls to return errno, just print it.
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3829cb460cff65ca8af956db66b697d96076f8e1
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 4 10:00:37 2010 +0100

    vmdk: share cleanup code
    
    cleanup code is identical for error/success cases.  Only difference
    are goto labels.
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a161329b61106ab093aab6d3227ac85e0b8251a9
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 4 10:00:36 2010 +0100

    vmdk: fix double free
    
    fail_gd error case would also free rgd_buf that was already freed
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 53c2e71632340bc7f0d4cfdc4c5f21e270112b6c
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 4 10:00:35 2010 +0100

    vmdk: make vmdk_snapshot_create return -errno
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b781cce53dddcbf3d881f8d923d87e54834a173b
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 4 10:00:34 2010 +0100

    vmdk: return errno instead of -1
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 98c2b2f4371f9a496c0dc479d7f86b086de3b4e0
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 4 10:00:33 2010 +0100

    qcow: return errno instead of -1
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bef57da55ccaa468207ebeef01519ff29fc34d90
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 4 10:00:32 2010 +0100

    qcow2: return errno instead of -1
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 24ac07dec7f23c58dc48aa7754f872781b386d46
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 4 10:00:31 2010 +0100

    slirp: check system() success
    
    we shouldn't call W*() macros until we check that fork worked.
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 48b66db9ea19e30ac360872dae590e79cd009d1a
Author: Juan Quintela <quintela at redhat.com>
Date:   Thu Mar 4 10:00:30 2010 +0100

    cow: return errno instead of -1
    
    Remove not needed ret = 0 assignment.
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e53dbee05dfabea5533f6bdf61547b2d3d59a965
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Mar 2 12:14:31 2010 +0100

    qemu-img rebase: Add -f option
    
    Allow the user to specify the format of the image to rebase.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 37116c89cdafc04682709919ca72d8dabc43f668
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Mon Mar 1 22:20:29 2010 +0100

    configure: Fix code which creates config.mak files
    
    These files are created by configure and grow
    unnecessarily at each new call of configure:
    
    roms/seabios/config.mak
    roms/vgabios/config.mak
    libhw32/config.mak
    libhw64/config.mak
    
    libhw32/config.mak and libhw64/config.mak set
    compiler options, and the wrong old code results
    in very long command lines.
    
    The new code always writes a new config.mak
    instead of appending to an existing one.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f8aa6c7bebfa66d09220e60f5e794d38015904ea
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Mon Mar 1 22:10:46 2010 +0100

    configure: Fix wrong stderr redirection
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9eedeb3b88173d84d438557cada237346a764e0b
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Feb 25 12:13:04 2010 -0300

    QMP: Introduce WATCHDOG event
    
    It's emitted whenever the watchdog device's timer expires. The action
    taken is provided in the 'data' member.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2d753894c7553d6a05e8fdbed5f4704398919a35
Author: Shahar Havivi <shaharh at redhat.com>
Date:   Fri Feb 26 11:34:59 2010 +0200

    Restore terminal attributes for tty based monitor
    
    Patch http://permalink.gmane.org/gmane.comp.emulators.qemu/63472 handle
    close when using tty devices (like /dev/ttyS0),
    yet tty based monitor are not restoring terminal attributes (as done
    with stdio based monitor), when closing qemu after that command:
    $ qemu -monitor /dev/tty
    the terminal is not responding until you write reset (blindly),
    this patch fix it
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7ffb82ca6e13feeb37b86a8223da691eff5ee922
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Feb 26 17:17:39 2010 +0100

    kbd keds: vnc
    
    Use led status notification support in vnc.
    
    The qemu vnc server keeps track of the capslock and numlock states based
    on the key presses it receives from the vnc client.  But this fails in
    case the guests idea of the capslock and numlock state changes for other
    reasons.  One case is guest reboot (+ keyboard reset).  Another case are
    more recent windows versions which reset capslock state before
    presenting the login screen.
    
    Usually guests use the keyboard leds to signal the capslock and numlock
    state to the user, so we can use this to better keep track of capslock
    and numlock state in the qemu vnc server.
    
    Also toggle the numlock and capslock states on keydown events (instead
    of keyup).  Guests do the same.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bd87813e8c3adfa1c12f763b35b2dbacc7796f0d
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Feb 26 17:17:38 2010 +0100

    kbd leds: usb kbd
    
    Add led status notification support to the usb kbd driver.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6937b3766fb47b87a986e7c8010546465de87a4c
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Feb 26 17:17:37 2010 +0100

    kbd leds: ps/2 kbd
    
    Add led status notification support to the ps/2 kbd driver.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 03a23a85f4c2588778d7d58ae49e5521d79d1b06
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Feb 26 17:17:36 2010 +0100

    kbd leds: infrastructure
    
    Adds infrastructure for keyboard led status tracking to qemu.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 32bb404a6a4d726dfd691f75704f08257ce65ffe
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 25 11:23:52 2010 +0100

    scsi: Make device scsi-disk reject /dev/sg*
    
    You're supposed to use scsi-generic for that.  Which rejects anything
    but /dev/sg*.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 27f3f8a362570c5e9eb89b36b6c6d5db7b6e70e3
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 26 15:50:51 2010 +0100

    qdev: Catch attempt to attach more than one device to a netdev
    
    Guest device and host netdev are peers, i.e. it's a 1:1 relation.
    However, we fail to enforce that:
    
        $ qemu -nodefaults --nographic -netdev user,id=net0 -device e1000,netdev=net0 -device virtio-net-pci,netdev=net0 -monitor stdio
        QEMU 0.12.50 monitor - type 'help' for more information
        (qemu) info network
        Devices not on any VLAN:
          net0: net=10.0.2.0, restricted=n peer=virtio-net-pci.0
          e1000.0: model=e1000,macaddr=52:54:00:12:34:56 peer=net0
          virtio-net-pci.0: model=virtio-net-pci,macaddr=52:54:00:12:34:57 peer=net0
    
    It's all downhill from there.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6bf38816df80a3b50529119c5458b151b3e2c728
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Feb 26 15:50:50 2010 +0100

    qdev: Improve diagnostics for bad property values
    
    Property "vlan" reports "failed to parse" even when the value parses
    just fine, but the result doesn't name an existing VLAN.
    
    Similarly, properties "drive", "chr" and "netdev" misleadingly report
    "failed to parse" when the value doesn't name an existing host device.
    
    Change PropertyInfo method parse to return an error code, so that
    qdev_prop_parse() can report the error more accurately.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 573fb60c97721328f71b866c0561c6250d6cb25a
Author: Amit Shah <amit.shah at redhat.com>
Date:   Thu Feb 25 17:24:44 2010 +0530

    virtio-pci: Use DEV_NVECTORS_UNSPECIFIED instead of -1 for virtio-serial
    
    Use the named constant instead of -1.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Reported-by: "Michael S. Tsirkin" <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 75422b0d38029d2e098309da4dd7199dc7b2d2a9
Author: Amit Shah <amit.shah at redhat.com>
Date:   Thu Feb 25 17:24:43 2010 +0530

    qdev: Add a DEV_NVECTORS_UNSPECIFIED enum for unspecified nr of MSI vectors
    
    net.c used a constant to signify no MSI vectors were specified. Extend
    that to all qdev devices.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Reported-by: "Michael S. Tsirkin" <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1a8e2aaa3fb495e7f3d2ace1900fc104151b1b28
Author: Chris Kilgour <techie at whiterocker.com>
Date:   Tue Feb 23 22:32:14 2010 -0800

    pcnet APROMWE bit location (retry)
    
    According to AMD document 21485D pp.141, APROMWE is bit 8 of BCR2.
    
    Signed-off-by: Christopher Kilgour <techie at whiterocker.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit de7890db9ed3baa07d3fcdd4beef1bdfc430ac2b
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Feb 25 09:41:36 2010 +0100

    move x509 file name defines to qemu-x509.h
    
    Want share them with vnc and spice.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit cf602c7bf0fc4e9e183fbb2103dce1624b2bb7dc
Author: Izik Eidus <ieidus at redhat.com>
Date:   Thu Feb 25 09:41:25 2010 +0100

    adding helper pci functions
    
    Signed-off-by: Izik Eidus <ieidus at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 80cd34787fc0fc31b1a341c7b8d8e729c1b6ea58
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Feb 25 12:11:44 2010 -0300

    QMP: Introduce RTC_CHANGE event
    
    Emitted whenever the RTC time changes.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d74c7dfd1b63850309d7595b4db2e91b78c1dc05
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Feb 25 12:07:02 2010 -0300

    QMP: Revamp the qmp-events.txt file
    
    Now we can say it's useful, the following changes have been made:
    
    - Put events in alphabetical order
    - Add examples to all events
    - Document all 'data' members
    - Small corrections and cleanups
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 51a3bd71b3f2fa7033a5a3db459449b4bb4cd5d7
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Feb 25 12:07:01 2010 -0300

    QMP: Drop DEBUG event
    
    This event has been introduced in the first round of QMP commits,
    turns out that it's based on the usage of the EXCP_DEBUG macro,
    which has discussable semantics when exposed through QMP.
    
    As libvirt doesn't use this, let's just drop it.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0ee442502bc8af7fe1679ccf775e54fcf62dd8ac
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Feb 25 12:07:00 2010 -0300

    QMP: Move RESET event into qemu_system_reset()
    
    Nothing will change as that function is currently only called by
    the main loop code, but it's the right place for the RESET event,
    as it's where the reset is actually performed.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6b8f8fff78185cb260d1ca3c30352c0bf5601d36
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Feb 25 12:06:59 2010 -0300

    QMP: Move STOP event into do_vm_stop()
    
    I've introduced the STOP event in the main loop, this is wrong
    as it will be only emitted if the io thread is enabled.
    
    This fixes that by moving the STOP event to do_vm_stop().
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 554a310bfe319a56de9d768efdb252115129d2a5
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Feb 25 12:06:58 2010 -0300

    block: Emit BLOCK_IO_ERROR before vm_stop() call
    
    The next commit will move the STOP event into do_vm_stop(), to
    have the expected event sequence we need to emit the I/O error
    event before calling vm_stop().
    
    The expected sequence is:
    
    { "event": "BLOCK_IO_ERROR" [...] }
    { "event": "STOP" }
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 93d67ee69d6104976961fbc98654872de28a5c96
Author: Adam Litke <agl at us.ibm.com>
Date:   Mon Feb 22 10:51:20 2010 -0600

    Fix hanging user monitor when using balloon command
    
    This patch application failed.  My patch adds a cb() call in
    do_balloon(), but the change in git has added the cb() call to
    do_info_balloon().  That is causing qemu segfaults.  Applying the
    following should correct the damage.  Thanks.
    
    Fix for commit: 5c366a8a3d7ac71beda8499caa815cb3ea95eb58
    
    The cb() call is needed in do_balloon(), not do_info_balloon().
    
    Signed-off-by: Adam Litke <agl at us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4e75b342b60bfc2c347fdc458c653fce83ddfaca
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Mar 1 08:47:28 2010 -0600

    sdl: improve grab exiting instructions
    
    It might not be obvious what "grab" is.
    
    Reported-by: Ingo Molnar <mingo at elte.hu>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 921e169d61dbcbdb57457f8c24e0bf14e581341c
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Mar 8 12:31:27 2010 +0100

    ppc: don't define bamboo-0.13 as the default machine
    
    It has been broken by commit 977b6b91cee1132f8c7b12d22f4b273091598e44.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 70539e1850ddd3a7ee6f9a8db7bd8e81b85225a4
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 7 15:48:43 2010 +0000

    Update to a hopefully more future proof FSF address
    
    See also 8167ee883931cb20c6264fc19d040ce2dc6ceaaa,
    530e7615ce3c01882e582c84dc6304ab98a3d5c5 and
    fad6cb1a565bb73f83fc0e2654489457b489e436.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit bef75aa5342f0b0ecc1c4e444d1ff9f955f41b63
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 7 13:56:27 2010 +0000

    i386-dis: remove dead assignments, spotted by clang
    
    Value stored to 'mask' is never read.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ed086f3ddeacd95c6aeb672a2b733aea96ab2309
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 7 13:49:58 2010 +0000

    softfloat: remove dead assignments, spotted by clang
    
    Value stored to 'bSign' is never read.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit b0e0486730df79311c16d7ffd2084c5aae0fcb02
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 7 13:45:38 2010 +0000

    slirp: remove dead nested assignment, spotted by clang
    
    Although the value stored to 'r' is used in the enclosing expression,
    the value is never actually read from 'r'.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 7071ff3288880e3785ebac3af44a2ddc7e18d1a9
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 7 13:45:38 2010 +0000

    slirp: remove dead initialization, spotted by clang
    
    Value stored during initialization is never read.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 369c86e7889ef7f4c9902e25156d3193d4046a2a
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 7 13:45:37 2010 +0000

    slirp: remove dead increments, spotted by clang
    
    Value stored is never read.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit aca9fcd28e8a40f2555f8d6d113e4988335aa629
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Mar 7 13:13:05 2010 +0000

    slirp: remove dead assignments, spotted by clang
    
    Value stored is never read.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit a990f58feda5d6b547af30a7cd281936300e13ff
Author: Adam Lackorzynski <adam at os.inf.tu-dresden.de>
Date:   Mon Mar 1 17:19:54 2010 +0100

    target-arm: Fix missing 'return' in SRS handling.
    
    There's a return missing in the srs handling which leads to srs always being
    treated an an invalid op.
    
    Signed-off-by: Adam Lackorzynski <adam at os.inf.tu-dresden.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 44bb61c8d9ad5fa0045465933b1ac8f2b1b98762
Author: Samuel Thibault <samuel.thibault at gnu.org>
Date:   Sun Feb 28 21:03:00 2010 +0100

    Fix curses interaction with keymaps
    
    The combination of keymap support (-k option) and curses is currently
    very broken.  The patch below fixes it by first extending keymap support
    to interpret the shift, ctrl, altgr and addupper keywords in keymaps,
    and to fix curses into properly using keymaps.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
    Signed-off-by: Samuel Thibault <samuel.thibault at ens-lyon.org>

commit 9d0706e44a14701e8449214c4a62a5a1ca370025
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Fri Mar 5 09:08:04 2010 +0100

    use absolute URLs for .gitmodules
    
    The relative URLs do not work when cloning a fork of qemu or when
    cloning from the Savannah URL.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 01668d98a380896f0de09ba3f5809d4dd44fa71d
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Thu Mar 4 22:21:02 2010 +0100

    Documentation: Modify rule for html output (better looking output format)
    
    To create html output from texi input, texi2html was used.
    Output from makeinfo looks cleaner, so replace the old rule
    and use makeinfo now.
    
    For those who want to use their own variant of html output,
    the macros MAKEINFO and MAKEINFOFLAGS allow customisation.
    Option "-I ." is not needed (the current directory is
    searched by default), so remove it.
    
    Please note that the build requirements changed, too:
    makeinfo is required for doc builds.
    texi2html is no longer used.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 99aba0c41b6e817661ddf2ad90111c2d8af00050
Author: Christoph Hellwig <hch at lst.de>
Date:   Thu Mar 4 14:45:44 2010 +0100

    scsi: update comment on the standards revision
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit bba7be962e3d95830cf8de91257a9d60f855cd87
Author: Ryota Ozaki <ozaki.ryota at gmail.com>
Date:   Thu Mar 4 00:18:43 2010 +0900

    qemu-nbd: Fix wrong description in qemu-nbd.texi
    
    -c option needs argument <dev> but it's missing now.
    This patch fixes it.
    
    Signed-off-by: Ryota Ozaki <ozaki.ryota at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7b234475712a89a49b80958a6d8aee6e395aeb57
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Mar 3 16:02:25 2010 +0100

    Build usb-ohci for PCs
    
    The OHCI emulation isn't obviously broken and there are people who want to use
    it. Let's build it by default so that it can be enabled via -device.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 21be440c6ae355e6acb4f46bfe8249b72e5f54ba
Author: Amit Shah <amit.shah at redhat.com>
Date:   Thu Feb 25 19:26:12 2010 +0530

    ppc440_bamboo: Disable new virtio-serial features for 0.12 machine type
    
    Disable the MULTIPORT feature and MSI vectors for the 0.12 machine
    types; those features are added only for 0.13 onwards.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 977b6b91cee1132f8c7b12d22f4b273091598e44
Author: Amit Shah <amit.shah at redhat.com>
Date:   Thu Feb 25 19:26:11 2010 +0530

    ppc440_bamboo: Add 0.12 and 0.13 machine types for backward compat
    
    Add a 0.12 machine type for compatibility with older versions. Mark the
    default one as 0.13.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ad509737f829a0503e0fcab3177815489b168ec7
Author: Amit Shah <amit.shah at redhat.com>
Date:   Thu Feb 25 19:15:18 2010 +0530

    s390-virtio: Fix compile error for virtio-block init
    
    Commit 428c149b0be790b440e1cbee185b152cdb22feec modified the argument
    that virtio_blk_init takes. Update the s390 bus code that calls this
    function.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    CC: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d758d90fe1f74a46042fca665036a23b4d5fe87d
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Feb 24 16:17:58 2010 +0100

    json-parser: Fix segfault on malformed input
    
    If the parser fails to parse the key in parse_pair, it will access a NULL
    pointer. A simple way to trigger this is sending {foo} via QMP. This patch
    turns the segfault into a syntax error reply.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit cdee7bdfee37b774c80f698d2d4338670db7c6cb
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Mar 6 22:19:53 2010 +0100

    hw/serial.c: fix THRE interrupt clearing
    
    UART_IIR_THRI is not a mask, but a possible value for the IIR ID.
    Use UART_IIR_ID to extract this value.
    
    Broken by commit 71e605f80313a632cc6714cde7bd240042dbdd95.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 2f4f22bd445e30c04b6c0d127f0a39a52eee1a14
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Mar 6 20:23:09 2010 +0100

    hw/serial.c: fix indentation
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d8714436929ab02bd396268f4a36ceea604e386a
Author: takasi-y at ops.dti.ne.jp <takasi-y at ops.dti.ne.jp>
Date:   Thu Feb 18 00:46:45 2010 +0900

    linux-user: Save/restore fpu registers to signal context on sh4
    
    As "todo" comment in source code.
    And modify restore_sigcontext() to have three args as kernel's does.
    
    Signed-off-by: Takashi YOSHII <takasi-y at ops.dti.ne.jp>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 597c0212a7b3f16af26dc29fbb5653999b8cd31f
Author: takasi-y at ops.dti.ne.jp <takasi-y at ops.dti.ne.jp>
Date:   Thu Feb 18 00:35:03 2010 +0900

    linux-user: Fix syscall pipe2() retval on sh4
    
    On linux/sh4
     pipe() return values by r0:r1 as SH C calling convention.
     pipe2() return values on memory as traditional unix way.
    
    Signed-off-by: Takashi YOSHII <takasi-y at ops.dti.ne.jp>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 41b1e61f51b05fd6ca060f901b822f83e0beb6b6
Author: malc <av1474 at comtv.ru>
Date:   Thu Mar 4 15:09:26 2010 +0300

    target-i386: Fix long jumps/calls in long mode with REX.W set
    
    Signed-off-by: malc <av1474 at comtv.ru>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c22549204a6edc431e8e4358e61bd56386ff6957
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Mar 6 18:33:53 2010 +0100

    target-i386: fix lddqu SSE instruction
    
    This instruction load data from memory to register and not the reverse.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a0acb46c72e52a3280c698308907223132323a84
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Mar 5 21:42:50 2010 -0600

    Update to latest SeaBIOS
    
     - 8f469b9 Dynamically allocate ata_channel info; introduce custom atadrive_s struct.
     - 575ffc8 Cleanup - build drive description in temp memory during init.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5309e5fbbef3c95c0b9181fa33114164148e08b7
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Thu Mar 4 14:44:41 2010 -0600

    Makefile: Fix names of GPXE ROM files
    
    da51e79b7ff2126cc2448749d657a4f6e3b1270f added two new ROM files
    and removed an old one for eepro100.c.
    
    These changes were missing in Makefile (which resulted
    in a broken "make install").
    
    Reported by Lucas Meneghel Rodrigues, thanks.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit deb4203dc9ebba6992ac1d583773c143a014e15a
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Wed Mar 3 12:22:11 2010 +0100

    target-mips: use newer logical ops
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit f374e826e340ea1e2de2e9b006b3ac5dbde1324f
Merge: 78728c92a4137a96f1d0c49496d02dd9aa9d71b6 6cb2996cef5e273ef370e690e84b5e1403f5c391
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Thu Mar 4 09:14:24 2010 -0600

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

commit 6cb2996cef5e273ef370e690e84b5e1403f5c391
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Mar 1 19:10:32 2010 +0100

    x86: Extend validity of bsp_to_cpu
    
    As we hard-wire the BSP to CPU 0 anyway and cpuid_apic_id equals
    cpu_index, bsp_to_cpu can also be based on the latter directly. This
    will help an early user of it: KVM while initializing mp_state.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit ea64305139357e89f58fc05ff5d48dc233d44d87
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Mar 1 19:10:31 2010 +0100

    KVM: x86: Restrict writeback of VCPU state
    
    Do not write nmi_pending, sipi_vector, and mpstate unless we at least go
    through a reset. And TSC as well as KVM wallclocks should only be
    written on full sync, otherwise we risk to drop some time on state
    read-modify-write.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit ea375f9ab8c76686dca0af8cb4f87a4eb569cad3
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Mar 1 19:10:30 2010 +0100

    KVM: Rework VCPU state writeback API
    
    This grand cleanup drops all reset and vmsave/load related
    synchronization points in favor of four(!) generic hooks:
    
    - cpu_synchronize_all_states in qemu_savevm_state_complete
      (initial sync from kernel before vmsave)
    - cpu_synchronize_all_post_init in qemu_loadvm_state
      (writeback after vmload)
    - cpu_synchronize_all_post_init in main after machine init
    - cpu_synchronize_all_post_reset in qemu_system_reset
      (writeback after system reset)
    
    These writeback points + the existing one of VCPU exec after
    cpu_synchronize_state map on three levels of writeback:
    
    - KVM_PUT_RUNTIME_STATE (during runtime, other VCPUs continue to run)
    - KVM_PUT_RESET_STATE   (on synchronous system reset, all VCPUs stopped)
    - KVM_PUT_FULL_STATE    (on init or vmload, all VCPUs stopped as well)
    
    This level is passed to the arch-specific VCPU state writing function
    that will decide which concrete substates need to be written. That way,
    no writer of load, save or reset functions that interact with in-kernel
    KVM states will ever have to worry about synchronization again. That
    also means that a lot of reasons for races, segfaults and deadlocks are
    eliminated.
    
    cpu_synchronize_state remains untouched, just as Anthony suggested. We
    continue to need it before reading or writing of VCPU states that are
    also tracked by in-kernel KVM subsystems.
    
    Consequently, this patch removes many cpu_synchronize_state calls that
    are now redundant, just like remaining explicit register syncs.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit b0b1d69079fcb9453f45aade9e9f6b71422147b0
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Mar 1 19:10:29 2010 +0100

    KVM: Rework of guest debug state writing
    
    So far we synchronized any dirty VCPU state back into the kernel before
    updating the guest debug state. This was a tribute to a deficite in x86
    kernels before 2.6.33. But as this is an arch-dependent issue, it is
    better handle in the x86 part of KVM and remove the writeback point for
    generic code. This also avoids overwriting the flushed state later on if
    user space decides to change some more registers before resuming the
    guest.
    
    We furthermore need to reinject guest exceptions via the appropriate
    mechanism. That is KVM_SET_GUEST_DEBUG for older kernels and
    KVM_SET_VCPU_EVENTS for recent ones. Using both mechanisms at the same
    time will cause state corruptions.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit c902760fb25f9c490af01e8f6bccaa8dd71cc224
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Mon Mar 1 20:25:08 2010 -0300

    Add option to use file backed guest memory
    
    Port qemu-kvm's -mem-path and -mem-prealloc options. These are useful
    for backing guest memory with huge pages via hugetlbfs.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    CC: john cooper <john.cooper at redhat.com>

commit 60e4c6317b8773d987729401aeca9d8c6b61b05f
Author: Avi Kivity <avi at redhat.com>
Date:   Wed Feb 24 18:11:19 2010 -0300

    Allocate memory below 4GB as one chunk
    
    Instead of allocating a separate chunk for the first 640KB and another
    for 1MB+, allocate one large chunk.  This plays well in terms of alignment
    and size with large pages.
    
    Signed-off-by: Avi Kivity <avi at redhat.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 78728c92a4137a96f1d0c49496d02dd9aa9d71b6
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:38:00 2010 +0100

    eepro100: Keep includes sorted
    
    I always try to keep standard includes sorted
    and add a comment why they are there (so they
    can be removed when they are no longer needed).
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit e7493b25c0b3aa7f2e99d1f0d73b29d8f2528be0
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:59 2010 +0100

    eepro100: Remove C++ comments
    
    C++ comments are unwanted, so this is fixed here.
    
    * Replace C++ comments by C comments.
    * Put code which was deactivated by a C++ comment in #if 0...#endif.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit f80a7fc34e35293d209023d6d8f77d00a4e2c165
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:58 2010 +0100

    eepro100: Add diagnose command
    
    Real hardware would run an internal self-test.
    The emulation just returns a passed status.
    
    Original patch was from Reimar Döffinger, thanks.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 3d0f4b9bb5da7d999afef3bc4b434f7f504a9899
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:57 2010 +0100

    eepro100: New function for reading command block
    
    Move code which reads the command block to the
    new function read_cb. The patch also fixes some
    endianess issues related to the command block
    and moves declarations of local variables to
    the beginning of the block.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit ec1d02d8de08ceda59b8a6e7a74ec1ae42a40ee6
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:56 2010 +0100

    eepro100: Use tx.status
    
    There is no need for a local variable "status".
    Using tx.status makes it clearer which status
    is addressed.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit cc02c66cc8c856ce6359efbbe5fc4535a34e605f
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:55 2010 +0100

    eepro100: Prettify code (no functional changes)
    
    * Fix indentation.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit cb25a3fb6001067a10ff420ba98179a3fe30aef2
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:54 2010 +0100

    eepro100: Fix CU Start command
    
    CU Start is allowed when the CU is in the idle or suspended state.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit e824012bc2d935073cb72fe32f3471441af9fc32
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:53 2010 +0100

    eepro100: Support RNR interrupt
    
    The RNR interrupt is triggered under these conditions:
    
    * the RU is not ready to receive a frame due to missing resources
    * the RU is ready and a RU abort command was requested
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit e715c8e84ccf262eb56c9ba76f509dfa52f2a918
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:52 2010 +0100

    eepro100: Replace variable name to fix a compiler warning
    
    When compiling with -Wshadow, gcc gives a warning
    which is fixed by renaming stat -> status.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit b1e87018f24cc4c5aac8f448efe6bf616163bf4e
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:51 2010 +0100

    eepro100: Use symbolic names for bits in EEPROM id
    
    V2 - Use UPPER_CASE for enum values
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit c5bac30252cc06d226bb7d57e40cdee5a532a4c8
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:50 2010 +0100

    eepro100: Remove old unused code
    
    This code is no longer needed.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit ced5296ab79482c315543fe65a66ea0783c01024
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:49 2010 +0100

    eepro100: Use symbolic names and BIT macros in binary operations
    
    Instead of magic numbers like 0x8000, symbolic names are used
    for the SCB command and status bits.
    
    There are too many configuration bits to use symbolic names
    there, too. Using the BIT macro is a little help when comparing
    code and documentation.
    
    For the same reason, some other constants were replaced by
    the BITS macro.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 762401e2f856925ae3ebe3ade2213c17acece556
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:48 2010 +0100

    eepro100: Add device descriptions
    
    Add descriptions for all devices.
    These descriptions are shown when users call
    		qemu -device ?
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 230a167c297a2235f0c681a958a6cd0c4e9ebbea
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:47 2010 +0100

    eepro100: Update copyright notice
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit ba19f2dea59b417c7652e6bc3f5ac2e32ee406a7
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:46 2010 +0100

    eepro100: Add TODO list
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit da51e79b7ff2126cc2448749d657a4f6e3b1270f
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:44 2010 +0100

    eepro100: Support gpxe boot for all eepro100 devices
    
    Only two boot ROM files are needed for all devices.
    
    * Add these GPXE ROM files using new naming convention
      (as discussed on qemu-devel). Both files were created
      with http://rom-o-matic.net/, PCI vendor / device ids
      as in ROM filenames and option BANNER_TIMEOUT = 0.
    
    * Remove old PXE ROM file for i82559er.
      It was replaced by gpxe-eepro100-80861209.rom.
    
    * Update pc-bios/README (and sort entries).
    
    Full support still needs additional eepro100 fixes.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 6cded3a43ad0044d9831590795d9c6cf0dc2d2ee
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:43 2010 +0100

    eepro100: Fix PXE boot
    
    The phy handling was wrong for PXE, GPXE boot:
    GPXE's eepro100 driver did not detect a valid link.
    
    This is fixed here.
    
    V2 - Use UPPER_CASE for enum values
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 0908bba1577d39bef09dd617b650d6dbd04ccf9e
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:42 2010 +0100

    eepro100: Add missing SCB register names
    
    Some system control block registers were addressed
    using their offset value. Use symbolic names now
    and clean the documentation.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit ce0e58b3948ac75caca5bbb33b1ab52171fd95d7
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Mar 2 22:37:41 2010 +0100

    eepro100: Fix compiler errors from debug messages
    
    When debug output was enabled (by defining DEBUG_EEPRO100),
    some debug messages resulted in a compiler error.
    
    This is fixed here.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 55b1e61f640bb2cf3bed0b4cc6d4ba1326c625d9
Author: Samuel Thibault <samuel.thibault at gnu.org>
Date:   Sun Feb 28 18:12:01 2010 +0100

    (curses) Use more descriptive values
    
    Hello,
    
    curses_keys.h is using obscure constant values while the curses.h header
    provides fine defines, let's use the latter.
    
    To be applied on top of my previous patch.
    
    Samuel
    
    Signed-off-by: Samuel Thibault <samuel.thibault at ens-lyon.org>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 942cef3799d9f3c4fd0fd77a21b7eca220281af9
Author: Samuel Thibault <samuel.thibault at gnu.org>
Date:   Sun Feb 28 15:35:19 2010 +0100

    Fix curses return key when using -k
    
    Hello,
    
    There is a small incoherency in curses_keys.h, which makes it fail to
    emit \n when using e.g. -k fr: curses2keysym transforms \r and 0x157
    into \n, but name2keysym binds \r with Return, not \n.  The patch below
    fixes that.
    
    Signed-off-by: Samuel Thibault <samuel.thibault at ens-lyon.org>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit e68dd28fd7e7b2a157f7dbdc98c7f37a31c1f795
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Feb 8 15:50:58 2010 +0100

    target-mips: use setcond when possible
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d3f137e3552b3e1d17752da5591092a780aeea65
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Mar 2 23:10:31 2010 +0100

    tcg/arm: merge the two sets of #define for optional ops
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 023e77f801bb31f0f1cbd45f7aee646e7345549f
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Mar 1 22:33:50 2010 +0100

    tcg/arm: accept immediate arguments for brcond/setcond
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit b525f0a94faa2776267bb46956170667f0306859
Author: Andrzej Zaborowski <balrog at zabor.org>
Date:   Tue Mar 2 22:26:04 2010 +0100

    Add a missing break

commit e0404769facf1a009b94a53c076adb02bfda48ad
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Mar 1 22:33:49 2010 +0100

    tcg/arm: implement setcond2
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit f72a6cd7c71d1220fb34e6d7325988429df5f267
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Mar 1 22:33:48 2010 +0100

    tcg/arm: implement setcond
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit 6b6586131b0af0106cd104bc8ce6a41c222c64bf
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Mar 2 20:19:18 2010 +0100

    tcg/arm: fix div2/divu2
    
    When restoring register values, increase the stack register for skipped
    values.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
    Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>

commit c527ee8fc8550f49fb94890bc88dcdf011c0b4eb
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Mar 1 03:31:14 2010 +0000

    Avoid tlb_set_page in userspace emulation
    
    tlb_set_page isn't meaningful for userspace emulation, so remove it.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit c04b2b78992589b112affac608e74354bfa0c247
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Mar 1 03:31:14 2010 +0000

    Move subpage definitions
    
    Move definitions for subpage handling into !CONFIG_USER_ONLY code.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 9f9f030928a3d17ea8b87905fafc1e447328df2d
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Mar 1 03:55:48 2010 +0000

    Disassembler symbol lookup fix
    
    Fix function signature for userspace disassembler symbol lookup.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 35bed8ee918b519caca37f99f741b2740a040da3
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Mar 1 03:29:21 2010 +0000

    Move ioport.h out of cpu-all.h
    
    Only include ioport.h where it is actually needed.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit a68fe89caf9e267672aedab578152664f1b8c09b
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Mar 1 00:08:59 2010 +0000

    Remove bogus cpu_physical_memory_rw
    
    Userspace doesn't have physical memory, so cpu_physical_memory_rw
    makes no sense.  This is only used to implement cpu_memory_rw_debug, so
    just implement that directly instead.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 6d9a13042d3dab92418fb67e8d63126033fb11a6
Author: Paul Brook <paul at codesourcery.com>
Date:   Sun Feb 28 23:55:53 2010 +0000

    Remove l1_phys_map from userspace emulation
    
    Userspace emulation doesn't have a physical address space, so
    l1_phys_map makes no sense. This code is never actually used, so don't
    try and build it.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 94df27fd2f008ce9f259b72945e02dcad6e98d82
Author: Paul Brook <paul at codesourcery.com>
Date:   Sun Feb 28 23:47:45 2010 +0000

    Fix userspace breakpoint invalidation
    
    Remove bogus virtual->physical address translation in
    breakpoint_invalidate for userspace emulation.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 30d11a2a01747ff7d811120528e44046f0fd16b2
Author: Juha Riihimäki <juha.riihimaki at nokia.com>
Date:   Fri Feb 5 15:52:29 2010 +0000

    target-arm: neon vshll instruction fix
    
    implementation only widened the 32bit source vector elements into a
    64bit destination vector but forgot to perform the actual shifting
    operation.
    
    Signed-off-by: Juha Riihimäki <juha.riihimaki at nokia.com>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Acked-by: Laurent Desnogues <laurent.desnogues at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 79b0e534c0378fa6c96b0489216b17a99782a671
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Fri Feb 5 15:52:28 2010 +0000

    target-arm: neon - fix VRADDHN/VRSUBHN vs VADDHN/VSUBHN
    
    The rounding/truncating options were inverted. truncating
    was done when rounding was meant and vice verse.
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Acked-by: Laurent Desnogues <laurent.desnogues at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 63a54736f31f9e11da6fb52319bba26e7d24f571
Author: Jason Wessel <jason.wessel at windriver.com>
Date:   Tue Jan 26 16:29:50 2010 -0600

    target-i386: fix crash on x86 32bit linux host with hw breakpoint exceptions
    
    If you make use of hw breakpoints on a 32bit x86 linux host, qemu
    will segmentation fault when processing the exception.
    
    The problem is that the value of env is stored in $ebp in the op_helper
    raise_exception() function, and it can have the wrong value when
    calling it from non generated code.
    
    It is possible to work around the problem by restoring the value of
    env before calling raise_exception() using a new helper function that
    takes (CPUState *) as one of the arguments.
    
    Signed-off-by: Jason Wessel <jason.wessel at windriver.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 6049f4f831c6f409031dfa09282b38d0cbaecad8
Author: Richard Henderson <rth at twiddle.net>
Date:   Sun Dec 27 18:30:03 2009 -0800

    alpha-linux-user: Implement signals.
    
    Move userland PALcode handling into linux-user main loop so that
    we can send signals from there.  This also makes alpha_palcode.c
    system-level only, so don't build it for userland.  Add defines
    for GENTRAP PALcall mapping to signals.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit f24518b502802a128ca627a746a8bcb8d9e306af
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Jan 4 14:27:23 2010 -0800

    target-alpha: Implement IEEE FP qualifiers.
    
    IEEE FP instructions are split up so that the rounding mode
    coming from the instruction and exceptions (both masking and
    delivery) are handled external to the base FP operation.
    FP exceptions are properly raised for non-finite inputs to
    instructions that do not indicate software completion.
    
    A shortcut is applied if CONFIG_SOFTFLOAT_INLINE is defined
    at the top of translate.c: data is loaded and stored into
    FP_STATUS directly instead of using the functional interface
    defined by "softfloat.h".
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 6c7123212223eb7f281230e9852f011255d73582
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sun Feb 28 16:04:09 2010 +0100

    target-ppc: don't print invalid opcode messages on the console
    
    Invalid opcode messages can be perfectly normal, for example if this
    code is never executed. Don't print an error message on the console,
    but keep the message in the log for debugging purposes.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit db9a231d1fcae75d6c62c2ff2ba76f4752aac5c4
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sun Feb 28 16:02:28 2010 +0100

    Revert "target-ppc: stop translation after a trap instruction"
    
    This reverts commit 6454e7be1b2504533f7ffb190d54ebe2993cb434.

commit d9812b033a17c82f9e933757c1c3ef364e3ba62d
Author: malc <av1474 at comtv.ru>
Date:   Sun Feb 28 18:34:21 2010 +0300

    audio/alsa: Handle SND_PCM_STATE_SETUP in alsa_poll_handler
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit f093feb735ab57171b6fe16f54b7d3b989907d98
Author: Vagrant Cascadian <vagrant at freegeek.org>
Date:   Fri Feb 26 13:39:46 2010 -0800

    audio/alsa: Spelling typo (paramters)
    
    Trivial patch to fix the spelling of "parameters".
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 6454e7be1b2504533f7ffb190d54ebe2993cb434
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sun Feb 28 14:11:06 2010 +0100

    target-ppc: stop translation after a trap instruction
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 5bb599023a6478e86152a2e8bc2b21775261b9da
Author: Jan Kiszka <jan.kiszka at web.de>
Date:   Mon Jan 18 12:15:01 2010 +0100

    qemu-char.c: drop debug printfs from qemu_chr_parse_compat
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Acked-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 75bb6589c92dc7cc4aba1df58355de34d53e9ca3
Author: Liu Yu <yu.liu at freescale.com>
Date:   Tue Feb 2 16:49:03 2010 +0800

    powerpc/e500: adjust fdt and ramdisk loading addr
    
    Since kernel uimage is getting bigger,
    old fixed loading bases will result in regions overlap.
    
    Add pad for fdt and ramdisk, so that they won't overlap with uimage.
    
    Signed-off-by: Liu Yu <yu.liu at freescale.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit dbf916d85b9ae834b8f206c7a2d297832846e6e0
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Feb 27 19:47:22 2010 +0100

    powerpc: fix compilation with CONFIG_FDT undefined
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 04088adbe0c5adca66adb6022723362ad90ed0fc
Author: Liu Yu <yu.liu at freescale.com>
Date:   Tue Feb 2 16:49:02 2010 +0800

    powerpc/booke: move fdt loading to rom infrastructure
    
    It's convinent to use rom to checking overlap, to reset etc.
    And uImage and ramdisk loading has already moved to it.
    
    Also, after we add fdt to rom, free it.
    
    Signed-off-by: Liu Yu <yu.liu at freescale.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c49638177f4e001588fe73b2acf7e4293aeb194b
Author: Liu Yu <yu.liu at freescale.com>
Date:   Wed Jan 27 14:14:09 2010 +0800

    target-ppc: add synchronize register for booke init
    
    So that the following registers init could be flushed back to kvm.
    
    Signed-off-by: Liu Yu <yu.liu at freescale.com>
    Acked-by: Hollis Blanchard <hollis at penguinppc.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e192a45c164f3e6660bd974098329bdc3b7c8eae
Author: takasi-y at ops.dti.ne.jp <takasi-y at ops.dti.ne.jp>
Date:   Thu Feb 18 00:53:29 2010 +0900

    target-sh4: Fix gdb read/write register
    
    cpu_gdb_read_register(): Fix n={8...15} case.
    cpu_gdb_write_register(): Fix n={8...15} case and runaway "case:".
    
    Signed-off-by: Takashi YOSHII <takasi-y at ops.dti.ne.jp>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ae01847f9cbbf9b80252cd36ec645ee821809037
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Feb 23 12:21:31 2010 -0800

    target-ppc: fix SPE evsplat* instructions
    
    The shifts in the gen_evsplat* functions were expecting rA to be masked,
    not extracted, and so used the wrong shift amounts to sign-extend or pad
    with zeroes.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e6bba2ef49670167694b227df13fc8461debbcd5
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Feb 23 11:55:14 2010 -0800

    target-ppc: fix SPE evcmp* instructions
    
    The CRF_{CH,CL,CH_OR_CL,CH_AND_CL} constants were all off by one bit
    position.  Because of this, the SPE evcmp* family of instructions would
    store values in the result condition register that were also off by one
    bit position.
    
    Fixed by using the CRF_{LT,GT,EQ,SO} constants for the shift amounts.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e3b283e94acc6fc304cc54971ee74c5a445a96b6
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Feb 23 22:32:23 2010 +0100

    arm host: Fix linker warning (m68k targets)
    
    Compilation of m68k-softmmu or m68k-linux-user on arm host
    (or cross compilation for arm) results in a linker warning:
    
      LINK  m68k-softmmu/qemu-system-m68k
    m68k-dis.o: warning: definition of `floatformat_ieee_single_little' overriding common
    arm-dis.o: warning: common is here
    /usr/lib/gcc/arm-linux-gnueabi/4.3.2/../../../../arm-linux-gnueabi/bin/ld: Warning: size of symbol `floatformat_ieee_single_little' changed from 4 in arm-dis.o to 48 in m68k-dis.o
    
    floatformat_ieee_single_little is declared in arm-dis.c and m68k-dis.c,
    and both declarations don't match, so this is an error.
    
    The symbol is not needed in arm-dis.c, so I removed it there.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 9e0a5d5495289337da3ae871890ac3fd58351992
Author: Amit Shah <amit.shah at redhat.com>
Date:   Fri Feb 26 14:00:28 2010 +0530

    Fix 'make install' from non-srcdir build
    
    Commit b5ec5ce0 broke 'make install' from non source-dir build. Fix.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7ea06da32be0d590dd4b4f3174d450431d1af0f1
Author: Daniel Gutson <dgutson at codesourcery.com>
Date:   Fri Feb 26 14:13:50 2010 -0300

    Fix to 'gdb detach' stub
    
    With this patch, 'gdb detach' correctly resumes the inferior execution
    after detaching the debugger.
    The bug was caused by qemu asking gdb to execute a syscall (isatty)
    after the detach, and then waiting (forever) for the reply. I fixed this
    by properly setting gdb_syscall_mode appropriately in the 'detach'
    packet handling, so subsequent syscalls are solved by qemu rather than gdb.
    
    Signed-off-by: Daniel Gutson <dgutson at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit aa375206189b7de7c23ad9de66413fb7d4497940
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Feb 27 10:50:32 2010 +0100

    Fix qemu -net user,hostfwd= example
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d616cf1d1510c963fc1876cb10f5f1fa226b54ef
Author: malc <av1474 at comtv.ru>
Date:   Sat Feb 27 01:59:47 2010 +0300

    tcg/ppc: Fix right rotation
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit bc57c114b09e6b223abff451e78b8b95e53e6175
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Thu Feb 25 19:05:41 2010 +0100

    target-sparc: fix --enable-debug build for 64 bit host
    
    b551ec04ca45d1925417dd2ec7c1b7f115c84f1d fixed
    the compilation for 32 bit hosts, but introduced
    a new error for 64 bit hosts:
    
    tcg_temp_new_ptr needs a matching tcg_temp_free_ptr.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit d44168fffa07fc57e61a37da65e9348661dec887
Author: Paul Brook <paul at codesourcery.com>
Date:   Thu Feb 25 13:29:06 2010 +0000

    Fix -usbdevice crash
    
    If -usbdevice is used on a machine with no USB busses, usb_create
    will fail and return NULL.  Patch below handles this failure gracefully
    rather than crashing when we try to init the device.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 23f2166d736dcf7854e674a160694b151ee0725b
Author: Paul Brook <paul at codesourcery.com>
Date:   Tue Feb 23 23:31:53 2010 +0000

    ARM defconfig fix
    
    Tix typo in default-configs/arm-softmmu.mak
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit c2c789cf9e1733f6e0bbef1cc0d1f80ec3b723f8
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Jan 4 11:25:22 2010 -0800

    target-alpha: Mark helper_excp as NORETURN.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 866be65dfdac0121b1dbe4a4487fb929a16ba279
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Jan 4 11:24:04 2010 -0800

    target-alpha: Clean up arithmetic traps.
    
    Replace the EXCP_ARITH_OVERFLOW placeholder with the complete
    set of bits from the EXC_SUM IPR.  Use them in the existing
    places where we raise arithmetic exceptions.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit dad081ee69d58e0e7c32b66b6a8a47344f830548
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Jan 4 11:19:14 2010 -0800

    target-alpha: Reduce internal processor registers for user-mode.
    
    The existing set of IPRs is totally irrelevant to user-mode emulation.
    Indeed, they most are irrelevant to implementing kernel-mode emulation,
    and would only be relevant to PAL-mode emulation, which I suspect that
    no one will ever attempt.
    
    Reducing the set of processor registers reduces the size of the CPU state.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8443effb50ad6d762d144e702a9b9a30e96f887c
Author: Richard Henderson <rth at twiddle.net>
Date:   Thu Dec 31 12:41:07 2009 -0800

    target-alpha: Split up FPCR value into separate fields.
    
    The fpcr_exc_status, fpcr_exc_mask, and fpcr_dyn_round fields
    are stored in <softfloat.h> format for convenience during
    regular execution.
    
    Revert the addition of float_exception_mask to float_status,
    added in ba0e276db4b51bd2255a5d5ff8902c70d32ade40.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7c5a90dd419ef9862ee99f3825b4eb7d0a033d37
Author: Richard Henderson <rth at anchor.twiddle.home>
Date:   Thu Dec 31 11:54:01 2009 -0800

    target-alpha: Fix gdb access to fpcr and unique.
    
    cpu_gdb_read/write_register need to access the fpcr via the
    cpu_alpha_load/store_fpcr functions.
    
    The unique register is number 66 in the gdb remote protocol.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d354899c8279146f3e154b9ba1f7461abb7f5279
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Tue Feb 23 22:01:36 2010 +0000

    Fix OpenBSD linker warning
    
    helper.o(.text+0x11e0): In function `listflags':
    /src/qemu/target-i386/helper.c:661: warning: sprintf() is often misused, please use snprintf()
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 161717d2cb714f8a73d4167d280a5fad7d3f5bc7
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Tue Feb 23 21:46:32 2010 +0000

    Fix i386-bsd-user build
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 20c205269dde33aa6a4b9dfae307530383f9804b
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Tue Feb 23 21:46:28 2010 +0000

    Fix mingw32 build
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f8b0953bd5e34f87458108051a485246d40adadc
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 14 10:48:05 2009 +0100

    Simplify qemu_realloc()
    
    No functional change.  Bonus: looks just like qemu_malloc() now.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e1c247d26cc15dbdf3f99836c0b16a6c91128cf2
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Feb 23 13:35:12 2010 -0600

    pc-bios: update to latest Seabios
    
     - 0360e8e Seabios e820 reservation portion v3
     - 7149fc8 Initial support for booting from USB drives.
     - 3c160dd Introduce helper functions for finding USB end-points.
     - 9571439 USB UHCI cleanups.
     - a4bd919 Minor - arrange struct drive_s to clarify field roles.
     - dac46b1 Fix off by one error in strtcpy.
     - d2d1de0 Don't require a valid physical cylinders/heads/spt for logical mapping.
     - 76977b2 Move common "command data block" functions to new file blockcmd.c.
     - d7e998f Dynamically allocate each drive_g with malloc_fseg().
     - 525be69 Add *.pyc to .gitignore.
     - 7d70025 Add common "block command" definitions and update cdrom code.
     - 68caaa7 Optimize ntohl() code.
     - 42157c8 Minor - sort ATA CMD definitions.
     - 54671c1 Initial support for USB hubs.
     - 7852331 Minor - increase debug level of some USB debug statements.
     - ba94a68 Don't leave USB UHCI ports disabled for extended time during reset.
     - 49a0aa6 Don't parallelize USB OHCI root port reset.
     - cfdc13f Introduce standard warnings for allocation failures and timeouts.
     - 8bbc79c Add symbolic definitions for USB delays.
     - 991eaff Support USB interrupt schedules on OHCI and UHCI.
     - 59c7574 Add some ASSERT32FLAT() to help compiler eliminate dead code.
     - e1920be seabios: acpi: fix memory leak in build_srat().
     - 84a4d4b Support USB keyboard auto-repeat.
     - bf7f1f3 mptable: Pull cpuid_signature/features setting out of loop.
     - 6f702dd Rework disabling of ps2 port irqs.
     - 2d3f0f5 Go back to using 0xf0000000 for PCI memory start.
     - 41c0957 Read APIC version from APIC instead of using a hard-coded value.
     - 7a98fd0 Work around bochs floppy issue with wait_irq().
     - 4d07902 Add CONFIG_ATA_DMA option; default to off for now.
     - 3012af1 Fix PkgLength calculation for the SSDT.
     - 92a5742 Add explicit Program Headers to linker scripts.
     - 6fc91b2 Prep version for next release.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c64484a543ac8763367d1222358b9c626fce5543
Author: Gleb Natapov <gleb at redhat.com>
Date:   Sun Feb 21 16:23:20 2010 +0200

    fix 'i' format handling in memory dump
    
    It was broken by 09b9418c6d0. (!env && !is_physical) != (!is_physical)
    when env is true.
    
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 05447803d034fc634c8372091c031578043dd80d
Author: Frediano Ziglio <freddy77 at gmail.com>
Date:   Sat Feb 20 18:50:27 2010 +0100

    rewrote timer implementation for rtl8139.
    
    Add a QEMU timer only when needed (timeout status not set, timeout
    irq wanted and timer set).
    
    This patch is required for Darwin. Patch has been tested under
    FreeBSD, Darwin and Linux.
    
    Signed-off-by: Frediano Ziglio <freddy77 at gmail.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6f745bdaac26bcbdd7e2ffa2a6ea29aabbbc54e1
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Feb 23 16:06:20 2010 +0100

    qcow2: Fix image creation regression
    
    When checking for errors, commit db89119d compares with the wrong values,
    failing image creation even when there was no error. Additionally, if an
    error has occured, we can't preallocate the image (it's likely broken).
    
    This unbreaks test 023 of qemu-iotests.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 746c3cb5d55a702ba6285e97d2a13671f09285d8
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Feb 23 16:40:54 2010 +0100

    qcow2: More checks for qemu-img check
    
    Implement some more refcount block related checks
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 92dcb59fd4e1491afa0756ee9c2594869b487d23
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Feb 23 16:40:53 2010 +0100

    qcow2: Rewrite alloc_refcount_block/grow_refcount_table
    
    The current implementation of alloc_refcount_block and grow_refcount_table has
    fundamental problems regarding error handling. There are some places where an
    I/O error means that the image is going to be corrupted. I have found that the
    only way to fix this is to completely rewrite the thing.
    
    In detail, the problem is that the refcount blocks itself are allocated using
    alloc_refcount_noref (to avoid endless recursion when updating the refcount of
    the new refcount block, which migh access just the same refcount block but its
    allocation is not yet completed...). Only at the end of the refcount allocation
    the refcount of the refcount block is increased. If an error happens in
    between, the refcount block is in use, but has a refcount of zero and will
    likely be overwritten later.
    
    The new approach is explained in comments in the code. The trick is basically
    to let new refcount blocks describe their own refcount, so their refcount will
    be automatically changed when they are hooked up in the refcount table.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 05121aedc41f87e44e41e9cef55f2e49ce7ba94e
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Feb 23 16:40:52 2010 +0100

    qcow2: Factor next_refcount_table_size out
    
    When the refcount table grows, it doesn't only grow by one entry but reserves
    some space for future refcount blocks. The algorithm to calculate the number of
    entries stays the same with the fixes, so factor it out before replacing the
    rest.
    
    As Juan suggested take the opportunity to simplify the code a bit.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1d9000e8238ffc346b0a08f4c0619c4e5711a7dc
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Tue Feb 23 19:21:00 2010 +0100

    declare saved_env_reg as volatile
    
    This ensures that the compiler does not move it away from
    the "env = env1;" assignment.  Fixes a miscompilation
    on gcc 4.4, reported by Jay Foad.
    
    Cc: <jay.foad at gmail.com>
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3399e30f562df9f67ccad4d4f4367d31120f996f
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Sat Feb 20 10:24:07 2010 -0800

    target-mips: fix ROTR and DROTR by zero
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c2c65dab45bc640dc7a3d1fb259472b029bb420f
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Sat Feb 20 10:19:09 2010 -0800

    target-mips: fix CpU exception for coprocessor 0
    
    When we signal a CpU exception for coprocessor 0, we should indicate
    that it's for coprocessor 0 instead of coprocessor 1.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 6462bfcdeda8ac9061e52f15ed06aae16b260d4c
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Wed Feb 10 18:19:36 2010 +0100

    target-mips: remove useless sign extension
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 153ceefb4a3dfc234df30bf1770c2c085d39eb2f
Author: Avi Kivity <avi at redhat.com>
Date:   Tue Feb 23 10:16:53 2010 +0100

    Fix qemu_eventfd compile when !CONFIG_EVENTFD
    
    Signed-off-by: Avi Kivity <avi at redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c5883be23519921254c6940873ee8db04979c20a
Author: Paul Brook <paul at codesourcery.com>
Date:   Tue Feb 23 14:45:16 2010 +0000

    ARM CP15 tls fix
    
    Fix temporary handling in cp15 tls register load/store.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 724c689357211cb929c9b957e1556f211d2b56db
Merge: b5ec5ce0e39d6e7ea707d5604a5f6d567dfd2f48 85199474d0df23b87f0b4a3e330401b59aac3ec0
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Feb 22 16:16:22 2010 -0600

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

commit b5ec5ce0e39d6e7ea707d5604a5f6d567dfd2f48
Author: john cooper <john.cooper at redhat.com>
Date:   Sat Feb 20 11:14:59 2010 -0600

    Add cpu model configuration support..
    
    This is a reimplementation of prior versions which adds
    the ability to define cpu models for contemporary processors.
    The added models are likewise selected via -cpu <name>,
    and are intended to displace the existing convention
    of "-cpu qemu64" augmented with a series of feature flags.
    
    A primary motivation was determination of a least common
    denominator within a given processor class to simplify guest
    migration.  It is still possible to modify an arbitrary model
    via additional feature flags however the goal here was to
    make doing so unnecessary in typical usage.  The other
    consideration was providing models names reflective of
    current processors.  Both AMD and Intel have reviewed the
    models in terms of balancing generality of migration vs.
    excessive feature downgrade relative to released silicon.
    
    This version of the patch replaces the prior hard wired
    definitions with a configuration file approach for new
    models.  Existing models are thus far left as-is but may
    easily be transitioned to (or may be overridden by) the
    configuration file representation.
    
    Proposed new model definitions are provided here for current
    AMD and Intel processors.  Each model consists of a name
    used to select it on the command line (-cpu <name>), and a
    model_id which corresponds to a least common denominator
    commercial instance of the processor class.
    
    A table of names/model_ids may be queried via "-cpu ?model":
    
            :
        x86       Opteron_G3  AMD Opteron 23xx (Gen 3 Class Opteron)
        x86       Opteron_G2  AMD Opteron 22xx (Gen 2 Class Opteron)
        x86       Opteron_G1  AMD Opteron 240 (Gen 1 Class Opteron)
        x86          Nehalem  Intel Core i7 9xx (Nehalem Class Core i7)
        x86           Penryn  Intel Core 2 Duo P9xxx (Penryn Class Core 2)
        x86           Conroe  Intel Celeron_4x0 (Conroe/Merom Class Core 2)
            :
    
    Also added is "-cpu ?dump" which exhaustively outputs all config
    data for all defined models, and "-cpu ?cpuid" which enumerates
    all qemu recognized CPUID feature flags.
    
    The pseudo cpuid flag 'check' when added to the feature flag list
    will warn when feature flags (either implicit in a cpu model or
    explicit on the command line) would have otherwise been quietly
    unavailable to a guest:
    
        # qemu-system-x86_64 ... -cpu Nehalem,check
        warning: host cpuid 0000_0001 lacks requested flag 'sse4.2|sse4_2' [0x00100000]
        warning: host cpuid 0000_0001 lacks requested flag 'popcnt' [0x00800000]
    
    A similar 'enforce' pseudo flag exists which in addition
    to the above causes qemu to error exit if requested flags are
    unavailable.
    
    Configuration data for a cpu model resides in the target config
    file which by default will be installed as:
    
        /usr/local/etc/qemu/target-<arch>.conf
    
    The format of this file should be self explanatory given the
    definitions for the above six models and essentially mimics
    the structure of the static x86_def_t x86_defs.
    
    Encoding of cpuid flags names now allows aliases for both the
    configuration file and the command line which reconciles some
    Intel/AMD/Linux/Qemu naming differences.
    
    This patch was tested relative to qemu.git.
    
    Signed-off-by: john cooper <john.cooper at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4266a134715416d4602a89c21d29a1e4ee2aeee7
Author: David Ahern <daahern at cisco.com>
Date:   Wed Feb 10 18:27:17 2010 -0700

    add close callback for tty-based char device
    
    v1 -> v2  coding style changes
    
    Add a tty close callback. Right now if a guest device that is connected
    to a tty-based chardev in the host is removed, the tty is not closed.
    With this patch it is closed.
    
    Example use case is connecting an emulated USB serial cable in the guest
    to ttyS0 of the host using the monitor command:
    
    usb_add serial::/dev/ttyS0
    
    and then removing the device with:
    
    usb_del serial::/dev/ttyS0
    
    Signed-off-by: David Ahern <daahern at cisco.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 71e605f80313a632cc6714cde7bd240042dbdd95
Author: Justin T. Gibbs <gibbs at FreeBSD.org>
Date:   Wed Feb 10 14:35:54 2010 -0700

    Fix lost serial TX interrupts. Report receive overruns.
    
    o Implement receive overrun status.  The FreeBSD uart driver
       relies on this status in it's probe routine to determine the size
       of the FIFO supported.
     o As per the 16550 spec, do not overwrite the RX FIFO on an RX overrun.
     o Do not allow TX or RX FIFO overruns to increment the data valid count
       beyond the size of the FIFO.
     o For reads of the IIR register, only clear the "TX holding register
       emtpy interrupt" if the read reports this interrupt.  This is required
       by the specification and avoids losing TX interrupts when other,
       higher priority interrupts (usually RX) are reported first.
    
    Signed-off-by: Justin T. Gibbs <gibbs at FreeBSD.org>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 98b8d951dc5bcb94eaa309fbd362d2bb438d3ed6
Author: malc <av1474 at comtv.ru>
Date:   Tue Feb 23 00:50:03 2010 +0300

    tcg/ppc: Fix typo
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 63e6f31d1b43c742cf88375f85c2d7e05b2dfe18
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Mon Feb 22 12:38:25 2010 +0200

    apc_pci: simplify using rwhandler
    
    Use rwhandler to simplify apb_pci.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 8414f45cb0896ab7720529793d83fb5a73092b96
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Mon Feb 22 11:40:19 2010 +0200

    apb_pci: minor cleanup
    
    pci_data_write ignores high 8 bit in address,
    so there seems to be no need to set them
    in apb_pci.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 23ef988cb38ef730f495ad25406c8df47d3139e9
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Feb 22 20:42:56 2010 +0000

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

commit f21126df5f81797486eb3bd628da8e2ad5fae12e
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Feb 22 20:42:51 2010 +0000

    Fix arm-softmmu compile
    
    cc1: warnings being treated as errors
    /src/qemu/hw/pl181.c: In function 'pl181_fifo_run':
    /src/qemu/hw/pl181.c:185: error: 'value' may be used uninitialized in this function
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit d34f4bafa69a4f90429b9eb0e1f62f5cefd13bbf
Author: malc <av1474 at comtv.ru>
Date:   Mon Feb 22 21:56:35 2010 +0300

    tcg/ppc64: Use C90 style comments
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 65fe043eb46de3e6195e9dda8e9fd2192b5b37a9
Author: malc <av1474 at comtv.ru>
Date:   Mon Feb 22 21:50:01 2010 +0300

    tcg/ppc: Implement some of the optional ops
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 85199474d0df23b87f0b4a3e330401b59aac3ec0
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Mon Feb 22 13:57:54 2010 -0300

    kvm-all.c: define smp_wmb and use it for coalesced mmio
    
    Acked-by: "Michael S. Tsirkin" <mst at redhat.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit 30c0c76ce0a6915f0049d53d91b6a05c37cdfda7
Author: Jay Foad <jay.foad at gmail.com>
Date:   Mon Feb 22 15:53:55 2010 +0000

    tcg: fix build on 32-bit hppa, ppc and sparc hosts
    
    The qemu_ld32s op is only defined if TCG_TARGET_REG_BITS == 64.
    
    Signed-off-by: Jay Foad <jay.foad at gmail.com>
    Signed-off-by: malc <av1474 at comtv.ru>

commit bc3b26f5356c6de13f887c865c98dcdfac143514
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Feb 22 15:33:59 2010 +0000

    PL181 write fix
    
    The PL181 data transfer loop incorrectly terminates after the last FIFO
    word is popped, discarding the last 3 bytes of data on a write transfer.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 6312b92853a7cd483533de0348dcd26edef74824
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Feb 17 20:14:43 2010 -0200

    kvm: remove pre-entry exit_request check with iothread enabled
    
    With SIG_IPI blocked vcpu loop exit notification happens via -EAGAIN
    from KVM_RUN.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit cc84de9570ffe01a9c3c169bd62ab9586a9a080c
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Feb 17 20:14:42 2010 -0200

    kvm: consume internal signal with sigtimedwait
    
    Change the way the internal qemu signal, used for communication between
    iothread and vcpus, is handled.
    
    Block and consume it with sigtimedwait on the outer vcpu loop, which
    allows more precise timing control.
    
    Change from standard signal (SIGUSR1) to real-time one, so multiple
    signals are not collapsed.
    
    Set the signal number on KVM's in-kernel allowed sigmask.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit fed6c3444c714e88eb84dae58fcde0182865db8f
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Feb 17 20:14:41 2010 -0200

    kvm specific wait_io_event
    
    In KVM mode the global mutex is released when vcpus are executing,
    which means acquiring the fairness mutex is not required.
    
    Also for KVM there is one thread per vcpu, so tcg_has_work is meaningless.
    
    Add a new qemu_wait_io_event_common function to hold common code
    between TCG/KVM.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit adc8c965c401ec3becc14eabf7a5a6ba7a002f46
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Feb 17 20:14:40 2010 -0200

    block SIGCHLD in vcpu thread(s)
    
    Otherwise a vcpu thread can run the sigchild handler causing
    waitpid() from iothread to fail.
    
    Signed-off-by: Marcelo Tosatti <mtosa... at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit 238431a9d8354c4dc3a7ff85e7ff31a7c8ce9b01
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Feb 21 16:01:30 2010 +0000

    Allow const QemuOptDesc
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 62f734a0d57306523e6ba0e7bd606e0d55449671
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Fri Feb 19 07:43:24 2010 +0100

    kvm: Kill CR3_CACHE feature references
    
    Remove all references to KVM_CR3_CACHE as it was never implemented.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit 14dcc3e2ac52d7a2a1cfe2e54c332d8042485a39
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Feb 19 18:21:20 2010 +0100

    kvm: Fix eflags corruption in kvm mode
    
    This should explain a lot of the weird breakages of upstream KVM we've
    seen recently (actually we should have seen it much earlier):
    
    Stop translating eflags into TCG format when in kvm mode as we never
    translate it back and rather sync this broken state into the kernel.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit 4a0b59fe3b245f972a764d276df45ccd23e81972
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Sat Feb 20 19:51:56 2010 +0100

    cris: Add CRISv10 gdbstub support.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 4ffb9ae2e1227d2ffa14355acbecd37677fe0374
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Sat Feb 20 19:17:29 2010 +0100

    cris: Mask interrupts on dslots for CRISv10.
    
    CRISv10 cores (unlike v32) do not take any interrupts while delayed
    jumps are pending (delay slots).
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit ff21f70afd35c3b26e4ef559c83c4a70113d1ec2
Author: Edgar E. Iglesias <edgar.iglesias at petalogix.com>
Date:   Sat Feb 20 14:04:01 2010 +0100

    microblaze: Improve brk emulation.
    
    brk insns while in user mode raise priv insn exceptions.
    This commit makes gdbserver work on linux guests.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at petalogix.com>

commit e1aa325409baeefad4f214ab8c34fb21968bdb2e
Author: Edgar E. Iglesias <edgar.iglesias at petalogix.com>
Date:   Sat Feb 20 14:03:14 2010 +0100

    microblaze: Dont segfault when singlestepping first insn.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at petalogix.com>

commit b551ec04ca45d1925417dd2ec7c1b7f115c84f1d
Author: Jay Foad <jay.foad at gmail.com>
Date:   Sat Feb 20 10:45:23 2010 +0000

    target-sparc: fix --enable-debug build
    
    Use 32-bit arithmetic for the address offset calculation to fix a
    build failure on 32-bit hosts.
    
    Signed-off-by: Jay Foad <jay.foad at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 2c92d62ebb9f9fea2aa3044d80ac6f10b657c9ef
Author: Jay Foad <jay.foad at gmail.com>
Date:   Sat Feb 20 10:08:33 2010 +0000

    tcg: fix assertion with --enable-debug
    
    On 32-bit hosts op_qemu_ld32s is unused. Remove it to fix the
    following assertion failure:
    
    qemu-alpha: tcg/tcg.c:1055:
    tcg_add_target_add_op_defs: Assertion `tcg_op_defs[op].used' failed.
    
    Signed-off-by: Jay Foad <jay.foad at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 51464fafdfab94ee47ed4ddf2a79fef434a5c8c7
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 20 09:27:38 2010 +0000

    Don't compile rwhandler.c for user targets
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 36828256692c3cecc83607f22761ceefc382040e
Author: Richard Henderson <rth at twiddle.net>
Date:   Thu Feb 18 14:44:39 2010 -0800

    tcg: Add comments for all optional instructions not implemented.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 18c8f7a35d7b771392326c5723abe4e6b5908ca0
Author: Richard Henderson <rth at twiddle.net>
Date:   Tue Feb 16 14:23:39 2010 -0800

    tcg-sparc: Implement ORC.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit dc69960dd6d5387932889fe1ef0c2cead324ae82
Author: Richard Henderson <rth at twiddle.net>
Date:   Tue Feb 16 14:21:19 2010 -0800

    tcg-sparc: Implement ANDC.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 791d1262e27becc435702417d0f7c99c894ff6fe
Author: Richard Henderson <rth at twiddle.net>
Date:   Tue Feb 16 14:15:28 2010 -0800

    tcg: Optional target implementation of ORC.
    
    Previously ORC was always implemented by tcg-op.h with
    an explicit NOT opcode.  Allow a target implementation.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 241cbed4a992e31e718f56f831d7dd30fec5b55b
Author: Richard Henderson <rth at twiddle.net>
Date:   Tue Feb 16 14:10:13 2010 -0800

    tcg: Optional target implementation of ANDC.
    
    Previously ANDC was always implemented by tcg-op.h with
    an explicit NOT opcode.  Allow a target implementation.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit be6551b1e757fab6b3e43aa8833f655a7745204a
Author: Richard Henderson <rth at twiddle.net>
Date:   Tue Feb 16 14:02:04 2010 -0800

    tcg-sparc: Implement not.
    
    The fallback implementation of "ret = arg1 ^ -1" isn't ideal
    because of the extra tcg op to load the minus one.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 4b5a85c175768faf302cf8349d8613dbc1ac5f54
Author: Richard Henderson <rth at twiddle.net>
Date:   Tue Feb 16 13:55:15 2010 -0800

    tcg-sparc: Implement neg.
    
    The fallback implementation of "ret = 0 - arg1" isn't ideal,
    first because of the extra tcg op to load the zero, and second
    because we fail to handle zero as %g0 for arg1 of the sub.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 4fc8d6711aff7a9c11e402c3d77b481609f9f486
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 20 08:29:17 2010 +0000

    Fix warning on mingw32
    
    /src/qemu/hw/ide/core.c: In function 'ide_drive_pre_save':
    /src/qemu/hw/ide/core.c:2740: warning: comparison is always false due to limited range of data type
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 64e69d50a394a48de7607f178d53c192443f9066
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 20 08:20:18 2010 +0000

    Fix warning on OpenBSD
    
    /src/qemu/net.c: In function `net_check_clients':
    /src/qemu/net.c:1287: warning: `has_nic' might be used uninitialized in this function
    /src/qemu/net.c:1287: warning: `has_host_dev' might be used uninitialized in this function
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 6ec852360336a6c8accccd5a9bc472bafc694e11
Author: malc <av1474 at comtv.ru>
Date:   Sat Feb 20 01:47:35 2010 +0300

    tcg/ppc: Consistently use calling convention selection macros
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 5da79c86a3744e3a901c7986c109dd06951befd2
Author: Juergen Lock <nox at jelal.kn-bremen.de>
Date:   Fri Feb 19 19:30:07 2010 +0100

    Use ppc host calling convention definitions to set TCG_TARGET_CALL_{ALIGN_ARGS,STACK_OFFSET}.
    
    New version after malc's comments.  (This avoids having to do
      #if defined __linux__ || defined __FreeBSD__ || defined __FreeBSD_kernel__
    for the third case.)
    
    Submitted by: Andreas Tobler <andreast at fgznet.ch>  (original version)
    
    Signed-off-by: Juergen Lock <nox at jelal.kn-bremen.de>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 58d9b1e0edf41cf74639172207fb7e4f09ff84e4
Author: Juergen Lock <nox at jelal.kn-bremen.de>
Date:   Fri Feb 19 19:29:25 2010 +0100

    Add FreeBSD/ppc host ucontext definitions.
    
    Submitted by: Andreas Tobler <andreast at fgznet.ch>
    
    Signed-off-by: Juergen Lock <nox at jelal.kn-bremen.de>
    Signed-off-by: malc <av1474 at comtv.ru>

commit e4ee916d3f9a93df06bd498c92767c1558d59a0b
Author: Juergen Lock <nox at jelal.kn-bremen.de>
Date:   Fri Feb 19 19:28:23 2010 +0100

    Add FreeBSD/ppc host ppc_init_cacheline_sizes() implementation.
    
    New version after malc's comments.  (Added error handling.)
    
    Submitted by: Andreas Tobler <andreast at fgznet.ch>
    
    Signed-off-by: Juergen Lock <nox at jelal.kn-bremen.de>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 584771e6b6cba9f1571264645e15272d0ce9fe8e
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Feb 17 12:33:17 2010 +0100

    qemu-img: Fix error message
    
    When qemu-img can't open the new backing file for a rebase, it prints an error
    message which contains the file name of the old backing file. This is wrong,
    obviously.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 60b1bd4fc5b2f5046b7b64fa5ce9c2930d482eac
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Feb 17 12:32:59 2010 +0100

    qemu-img: Fix segfault during rebase
    
    This fixes a possible read beyond the end of the temporary buffers used for
    comparing data in the old and the new backing file.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4805bb66969622f86376191c94c4748bce91e6be
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Feb 16 15:54:49 2010 +0100

    qcow2: Fix access after end of array
    
    If a write requests crosses a L2 table boundary and all clusters until the
    end of the L2 table are usable for the request, we must not look at the next
    L2 entry because we already have arrived at the end of the array.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0f853a386739b22e541e6e65ed60a0cb37713340
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Feb 16 13:12:38 2010 +0100

    qdev: Free opts on failed do_device_add
    
    If the device can't be created, don't leak the QemuOpts and release the id of
    the device that should have been added by the failed device_add.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4c5b10b7b65eb613822b2ebbaf88b15edd2c3765
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Mon Feb 15 18:33:46 2010 +0100

    QEMU e820 reservation patch
    
    Hi,
    
    Kevin and I have agreed on the approach for this one now. So here is
    the latest version of the patch for QEMU, submitting e820 reservation
    entries via fw_cfg.
    
    Cheers,
    Jes
    
    Use qemu-cfg to provide the BIOS with an optional table of e820 entries.
    
    Notify the BIOS of the location of the TSS+EPT range to by reserving
    it via the e820 table.
    
    This matches a corresponding patch for Seabios, however older versions
    of Seabios will default to the hardcoded address range and stay
    compatible with current QEMU.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ed487bb1d69040b9dac64a4fc076d8dd82b131d6
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Thu Feb 11 18:19:44 2010 -0200

    ide save/restore pio/atapi cmd transfer fields and io buffer
    
    Save/restore information necessary to continue in progress PIO/ATAPI CMD
    transfers.
    
    This includes the IO buffer.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7b665b668aa92bf0bba696f085dff87539d95529
Author: Amit Shah <amit.shah at redhat.com>
Date:   Fri Feb 12 18:52:38 2010 +0530

    virtio-serial: pci: Allow MSI to be disabled
    
    Michael noted we don't allow disabling of MSI for the virtio-serial-pci
    device. Fix that.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    CC: "Michael S. Tsirkin" <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ee4d45be0d791eb8bb0f767cd0f17ea8f697281b
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Mon Feb 15 20:43:56 2010 +0530

    virtio-serial: don't set MULTIPORT for 1 port dev
    
    Since commit 98b19252cf1bd97c54bc4613f3537c5ec0aae263, all
    serial devices declare MULTIPORT feature.
    To allow 0.12 compatibility, we should clear this when
    max_nr_ports is 1.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8bfbde6d35c82cc376681289dae2de5e18a087a4
Author: Amit Shah <amit.shah at redhat.com>
Date:   Mon Feb 15 20:43:55 2010 +0530

    pc: Add backward compatibility options for virtio-serial
    
    virtio-serial-pci can support multiple ports in the current development
    version that will become 0.13. Add compatibility options for the 0.12
    and 0.11 pc machine types.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d76fa62dba54a156ca0f5e79eb33756c9015e02c
Author: Amit Shah <amit.shah at redhat.com>
Date:   Mon Feb 15 20:43:54 2010 +0530

    pc: Bump up pc version to 0.13 and add a 0.12 compat version
    
    The version 0.13 will be the new default and compatibility options will
    be added to the 0.12 version.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 68735b6c0cd2fe82ddd8fd3328a261017e67d1aa
Author: Kevin O'Connor <kevin at koconnor.net>
Date:   Sat Feb 13 18:32:17 2010 -0500

    USB HID does not support Set_Idle
    
    I found that the QEMU USB keyboard support does not work properly with
    the Set_Idle command.  Once a non-zero value is given to Set_Idle,
    then the keyboard reports an event on every poll - not based on the
    time issued in the Set_Idle command.
    
    I changed the code (see patch below) and it works for me.  I'm not
    that familiar with the qemu internals, so I'm not sure if this is the
    best way to implement this feature.
    
    -Kevin
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4dca4b639cb20fee38f6eec0a391aecc0ad8848d
Author: Naphtali Sprei <nsprei at redhat.com>
Date:   Sun Feb 14 13:39:18 2010 +0200

    block: more read-only changes, related to backing files
    
    Open backing file read-only where possible
    Upgrade backing file to read-write during commit, back to read-only after commit
      If upgrade fail, back to read-only. If also fail, "disconnect" the drive.
    
    Signed-off-by: Naphtali Sprei <nsprei at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e94a79364871e06767fc21506f0038f632e1386e
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Feb 12 11:02:08 2010 +0100

    mingw32: Enable C99/POSIX format strings
    
    Starting with mingw32-runtime 3.15, C99/POSIX
    format strings (%zu, %lld, ...) are supported
    by defining __USE_MINGW_ANSI_STDIO=1.
    
    As QEMU uses such format strings, unconditionally
    define this macro. It won't hurt on older revisions
    of mingw32-runtime.
    
    Tested with manually installed mingw32-runtime 3.15
    on debian (cross compiled + wine).
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5c366a8a3d7ac71beda8499caa815cb3ea95eb58
Author: Adam Litke <agl at us.ibm.com>
Date:   Fri Feb 12 14:55:56 2010 -0600

    Fix hanging user monitor when using balloon command
    
    Arghh... Adding missing S-O-B
    
    Hi Anthony.  I wonder if there was a problem when importing my async
    command handler patchset.  Since the 'balloon' command completes
    immediately, it must call the completion callback before returning.
    That call was missing but is added by the patch below.
    
    Signed-off-by: Adam Litke <agl at us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 068b332a6517b082b67b50f62f38f1952329d201
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:50:07 2010 -0200

    Monitor: Report more than one error in handlers
    
    Handlers can generate only one error in a call, we let the
    programmer know if they brake this rule and clients will only
    get the first generated error.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 10e4f606ec5584ea20234d2e12b66a702f8b5956
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:50:06 2010 -0200

    Monitor: Debug stray prints the right way
    
    QObject Monitor handlers should not call any Monitor print
    function: they should only build objects, printing is done
    by common code.
    
    Current QMP code will ignore such calls, as we can't send
    garbage to clients, additionally it will also emit an
    undefined error on the assumption that print calls usually
    report errors.
    
    However, the right way to deal with this is to rely on a
    return code. This has been fixed by other commit already.
    
    Now, this commit drops the error from monitor_vprintf() and
    adds a better debugging mechanism for those 'stray' prints:
    we count them if debug is enabled and let the developer know
    if a QObject handler is trying to print anything.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bb89c2e901b1a0c1cb6b94392cae1f98e6660ed7
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:50:05 2010 -0200

    Monitor: Audit handler return
    
    This commit verifies the following two rules specified by
    Markus Armbruster:
    
    1. If the handler returns failure, it must have passed an error.
    
       If it didn't, it's broken. Report an internal error to the client,
       and report the bug to the programmer.
    
    2. If the handler returns success, it must not have passed an error.
    
       If it did, it's broken. Report the error to the client, and report
       the bug to the programmer.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b8b08266bd58d26e9c6b529ab4130c13eaed3406
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:50:04 2010 -0200

    Monitor: Drop the print disabling mechanism
    
    We can ignore calls to monitor_vprintf() in QMP mode and use
    monitor_puts() directly in monitor_json_emitter().
    
    This allows us to drop this ugly hack.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b4475aa2b354fa67865c3bf768409386c0dff15b
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:50:03 2010 -0200

    Monitor: Debugging support
    
    Add configure options (--enable-debug-mon and --disable-debug-mon)
    plus the MON_DEBUG() macro.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 261394dbffbc847df9332cbd16011002e8761479
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:50:02 2010 -0200

    Monitor: Rename cmd_new_ret()
    
    Now that all handlers are converted to cmd_new_ret(), we can rename
    it back to cmd_new(). But now it returns a value.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0bbc47bb21661706dac49321340e225dee10b81f
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:50:01 2010 -0200

    Monitor: Convert do_change() to cmd_new_ret()
    
    Not that trivial as the call chain also has to be modified.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4fdc94b4062cb51c000c718bbffea3ac8c242b51
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:50:00 2010 -0200

    Monitor: Convert do_info() to cmd_new_ret()
    
    Note that this function only fails in QMP, in the user Monitor
    it prints the help text instead.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit fe38a32acc6d1fb62ed74c351c1cc1d992aa8c50
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:49:59 2010 -0200

    Monitor: Convert do_physical_memory_save() to cmd_new_ret()
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9869622ee8d613d5d3cbb2a7d47a6192ecfe2e2b
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:49:58 2010 -0200

    Monitor: Convert do_memory_save() to cmd_new_ret()
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b5d17adb932b16226c8073c3411cf5c93df22cb8
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:49:57 2010 -0200

    Monitor: Convert do_migrate() to cmd_new_ret()
    
    While there I'm also dropping a unneeded else clause (the last
    one in the function).
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 053801bc4950ec797ab8b47b4189dcdf2a1fc016
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:49:56 2010 -0200

    Monitor: Convert pci_device_hot_remove() to cmd_new_ret()
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 395560c8d15fb7980742990d00ae63aac87d43d6
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:49:55 2010 -0200

    Monitor: Convert pci_device_hot_add() to cmd_new_ret()
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit aeb91c1e13d574ce71a408fb4cf836fbc45b40ab
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:49:54 2010 -0200

    Monitor: Convert do_closefd() to cmd_new_ret()
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6ad3ebd28e7fe261b3a99d033d8c990b1d93b366
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:49:53 2010 -0200

    Monitor: Convert do_getfd() to cmd_new_ret()
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ba85d351913a05aac9773fc3924a0264b0e1a833
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:49:52 2010 -0200

    Monitor: Convert do_block_set_passwd() to cmd_new_ret()
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 584cbdb59682db8f052167dd644083076d079890
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:49:51 2010 -0200

    Monitor: Convert do_cpu_set() to cmd_new_ret()
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9b9d4d9c79ee7072629f36ea123a28a89ada8845
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:49:50 2010 -0200

    Monitor: Convert do_eject() to cmd_new_ret()
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d5a7b38f5c9f28c258595f327e28a1b88ffd370f
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:49:49 2010 -0200

    Monitor: Convert do_cont() to cmd_new_ret()
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ef4b7eeec1dee272a590486bca1b53675cf30973
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:49:48 2010 -0200

    Monitor: Convert simple handlers to cmd_new_ret()
    
    The following handlers always succeed and hence can be converted
    to cmd_new_ret() in the same commit.
    
    - do_stop()
    - do_quit()
    - do_system_reset()
    - do_system_powerdown()
    - do_migrate_cancel()
    - do_qmp_capabilities()
    - do_migrate_set_speed()
    - do_migrate_set_downtime()
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 97536cffbfb0b5f62b1dea50411031afa4f0cc35
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 10 23:49:47 2010 -0200

    Monitor: Introduce cmd_new_ret()
    
    In order to implement the new error handling and debugging
    mechanism for command handlers, we need to change the cmd_new()
    callback to return a value.
    
    This commit introduces cmd_new_ret(), which returns a value and
    will be used only temporarily to handle the transition from
    cmd_new().
    
    That is, as soon as all command handlers are ported to cmd_new_ret(),
    it will be renamed back to cmd_new() and the new error handling
    and debugging mechanism will be added on top of it.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 98b5008081b438407bca3fc879e4c51f383c5a80
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 11 00:29:57 2010 +0100

    move default allocator to console.c
    
    Moving stuff in console.c to avoid the need for prototypes makes
    this patch a bit bigger, but there's no change in the code.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9441987446d204910a7707272c0f3a7d17f9830c
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 11 00:29:56 2010 +0100

    remove knowledge of defaultallocator_free_displaysurface from sdl.c
    
    Let register_displayallocator hand over the old width/height to the new
    allocator.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b473df6e6a95fac7b58dc2282c0388e370c2fd70
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 11 00:29:55 2010 +0100

    use lazy initialization for display_state
    
    Ensure initialization of a dumb display, if needed, by making
    all accesses go through get_displaystate.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9edf5051f331d183056293860ef4a20ed5abf13b
Merge: 2583ba97ef1de6040b7d0afd2b66737515de5423 a408b1de524d47f475a0225d64d0958d70ae779d
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Feb 19 13:02:10 2010 -0600

    Merge remote branch 'mst/for_anthony' into staging

commit 2583ba97ef1de6040b7d0afd2b66737515de5423
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 11 14:45:02 2010 +0100

    net: Monitor command set_link finds only VLAN clients, fix
    
    Clients not associated with a VLAN exist since commit d80b9fc6.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a0104e0ec7939781d79ca4b54ebedd5fd3360151
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 11 14:45:01 2010 +0100

    net: info network shows only VLAN clients, fix
    
    Clients not associated with a VLAN exist since commit d80b9fc6.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit efe32fdde15e5764cfbc68cb2d61737681b1e096
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 11 14:45:00 2010 +0100

    net: net_check_clients() checks only VLAN clients, fix
    
    Clients not associated with a VLAN exist since commit d80b9fc6.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 62112d181ca33fea976100c4335dfc3e2f727e6c
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 11 14:44:59 2010 +0100

    net: Fix bogus "Warning: vlan 0 with no nics" with -device
    
    net_check_clients() prints this when an VLAN has host devices, but no
    guest devices.  It uses VLANState members nb_guest_devs and
    nb_host_devs to keep track of these devices.  However, -device does
    not update nb_guest_devs, only net_init_nic() does that, for -net nic.
    
    Check the VLAN clients directly, and remove the counters.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 668680f75feea79704c603b96126c0833e1ed9a9
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 11 14:44:58 2010 +0100

    net: net_check_clients() runs too early to see -device, fix
    
    Call it right after -device devices get created.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7f76abe1c9d880050ba31ff827b3ff5cbc8175a7
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Feb 11 14:44:57 2010 +0100

    net: Remove unused net_client_uninit()
    
    Unused since commit 9ad4531e.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5f2243f3013956b604b92cb614b8e1a8681e3e74
Author: Paul Brook <paul at codesourcery.com>
Date:   Fri Feb 19 16:04:51 2010 +0000

    Fix strace or FUTEX_PRIVATE_FLAG
    
    FUTEX_PRIVATE_FLAG is a bit orred with an existing futex op,
    not a distinct value.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 30a8cac1399306963cb3dd65e0421f957d8b4da7
Author: Rabin Vincent <rabin at rab.in>
Date:   Mon Feb 15 00:02:36 2010 +0530

    target-arm: support thumb exception handlers
    
    When handling an exception, switch to the correct mode based on the
    Thumb Exception (TE) bit in the SCTLR.
    
    Signed-off-by: Rabin Vincent <rabin at rab.in>

commit b8b45b68f8836c1db8422badf3c0c573a88f8b43
Author: Rabin Vincent <rabin at rab.in>
Date:   Mon Feb 15 00:02:35 2010 +0530

    target-arm: implement Thumb-2 exception return
    
    Support the "subs pc, lr" Thumb-2 exception return instruction.
    
    Signed-off-by: Rabin Vincent <rabin at rab.in>
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit fa26df032ec3da7bf0db541e40b2ac1b19aea391
Author: Rabin Vincent <rabin at rab.in>
Date:   Mon Feb 15 00:02:34 2010 +0530

    target-arm: fix thumb CPS
    
    The Thumb CPS currently does not work correctly: CPSID touches more bits
    than the instruction wants to, and CPSIE does nothing.  Fix it by
    passing the correct mask (the "affect" bits) and value.
    
    Signed-off-by: Rabin Vincent <rabin at rab.in>

commit 24ebf5f31a178051cff1a4aab5ba621037191577
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 18 21:25:23 2010 +0100

    get rid of hostregs_helper.h
    
    Since b567b38 (target-arm: remove T0 and T1, 2009-10-16) the only global
    register that is used is AREG0, so the complexity of hostregs_helper.h
    is unused.  Use regular assignments and a compiler optimization barrier.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit df2a54e6987172ad5de725b541e3650834d329bf
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 18 21:25:22 2010 +0100

    remove dead m68k definitions
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c68aaa18921b88ba98a9c62cfe45d59f56de7808
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Mon Feb 15 17:17:21 2010 +0100

    tcg: Add consistency checks for op definitions
    
    When compiled with CONFIG_DEBUG_TCG, this code looks
    for missing, duplicate and wrong entries in the
    op definitions.
    
    Errors will raise an assertion at program start
    (all checks are done in the initial phase).
    
    The current code contains such errors, at least for
    i386 guest on i386 host.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f3dfda6114fd12ca7caac456b1997962b5c48274
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 11 00:23:46 2010 +0100

    use eventfd for iothread
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

commit dbfe80e1eaf8790f6b3bc42c3a7d146ac8794ed2
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Feb 15 21:22:59 2010 -0800

    tcg-sparc: Implement setcond, setcond2.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 1c086220a6679948c9e9084829e302568548e3a2
Author: Richard Henderson <rth at twiddle.net>
Date:   Tue Feb 9 12:33:09 2010 -0800

    tcg: Add tcg_swap_cond.
    
    Returns the condition as if with swapped comparison operands.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit bf76bafa5ade434ef2747ceeeeaa95510ecb7946
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Mon Feb 15 23:39:48 2010 +0100

    crisv10: Prettify.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 6f57bbf48cc42056a53495990f6770c3de1f4480
Author: Artyom Tarasenko <atar4qemu at googlemail.com>
Date:   Mon Feb 15 18:39:50 2010 +0100

    sparc32 fix spurious dma interrupts v2
    
    Don't raise irq when not enabled.
    Raise irq on enabling if DMA_INTR is set
    Don't clear irq unless it was raised by DMA, as there are other irq sources
    Don't set DMA_INTR bit spuriously.
    
    v1->v2:
     - Don't clear irq unless it was raised by DMA
     - Raise irq on enabling if DMA_INTR is set
     - Assume revertion of 787cfbc432bf1d353a77cbdb613754f3963371a3
    
    Signed-off-by: Artyom Tarasenko <atar4qemu at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 47de922d9c46c8ae42ab38a5e1fa8b68d41865d9
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Feb 15 17:49:06 2010 +0000

    Revert "Sparc32: improve DMA controller IRQ debugging"
    
    This reverts commit 787cfbc432bf1d353a77cbdb613754f3963371a3.

commit 40e9eddd3850e7c732c4a80e5e5ce5c490dcf07c
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Mon Feb 15 12:18:57 2010 +0100

    cris: Add support for CRISv10 translation.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 46e246c911651b79323e7865d4114311cab0260b
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Mon Feb 15 12:15:07 2010 +0100

    cris: Use tcg_gen_movi_tl.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 7a9773563c99a86aec454f9e14f7a19ca1f87659
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Mon Feb 15 11:47:34 2010 +0100

    cris: Add v10 style interrupts.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 95475216f23216683b85c420132849553319eae2
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Mon Feb 15 11:20:30 2010 +0100

    crisv10: Always clear the V and C flags on btst.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit fb9fb692312a84ebc6e9c10da6f374c5871ff7b0
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Mon Feb 15 11:17:33 2010 +0100

    cris: Prepare for CRISv10.
    
    * Add prefix flag and special reg.
    * Add interrupt lockout.
    * Add CC_OP_MSTEP.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit a408b1de524d47f475a0225d64d0958d70ae779d
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Mon Feb 8 23:36:02 2010 +0200

    versatile_pci: cleanup
    
    Cleanup versatile_pci: no need to re-set fields
    to zero (pci core sets 0 already), use set_word
    for status field. Compile-tested only, but seems obvious.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Anthony Liguori <aliguori at us.ibm.com>

commit 01764fe045d19b2624afc8721d7f5ec798a085ce
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Mon Feb 8 23:33:33 2010 +0200

    versatile_pci: convert to symbolic names
    
    This converts versatile_pci to use symbolic
    constants. Verified by comparing binary to
    original one.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Anthony Liguori <aliguori at us.ibm.com>

commit c6a94ba5f9b8240f90ac2bf5ae5249bf5590c438
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 9 17:37:10 2010 +0100

    PPC: Add timer when running KVM
    
    For some odd reason we sometimes hang inside KVM forever. I'd guess it's
    a race condition where we actually have a level triggered interrupt, but
    the infrastructure can't expose that yet, so the guest ACKs it, goes to
    sleep and never gets notified that there's still an interrupt pending.
    
    As a quick workaround, let's just wake up every 500 ms. That way we can
    assure that we're always reinjecting interrupts in time.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit b2eca4453fb60c85c63912b7218b41b521165d94
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 9 17:37:09 2010 +0100

    PPC: Fix large pages
    
    We were masking 1TB SLB entries on the feature bit of 16 MB pages. Obviously
    that breaks, so let's just ignore 1TB SLB entries for now and instead do
    16MB pages correctly.
    
    This fixes PPC64 Linux boot with -m above 256.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit a2236d4820a09a35e017508c57564c97736c79f7
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 9 17:37:08 2010 +0100

    PPC: Add USB per default on U3
    
    Linux with CONFIG_PPC64 doesn't support ADB devices anymore, so we have to
    use USB for keyboard and mouse.
    
    This patch enables USB per default on U3 and adds a virtual keyboard and mouse
    there.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit a9ceb76d55abfed9426a819024aa3a4b87266c9f
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 9 17:37:07 2010 +0100

    PPC: Get rid of segfaults in DBDMA emulation
    
    While trying to find the right channel number for the DBDMA emulation I
    stumbled across segmentation faults that were purely triggered by the guest.
    
    The guest should never have the possiblity to segfault us, so let's check
    all indirect function calls on a channel, so the code even works for channels
    that have not been reserved.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit dffc07ca92bbc21c02850242104cb77a53335325
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 9 17:37:06 2010 +0100

    PPC: Use macio IDE controller for Newworld
    
    Per default Linux doesn't come with a lot of storage adapters enabled on
    Mac configurations. The one that's pretty much always present is the pmac-ide,
    while the cmd64x is almost never included in any distribution.
    
    So let's switch to use the MacIO based IDE controller. There is corresponding
    OpenBIOS code to get interrupts working properly.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit dc333cd60950185cdc069b4863b23fa262223d03
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 9 17:37:05 2010 +0100

    PPC: tell the guest about the time base frequency
    
    Our guest systems need to know by how much the timebase increases every second,
    so there usually is a "timebase-frequency" property in the cpu leaf of the
    device tree.
    
    This property is missing in OpenBIOS.
    
    With qemu, Linux's fallback timebase speed and qemu's internal timebase speed
    match up. With KVM, that is no longer true. The guest is running at the same
    timebase speed as the host.
    
    This leads to massive timing problems. On my test machine, a "sleep 2" takes
    about 14 seconds with KVM enabled.
    
    This patch exports the timebase frequency to OpenBIOS, so it can then put them
    into the device tree.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit fa0be69a175b7d0d6c49ac9e198409ad38a8e359
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 9 17:37:04 2010 +0100

    PPC: Make interrupts work
    
    The interrupt code as is didn't really work for me. I couldn't even convince
    Linux to take interrupt 9 in an interrupt-map.
    
    So let's do this right. Let's map all PCI interrupts to 0x1b - 0x1e. That way
    we're at least a small step closer to what real hardware does.
    
    I also took the interrupt pin to line conversion from OpenBIOS, which at least
    assures us we're compatible with our firmware :-).
    
    A dump of the PCI interrupt-map from a U2 (iBook):
    
    00009000 00000000 00000000 00000000 ff97c528 00000034 00000001
    0000d800 00000000 00000000 00000000 ff97c528 0000003f 00000001
    0000c000 00000000 00000000 00000000 ff97c528 0000001b 00000001
    0000c800 00000000 00000000 00000000 ff97c528 0000001c 00000001
    0000d000 00000000 00000000 00000000 ff97c528 0000001d 00000001
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 915cd3a90390bd03fdba596b3d85145333e17e13
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 9 17:37:03 2010 +0100

    PPC: Include dump of lspci -nn on real G5
    
    To ease debugging and to know what we're lacking, I found it really useful to
    have an lspci dump of a real U3 based G5 around. So I added a comment for it.
    
    If people don't think it's important enough to include this information in the
    sources, just don't apply this patch.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 0f921197f1a83e4fe6e71a9edef7e2a0afb712b7
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 9 17:37:02 2010 +0100

    PPC: Use Mac99_U3 type on ppc64
    
    The "Mac99" type so far defines a "U2" based configuration. Unfortunately,
    there have never been any U2 based PPC64 machines. That's what the U3 was
    developed for.
    
    So let's split the Mac99 machine in a PPC64 and a PPC32 machine. The PPC32
    machine stays "Mac99", while the PPC64 one becomes "Mac99_U3". All peripherals
    stay the same.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit d86f0e32c61065d670fa9b0f9a0c2a12e4c80c73
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Feb 9 17:37:01 2010 +0100

    PPC: Uninorth config space accessor
    
    The Uninorth PCI bridge requires different layouts in its PCI config space
    accessors.
    
    This patch introduces a conversion function that makes it compatible with
    the way Linux accesses it.
    
    I also kept an OpenBIOS compatibility hack in. I think it'd be better to
    take small steps here and do the config space access rework in OpenBIOS
    later on. When that's done we can remove that hack.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 9f6f0423cf925c7750d62133facaae4e0fcbb698
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Sat Jan 16 19:20:07 2010 +0200

    pci_host: rewrite using rwhandler
    
    Save a ton of code by switching pcihost to use rwhandler.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 049f7adbd547969ba013fed13c0a26c1f62a4a71
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Jan 14 16:00:14 2010 +0200

    rwhandler: simplified way to register for mem/io
    
    Some users prefer a single callback with length passed as parameter to
    using b/w/l callbacks. It would maybe be cleaner to just pass length to
    existing callbacks but that's a lot of churn.  So for now add a wrapper.
    For convenience use pcibus_t for address so a single callback can be
    used for pci io and pci memory.
    
    I did have to resort to preprocessor to reduce code duplication.  It is
    however slightly more straightforward, and better contained than what we
    had with pci_host_template.h. Again, it would go away if we just passed
    len to existing callbacks.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit e73d6e3a028c777e642c687d433db914d8be8679
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Jan 14 15:58:52 2010 +0200

    bwap: add qemu_bswap helper
    
    add helper that can swap values of 4, 2, 1 bytes
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 186993ee2fec8da1dc7d9ca15df295ab76a5b789
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Feb 10 21:25:42 2010 +0200

    pci: move pcibus_t to qemu-common
    
    move pcibus_t to qemu-common.h to simplify header dependencies.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 204ff57128532207893f170dab4db158f2ca7024
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Feb 14 09:01:14 2010 +0000

    dec: use PCI accessors
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 9fe52c7f4876ad389a95da0daf54dde8a170cde9
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Feb 14 08:27:19 2010 +0000

    sparc64: use PCI accessors for APB/PBM
    
    Remove useless set to zero lines. Latency programming should be
    done by BIOS, reset value is zero.
    
    Add revision to APB, don't enable PCI_COMMAND_MASTER and set status
    according to APB specification.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit bc798c77e54f73b637e02bdc02bd799660adb7b7
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Feb 14 07:24:03 2010 +0000

    Remove conditional rom loading support
    
    Commit c2039bd0ffce8807e0eaac55254fde790825fa92 made rom loading
    automatic for non-PC architectures. Remove now mostly unused
    conditional rom loading support.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ee0dc6d3937e10d9813ede4710bdcb9a4687d96f
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Feb 14 07:23:50 2010 +0000

    Fix incorrect exception_index use
    
    env->exception_index should be cleared with -1, not 0.
    
    See also 821b19fe923ac49a24cdb4af902584fdd019cee6.
    
    Spotted by Igor Kovalenko.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit b5937f297819bec5bf704dda1df9807fc7f0a766
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Mon Feb 8 15:40:38 2010 +0900

    pci: fix info pci with host bridge.
    
    This patch fixes 525e05147d5a3bdc08caa422d108c1ef71b584b5.
    pci host bridge doesn't have header type of bridge.
    The check should be by header type, instead of pci class device.
    
    Cc: Blue Swirl <blauwirbel at gmail.com>
    Cc: "Michael S. Tsirkin" <mst at redhat.com>
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c730256b331cc0494793a7b9b45d3e7496a3ebad
Merge: 0009baf16c30f6a0ef4d9deadbabd53143ac3c93 8fd5cf4bcb2a6609b50f5abc46b89cb435973926
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 13 09:00:05 2010 +0200

    Merge branch 'for_anthony' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/qemu
    
    * 'for_anthony' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/qemu:
      pci: fix pci_find_bus()

commit 0009baf16c30f6a0ef4d9deadbabd53143ac3c93
Author: Christoph Hellwig <hch at lst.de>
Date:   Wed Feb 10 23:37:51 2010 +0100

    ide: add topology support
    
    Export the physical block size in the ATA IDENTIFY command.  The
    other topology values are not supported in ATA so skip them.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ee3659e38580c64f7df74984ef09a2742958c8ab
Author: Christoph Hellwig <hch at lst.de>
Date:   Wed Feb 10 23:37:37 2010 +0100

    scsi: add topology support
    
    Export the physical block size in the READ CAPACITY (16) command,
    and add the new block limits VPD page to export the minimum and
    optiomal I/O sizes.
    
    Note that we also need to bump the scsi revision level to SPC-2
    as that is the minimum requirement by at least the Linux kernel
    to try READ CAPACITY (16) first and look at the block limits VPD
    page.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9752c371a2f82b4fcde248dc35597f4066cd756c
Author: Christoph Hellwig <hch at lst.de>
Date:   Wed Feb 10 23:37:25 2010 +0100

    virtio-blk: add topology support
    
    Export all topology information in the block config structure,
    guarded by a new VIRTIO_BLK_F_TOPOLOGY feature flag.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 428c149b0be790b440e1cbee185b152cdb22feec
Author: Christoph Hellwig <hch at lst.de>
Date:   Wed Feb 10 23:37:09 2010 +0100

    block: add topology qdev properties
    
    Add three new qdev properties to export block topology information to
    the guest.  This is needed to get optimal I/O alignment for RAID arrays
    or SSDs.
    
    The options are:
    
     - physical_block_size to specify the physical block size of the device,
       this is going to increase from 512 bytes to 4096 kilobytes for many
       modern storage devices
     - min_io_size to specify the minimal I/O size without performance impact,
       this is typically set to the RAID chunk size for arrays.
     - opt_io_size to specify the optimal sustained I/O size, this is
       typically the RAID stripe width for arrays.
    
    I decided to not auto-probe these values from blkid which might easily
    be possible as I don't know how to deal with these issues on migration.
    
    Note that we specificly only set the physical_block_size, and not the
    logial one which is the unit all I/O is described in.  The reason for
    that is that IDE does not support increasing the logical block size and
    at last for now I want to stick to one meachnisms in queue and allow
    for easy switching of transports for a given backing image which would
    not be possible if scsi and virtio use real 4k sectors, while ide only
    uses the physical block exponent.
    
    To make this more common for the different block drivers introduce a
    new BlockConf structure holding all common block properties and a
    DEFINE_BLOCK_PROPERTIES macro to add them all together, mirroring
    what is done for network drivers.  Also switch over all block drivers
    to use it, except for the floppy driver which has weird driveA/driveB
    properties and probably won't require any advanced block options ever.
    
    Example usage for a virtio device with 4k physical block size and
    8k optimal I/O size:
    
      -drive file=scratch.img,media=disk,cache=none,id=scratch \
      -device virtio-blk-pci,drive=scratch,physical_block_size=4096,opt_io_size=8192
    
    aliguori: updated patch to take into account BLOCK events
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 37d5ddd6f4a898134b6430c0126378baf5abff4b
Author: hch at lst.de <hch at lst.de>
Date:   Wed Feb 10 23:36:49 2010 +0100

    virtio-blk: revert serial number support
    
    The addition of the whole ATA IDENTIY page caused the config space to
    go above the allowed size in the PCI spec, and thus the feature was
    already reverted in the Linux guest driver and disabled by default in
    qemu.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3f54bfbf81bbd37171bbda2a2ee69ed5357ea8a7
Author: Brian Jackson <iggy at theiggy.com>
Date:   Mon Feb 8 14:22:29 2010 -0600

    Increase VNC_MAX_WIDTH
    
    Increase VNC_MAX_WIDTH to match "commonly available" consumer level monitors
    available these days.
    
    This also closes KVM bug 2907597
    
    Signed-off-by: Brian Jackson <iggy at theiggy.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d6771bfa52744eb4f959198b4b0e59451463eebf
Author: TeLeMan <geleman at gmail.com>
Date:   Mon Feb 8 16:20:00 2010 +0800

    qemu-img: use the heap instead of the huge stack array for win32
    
    The default stack size of PE is 1MB on win32 and IO_BUF_SIZE in
    img_convert() & img_rebase() is 2MB, so qemu-img will crash when doing
    "convert" & "rebase" on win32.
    Although we can improve the stack size of PE to resolve it, I think we
    should avoid using the huge stack variables.
    
    Signed-off-by: TeLeMan <geleman at gmail.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6265eb26a375179f193f792e4f0d49036d2cf052
Author: Jim Meyering <jim at meyering.net>
Date:   Mon Feb 8 19:28:38 2010 +0100

    don't dereference NULL after failed strdup
    
    Most of these are obvious NULL-deref bug fixes, for example,
    the ones in these files:
    
      block/curl.c
      net.c
      slirp/misc.c
    
    and the first one in block/vvfat.c.
    The others in block/vvfat.c may not lead to an immediate segfault, but I
    traced the two schedule_rename(..., strdup(path)) uses, and a failed
    strdup would appear to trigger this assertion in handle_renames_and_mkdirs:
    
    	    assert(commit->path);
    
    The conversion to use qemu_strdup in envlist_to_environ is not technically
    needed, but does avoid a theoretical leak in the caller when strdup fails
    for one value, but later succeeds in allocating another buffer(plausible,
    if one string length is much larger than the others).  The caller does
    not know the length of the returned list, and as such can only free
    pointers until it hits the first NULL.  If there are non-NULL pointers
    beyond the first, their buffers would be leaked.  This one is admittedly
    far-fetched.
    
    The two in linux-user/main.c are worth fixing to ensure that an
    OOM error is diagnosed up front, rather than letting it provoke some
    harder-to-diagnose secondary error, in case of exec failure, or worse, in
    case the exec succeeds but with an invalid list of command line options.
    However, considering how unlikely it is to encounter a failed strdup early
    in main, this isn't a big deal.  Note that adding the required uses of
    qemu_strdup here and in envlist.c induce link failures because qemu_strdup
    is not currently in any library they're linked with.  So for now, I've
    omitted those changes, as well as the fixes in target-i386/helper.c
    and target-sparc/helper.c.
    
    If you'd like to see the above discussion (or anything else)
    in the commit log, just let me know and I'll be happy to adjust.
    
    >From 9af42864fd1ea666bd25e2cecfdfae74c20aa8c7 Mon Sep 17 00:00:00 2001
    From: Jim Meyering <meyering at redhat.com>
    Date: Mon, 8 Feb 2010 18:29:29 +0100
    Subject: [PATCH] don't dereference NULL after failed strdup
    
    Handle failing strdup by replacing each use with qemu_strdup,
    so as not to dereference NULL or trigger a failing assertion.
    * block/curl.c (curl_open): s/\bstrdup\b/qemu_strdup/
    * block/vvfat.c (init_directories): Likewise.
    (get_cluster_count_for_direntry, check_directory_consistency): Likewise.
    * net.c (parse_host_src_port): Likewise.
    * slirp/misc.c (fork_exec): Likewise.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 47116d1c90cdac94cb9da270320dcf0d5ce1cfe2
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon Feb 8 17:01:30 2010 -0200

    QMP: Don't leak on connection close
    
    QMP's chardev event callback doesn't call
    json_message_parser_destroy() on CHR_EVENT_CLOSED. As the call
    to json_message_parser_init() on CHR_EVENT_OPENED allocates memory,
    we'are leaking on close.
    
    Fix that by just calling json_message_parser_destroy() on
    CHR_EVENT_CLOSED.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 27a749fb733dc64b7a215998be7f228a09bb27a7
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon Feb 8 17:01:29 2010 -0200

    QError: Don't abort on multiple faults
    
    Ideally, Monitor code should report an error only once and
    return the error information up the call chain.
    
    To assure that this happens as expected and that no error is
    lost, we have an assert() in qemu_error_internal().
    
    However, we still have not fully converted handlers using
    monitor_printf() to report errors. As there can be multiple
    monitor_printf() calls on an error, the assertion is easily
    triggered when debugging is enabled; and we will get a memory
    leak if it's not.
    
    The solution to this problem is to allow multiple faults by only
    reporting the first one, and to release the additional error objects.
    
    A better mechanism to report multiple errors to programmers is
    underway.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ba14414174b72fa231997243a9650feaa520d054
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon Feb 8 17:01:28 2010 -0200

    Monitor: remove unneeded checks
    
    It's not needed to check the return of qobject_from_jsonf()
    anymore, as an assert() has been added there.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 668e3cac4fdba1137798c4453e018070b099679e
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon Feb 8 17:01:27 2010 -0200

    qjson: Improve debugging
    
    Add an assert() to qobject_from_jsonf() to assure that the returned
    QObject is not NULL. Currently this is duplicated in the callers.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 06b1297017415ae6a07a0e97ad7d8e90b2d95823
Author: Tom Lendacky <tahm at linux.vnet.ibm.com>
Date:   Mon Feb 8 10:10:01 2010 -0600

    virtio-net: fix network stall under load
    
    Fix a race condition where qemu finds that there are not enough virtio
    ring buffers available and the guest make more buffers available before
    qemu can enable notifications.
    
    Signed-off-by: Tom Lendacky <toml at us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2c0d4b36e7fe28c569c5436f7724735e35d3c493
Author: Roy Tam <roytam at gmail.com>
Date:   Thu Feb 4 10:30:30 2010 +0800

    json: fix PRId64 on Win32
    
    OK we are fooled by the json lexer and parser. As we use %I64d to
    print 'long long' variables in Win32, but lexer and parser only deal
    with %lld but not %I64d, this patch add support for %I64d and solve
    'info pci', 'powser_reset' and 'power_powerdown' assert failure in
    Win32.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2198a62eb2518b61c3fc7db26515f106e7498932
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Tue Feb 9 15:31:46 2010 -0200

    fix inet_parse typo
    
    qemu_opt_set wants on/off, not yes/no.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c37cc7b072fa4ca8d8d21ac31d26baff5f47f9f9
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Tue Feb 9 12:49:04 2010 -0200

    iothread: fix vcpu stop with smp tcg
    
    Round robin vcpus in tcg_cpu_next even if the vm stopped. This
    allows all cpus to enter stopped state.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5307d7d35e70a9bf1b290f2eff00236c7ad22220
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Feb 4 18:10:07 2010 -0200

    QMP: spec: Capability negotiation updates
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 09069b19f49311c772e220b44edb19fdd446ba5f
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Feb 4 18:10:06 2010 -0200

    QMP: Enforce capability negotiation rules
    
    With this commit QMP will be started in Capabilities Negotiation
    mode, where the only command allowed to run is 'qmp_capabilities'.
    
    All other commands will return CommandNotFound error. Asynchronous
    messages are not delivered either.
    
    When 'qmp_capabilities' is successfully executed QMP enters in
    Command mode, where all commands (except 'qmp_capabilities') are
    allowed to run and asynchronous messages are delivered.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4a7e1190dfadf1154721125af8510347f8a3c56b
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Feb 4 18:10:05 2010 -0200

    QMP: Introduce the qmp_capabilities command
    
    This command will be used to enable QMP capabilities advertised
    by the capabilities array.
    
    Note that it will be mandatory to issue this command in order
    to make QMP functional (although this behavior is not being
    enforced by this commit).
    
    Also, as we don't have any capabilities yet, the new command
    doesn't accept any arguments. I will postpone the decision for
    a format for this until we get our first capability.
    
    Finally, this command is visible from the user Monitor too, in
    the meaning that you can execute it but it won't do anything.
    Making it only visible in QMP is beyond this series' goal, as
    it requires changes in unrelated places.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ca9567e23454ca94e3911710da4e953ad049b40f
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Feb 4 18:10:04 2010 -0200

    QMP: Add QEMU's version to the greeting message
    
    With capability negotiation support clients will only have a chance
    to check QEMU's version (ie. issue 'query-version') after the
    negotiation procedure is done.
    
    It might be useful to clients to check QEMU's version before
    negotiating features, though.
    
    To allow that, this commit adds the QEMU's version object to the
    greeting message.
    
    Not really sure this is needed, but doesn't hurt anyway.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4ab4183d766f10f9fc35cd9ef4acee39f241986f
Author: David S. Ahern <daahern at cisco.com>
Date:   Wed Feb 3 09:00:54 2010 -0700

    segfault due to buffer overrun in usb-serial
    
    This fixes a segfault due to buffer overrun in the usb-serial device.
    The memcpy was incrementing the start location by recv_used yet, the
    computation of first_size (how much to write at the end of the buffer
    before wrapping to the front) was not accounting for it. This causes the
    next element after the receive buffer (recv_ptr) to get overwritten with
    random data.
    
    Signed-off-by: David Ahern <daahern at cisco.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8e65b7c04965c8355e4ce43211582b6b83054e3d
Author: David S. Ahern <daahern at cisco.com>
Date:   Wed Feb 3 08:49:39 2010 -0700

    audio streaming from usb devices
    
    I have streaming audio devices working within qemu-kvm. This is a port
    of the changes to qemu.
    
    Streaming audio generates a series of isochronous requests that are
    repetitive and time sensitive. The URBs need to be submitted in
    consecutive USB frames and responses need to be handled in a timely manner.
    
    Summary of the changes for isochronous requests:
    
    1. The initial 'valid' value is increased to 32. It needs to be higher
    than its current value of 10 since the host adds a 10 frame delay to the
    scheduling of the first request; if valid is set to 10 the first
    isochronous request times out and qemu cancels it. 32 was chosen as a
    nice round number, and it is used in the path where a TD-async pairing
    already exists.
    
    2. The token field in the TD is *not* unique for isochronous requests,
    so it is not a good choice for finding a matching async request. The
    buffer (where to write the guest data) is unique, so use that value instead.
    
    3. TD's for isochronous request need to be completed in the async
    completion handler so that data is pushed to the guest as soon as it is
    available. The uhci code currently attempts to process complete
    isochronous TDs the next time the UHCI frame with the request is
    processed. The results in lost data since the async requests will have
    long since timed out based on the valid parameter. Increasing the valid
    value is not acceptable as it introduces a 1+ second delay in the data
    getting pushed to the guest.
    
    4. The frame timer needs to be run on 1 msec intervals. Currently, the
    expire time for the processing the next frame is computed after the
    processing of each frame. This regularly causes the scheduling of frames
    to shift in time. When this happens the periodic scheduling of the
    requests is broken and the subsequent request is seen as a new request
    by the host resulting in a 10 msec delay (first isochronous request is
    scheduled for 10 frames from when the URB is submitted).
    
    [ For what's worth a small change is needed to the guest driver to have
    more outstanding URBs (at least 4 URBs with 5 packets per URB).]
    
    Signed-off-by: David Ahern <daahern at cisco.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 41b4bef65f1e2b2f313cae0f88a1c76a9cb3f222
Author: Amit Shah <amit.shah at redhat.com>
Date:   Fri Feb 5 16:34:05 2010 +0530

    vnc: Migrate to using QTAILQ instead of custom implementation
    
    Just a 1-1 conversion for now.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a2eebe88fdb95d04917a4d1b794fda5319b15879
Author: Amit Shah <amit.shah at redhat.com>
Date:   Thu Feb 4 20:16:22 2010 +0530

    kvm: reduce code duplication in config_iothread
    
    We have some duplicated code in the CONFIG_IOTHREAD #ifdef and #else
    cases. Fix that.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6616b2adb5569b0eec589bd66d8ee21225e6ee0d
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Feb 5 23:52:05 2010 +0100

    Documentation: Add command line options to function index
    
    * Add line options to function index.
    
    * Add description for -set (TODO).
    
    * Add description for -global (TODO).
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 70fcbbe7f35b01bbe8b50ee14fef06b905b8a567
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Feb 5 23:52:04 2010 +0100

    Documentation: Add monitor commands to function index
    
    * Add monitor commands to function index.
    
    * Fix description for acl_remove.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7544a04258d38650ef0fba538e1aa0299188742b
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Feb 5 23:52:03 2010 +0100

    Documentation: Enhance documentation (index, keywords)
    
    * Add some keywords for the concept index.
    
    * Add some keywords for the keystroke index.
    
    * Mark invalid or unclear documentation with TODO.
      Is there a better proposal how to do this?
    
    * Fix copy+paste error in ColdFire section
      (options were copied from ARM).
    
    * Fix documentation for Wine.
    
    * Add placeholders for missing system emulations.
    
    * Add placeholders for missing user emulation commands.
    
    * Add an appendix with license (to be discussed).
    
    * Add an appendix for every type of index which is
      supported by texinfo. Currently, not all are used,
      but this might change in the future.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d7e5edca99aa2349a9aa8e05431793c6a44063ce
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Feb 5 23:52:02 2010 +0100

    Documentation: Fix item list
    
    @itemize @minus does not work as expected
    (the items start with "* -").
    
    A simple @itemize gives a better result.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 47eacb4f05b57fefe006ea57eaf5b24eaae26fd9
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Feb 5 23:52:01 2010 +0100

    Documentation: Add some basic documentation on make targets
    
    This should help new users to get started.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e080e785f62c0ad4f36487b45cc90b99420ace23
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Feb 5 23:52:00 2010 +0100

    Documentation: Use UTF-8 encoding and fix one wrong encoding
    
    At least for Linux distributions UTF-8 is now standard,
    so the QEMU documentation should use this encoding, too.
    
    Even if there was currently only a single special character
    using ISO-8859-1, this might change in the future.
    
    So the texinfo keywords @documentlanguage and
    @documentencoding now document the language and the
    encoding. The special character was changed to UTF-8
    (it could also have been changed to an x, but the
    original cross looks really nice if it is displayed
    correctly).
    
    These changes fix the html presentation at
    http://www.qemu.org/qemu-doc.html#SEC65
    (ARM System emulator).
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a1a32b05bbaabe7c7179564e25750393f2271eef
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Feb 5 23:51:59 2010 +0100

    Documentation: Add direntry for info format
    
    update-info-dir maintains an index of all available
    documentation in info format (the file /usr/share/info/dir).
    
    It reads special @direntry tags in info files.
    
    This patch (extracted from a larger patch provided by
    Dirk Ullrich) adds these tags for qemu-doc.info and
    qemu-tech.info.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 15dc2697a51ab39a0e9da95c8ce01675c1cb7090
Author: Christoph Hellwig <hch at lst.de>
Date:   Thu Jan 28 15:19:12 2010 +0100

    block: saner flags filtering in bdrv_open2
    
    Clean up the current mess about figuring out which flags to pass to the
    driver.  BDRV_O_FILE, BDRV_O_SNAPSHOT and BDRV_O_NO_BACKING are flags
    only used by the block layer internally so filter them out directly.
    Previously BDRV_O_NO_BACKING could accidentally be passed to the drivers,
    but wasn't ever used.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit eaa6c85f5df022e65a3c5c14908cd191430cbff5
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 3 12:41:04 2010 -0200

    virtio-blk: Generate BLOCK_IO_ERROR QMP event
    
    Just call bdrv_mon_event() in the right place.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 380f640f96c8ae5b257bd4dec9b27cecd9d7e683
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 3 12:41:03 2010 -0200

    scsi: Generate BLOCK_IO_ERROR QMP event
    
    Just call bdrv_mon_event() in the right place.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7ad7e3c3bf81a7c2bbd872430435db7a21f8f44f
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 3 12:41:02 2010 -0200

    ide: Generate BLOCK_IO_ERROR QMP event
    
    Just call bdrv_mon_event() in the right place.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2582bfedd2049cefd3337dad69b047669133dacd
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 3 12:41:01 2010 -0200

    block: BLOCK_IO_ERROR QMP event
    
    This commit introduces the bdrv_mon_event() function, which
    should be called by block subsystems (eg. IDE) when a I/O
    error occurs, so that an QMP event is emitted.
    
    The following information is currently provided in the event:
    
    - device name
    - operation (ie. "read" or "write")
    - action taken (eg. "stop")
    
    Event example:
    
    { "event": "BLOCK_IO_ERROR",
        "data": { "device": "ide0-hd1",
                  "operation": "write",
                  "action": "stop" },
        "timestamp": { "seconds": 1265044230, "microseconds": 450486 } }
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit aa1db6edaf5ba99b6a0fa6e6a45e7568ba5fa4c9
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Feb 3 12:41:00 2010 -0200

    QMP: BLOCK_IO_ERROR event handling
    
    This commit adds the basic definitions for the BLOCK_IO_ERROR
    event, but actual event emission will be introduced by the
    next commits.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f4f0d391b26afcce86df85566788be7170127116
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Feb 2 15:20:57 2010 +0100

    qcow2: Fix signedness bugs
    
    Checking for return codes < 0 isn't really going to work with unsigned
    types. Use signed types instead.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9bc378c1430d0c227a8463501b6e0d03cf09adac
Author: Sheng Yang <sheng at linux.intel.com>
Date:   Fri Jan 29 10:15:06 2010 +0800

    qemu-img: Fix qemu-img can't create qcow image based on read-only image
    
    Commit 03cbdac7 "Disable fall-back to read-only when cannot open drive's
    file for read-write" result in read-only image can't be used as backed
    image in qemu-img.
    
    Cc: Naphtali Sprei <nsprei at redhat.com>
    Signed-off-by: Sheng Yang <sheng at linux.intel.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d0a96f3d2a237d65c14661a2c0baebf72a8621bf
Author: Scott Tsai <scottt.tw at gmail.com>
Date:   Sat Jan 30 03:28:58 2010 +0800

    doc: Update mingw cross compile instructions
    
    The "Cross compilation for Windows with Linux" section of qemu-doc.texi
    still instructs the user to use 'configure --enable-mingw32'
    even after the option was removed in Aug 2008:
    http://git.savannah.gnu.org/cgit/qemu.git/commit/?id=cd01b4a312248dd4e12c3d389d1a349cea4015d8
    
    This documentation only change updates the instructions to:
    * Remove use of '--enable-mingw32' in the configure example
    * Correct the 'sdl-config' script name
    * Remove references to i386-mingw32msvc.tar.gz which no longer exists in
      recent SDL releases
    * Document the zlib dependency
    
    Signed-off-by: Scott Tsai <scottt.tw at gmail.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit afc535acb579a7808d9ff170088c839a29c61dc9
Author: Evgeniy Dushistov <dushistov at mail.ru>
Date:   Thu Jan 28 21:44:46 2010 +0300

    Do not ignore error, if open file failed (-serial /dev/tty)
    
    In case, when qemu is executed with option like
    -serial /dev/ttyS0, report if there are problems with
    opening of devices. At now errors are silently ignoring.
    
    Signed-off-by: Evgeniy Dushistov <dushistov at mail.ru>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 20cc99972cea37de519253cb31790045cb0c8604
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Jan 29 23:16:50 2010 +0100

    Documentation: Add build support for documentation in pdf format
    
    Makefile already supported dvi, html and info formats,
    but pdf was missing.
    
    pdf is especially convenient for printing and for
    documentation reviews. I hope it will help to
    improve qemu's documentation.
    
    Make now supports the new target 'pdf' which will
    create qemu-doc.pdf and qemu-tech.pdf. It is also
    possible to build both files individually.
    
    texi2pdf and texi2dvi are rather noisy, so normally
    some less important warnings are suppressed.
    When make is called with V=1 (verbose mode),
    warnings are not suppressed.
    
    The patch also sorts the documentation targets
    alphabetically and wraps a line which was too long.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f582af586587363973d95245b468c2968e320d00
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Tue Feb 2 20:33:11 2010 +0100

    fix placement of config-host.h inclusion
    
    The #ifdef CONFIG_SOLARIS below was useless without this patch.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 652ce2d449f47cdc4d94eb67f2377504c06957ad
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Tue Feb 2 20:33:10 2010 +0100

    loop write in qemu_event_increment upon EINTR
    
    Same as what qemu-kvm does.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1d0f0d91f298cbda1990edc92cf8ac306c474cdf
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Tue Feb 2 20:33:09 2010 +0100

    do not loop on an incomplete io_thread_fd read
    
    No need to loop if less than a full buffer is read, the next
    read would return EAGAIN.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 889ae39c9adad4fbfc1da56c40c78f035f3da32d
Author: Liran Schour <lirans at il.ibm.com>
Date:   Tue Jan 26 10:31:49 2010 +0200

    Try not to exceed max downtime on stage3
    
    Move to stage3 only when remaining work can be done below max downtime.
    Use qemu_get_clock_ns for measuring read performance.
    
    Signed-off-by: Liran Schour <lirans at il.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit aaa0eb75e2e56d483c89731a447c999985713b43
Author: Liran Schour <lirans at il.ibm.com>
Date:   Tue Jan 26 10:31:48 2010 +0200

    Count dirty blocks and expose an API to get dirty count
    
    This will manage dirty counter for each device and will allow to get the
    dirty counter from above.
    
    Signed-off-by: Liran Schour <lirans at il.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d76cac7dfbff76acb8eac2de849d148b0ff8cbbb
Author: Liran Schour <lirans at il.ibm.com>
Date:   Tue Jan 26 14:04:11 2010 +0200

    Tranfer dirty blocks during iterative phase
    
    Start transfer dirty blocks during the iterative stage. That will
    reduce the time that the guest will be suspended
    
    Signed-off-by: Liran Schour <lirans at il.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 41c872b6bf010a3033f3032cd41db6cab14173e6
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Tue Jan 26 10:31:46 2010 +0200

    add qemu_get_clock_ns
    
    Some places use get_clock directly because they want to access the
    rt_clock with nanosecond precision.  Add a function to do exactly that
    instead of using internal interfaces.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e970ec0b5e26d9f605f57e80818866baa6e769db
Author: Liran Schour <lirans at il.ibm.com>
Date:   Tue Jan 26 10:31:45 2010 +0200

    Remove unused code
    
    blk_mig_save_bulked_block is never called with sync flag. Remove the sync
    flag. Calculate bulk completion during blk_mig_save_bulked_block.
    Remove unused constants.
    
    Signed-off-by: Liran Schour <lirans at il.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7b8f3b7834360d4777d80552db650b75dfc1010c
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Jan 27 22:07:21 2010 +0200

    kvm: move kvm to use memory notifiers
    
    remove direct kvm calls from exec.c, make
    kvm use memory notifiers framework instead.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Avi Kivity <avi at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 46dbef6adefad2cc6fc6690faacb5c22dbd8f6f9
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Jan 27 22:07:08 2010 +0200

    kvm: move kvm_set_phys_mem around
    
    move kvm_set_phys_mem so that it will
    be later available earlier in the file.
    needed for next patch using memory notifiers.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Avi Kivity <avi at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f6f3fbcab0c36f17ea63573ed4d21816a09c978e
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Jan 27 22:06:57 2010 +0200

    qemu: memory notifiers
    
    This adds notifiers for phys memory changes: a set of callbacks that
    vhost can register and update kernel accordingly.  Down the road, kvm
    code can be switched to use these as well, instead of calling kvm code
    directly from exec.c as is done now.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit cca1af8c4d2ef6449fd61494ba2cb087b838011c
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Feb 9 22:54:22 2010 +0100

    tcg/mips: fix crash in tcg_out_qemu_ld()
    
    The address register is overriden when it corresponds to v0 and the fast
    path is taken, which leads to a crash. Fix that by using the a0 register
    instead.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 5a25cc2b5cf90de7726e519d6fd78474f86638a6
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Feb 2 22:32:14 2010 +0100

    target-sh4: MMU: separate execute and read/write permissions
    
    On SH4, the ITLB and UTLB configurations are memory mapped, so loading
    ITLB entries from UTLB has to be simulated correctly. For that the QEMU
    TLB has to be handle the execute (ITLB) and read/write permissions
    (UTLB) seperately.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 03e3b61e4f14c69966830be302dabb412909a924
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Wed Feb 3 18:02:55 2010 +0100

    target-sh4: MMU: fix store queue addresses
    
    The store queues are located from 0xe0000000 to 0xe3ffffff.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 55ff33a4351dc69f3a5cbf80cdc6475b37fd39e2
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Wed Feb 3 02:33:00 2010 +0100

    target-sh4: MMU: remove dead code
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit af090497c6bd692864f49b4214d56dd4203c9f34
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Wed Feb 3 02:32:49 2010 +0100

    target-sh4: MMU: reduce the size of a TLB entry
    
    Reduce the size of the TLB entry from 32 to 16 bytes, reorganising
    members and using a bit field.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 628b61a0727e240be911ba9d01b41c58841b2c43
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Feb 2 19:50:51 2010 +0100

    target-sh4: MMU: optimize UTLB accesses
    
    With the current code, the QEMU TLB is setup to match the read/write
    mode of the MMU fault. This means when read access is done, the page
    is setup in read-only mode. When the page is later accessed in write
    mode, an MMU fault happened, and the page is switch in write-only
    mode. This flip-flop causes a lot of calls to the MMU code and slow
    down the emulation.
    
    This patch changes the MMU emulation, so that the QEMU TLB is setup
    to match the UTLB protection key. This impressively increase the
    speed of the emulation.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 4d1e4ff63ce7c23256b24c3f1722d1abccb26451
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Feb 1 20:07:06 2010 +0100

    target-sh4: MMU: fix ITLB priviledge check
    
    There is an ITLB access violation if SR_MD=0 (user mode) while
    the high bit of the protection key is 0 (priviledge mode).
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0f3f1ec787009388b6fd77141ceb568d9bce05f7
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Feb 1 20:02:23 2010 +0100

    target-sh4: MMU: simplify call to tlb_set_page()
    
    tlb_set_page() doesn't need addresses with offset, but simply the
    page aligned addresses.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 1f486815aea9d5482772fc0cf60c4ef186f08cba
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Feb 1 19:58:46 2010 +0100

    target-sh4: MMU: fix mem_idx computation
    
    The mem_idx is wrongly computed. As written in target-sh4/cpu.h, mode 0
    corresponds to kernel mode (SR_MD = 1), while mode 1 corresponds to user
    mode (SR_MD = 0).
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e0bcb9ca36e4f3081c7e6841283646985ed9676b
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Feb 2 19:39:11 2010 +0100

    sh7750: handle MMUCR TI bit
    
    When the MMUCR TI bit is set, all the UTLB and ITLB entries should be
    flushed.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 434254aa5f1a9497710dd10993a72ec434e149a6
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Feb 8 19:05:00 2010 +0100

    tcg/mips: implement setcond2
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0debac1485902ca30a0ae637016276a106cfc076
Merge: 8217d945860c546844807e22088e8a7d97836aff f101cd885ec148761738638ae42f7c5162b6d445
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Feb 8 10:09:52 2010 -0600

    Merge remote branch 'linux-user/linux-user-for-upstream' into staging-tmp

commit 8217d945860c546844807e22088e8a7d97836aff
Merge: 4cb26382182bf5256de1d9058739946d922e9f49 c5f32c99c6855d466737daf1cd262e7e92062f87
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Feb 8 10:06:54 2010 -0600

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

commit 4cb26382182bf5256de1d9058739946d922e9f49
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Feb 8 16:37:37 2010 +0100

    tcg/mips: implement setcond
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 74f42e182ae1f95f9c88368c86b1177d6607bc76
Author: TeLeMan <geleman at gmail.com>
Date:   Mon Feb 8 13:56:44 2010 +0800

    configure: fix the static compilation for sdl
    
    The static compilation for sdl is broken after
    79427693174a553d62f3da44aacd3f19ba8df3a7.
    
    Signed-off-by: TeLeMan <geleman at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d2807bc98e9d7e1dab1a7f13ed2eaaa835f519f6
Author: Dirk Ullrich <dirk.ullrich at googlemail.com>
Date:   Sat Feb 6 09:48:23 2010 +0100

    configure: Add --enable-docs and --disable-docs to --help
    
    This patch adds the documentation-related options "--enable-docs" and
    "--disable-docs" to the help message of "configure".
    
    Signed-off-by: Dirk Ullrich <dirk.ullrich at googlemail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 3101e99c21270b984870ed2d9b390196bac98e2b
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sun Jan 31 01:07:25 2010 +0100

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

commit 37cc0b44b48fcb9f8d75105202d45e70ad1774ca
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Jan 30 20:41:33 2010 +0100

    SH4/R2D: fix poweroff
    
    The write the the PA_POWOFF register is currently ignored. Fix that by
    calling qemu_system_shutdown_request() when a poweroff is requested.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 5105c5564cc062f848c6602e911b1a0b75befef7
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Feb 8 12:10:15 2010 +0100

    tcg: move setcond* ops to non-optional section
    
    setcond is not an optional op, move it to the non-optional section.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit add1e7ea6163b11db2fe50937b1fd62339ffa91c
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Feb 8 12:06:05 2010 +0100

    tcg: add setcondi pseudo-op
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8fd5cf4bcb2a6609b50f5abc46b89cb435973926
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Mon Feb 8 15:38:36 2010 +0900

    pci: fix pci_find_bus()
    
    typo in c021f8e65f5009a5ab5711d9d5326fcab553ef1c.
    comparison fix.
    
    Cc: Blue Swirl <blauwirbel at gmail.com>
    Cc: "Michael S. Tsirkin" <mst at redhat.com>
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 48a402e693cbea9582472159931aa6799a6c80c7
Author: malc <av1474 at comtv.ru>
Date:   Mon Feb 8 12:44:55 2010 +0300

    block/curl: %Z is not a valid conversion specifier
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit e8105ebb94bf8c79c8ee8a66df5e8dfaabbfdbe1
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 4 16:49:59 2010 +0100

    vl.c: avoid preprocessor directives in a printf call
    
    Similar to the qemu-img.c patch, but I also have to unescape remaining
    % signs in qemu-options.hx.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: malc <av1474 at comtv.ru>

commit bec7c2d4148fd4e212265ea21eb2cb66b762611f
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 4 16:49:58 2010 +0100

    do not interpolate % from vl.c to qemu-options.h
    
    Since qemu-options.h is only used in vl.c, we can avoid using
    brittle interpolation from a generated file.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 30bf5f46e7e1a405edae582968e2c6f91ab81040
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 4 16:49:57 2010 +0100

    cope with printf macro definition in readline.c
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: malc <av1474 at comtv.ru>

commit e00291c008bb033682f8148411c8e8533fac3a21
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 4 16:49:56 2010 +0100

    qemu-img: avoid preprocessor directives in a printf call
    
    Other choices include using "(printf)", but this one is not bad in
    terms of readability.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 3f020d7024e26c1f159e30f5be2dc4f2f5affc07
Author: malc <av1474 at comtv.ru>
Date:   Mon Feb 8 12:04:56 2010 +0300

    Revert "On some systems printf is a macro"
    
    This reverts commit bc5b6004588ad17370e0416e40b4aa9cf977023b.

commit d55380bb9c9a5b1f4c7aa919e77f9bfb72023c3a
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Feb 7 19:28:32 2010 +0000

    dec: actually implement PCI bridging
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ff9868ecaa9293781780c757db529dac0cc48fee
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Feb 7 09:17:35 2010 +0000

    esp: use CamelCaseFunc for function types
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit b96ae2da0b50e2c0f3d27d70df32a6fd56f2593a
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Feb 7 09:15:26 2010 +0000

    fw_cfg: don't use reserved _ prefix
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 7859cb988da7a30d75a0831a97dc5988a5dc104a
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Feb 7 09:13:51 2010 +0000

    fdc: don't use reserved _ prefix
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 5c02c033489904101ffa54314802b6f61b914e58
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Feb 7 09:01:18 2010 +0000

    fdc: don't use reserved _t suffix
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 8e39a033fb5a8ac9a0a28bdf42182b96267f305d
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Feb 7 08:05:47 2010 +0000

    escc: don't use reserved _t suffix
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 43a347045768ce843987649bafc5bc1dd18d4d0f
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Feb 7 08:05:03 2010 +0000

    m48t59: don't use reserved _t suffix
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 1cd62ae9f8ed624263e4779d2c71908aa41137fb
Author: malc <av1474 at comtv.ru>
Date:   Sun Feb 7 02:48:53 2010 +0300

    tcg/ppc64: implement setcond
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 27a7797b0935260571a2577d1c39e87db4f28b86
Author: malc <av1474 at comtv.ru>
Date:   Sun Feb 7 02:48:48 2010 +0300

    tcg/ppc32: proper setcond implementation
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit b0809bf7ca99e445f7176d64b15e1c441f25e903
Author: malc <av1474 at comtv.ru>
Date:   Sun Feb 7 02:18:06 2010 +0300

    tcg/ppc32: implement setcond[2]
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit bc5b6004588ad17370e0416e40b4aa9cf977023b
Author: malc <av1474 at comtv.ru>
Date:   Sun Feb 7 02:04:28 2010 +0300

    On some systems printf is a macro
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit d0f2c4c60263e29a87681433e696844401514194
Author: malc <av1474 at comtv.ru>
Date:   Sun Feb 7 02:03:50 2010 +0300

    Do not use dprintf
    
    dprintf is already claimed by POSIX[1], and on at least one system
    is implemented as a macro
    
    [1] http://www.opengroup.org/onlinepubs/9699919799/functions/dprintf.html
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit bc4347b883e8175dadef77ed9e02ccaa5e8eba94
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Wed Jan 20 19:43:25 2010 +0100

    arm host: fix compiler warning
    
    Compilation for arm (native or cross) results in this
    warning:
    
    fpu/softfloat-native.c: In function ‘float64_round_to_int’:
    fpu/softfloat-native.c:387: error: control reaches end of non-void function
    
    float64_round_to_int uses special assembler code for arm
    and has no explicit return value.
    
    As there is no obvious reason why arm should need special
    code, all fpu related conditionals were removed.
    The remaining code is standard (C99) and compiles for arm,
    too.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Acked-by: Laurent Desnogues <laurent.desnogues at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 1d2699ae5a812b4b568ec9f19ab071f7932c4964
Author: Richard Henderson <rth at twiddle.net>
Date:   Sat Dec 19 10:46:38 2009 -0800

    tcg-i386: Implement setcond.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit f75b56c1ec80448415791ff1541e7e6cf1ceca1f
Author: Richard Henderson <rth at twiddle.net>
Date:   Sat Feb 6 11:47:58 2010 -0800

    tcg-i386: Implement small forward branches.
    
    There are places, like brcond2, where we know that the destination
    of a forward branch will be within 127 bytes.
    
    Add the R_386_PC8 relocation type to support this.  Add a flag to
    tcg_out_jxx and tcg_out_brcond* to enable it.  Set the flag in the
    brcond2 label_next branches; pass along the input flag otherwise.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 79427693174a553d62f3da44aacd3f19ba8df3a7
Author: Loïc Minier <lool at dooz.org>
Date:   Sun Jan 31 12:23:45 2010 +0100

    Add -static earlier to LDFLAGS for compile_prog()
    
    Add -static to LDFLAGS earlier as to run the compile_prog() tests with
    this flags, this will avoid turning on features for which a shared
    library is available but not a static one.
    
    Signed-off-by: Loïc Minier <lool at dooz.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 845f2c2812d9ed24b36c02a3d06ee83aeafe8b49
Author: Loïc Minier <lool at dooz.org>
Date:   Sun Jan 31 12:22:52 2010 +0100

    Fix missing symbols in .rel/.rela.plt sections
    
    Fix .rel.plt sections in the output to not only include .rel.plt
    sections from the input but also the .rel.iplt sections and to define
    the hidden symbols __rel_iplt_start and __rel_iplt_end around
    .rel.iplt as otherwise we get undefined references to these when
    linking statically to a multilib libc.a.  This fixes the static build
    under i386.
    
    Apply similar logic to rela.plt/.iplt and __rela_iplt/_plt_start/_end to
    fix the static build under amd64.
    
    Signed-off-by: Loïc Minier <lool at dooz.org>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 02ecd9fc73dc781a5ac0d8333c8071e6a28fe0e1
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Feb 6 21:34:49 2010 +0100

    configure: remove debugging code introduced in aa527b65d8187b97d73f889b6cae7b6ac6f82d32
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit aa527b65d8187b97d73f889b6cae7b6ac6f82d32
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Feb 6 21:22:19 2010 +0100

    configure: fix compilation on hosts without -fstack-protector-all
    
    Commit a0f291fc101a7ab3e40850a329da2cc2f2cd1f2d has enabled
    -fstack-protector-all on all targets, as the configure test is bogus.
    GCC only emits a warning and not an error if this option is not
    supported, so the configure scripts doesn't detect the problem.
    
    This patch changes the configure script to try the various flags
    with -Werror in addition to catch the possible warnings.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 22574c81a140abc7ddb7504e75972e5ffcde3909
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Feb 6 19:23:38 2010 +0100

    Update MAINTAINERS
    
    Remove Thiemo from the maintainers. Requiescat in pace.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c36bbb28ad62b4b1f494df0b199432d8c79876db
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Feb 6 17:02:45 2010 +0100

    target-mips: don't call cpu_loop_exit() from helper.c
    
    In helper.c AREG0 may not correspond do env, so it's not possible to
    call cpu_loop_exit() here. Call it from op_helper.c instead.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 3f26c1227e3b08010f2a65379cecf4cb4b5933fa
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Mon Jan 25 15:17:32 2010 +0200

    target-arm: refactor cp15.c13 register access
    
    Access the cp15.c13 TLS registers directly with TCG ops instead of with
    a slow helper. If the the cp15 read/write was not TLS register access,
    fall back to the cp15 helper.
    
    This makes accessing __thread variables in linux-user when apps are compiled
    with -mtp=cp15 possible. legal cp15 register to acces from linux-user are
    already checked in cp15_user_ok.
    
    While at it, make the cp15.c13 Thread ID registers available only on
    ARMv6K and newer.
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit fd052bf63a2ee8e8aff9bb9a51ce7c5f744561f4
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Mon Jan 25 14:30:49 2010 +0200

    linux-user: remove signal handler before calling abort()
    
    Qemu may hang in host_signal_handler after qemu has done a
    seppuku with cpu_abort(). But at this stage we are not really
    interested in target process coredump anymore, so unregister
    host_signal_handler to die grafefully.
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit cab1b4bdc7d42759e0487e73cc19946e77c82a3a
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Wed Jan 20 12:56:27 2010 +0200

    fix locking error with current_tb
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit da79030f47788d755031e0903be14bb5559eac94
Author: Loïc Minier <lool at dooz.org>
Date:   Tue Dec 29 22:06:13 2009 +0100

    linux-user: adapt uname machine to emulated CPU
    
    This patch for linux-user adapts the output of the emulated uname()
    syscall to match the configured CPU.  Tested with x86, x86-64 and arm
    emulation.
    
    Signed-off-by: Riku Voipio <riku.voipio at iki.fi>
    Signed-off-by: Loïc Minier <lool at dooz.org>

commit 95ff895f79c75ba13b63a3408d3b8a49791179c6
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Feb 6 16:59:11 2010 +0100

    target-ppc: change DCR helpers to target_long arguments
    
    The recent transition to always have the DCR helper functions take 32 bit
    values broke the PPC64 target, as target_long became 64 bits there.
    
    This patch changes DCR helpers to target_long arguments, and cast the values
    to 32 bit when needed.
    
    Fixes PPC64 build with --enable-debug-tcg
    
    Based on a patch from Alexander Graf <agraf at suse.de>
    Reported-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8f9db67c84475cd440edcec120bc1826473bf744
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Jan 20 09:16:49 2010 -0800

    tcg-x86_64: implement setcond
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 401d466da9dccf9bc6653ca30efdbd451c8d9190
Author: Richard Henderson <rth at twiddle.net>
Date:   Thu Jan 7 10:15:20 2010 -0800

    tcg: add tcg_invert_cond
    
    It is very handy to have a reliable mapping of a condition to its inverse.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit be210acb412c30f4264509810fed4de664d35e7d
Author: Richard Henderson <rth at twiddle.net>
Date:   Thu Jan 7 10:13:31 2010 -0800

    tcg: generic support for conditional set
    
    Defines setcond_{i32,i64} and setcond2_i32 for 64-on-32-bit.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a38e609c46e751f30277db6b3c07a3321c5c1d2a
Author: Richard Henderson <rth at twiddle.net>
Date:   Thu Jan 7 10:07:35 2010 -0800

    tcg: document double-word support opcodes.
    
    The internal opcodes brcond2, add2, sub2, mulu2 were undocumented.
    Place these in a new section that clearly indicates that they are
    not to be emitted by translators.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit fd7a446f162768c044b3bf3844f7605eeef351af
Author: Christian Krause <chkr at plauener.de>
Date:   Sun Jan 24 17:34:52 2010 +0100

    usb-linux: increase buffer for USB control requests
    
    The WLAN USB stick ZyXEL NWD271N (0586:3417) uses very large
    usb control transfers of more than 2048 bytes which won't fit
    into the buffer of the ctrl_struct. This results in an error message
    "husb: ctrl buffer too small" and a non-working device.
    Increasing the buffer size to 8192 seems to be a safe choice.
    
    Signed-off-by: Christian Krause <chkr at plauener.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 5c43485f1bc7ba3e255e52b882de68d91f34b63c
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Jan 30 21:27:54 2010 +0100

    mips/malta: fix typo
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 525e05147d5a3bdc08caa422d108c1ef71b584b5
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 6 14:57:04 2010 +0000

    PCI: show also host bridge data in "info pci" output
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c021f8e65f5009a5ab5711d9d5326fcab553ef1c
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Feb 6 09:20:13 2010 +0000

    PCI: fix multiple bridge problems
    
    When several PCI bridges were in use, monitor command "info pci" would
    enter into infinite loop. Buses behind the bridge were not discoverable
    because secondary and subordinate bus numbers were not used properly.
    Other buses were not found because bus search terminated on first miss.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit e1c6bbabee30db2e007e7fcbdaf088c54151f1d0
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Feb 5 18:48:36 2010 +0000

    Refactor DEC 21154 PCI bridge
    
    It's currently not used by PPC machines. Refactor so that also Sparc64
    machines can use it.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit b29a7def92a47a94fb1a8259db140a464341f778
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 4 14:31:53 2010 +0100

    usb-linux.c: remove write-only variable
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit bca403c8b87557b37bc8a9ff6434da1e1993537b
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 4 14:31:52 2010 +0100

    vnc.c: remove dead code
    
    to= is handled in qemu-sockets.c inet_listen.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 5e398dd2f075c23b54c913d71632b2deef8661a8
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 4 14:31:49 2010 +0100

    remove two dead assignments in target-i386/translate.c
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit a484156557b7595d93facf33089f5bab98d0d92f
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 4 14:31:51 2010 +0100

    exec.c: dead assignments
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 0dfbd514460045e3af1ed6805ab97ffedbbd1ab2
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Feb 4 14:31:50 2010 +0100

    fix undefined shifts by >32
    
    This one is for 0.12 too.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f101cd885ec148761738638ae42f7c5162b6d445
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Mon Jan 25 15:17:32 2010 +0200

    target-arm: refactor cp15.c13 register access
    
    Access the cp15.c13 TLS registers directly with TCG ops instead of with
    a slow helper. If the the cp15 read/write was not TLS register access,
    fall back to the cp15 helper.
    
    This makes accessing __thread variables in linux-user when apps are compiled
    with -mtp=cp15 possible. legal cp15 register to acces from linux-user are
    already checked in cp15_user_ok.
    
    While at it, make the cp15.c13 Thread ID registers available only on
    ARMv6K and newer.
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit d3219c7bd08056344f077bdc81eee71bcfc8b1c8
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Mon Jan 25 14:30:49 2010 +0200

    linux-user: remove signal handler before calling abort()
    
    Qemu may hang in host_signal_handler after qemu has done a
    seppuku with cpu_abort(). But at this stage we are not really
    interested in target process coredump anymore, so unregister
    host_signal_handler to die grafefully.
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit 26bc95a037ef5e65afacc89082725a34ba23fdbd
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Wed Jan 20 12:56:27 2010 +0200

    fix locking error with current_tb
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>

commit c4ab7899f273d602086ea231c8e200b64a0da7ce
Author: Loïc Minier <lool at dooz.org>
Date:   Tue Dec 29 22:06:13 2009 +0100

    linux-user: adapt uname machine to emulated CPU
    
    This patch for linux-user adapts the output of the emulated uname()
    syscall to match the configured CPU.  Tested with x86, x86-64 and arm
    emulation.
    
    Signed-off-by: Riku Voipio <riku.voipio at iki.fi>
    Signed-off-by: Loïc Minier <lool at dooz.org>

commit c5f32c99c6855d466737daf1cd262e7e92062f87
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Feb 3 21:44:17 2010 -0200

    Fix incoming migration with iothread
    
    Do not allow the vcpus to execute if the vm is stopped.
    
    Fixes -incoming with CONFIG_IOTHREAD enabled.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 9ded2744667292d020455f51664eb161a449c243
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Wed Feb 3 21:17:05 2010 +0100

    KVM: Move and rename regs_modified
    
    Touching the user space representation of KVM's VCPU state is -
    naturally - a per-VCPU thing. So move the dirty flag into KVM_CPU_COMMON
    and rename it at this chance to reflect its true meaning.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>

commit 03c63b945239dc4abcf3a687beda6eb3b0cd69bc
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Wed Feb 3 21:16:41 2010 +0100

    KVM: Make vmport KVM-compatible
    
    The vmport "device" accesses the VCPU registers, so it requires proper
    cpu_synchronize_state. Add it to vmport_ioport_read, which also
    synchronizes vmport_ioport_write.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>

commit 19ccb8ea1799f6f29ba5bc37d5f18dc8050d4029
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Wed Feb 3 21:16:37 2010 +0100

    KVM: x86: Fix up misreported CPU features
    
    From qemu-kvm: Kernels before 2.6.30 misreported some essential CPU
    features via KVM_GET_SUPPORTED_CPUID. Fix them up.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>

commit aee028b95d1d250a727583a14c864bc95ec27c69
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Thu Jan 28 09:30:51 2010 +0100

    KVM: Request setting of nmi_pending and sipi_vector
    
    The final version of VCPU events in 2.6.33 will allow to skip
    nmi_pending and sipi_vector on KVM_SET_VCPU_EVENTS. For now let's write
    them unconditionally, which is unproblematic for upstream due to missing
    SMP support. Future version which enable SMP will write them only on
    reset.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 62a2744ca09a0b44b8406ea0c430c4c67a2c3231
Author: Sheng Yang <sheng at linux.intel.com>
Date:   Tue Jan 26 19:21:16 2010 +0800

    kvm: Flush coalesced MMIO buffer periodly
    
    The default action of coalesced MMIO is, cache the writing in buffer, until:
    1. The buffer is full.
    2. Or the exit to QEmu due to other reasons.
    
    But this would result in a very late writing in some condition.
    1. The each time write to MMIO content is small.
    2. The writing interval is big.
    3. No need for input or accessing other devices frequently.
    
    This issue was observed in a experimental embbed system. The test image
    simply print "test" every 1 seconds. The output in QEmu meets expectation,
    but the output in KVM is delayed for seconds.
    
    Per Avi's suggestion, I hooked flushing coalesced MMIO buffer in VGA update
    handler. By this way, We don't need vcpu explicit exit to QEmu to
    handle this issue.
    
    Signed-off-by: Sheng Yang <sheng at linux.intel.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>

commit 117f8eb81dfdf51a0418fbf6d260cbb72bcd4a9d
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 29 19:49:02 2010 +0100

    qdev: Add rudimentary help for property value
    
    This provides the same information as reverted commit 2ba6edf0.  Not
    much, just better than nothing.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 40ea285c14673ba2105b30102b8ab3e13073f0b9
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 29 19:49:01 2010 +0100

    qdev: update help on -device
    
    While there, use "property" rather than "option", for consistency with
    -global.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 08350cf06a4aa1b703ff6968688fab9fd8e90fcc
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 29 19:49:00 2010 +0100

    qdev: Add help for device properties
    
    Option "-device DRIVER,?" and monitor command "device_add DRIVER,?"
    print the supported properties instead of creating a device.  The
    former also terminates the program.
    
    This is commit 2ba6edf0 (just reverted) done right.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5137b6accdbb43913c31e4d8579da4eb9957b0e7
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 29 19:48:59 2010 +0100

    Revert "qdev: Add help for device properties"
    
    This reverts commit 2ba6edf0dd740166632df80caa85992b20791a68.
    
    The commit has two issues:
    
    * When it runs from the monitor, e.g. "device_add e1000,?", it prints
      to stderr instead of the monitor.
    
    * Help looks to callers just like failed device creation.  This makes
      main() exit unsuccessfully on "-device e1000,?".
    
    We need to do this differently.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit eecbb9fe6f9a9cffd8d305f688b1be27d197a253
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 29 19:48:58 2010 +0100

    Revert "qdev: Add help for property value"
    
    This reverts commit 922910ce42d15bdb7c2347436b1b5798b5401de4.
    
    The commit has four issues:
    
    * When it runs from the monitor, e.g. "device_add e1000,mac=?", it
      prints to stderr instead of the monitor.
    
    * Help looks to callers just like failed device creation.  This makes
      main() exit unsuccessfully on "-device e1000,mac=?".
    
    * It has an undocumented side effect on -global: "-global e1000.mac=?"
      prints help, but only when we actually add an e1000 device.
    
    * It does not work for properties that accept the value "?".
    
    We need to do this differently.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ff952ba25deb927fea0b30b8a74e0059a47c1ef1
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 29 19:48:57 2010 +0100

    qdev: Fix exit code for -device ?
    
    Help was shoehorned into device creation, qdev_device_add().  Since
    help doesn't create a device, it returns NULL, which looks to callers
    just like failed device creation.  Monitor handler do_device_add()
    doesn't care, but main() exits unsuccessfully.
    
    Move help out of device creation, into new qdev_device_help().
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4a2594ddd35de7ae7c8cd9c6828cfe72245e6dc5
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 29 19:48:56 2010 +0100

    qemu-option: Make qemu_opts_foreach() accumulate return values
    
    Return the bitwise inclusive or of all return values instead of the
    last call's value.  This lets you find out whether any of the calls
    returned a non-zero value.
    
    No functional change, as existing users either don't care for the
    value, or pass non-zero abort_on_failure, which breaks the loop on the
    first non-zero return value.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f34e5688536839d9f43da36beb9f330d802ece09
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 29 10:34:01 2010 +0100

    Revert "QError: New QERR_INVALID_CPU_INDEX"
    
    This reverts commit 64a34bb14c0e358a6b2f14805e59ef25bf62d6d5.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit cc0c4185e54867ef93c4b4dc0a8f3ecbc20ece42
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jan 29 10:34:00 2010 +0100

    monitor: Use QERR_INVALID_PARAMETER instead of QERR_INVALID_CPU_INDEX
    
    This changes the error message from "Invalid CPU index" to "Invalid
    parameter index" in the human monitor.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c6027f56dc547b5028f0b560bcf4671b6e2a765d
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Jan 25 14:23:08 2010 +0100

    monitor: convert do_migrate_set_downtime() to QObject
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b0fbf7d3420f5f66be9728b1b070846bb054c872
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Jan 25 14:23:07 2010 +0100

    monitor: Use argument type 'T' for migrate_set_downtime
    
    Before, it used type 's', which strips quotes and interprets escapes,
    and is quite inappropriate for QMP.
    
    Negative arguments are no flushed to zero.  Before, they were cast to
    uint32_t, which wrecked the sign.
    
    Ridiculously large arguments including infinities are now rejected.
    Before, they were interpreted as zero.  Same for NaN.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit fccfb11e0d24ece016825ae064230a2a05d23ed8
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Jan 25 14:23:06 2010 +0100

    monitor: New argument type 'T'
    
    This is a double value with optional suffixes ms, us, ns.  We'll need
    this to get migrate_set_downtime() QMP-ready.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5fd9083cd8753be3a0bb9d772efdf1d7aa71c59c
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Jan 25 14:23:05 2010 +0100

    monitor: convert do_migrate_set_speed() to QObject
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5667c493c430256c99002b719383f0e911cb53a8
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Jan 25 14:23:04 2010 +0100

    monitor: Use argument type 'b' for migrate_set_speed
    
    Before, it used type 's', which strips quotes and interprets escapes,
    and is quite inappropriate for QMP.
    
    Negative arguments are no flushed to zero.  Before, they were cast to
    uint32_t, which wrecked the sign.
    
    Ridiculously large arguments including infinities are now rejected.
    Before, they were interpreted as zero.  Same for NaN.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3350a4dd07cf735c323655cd3c2119283ff9347e
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Jan 25 14:23:03 2010 +0100

    monitor: New argument type 'b'
    
    This is a double value with optional suffixes G, g, M, m, K, k.  We'll
    need this to get migrate_set_speed() QMP-ready.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit acc3b0336c24a0f8c2a9638fb7ae8580484b59ca
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Jan 27 17:16:38 2010 +0100

    QDict: New qdict_get_double()
    
    Helper function just like qdict_get_int(), just for QFloat/double.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9fec543fa69b03b82b5ffe4d1bf280701efaad1e
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Jan 25 14:23:01 2010 +0100

    monitor: Document argument type 'M'
    
    Was forgotten in commit b6e098d7.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9da92c494452d11de4a4442929784fe7f7f73046
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Feb 1 14:15:37 2010 -0600

    seabios: use correct submodule hash
    
    Commit 392ecf543dd2b219828374850d833296a55567ea introduced an accidental change
    to the roms/seabios submodule.  This commit partially reverts that commit to
    ensure the seabios module points to the right commit.
    
    Reported-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 059bca46bbfd7f16cd2ccca631b91334e08d9abb
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Jan 31 13:41:07 2010 +0000

    bsd/darwin-user: mmap_frag() users only check for -1 error
    
    See also ee636500d6eab44b83f09cb730b67226b70423b1.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 416c60602f8170eb9deca65ae2236d18cd7d877e
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Sun Jan 31 11:26:54 2010 +0100

    cris: Prettify register dumps.
    
    Use friendly names for registers in the dumps.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 698235aab6f55e960203dc2ef9a3a580982dae2f
Author: Artyom Tarasenko <atar4qemu at googlemail.com>
Date:   Sun Jan 31 03:27:36 2010 +0100

    sparc32 don't mark page dirty when failing
    
    if the access check fails, the page can not be modified
    and shouldn't be marked dirty.
    The patch fixes the "hsfs_putpage: dirty HSFS page"
    error in Solaris guests.
    
    Signed-off-by: Artyom Tarasenko <atar4qemu at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 95819af01519c810aa2b9b4a6bcc944eca6d80d0
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Jan 30 19:48:12 2010 +0000

    sparc64: implement basic IOMMU/interrupt handling
    
    Also add reset control.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit a4d5f62ceba66536da1a62d19840a7fd4be6ad9b
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Jan 29 18:15:21 2010 +0000

    Sparc64: byte swap IO port access
    
    This requires an updated OpenBIOS image.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 6c510fbf601fd8c6891b2f1d7165ceb82308a16f
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 27 13:12:36 2010 +0100

    virtio-blk: Fix error cases which ignored rerror/werror
    
    If an I/O request fails right away instead of getting an error only in the
    callback, we still need to consider rerror/werror.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f1b5286803ee66f73034f1f5e0e1cf14f4415f94
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 27 13:12:35 2010 +0100

    virtio-blk: Fix restart after read error
    
    Current code assumes that only write requests are ever going to be restarted.
    This is wrong since rerror=stop exists. Instead of directly starting writes,
    use the same request processing as used for new requests.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bc6694d43a68baa864dba7742354a379a3347f33
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 27 13:12:34 2010 +0100

    virtio_blk: Factor virtio_blk_handle_request out
    
    We need a function that handles a single request. Create one by splitting out
    code from virtio_blk_handle_output.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4516e45f82b7ee0cedce875477e785989a719b67
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jan 29 15:12:48 2010 +0100

    cirrus: Properly re-register cirrus_linear_io_addr on vram unmap
    
    This fixes CONFIG_FB_CIRRUS for Linux guests and probably much more:
    
    When switching away from linearly mapped vram, we also have to restore
    the I/O handlers for the LFB.
    
    This regression was once introduced by commit 2bec46dc97.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9ae84f0a6d4b71efff6b830eb7cab408cf613dbc
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 27 21:52:19 2010 +0530

    virtio-serial-bus: Fix bus initialisation and allow for bus identification
    
    This commit enables one to use multiple virtio-serial devices and to
    assign ports to arbitrary devices like this:
    
      -device virtio-serial,id=foo -device virtio-serial,id=bar \
      -device virtserialport,bus=foo.0,name=foo \
      -device virtserialport,bus=bar.0,name=bar
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 794401ca9cdc17faa2049404b5498df4ef239533
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Tue Jan 26 13:55:55 2010 +0100

    softmmu: Dont clobber retaddr in slow_ldx().
    
    When splitting up unaligned IO accesses, ld calls slow_ld which was
    clobbering retaddr.
    
    AFAIK the problem only shows up when running emulations with -icount
    that may abort TB execution on IO accesses.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 6792aa115e05d59419dd167c772496f41fc451cc
Author: Loïc Minier <lool at dooz.org>
Date:   Wed Jan 20 11:35:54 2010 +0100

    Solaris: test for presence of commands with has()
    
    Signed-off-by: Loïc Minier <lool at dooz.org>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 0dba619507150125cfe04c77b6b8e0d210bdbc07
Author: Loïc Minier <lool at dooz.org>
Date:   Thu Jan 28 21:26:51 2010 +0000

    Add and use has() and path_of() funcs
    
    Add has() and path_of() funcs and use them across configure; has()
    will test whether a command or builtin is available; path_of() will
    search the PATH for executables and return the full pathname if found.
    
    Signed-off-by: Loïc Minier <lool at dooz.org
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit a0dfd8a4152ff33f98f4a94218a25c960d301114
Author: Loïc Minier <lool at dooz.org>
Date:   Thu Jan 28 21:15:18 2010 +0000

    Check for sdl-config before calling it
    
    Check whether sdl-config is available before calling it, otherwise
    ./configure triggers a warning:
        ./configure: 957: sdl-config: not found
    
    If neither the .pc file not sdl-config are present, disable SDL support.
    
    Signed-off-by: Loïc Minier <lool at dooz.org>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 82617d7ce3bdeef6fa32f71f9976b2f4bf3589e9
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Jan 27 18:01:17 2010 -0200

    Monitor: Fix command execution regression
    
    Function is_async_return() added by commit 940cc30d0d4 assumes
    that 'data', which is returned by handlers, is always a QDict.
    
    This is not true, as QLists can also be returned, in this case
    we'll get a segfault.
    
    Fix that by checking if 'data' is a QDict.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 8f4efc55887957f7ca7d87d4a6b58463cfc9d0d6
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Thu Jan 28 00:00:53 2010 +0300

    sparc64: reimplement tick timers v4
    
    sparc64 timer has tick counter which can be set and read,
    and tick compare value used as deadline to fire timer interrupt.
    The timer is not used as periodic timer, instead deadline
    is set each time new timer interrupt is needed.
    
    v3 -> v4:
    - coding style
    
    v2 -> v3:
    - added missing timer debug output macro
    - CPUTimer struct and typedef moved to cpu.h
    - change CPU_SAVE_VERSION to 6, older save formats not supported
    
    v1 -> v2:
    - new conversion helpers cpu_to_timer_ticks and timer_to_cpu_ticks
    - save offset from clock source to implement cpu_tick_set_count
    - renamed struct sun4u_timer to CPUTimer
    - load and save cpu timers
    
    v0 -> v1:
    - coding style
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 4f690853bb3053acc6de034b15170894afd9da4e
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Wed Jan 27 17:47:48 2010 +0000

    sparc64: correct write extra bits to cwp
    
    - correctly fit to cwp if provided window number is out of range
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 28b150bfb08871717e1759489549e34065456bfd
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Jan 27 17:47:33 2010 +0000

    Fix BSD build
    
    <sys/wait.h> must be included in order to use WIF* macros.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 28e68d68b0c88cb5eb0d9fa6c30914a3cdddebfc
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jan 27 10:46:00 2010 -0600

    Fix regression in option parsing
    
    Commit ec229bbe7 broke invocation without a specific -hda.  IOW, qemu foo.img.
    The lack of an optind update caused an infinite loop.
    
    Reported-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b4bf0a9a69961d8b7b3817f79dafae77fbd305bd
Author: Edgar E. Iglesias <edgar.iglesias at petalogix.com>
Date:   Sun Jan 24 20:38:29 2010 +0100

    pflash: Buffer block writes
    
    Buffer block writes to avoid flushing every word access onto backing
    storage device. This significantly speeds up flash emulation for flashes
    connected through an 8 or 16-bit bus combined with backing storage (-pflash).
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at petalogix.com>

commit 625a5befc2e3200b396594f002218d235e375da5
Author: Adam Litke <agl at us.ibm.com>
Date:   Tue Jan 26 14:17:35 2010 -0600

    virtio: Add memory statistics reporting to the balloon driver
    
    When using ballooning to manage overcommitted memory on a host, a system for
    guests to communicate their memory usage to the host can provide information
    that will minimize the impact of ballooning on the guests.  The current method
    employs a daemon running in each guest that communicates memory statistics to a
    host daemon at a specified time interval.  The host daemon aggregates this
    information and inflates and/or deflates balloons according to the level of
    host memory pressure.  This approach is effective but overly complex since a
    daemon must be installed inside each guest and coordinated to communicate with
    the host.  A simpler approach is to collect memory statistics in the virtio
    balloon driver and communicate them directly to the hypervisor.
    
    Signed-off-by: Adam Litke <agl at us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 940cc30d0d456781adcc48bf9f8c5582026d7983
Author: Adam Litke <agl at us.ibm.com>
Date:   Mon Jan 25 12:18:44 2010 -0600

    New API for asynchronous monitor commands
    
    Qemu has a number of commands that can operate asynchronously (savevm, migrate,
    etc) and it will be getting more.  For these commands, the user monitor needs
    to be suspended, but QMP monitors could continue to to accept other commands.
    This patch introduces a new command API that isolates the details of handling
    different monitor types from the actual command execution.
    
    A monitor command can use this API by implementing the mhandler.cmd_async
    handler (or info_async if appropriate).  This function is responsible for
    submitting the command and does not return any data although it may raise
    errors.  When the command completes, the QMPCompletion callback should be
    invoked with its opaque data and the command result.
    
    The process for submitting and completing an asynchronous command is different
    for QMP and user monitors.  A user monitor must be suspended at submit time and
    resumed at completion time.  The user_print() function must be passed to the
    QMPCompletion callback so the result can be displayed properly.  QMP monitors
    are simpler.  No submit time setup is required.  When the command completes,
    monitor_protocol_emitter() writes the result in JSON format.
    
    This API can also be used to implement synchronous commands.  In this case, the
    cmd_async handler should immediately call the QMPCompletion callback.  It is my
    hope that this new interface will work for all commands, leading to a
    drastically simplified monitor.c once all commands are ported.
    
    Signed-off-by: Adam Litke <agl at us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e2a305fb13ff0f5cf6ff805555aaa90a5ed5954c
Author: Christoph Hellwig <hch at lst.de>
Date:   Tue Jan 26 14:49:08 2010 +0100

    block: avoid creating too large iovecs in multiwrite_merge
    
    If we go over the maximum number of iovecs support by syscall we get
    back EINVAL from the kernel which translate to I/O errors for the guest.
    
    Add a MAX_IOV defintion for platforms that don't have it.  For now we use
    the same 1024 define that's used on Linux and various other platforms,
    but until the windows block backend implements some kind of vectored I/O
    it doesn't matter.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6185c5783c50ab5bb4bcdc317772848278cb9bc1
Author: Stefano Stabellini <stefano.stabellini at eu.citrix.com>
Date:   Mon Jan 25 12:54:57 2010 +0000

    vnc_refresh: calling vnc_update_client might free vs
    
    Hi all,
    this patch fixes another bug in vnc_refresh: calling vnc_update_client
    might cause vs to be free()ed, in this case we cannot access vs->next
    right after to examine the next item on the list.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini at eu.citrix.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 053965c7ff5b260672719884e644ce4117d01995
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Jan 22 14:26:38 2010 +0100

    block/raw-posix: Abort on pread beyond end of non-growable file
    
    This shouldn't happen under any normal circumstances. However, it looks like
    it's possible to achieve this with corrupted images. Without this patch
    raw_pread is hanging in an endless loop in such cases.
    
    The patch is not affecting growable files, for which such reads happen in
    normal use cases. raw_pread_aligned already handles these cases and won't
    return zero in the first place.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f8a83245d9ec685bc6aa6173d6765fe03e20688f
Author: Herve Poussineau <hpoussin at reactos.org>
Date:   Sun Jan 24 21:23:56 2010 +0000

    win32: pair qemu_memalign() with qemu_vfree()
    
    Win32 suffers from a very big memory leak when dealing with SCSI devices.
    Each read/write request allocates memory with qemu_memalign (ie
    VirtualAlloc) but frees it with qemu_free (ie free).
    Pair all qemu_memalign() calls with qemu_vfree() to prevent such leaks.
    
    Signed-off-by: Herve Poussineau <hpoussin at reactos.org>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a35aed57bf47584b5f55b71acf8daba19decf12a
Author: Herve Poussineau <hpoussin at reactos.org>
Date:   Sun Jan 24 21:18:36 2010 +0000

    win32/sdl: Fix toggle full screen
    
    Toggle full screen on Win32/SDL 1.2.13 was broken by commit
    c18a2c360e3100bbd71162cf922dcd8c429a8b71. Re-add the call to
    do_sdl_resize() which was removed in this revision
    
    Signed-off-by: Herve Poussineau <hpoussin at reactos.org>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d2d5adcb58d32e8ac6c168c4c2e72cf0f90dcab0
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Thu Jan 21 22:24:58 2010 +0100

    Tell users about out-of-memory errors
    
    Aborting without an error message when memory is short
    is not helpful, so print the reason for the abort.
    
    Try
    	qemu -m 1000000
    or
    	qemu -m 2000 (win32)
    
    to force an out-of-memory error.
    
    v2:
    * Fix error message for win32.
    * Fix error message for posix_memalign.
    
    Thanks to malc for the hints.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 776e1bbb6cf4fe66a93c1a5dd814bbb650deca00
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Tue Jan 26 21:59:57 2010 +0000

    PCI: fix bridge configuration
    
    PCI bridges' qdev info structures must indicate bridge header type,
    otherwise critical bridge registers (esp. PCI_PRIMARY_BUS,
    PCI_SECONDARY_BUS, PCI_SUBORDINATE_BUS) will not be writable.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f139a4125682ecd45d96c2d1523443d1be65405c
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Jan 20 14:26:34 2010 -0200

    fix savevm command without id or tag
    
    savevm without id or tag segfaults in:
    
    (gdb) bt
    #0  0x00007f600a83bf8a in __strcmp_sse42 () from /lib64/libc.so.6
    #1  0x00000000004745b6 in bdrv_snapshot_find (bs=<value optimized out>,
        sn_info=0x7fff996be280, name=0x0) at savevm.c:1631
    #2  0x0000000000475c80 in del_existing_snapshots (name=<value optimized out>,
        mon=<value optimized out>) at savevm.c:1654
    #3  do_savevm (name=<value optimized out>, mon=<value optimized out>)
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7b88e48ba56bd849464e44717e81ff129695cc38
Author: Christoph Hellwig <hch at lst.de>
Date:   Thu Jan 21 16:12:09 2010 +0100

    qcow2: rename two QCowAIOCB members
    
    The n member is not very descriptive and very hard to grep, rename it to
    cur_nr_sectors to better indicate what it is used for.  Also rename
    nb_sectors to remaining_sectors as that is what it is used for.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9a2d77ad0dd6b3e93669543b846a75c02878eba7
Author: Christoph Hellwig <hch at lst.de>
Date:   Wed Jan 20 18:13:42 2010 +0100

    block: kill BDRV_O_CREAT
    
    The BDRV_O_CREAT option is unused inside qemu and partially duplicates
    the bdrv_create method.  Remove it, and the -C option to qemu-io which
    isn't used in qemu-iotests anyway.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6987307ca30aead67e8545934186c92f942710f6
Author: Christoph Hellwig <hch at lst.de>
Date:   Wed Jan 20 18:13:25 2010 +0100

    block: clean up bdrv_open2 structure a bit
    
    Check the whitelist as early as possible instead of continuing the
    setup, and move all the error handling code to the end of the
    function.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 392ecf543dd2b219828374850d833296a55567ea
Author: Amit Shah <amit.shah at redhat.com>
Date:   Thu Jan 21 16:19:23 2010 +0530

    virtio-console: Automatically use virtio-serial-bus for the older -virtioconsole invocation
    
    These hunks got dropped off mysteriously during the rebasing of my
    virtio-serial series. Thanks go to Markus for noticing it.
    
    Without these fixes, -virtioconsole doesn't actually have any effect.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Reported-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4c36a2ffac3a14e57fe44718010601fbcef228c1
Author: Amit Shah <amit.shah at redhat.com>
Date:   Thu Jan 21 15:43:26 2010 +0530

    virtio-console: Rename virtio-serial.c back to virtio-console.c
    
    This file was renamed to ease the reviews of the recent changes
    that went in.
    
    Now that the changes are done, rename the file back to its original
    name.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3c089e15b6b92894e43c02b3ae87232e4b8cab45
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Jan 20 20:54:18 2010 +0100

    Fix generation of config-host.h
    
    This patch improves Anthony patch a6a853c86275efd89996ce59612a000c5873db5d
    
    Once there, it improves handling of object files for qemu tools
    
    cc: Andreas Färber <andreas.faerber at web.de>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 42ee76fe82093ba914f0dc83d2decbcf68866144
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Jan 20 18:01:49 2010 +0100

    ide save/restore current transfer fields
    
    If migration takes place between write of the bmdma address register and
    write of the command register (to initiate DMA), the destination will
    not properly start the DMA op, hanging the guest:
    
    ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
    ata1.00: cmd c8/00:16:41:00:00/00:00:00:00:00/e0 tag 0 dma 11264 in
             res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
    ata1.00: status: { DRDY }
    
    Fix by sending current transfer information in the migration data.
    
    We need to update ide version to 4 for this to work.  As we don't
    have subsectios, we need to chain the update increase until
    vmstate_ide_pci (quintela)
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d5e4acf7dfa1786c3825632362f5a73631d1eb55
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Jan 21 19:15:41 2010 -0200

    PCI: do_pci_info(): PCI bridge devices support
    
    This commit completes the do_pci_info() conversion to
    QObject by adding support to PCI bridge devices.
    
    This is done by recursively adding devices in the
    "pci_bridge" key.
    
    IMPORTANT: This code is being added separately because I could
    NOT test it properly. According to Michael Tsirkin, it depends
    on ultrasparc and it would take time to do the proper setup.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 163c8a59f6f9c370b74a81856194757e3773b358
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Jan 21 19:15:40 2010 -0200

    PCI: Convert pci_info() to QObject
    
    The returned QObject is a QList of all buses. Each bus is
    represented by a QDict, which has a key with a QList of all
    PCI devices attached to it. Each device is represented by
    a QDict.
    
    As has happended to other complex conversions, it's hard to
    split this commit as part of it are new functions which are
    called by each other.
    
    IMPORTANT: support for printing PCI bridge attached devices
    is NOT part of this commit, it's going to be added by the
    next commit, as it's untested.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit df10ce6aa96ef6782250cec8ab53742144ed5c93
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Jan 21 19:15:39 2010 -0200

    QDict: Introduce qdict_get_qdict()
    
    A helper to retrieve a QDict from a QDict.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 59eb1c85cd5f416e8f8743db27d0c98c15b64d18
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Jan 21 19:15:38 2010 -0200

    QList: Introduce QLIST_FOREACH_ENTRY()
    
    Iterate over QList entries, it's needed to call qlist_entry_obj()
    to retrieve the stored QObject.
    
    I'm not sure if it's ok to have this, because it's not as easy as
    qlist_iter() and the QListEntry data type is now exposed to the
    users, which means we have one more struct to be maintained when
    we have libqmp.
    
    Adding anyway, as it's more compact and people are asking for it.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0a7fc983ceb21ee45a9ad4dbc9163394f8aa0fb6
Author: Naphtali Sprei <nsprei at redhat.com>
Date:   Thu Jan 21 14:40:41 2010 +0200

    Read-only device changed to opens it's file for read-only.
    
    Signed-off-by: Naphtali Sprei <nsprei at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 058fc8c768f81f9140db511171185dc8e0676163
Author: Naphtali Sprei <nsprei at redhat.com>
Date:   Thu Jan 21 14:40:39 2010 +0200

    Ask for read-write permissions when opening files
    
    Found some places that seems needs this explicitly, now that
    read-write is not the default.
    
    Signed-off-by: Naphtali Sprei <nsprei at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 37226ad946597126f5bce36f75f818b12fe4b5b8
Author: Naphtali Sprei <nsprei at redhat.com>
Date:   Thu Jan 21 14:40:37 2010 +0200

    No need anymoe for bdrv_set_read_only
    
    Signed-off-by: Naphtali Sprei <nsprei at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 95d5f08bad10dba8c623cb2b9625017d0e16cb2e
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Wed Jan 20 22:25:27 2010 +0100

    Documentation: Add missing texi description for command line options
    
    Some more command line options had entries for command line help,
    but documentation for texi and derived formats (man, html, info)
    was missing.
    
    For conditional options, the texi documentation was added
    unconditionally.
    
    This seems reasonable because typically man pages are
    shared, and html users expect to see one documentation
    (not several nearly identical documents for the different
    systems).
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 69a319d1316406c2317d01ab09d6523d0578c1d2
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Wed Jan 20 22:58:35 2010 +0100

    Documentation: Improve command line help for -device option
    
    * Fix column for help text.
    
    * Give some more help, especially for the new '?' parameters.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 922910ce42d15bdb7c2347436b1b5798b5401de4
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Wed Jan 20 22:58:34 2010 +0100

    qdev: Add help for property value
    
    When called with property value "?",
    a help text will be printed (instead of an error message).
    
    This is useful for command lines like
        	qemu -device e1000,mac=?
    and is already standard for other command line options.
    
    A better help text could be provided by extending
    the Property structure with a desc field.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2ba6edf0dd740166632df80caa85992b20791a68
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Wed Jan 20 22:58:33 2010 +0100

    qdev: Add help for device properties
    
    When called with property "?", a list of supported
    properties will be printed (instead of an error message).
    
    This is useful for command lines like
    	qemu -device e1000,?
    and was already standard for other options like model=?
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ee636500d6eab44b83f09cb730b67226b70423b1
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Jan 20 00:56:24 2010 +0100

    mmap_frag() users only check for -1 error
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a0f291fc101a7ab3e40850a329da2cc2f2cd1f2d
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Jan 20 00:56:23 2010 +0100

    Check availavility of -fstack-protector-all
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 849583050d5f6f782718be8cb50688978973fbea
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Wed Jan 20 00:56:22 2010 +0100

    Enable _FORTIFY_SOURCE=2
    
    _FORTIFY_SOURCE is a Glibc feature which adds memory and string function
    protection.
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit acdc3f0c59d076099c63425158c4811aaee984b6
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Jan 20 00:56:21 2010 +0100

    check pipe() return value
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit fb7e378cf9cba1d75d066da4d99f23547627b8ae
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Wed Jan 20 00:56:20 2010 +0100

    linux-user/mmap.c: fix warnings with _FORTIFY_SOURCE
    
    CC    i386-linux-user/mmap.o
    cc1: warnings being treated as errors
    /usr/src/RPM/BUILD/qemu-0.11.92/linux-user/mmap.c: In function 'mmap_frag':
    /usr/src/RPM/BUILD/qemu-0.11.92/linux-user/mmap.c:253: error: ignoring return value of 'pread', declared with attribute warn_unused_result
    /usr/src/RPM/BUILD/qemu-0.11.92/linux-user/mmap.c: In function 'target_mmap':
    /usr/src/RPM/BUILD/qemu-0.11.92/linux-user/mmap.c:477: error: ignoring return value of 'pread', declared with attribute warn_unused_result
    make[1]: *** [mmap.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 27e3ddd3e0e9a8454e4cd4eebff9db8cd16c1949
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Wed Jan 20 00:56:19 2010 +0100

    monitor.c: fix warnings with _FORTIFY_SOURCE
    
    CC    i386-softmmu/monitor.o
    cc1: warnings being treated as errors
    /usr/src/RPM/BUILD/qemu-0.11.92/monitor.c: In function 'do_memory_save':
    /usr/src/RPM/BUILD/qemu-0.11.92/monitor.c:1318: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result
    /usr/src/RPM/BUILD/qemu-0.11.92/monitor.c: In function 'do_physical_memory_save':
    /usr/src/RPM/BUILD/qemu-0.11.92/monitor.c:1345: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result
    make[1]: *** [monitor.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit dc330e282a9aa2daf1a8703140917a4a2f85397a
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Wed Jan 20 00:56:18 2010 +0100

    vl.c: fix warning with _FORTIFY_SOURCE
    
    CC    i386-softmmu/vl.o
    cc1: warnings being treated as errors
    /usr/src/RPM/BUILD/qemu-0.11.92/vl.c: In function 'qemu_event_increment':
    /usr/src/RPM/BUILD/qemu-0.11.92/vl.c:3404: error: ignoring return value of 'write', declared with attribute warn_unused_result
    /usr/src/RPM/BUILD/qemu-0.11.92/vl.c: In function 'main':
    /usr/src/RPM/BUILD/qemu-0.11.92/vl.c:5774: error: ignoring return value of 'write', declared with attribute warn_unused_result
    /usr/src/RPM/BUILD/qemu-0.11.92/vl.c:6064: error: ignoring return value of 'chdir', declared with attribute warn_unused_result
    /usr/src/RPM/BUILD/qemu-0.11.92/vl.c:6083: error: ignoring return value of 'chdir', declared with attribute warn_unused_result
    make[1]: *** [vl.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9f99cee7fa88af069cb583b0feb8c7910455b218
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Wed Jan 20 00:56:17 2010 +0100

    usb-linux.c: fix warning with _FORTIFY_SOURCE
    
    CC    usb-linux.o
    cc1: warnings being treated as errors
    usb-linux.c: In function 'usb_host_read_file':
    usb-linux.c:1204: error: ignoring return value of 'fgets', declared with attribute warn_unused_result
    make: *** [usb-linux.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5a01e99fab34b2ec70148b8b92614158cca30800
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Wed Jan 20 00:56:16 2010 +0100

    net/slirp.c: fix warning with _FORTIFY_SOURCE
    
    CC    net/slirp.o
    cc1: warnings being treated as errors
    net/slirp.c: In function 'slirp_smb_cleanup':
    net/slirp.c:470: error: ignoring return value of 'system', declared with attribute warn_unused_result
    make: *** [net/slirp.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit db89119d40390b8db0ea65278a6020e9653651ff
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Wed Jan 20 00:56:15 2010 +0100

    block/qcow2.c: fix warnings with _FORTIFY_SOURCE
    
    CC    block/qcow2.o
    cc1: warnings being treated as errors
    block/qcow2.c: In function 'qcow_create2':
    block/qcow2.c:829: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/qcow2.c:838: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/qcow2.c:839: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/qcow2.c:841: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/qcow2.c:844: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/qcow2.c:849: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/qcow2.c:852: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/qcow2.c:855: error: ignoring return value of 'write', declared with attribute warn_unused_result
    make: *** [block/qcow2.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2dedf83ef0cc3463783d6b71bf1b25476f691f3a
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Wed Jan 20 00:56:14 2010 +0100

    block/vvfat.c: fix warnings with _FORTIFY_SOURCE
    
    CC    block/vvfat.o
    cc1: warnings being treated as errors
    block/vvfat.c: In function 'commit_one_file':
    block/vvfat.c:2259: error: ignoring return value of 'ftruncate', declared with attribute warn_unused_result
    make: *** [block/vvfat.o] Error 1
      CC    block/vvfat.o
    In file included from /usr/include/stdio.h:912,
                     from ./qemu-common.h:19,
                     from block/vvfat.c:27:
    In function 'snprintf',
        inlined from 'init_directories' at block/vvfat.c:871,
        inlined from 'vvfat_open' at block/vvfat.c:1068:
    /usr/include/bits/stdio2.h:65: error: call to __builtin___snprintf_chk will always overflow destination buffer
    make: *** [block/vvfat.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1640366c357b19941f2fed868ac184c4c8951fa2
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Wed Jan 20 00:56:13 2010 +0100

    block/vmdk.o: fix warnings with _FORTIFY_SOURCE
    
    CC    block/vmdk.o
    cc1: warnings being treated as errors
    block/vmdk.c: In function 'vmdk_snapshot_create':
    block/vmdk.c:236: error: ignoring return value of 'ftruncate', declared with attribute warn_unused_result
    block/vmdk.c: In function 'vmdk_create':
    block/vmdk.c:775: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/vmdk.c:776: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/vmdk.c:778: error: ignoring return value of 'ftruncate', declared with attribute warn_unused_result
    block/vmdk.c:784: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/vmdk.c:790: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/vmdk.c:807: error: ignoring return value of 'write', declared with attribute warn_unused_result
    make: *** [block/vmdk.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3e1a8134be5cd84793c4eef69227462bd6906117
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Wed Jan 20 00:56:12 2010 +0100

    block/qcow.c: fix warnings with _FORTIFY_SOURCE
    
    CC    block/qcow.o
    cc1: warnings being treated as errors
    block/qcow.c: In function 'qcow_create':
    block/qcow.c:804: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/qcow.c:806: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/qcow.c:811: error: ignoring return value of 'write', declared with attribute warn_unused_result
    make: *** [block/qcow.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 31f38120a95980803267fa446f14a864750cdbb5
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Wed Jan 20 00:56:11 2010 +0100

    block/cow.c: fix warnings with _FORTIFY_SOURCE
    
    CC    block/cow.o
    cc1: warnings being treated as errors
    block/cow.c: In function 'cow_create':
    block/cow.c:251: error: ignoring return value of 'write', declared with attribute warn_unused_result
    block/cow.c:253: error: ignoring return value of 'ftruncate', declared with attribute warn_unused_result
    make: *** [block/cow.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4817d32757cf499a2af375d242ead9394e613882
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Wed Jan 20 00:56:10 2010 +0100

    posix-aio-compat.c: fix warning with _FORTIFY_SOURCE
    
    CC    posix-aio-compat.o
    cc1: warnings being treated as errors
    posix-aio-compat.c: In function 'aio_signal_handler':
    posix-aio-compat.c:505: error: ignoring return value of 'write', declared with attribute warn_unused_result
    make: *** [posix-aio-compat.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7c7c0629a3391691e76cb2b488bb6d461edc9648
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Jan 20 00:56:09 2010 +0100

    force to test result for qemu_write_full()
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7b5f699dbdf64cf9657e2955bccccc173d9b09fc
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Wed Jan 20 00:56:08 2010 +0100

    Introduce qemu_write_full()
    
    A variant of write(2) which handles partial write.
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5d757b563d59142ca81e1073a8e8396750a0ad1a
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 20 15:04:01 2010 +0100

    qcow2: Don't ignore qcow2_alloc_clusters return value
    
    Now that qcow2_alloc_clusters can return error codes, we must handle them in
    the callers of qcow2_alloc_clusters.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit db3a964fb6d66bd50faca76968479bb62ed25330
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 20 15:03:06 2010 +0100

    qcow2: Don't ignore update_refcount return value
    
    update_refcount can return errors that need to be handled by the callers.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7322afe7eaa7211285a38ccfb754a0a52911e394
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 20 15:03:05 2010 +0100

    qcow2: Allow updating no refcounts
    
    There's absolutely no problem with updating the refcounts of 0 clusters.
    At least snapshot code is doing this and would fail once the result of
    update_refcount isn't ignored any more.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 09508d13f3874d07bf25f8dd9f5303cbd8139d1b
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 20 15:03:04 2010 +0100

    qcow2: Improve error handling in update_refcount
    
    If update_refcount fails, try to undo any changes made so far to avoid
    inconsistencies in the image file.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f2b7c8b37045e0e030ef027cfb6d574558fb732a
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 20 15:03:03 2010 +0100

    qcow2: Fix error handling in grow_refcount_table
    
    Return the appropriate error code instead of -EIO.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9a8c4cceaf670193270995b95378faa3867db999
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 20 15:03:02 2010 +0100

    block: Return original error codes in bdrv_pread/write
    
    Don't assume -EIO but return the real error.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 148da7ea9d66bad0d5b6512074fbedc4e2640e8f
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 20 15:03:01 2010 +0100

    qcow2: Return 0/-errno in qcow2_alloc_cluster_offset
    
    Returning 0/-errno allows it to distingush different errors classes. The
    cluster offset of newly allocated clusters is now returned in the QCowL2Meta
    struct.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1e3e8f1a437cafa3b23486aea36be3c9c0bd4e28
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 20 15:03:00 2010 +0100

    qcow2: Return 0/-errno in get_cluster_table
    
    Switching to 0/-errno allows it to distinguish different error cases.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1d36e3aae338a71ba449f561b6343bb313f70968
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 20 15:02:59 2010 +0100

    qcow2: Fix error handling in qcow_save_vmstate
    
    Don't assume success but pass the bdrv_pwrite return value on.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit fb8fa77ce143b0911658b4bcbe641c869e26ceee
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 20 15:02:58 2010 +0100

    qcow2: Fix error handling in qcow2_grow_l1_table
    
    Return the appropriate error value instead of always using EIO. Don't free the
    L1 table on errors, we still need it.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 81a1b45ac7a3a2d4536b3827defdcbabdb221051
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Jan 20 13:07:35 2010 +0100

    monitor: convert do_cpu_set() to QObject, QError
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 64a34bb14c0e358a6b2f14805e59ef25bf62d6d5
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Jan 20 13:07:34 2010 +0100

    QError: New QERR_INVALID_CPU_INDEX
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 95fada8c2cb2ef175b49a1db3e4e041d5a8ea46d
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Jan 20 13:07:33 2010 +0100

    monitor: convert do_physical_memory_save() to QError
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c34ed28b6b9915650f5f8a6353e773a4b34afce7
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Jan 20 13:07:32 2010 +0100

    monitor: convert do_memory_save() to QError
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3da2c8081478ee11c7f3aebcbf42680c975b0712
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Jan 20 13:07:31 2010 +0100

    QError: New QERR_OPEN_FILE_FAILED
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 09b9418c6d085a0728372aa760ebd10128a020b1
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Jan 20 13:07:30 2010 +0100

    monitor: Don't check for mon_get_cpu() failure
    
    mon_get_cpu() can't return null pointer, because it passes its return
    value to cpu_synchronize_state() first, which crashes if its argument
    is null.
    
    Remove the (pretty cheesy) handling of this non-existing error.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ff06ea219763559bec2aab26dde1cec8608405e9
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Jan 25 08:56:53 2010 -0600

    json: escape u0000 .. u001F when outputting json
    
    Markus Armbruster pointed out:
    
    JSON requires control characters in strings to be escaped.  RFC 4627
    section 2.5:
    
       A string begins and ends with quotation marks.  All Unicode
       characters may be placed within the quotation marks except for the
       characters that must be escaped: quotation mark, reverse solidus, and
       the control characters (U+0000 through U+001F).
    
    We've been quoting the special escape sequences that JSON defines but we
    haven't been encoding the full control character range.  This patch fixes that.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6908d9ce4c26a8bc00e3616bc0764bbb292d6bfd
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Jan 24 21:18:00 2010 +0000

    Sparc64: fix initrd
    
    Fix HdrS offsets for Sparc64. The initrd address must be offset by
    KERNBASE.
    
    Use rom_ptr mechanism to actually write to the kernel image.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit e9cbbcacb65c6868b58ca5a586ea657cdd2a9e92
Author: Edgar E. Iglesias <edgar.iglesias at petalogix.com>
Date:   Sun Jan 24 19:28:55 2010 +0100

    pflash: Dont open memarea for full IO if already done.
    
    When wcycle is non zero the area is already opened for readable IO.
    Avoiding the re-registration of the memarea significantly speeds up
    the flash emulation. In particular for flashes connected through 8 or
    16-bit buses.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at petalogix.com>

commit 4737fa266e54564f48bd8f1d72d50a637e093f8a
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Sun Jan 24 18:39:51 2010 +0100

    pflash: Reduce writebuf len for 8-bit flashes.
    
    Flashes connected through an 8 bit bus cannot handle write buffers
    larger than 256 bytes.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at petalogix.com>

commit a66e360f87ce5786b8ff159f49ab5cc77b10760b
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Sun Jan 24 17:19:19 2010 +0100

    pflash: Remove dead code, no functional changes.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at petalogix.com>

commit 2548de3a343e893afcd7aceb824ea4a7137e6f31
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Sun Jan 24 17:15:05 2010 +0100

    microblaze: The petalogix s3adsp board uses intel flashes
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at petalogix.com>

commit 292444cb87f3b883146ee30628a5922b1cde4073
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Thu Jan 21 10:57:58 2010 -0600

    Load global config files by default
    
    A new option, -nodefconfig is introduced to prevent loading from the default
    config location.  Otherwise, two configuration files will be searched for,
    qemu.conf and target-<TARGET_NAME>.conf.
    
    To ensure that the default configuration is overridden by a user specified
    config, we introduce a two stage option parsing mechanism.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6530a97bdde4504e6658e5017b5b0ab22e1e62d3
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Jan 22 09:18:06 2010 -0600

    Move out option lookup into a separate function
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 07381cc1b4513dfe114c97da7537637b740e9ebd
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Thu Jan 21 10:30:29 2010 -0600

    Support --sysconfdir in configure to specify path to configuration files
    
    The default value is ${prefix}/etc/qemu.  --sysconfdir can be used to override
    the default to an absolute path.  The expectation is that when installed to
    /usr, --sysconfdir=/etc/qemu will be used.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 452efba63bc4a2f1f580c96b087cbfae58b81785
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Jan 24 14:28:21 2010 +0000

    Sparc32: fix free-run timer
    
    According to Sun4M System Architecture Manual chapter 5.3.2, a limit
    of 0 will not generate interrupts.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 07b064e9de65a26a4cb36dfb37c7506ef17407fd
Author: Jan Kiszka <jan.kiszka at web.de>
Date:   Sun Jan 24 09:51:49 2010 +0100

    Musicpal: Fix descriptor walk in eth_send
    
    Commit 930c86820e introduced a regression to eth_send: eth_tx_desc_put
    manipulates the host's tx descriptor copy before writing it back, but
    two lines down the descriptor is evaluated again, leaving us with an
    invalid next address if host and guest endianness differ. So this was
    the actual issue commit 2e87c5b937 tried to paper over.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at web.de>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 642582296479eabded45f262acbfea5121d2fbf8
Author: Jan Kiszka <jan.kiszka at web.de>
Date:   Sat Jan 23 18:51:22 2010 +0100

    Musicpal: Fix wm8750 I2C address
    
    Commit b3a219883e uncovered that we attached the Wolfson with an I2C
    address shifted left by one. Fixing this makes sound work again for
    the Musicpal.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at web.de>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 15e7c45139c74552dccb10a82c7631a68c18170a
Author: Artyom Tarasenko <atar4qemu at googlemail.com>
Date:   Fri Jan 22 22:31:53 2010 +0100

    sparc32 fix np dereference in do_unassigned_access
    
    fix a potential null pointer dereference introduced in
    commit	576c2cdc767ab9e2dc038fa4c99f22e53287a3de
    
    Signed-off-by: Artyom Tarasenko <atar4qemu at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 204c7a39d04a38af023fde0e56b3e8dfb2900782
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Jan 22 18:39:49 2010 +0000

    Sparc64: fix PCI probe problems
    
    Byte swap PCI config values.
    
    Remove old bogus PCI config mechanism so that device 0:0.0 can be probed.
    This requires OpenBIOS r667.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 3e39789b64b01444b6377a043894e6b9a3ba6cbb
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jan 20 10:12:23 2010 -0600

    Revert "block: prevent multiwrite_merge from creating too large iovecs"
    
    This reverts commit 0076bc0c1d93adcbc7f1af184e04902cf37e9ab8.
    
    Kevin Wolf pointed out that this breaks the mingw32 build.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a6a853c86275efd89996ce59612a000c5873db5d
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jan 20 10:09:35 2010 -0600

    make: qemu-img depends on config-host.h
    
    Fixes mingw32 build out of tree.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit dd17765b5f77ca02b4aeaf9e42de8dd7513a0611
Author: Gleb Natapov <gleb at redhat.com>
Date:   Wed Jan 20 15:37:33 2010 +0200

    reduce number of reinjects on ACK
    
    Windows 7 BSODs under load with HAL_RTC_IRQF_WILL_NOT_CLEAR error.
    
    It happens here:
    hal!HalpRtcUnmaskClock:
    8281b93a 8bff            mov     edi,edi
    8281b93c 56              push    esi
    8281b93d 33f6            xor     esi,esi
    8281b93f 6a0c            push    0Ch
    8281b941 e8b2ffffff      call    hal!CMOS_READ (8281b8f8)
    8281b946 84c0            test    al,al
    8281b948 7920            jns     hal!HalpRtcUnmaskClock+0x30 (8281b96a)
    8281b94a 6a0a            push    0Ah
    8281b94c 46              inc     esi
    8281b94d e854c8ffff      call    hal!KeStallExecutionProcessor (828181a6)
    8281b952 83fe64          cmp     esi,64h
    8281b955 72e8            jb      hal!HalpRtcUnmaskClock+0x5 (8281b93f)
    8281b957 6a00            push    0
    8281b959 6a00            push    0
    8281b95b 6a00            push    0
    8281b95d 680a010000      push    10Ah
    8281b962 6a5c            push    5Ch
    8281b964 ff1500c38082    call    dword ptr [hal!_imp__KeBugCheckEx (8280c300)]
    8281b96a 5e              pop     esi
    8281b96b c3              ret
    
    So it loops for 100(64h) times reading register C before BSOD. Lets
    reduce number of immediate reinjection well under this limit.
    
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0076bc0c1d93adcbc7f1af184e04902cf37e9ab8
Author: Christoph Hellwig <hch at lst.de>
Date:   Tue Jan 19 22:15:39 2010 +0100

    block: prevent multiwrite_merge from creating too large iovecs
    
    If we go over the maximum number of iovecs support by syscall we get
    back EINVAL from the kernel which translate to I/O errors for the guest.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1d44952fc7f4de113eae892401e4d50ee476e82e
Author: Christoph Hellwig <hch at lst.de>
Date:   Sun Jan 17 12:32:30 2010 +0100

    block: fix cache flushing in bdrv_commit
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 23fabed13645fdf66473e458f318baa63be56b22
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Jan 20 10:37:59 2010 -0200

    QMP: Fix asynchronous events delivery
    
    Commit f039a563f200beee80cc10fd70b21ea396979dab introduces
    a regression as monitor_protocol_event() will return in
    the first user Monitor it finds in the QLIST_FOREACH()
    loop.
    
    The right thing to do is to only delivery an asynchronous
    event if the 'mon' is a QMP Monitor.
    
    The aforementioned commit was an early version, if it was
    applied to stable (it should) this one has to be applied
    there too.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit dc0d4efc02188ad9e5785adaba874bfd198eee76
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Jan 20 11:42:40 2010 -0200

    vnc: Use inet_strfamily()
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c445321e66facc440d7de64f39fa33cb0cc330b2
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Jan 20 11:42:39 2010 -0200

    net: inet_strfamily(): Better unknown family report
    
    Returning "????" is a bit meaningless, let's call it "unknown".
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c9c4b34ed55e1452de9051d22c0d591f1745d4ea
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Jan 20 11:42:38 2010 -0200

    net: Make inet_strfamily() public
    
    So that it can be used by other subsystems.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a1829205a5e4b766b67b843f12cb8235d2387b35
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 20 00:36:58 2010 +0530

    virtio-serial: Use MSI vectors for port virtqueues
    
    This commit enables the use of MSI interrupts for virtqueue
    notifications for ports. We use nr_ports + 1 (for control channel) msi
    entries for the ports, as only the in_vq operations need an interrupt on
    the guest.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4d3053a3c68e25b813db65394ca3e6d32dbc50a7
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 20 00:36:57 2010 +0530

    Move virtio-serial to Makefile.objs
    
    There's nothing target-dependent in the virtio-serial code so allow it
    to be compiled just once for all the targets.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b60c470b8d0dc5574806b4c8bf47b0c8083eda40
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 20 00:36:56 2010 +0530

    virtio-serial: Add a 'virtserialport' device for generic serial port support
    
    This commit adds a simple chardev-based serial port. Any data the guest
    sends is forwarded to the chardev and vice-versa.
    
    Sample uses for such a device can be obtaining info from the guest like
    the file systems used, apps installed, etc. for offline usage and
    logged-in users, clipboard copy-paste, etc. for online usage.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f146ec9a6dccc28b826f08f9dbb341218355d8bb
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 20 00:36:55 2010 +0530

    virtio-serial-bus: Add ability to hot-unplug ports
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 160600fd137a3a6f0d6a09579cf2282152f842ab
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 20 00:36:54 2010 +0530

    virtio-serial-bus: Add a port 'name' property for port discovery in guests
    
    The port 'id' or number is internal state between the guest kernel and
    our bus implementation. This is invocation-dependent and isn't part of
    the guest-host ABI.
    
    To correcly enumerate and map ports between the host and the guest, the
    'name' property is used.
    
    Example:
    
        -device virtserialport,name=org.qemu.port.0
    
    This invocation will get us a char device in the guest at:
    
        /dev/virtio-ports/org.qemu.port.0
    
    which can be a symlink to
    
        /dev/vport0p3
    
    This 'name' property is exposed by the guest kernel in a sysfs
    attribute:
    
        /sys/kernel/virtio-ports/vport0p3/name
    
    A simple udev script can pick up this name and create the symlink
    mentioned above.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6663a1956eb628f1bddc96d2cab361e039df5571
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 20 00:36:53 2010 +0530

    virtio-serial-bus: Maintain guest and host port open/close state
    
    Via control channel messages, the guest can tell us whether a port got
    opened or closed. Similarly, we can also indicate to the guest of host
    port open/close events.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 98b19252cf1bd97c54bc4613f3537c5ec0aae263
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 20 00:36:52 2010 +0530

    virtio-console: qdev conversion, new virtio-serial-bus
    
    This commit converts the virtio-console device to create a new
    virtio-serial bus that can host console and generic serial ports. The
    file hosting this code is now called virtio-serial-bus.c.
    
    The virtio console is now a very simple qdev device that sits on the
    virtio-serial-bus and communicates between the bus and qemu's chardevs.
    
    This commit also includes a few changes to the virtio backing code for
    pci and s390 to spawn the virtio-serial bus.
    
    As a result of the qdev conversion, we get rid of a lot of legacy code.
    The old-style way of instantiating a virtio console using
    
        -virtioconsole ...
    
    is maintained, but the new, preferred way is to use
    
        -device virtio-serial -device virtconsole,chardev=...
    
    With this commit, multiple devices as well as multiple ports with a
    single device can be supported.
    
    For multiple ports support, each port gets an IO vq pair. Since the
    guest needs to know in advance how many vqs a particular device will
    need, we have to set this number as a property of the virtio-serial
    device and also as a config option.
    
    In addition, we also spawn a pair of control IO vqs. This is an internal
    channel meant for guest-host communication for things like port
    open/close, sending port properties over to the guest, etc.
    
    This commit is a part of a series of other commits to get the full
    implementation of multiport support. Future commits will add other
    support as well as ride on the savevm version that we bump up here.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bb61564c77ec95b258465c05c8e429a748ff24d9
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 20 00:36:51 2010 +0530

    virtio: Remove duplicate macro definition for max. virtqueues, bump up the max
    
    VIRTIO_PCI_QUEUE_MAX is redefined in hw/virtio.c. Let's just keep it in
    hw/virtio.h.
    
    Also, bump up the value of the maximum allowed virtqueues to 64. This is
    in preparation to allow multiple ports per virtio-console device.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 03cbdac7efc20994d0a87015e24e835d0139df7b
Author: Naphtali Sprei <nsprei at redhat.com>
Date:   Sun Jan 17 16:48:15 2010 +0200

    Disable fall-back to read-only when cannot open drive's file for read-write
    
    Signed-off-by: Naphtali Sprei <nsprei at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3f3ed5933aa9b7890d9ba5bbc418d153aa61a5f7
Author: Naphtali Sprei <nsprei at redhat.com>
Date:   Sun Jan 17 16:48:14 2010 +0200

    Added drives' readonly option
    
    Signed-off-by: Naphtali Sprei <nsprei at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f5edb014ed221db6942225ec675aafe2675632dd
Author: Naphtali Sprei <nsprei at redhat.com>
Date:   Sun Jan 17 16:48:13 2010 +0200

    Clean-up a little bit the RW related bits of BDRV_O_FLAGS. BDRV_O_RDONLY gone (and so is BDRV_O_ACCESS). Default value for bdrv_flags (0/zero) is READ-ONLY. Need to explicitly request READ-WRITE.
    
    Instead of using the field 'readonly' of the BlockDriverState struct for passing the request,
    pass the request in the flags parameter to the function.
    
    Signed-off-by: Naphtali Sprei <nsprei at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b196b1532f2981e9c811c96214a44ee9e7d12af3
Author: Naphtali Sprei <nsprei at redhat.com>
Date:   Sun Jan 17 16:48:12 2010 +0200

    Make CDROM a read-only drive
    
    Signed-off-by: Naphtali Sprei <nsprei at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3dbf2c7fc5682827be6fa436362fb5db221bd210
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Sat Jan 16 18:19:44 2010 +0100

    Documentation: Add missing documentation for qdev related command line options
    
    The command line options -device, -nodefaults, -readconfig,
    -writeconfig had entries for command line help, but
    documentation for texi and derived formats (man, html, info)
    was missing.
    
    This also required moving "@end table" to the end of
    qemu-options.hx again.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 374ef70452452fb729c45dcf1a73a1bd1396cfda
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Jan 14 14:44:14 2010 +0100

    pc: add driver version compat properties
    
    This patch adds compat property entries for ide-disk.ver and
    scsi-disk.ver to pc-0.10 and pc-0.11.  With this patch applied
    the scsi and ide disks report "0.10" and "0.11" as version when
    you start qemu with "-M pc-0.10" or "-M pc-0.11".
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 383b4d9b79e3a71b1d5cadd34989b1c0e2a05832
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Jan 14 14:44:13 2010 +0100

    scsi: device version property
    
    This patch adds a new property named 'ver' to scsi-disk which allows to
    specify the version which the virtual disk/cdrom should report to the
    guest.  By default this is the qemu version (i.e. 0.12).  usage:
    
      -drive if=none,id=disk,file=...
      -device lsi
      -device scsi-disk,drive=disk,bus=scsi.0,unit=0,ver=42
    
    You can also switch the version for all scsi drives using:
    
      -global scsi-disk.ver=42
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 47c063403065793ad6e1d2fdde27d69a00880752
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Jan 14 14:44:12 2010 +0100

    ide: device version property
    
    This patch adds a new property named 'ver' to ide-drive which allows to
    specify the version which the virtual disk/cdrom should report to the
    guest.  By default this is the qemu version (i.e. 0.12).  usage:
    
      -drive if=none,id=disk,file=...
      -device ide-drive,bus=ide.0,unit=0,drive=disk,ver=42
    
    You can also switch the version for all ide drives using:
    
      -global ide-drive.ver=42
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f039a563f200beee80cc10fd70b21ea396979dab
Author: Adam Litke <agl at us.ibm.com>
Date:   Fri Jan 15 08:34:02 2010 -0600

    QMP: Emit asynchronous events on all QMP monitors
    
    When using a control/QMP monitor in tandem with a regular monitor, asynchronous
    messages can get lost depending on the order of the QEMU program arguments.
    QEMU events issued by monitor_protocol_event() always go to cur_mon.  If the
    user monitor was specified on the command line first (or it has ,default), the
    message will be directed to the user monitor (not the QMP monitor).
    Additionally, only one QMP session is currently able to receive async messages.
    
    To avoid this confusion, scan through the list of monitors and emit the message
    on each QMP monitor.
    
    Signed-off-by: Adam Litke <agl at us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit beb6f0de7aa19ce62fdd21a876b8c171ac7fde2e
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Jan 15 12:56:41 2010 +0100

    Fix QEMU_WARN_UNUSED_RESULT
    
    Since commit 747bbdf7 QEMU_WARN_UNUSED_RESULT is never defined as it is
    conditional on a define from config-host.h which is included only later.
    Include that file earlier to get the warnings back.
    
    Reactivating it unfortunately leads to some warnings about unused qdev_init
    results. These calls are changed to qdev_init_nofail to avoid build failures.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0d2ed46af43365fd713532c5eb9450380635b694
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Jan 14 14:50:59 2010 -0200

    QMP: Introduce VNC_INITIALIZED event
    
    It's emitted when a VNC client session is activated by QEMU,
    client's information such as port, IP and auth ID (if the
    session is authenticated) are provided.
    
    Event example:
    
    { "event": "VNC_INITIALIZED",
        "timestamp": {"seconds": 1263475302, "microseconds": 150772},
        "data": {
            "server": { "auth": "sasl", "family": "ipv4",
                        "service": "5901", "host": "0.0.0.0"},
            "client": { "family": "ipv4", "service": "46089",
                        "host": "127.0.0.1", "sasl_username": "lcapitulino" } } }
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0d72f3d31b4bc320ac498f011129a646a12f9389
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Jan 14 14:50:58 2010 -0200

    QMP: Introduce VNC_DISCONNECTED event
    
    It's emitted when a VNC client disconnects from QEMU, client's
    information such as port and IP address are provided.
    
    Event example:
    
    { "event": "VNC_DISCONNECTED",
        "timestamp": { "seconds": 1262976601, "microseconds": 975795 },
        "data": {
            "server": { "auth": "sasl", "family": "ipv4",
                        "service": "5901", "host": "0.0.0.0" },
            "client": { "family": "ipv4", "service": "58425",
                        "host": "127.0.0.1", "sasl_username": "foo" } } }
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 586153d9520c4ec3e4352cffa683b92ef5f23925
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Jan 14 14:50:57 2010 -0200

    QMP: Introduce VNC_CONNECTED event
    
    It's emitted when a VNC client connects to QEMU, client's information
    such as port and IP address are provided.
    
    Note that this event is emitted right when the connection is
    established. This means that it happens before authentication
    procedure and session initialization.
    
    Event example:
    
    { "event": "VNC_CONNECTED",
        "timestamp": { "seconds": 1262976601, "microseconds": 975795 },
        "data": {
            "server": { "auth": "sasl", "family": "ipv4",
                        "service": "5901", "host": "0.0.0.0" },
            "client": { "family": "ipv4", "service": "58425",
                        "host": "127.0.0.1" } } }
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4a80dba3920cf8e0829b9ce4769842ce94748bf4
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Jan 14 14:50:56 2010 -0200

    VNC: Cache client info at connection time
    
    When a disconnection happens the client's socket on QEMU
    side may become invalid, this way it won't be possible
    to query it to get client information, which is going to
    be needed by the future QMP VNC_DISCONNECTED event.
    
    To always have this information available we query the
    socket at connection time and cache the client info in
    struct VncState.
    
    Two function are introduced to perform this job.
    
    vnc_client_cache_addr() is called right when the connection
    is made, however the authentication information is not
    available at that moment so vnc_client_cache_auth() is
    called from protocol_client_init() to get auth info.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5c7238c5e3515885ed3e9d4a5008050c4e41d44f
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Jan 14 14:50:55 2010 -0200

    VNC: Add 'family' key
    
    It contains the socket adress family name, like "ipv4" or
    "ipv6".
    
    This is useful for clients so that they can interpret the
    'host' key reliably.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 76825067232d4dec710cd8b33ea94f029f7dd3a7
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Jan 14 14:50:54 2010 -0200

    VNC: Rename client's 'username' key
    
    It's the SASL username, so it's better to call it 'sasl_username'
    to be consistent.
    
    Note that this change wouldn't be allowed if QMP were stable.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a77893829c27ef9bbab267d8403f5e76a4c61dbf
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Jan 14 14:50:53 2010 -0200

    VNC: Make 'auth' key mandatory
    
    There is no reason to have it as optional and the code
    in the server and client gets slightly simpler if the
    key is mandatory.
    
    While there also do some cleanup on how the server info is
    collected.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8950a950705021351c40bf8563a7e69daf0ff723
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Jan 14 14:50:52 2010 -0200

    VNC: Use 'enabled' key instead of 'status'
    
    Currently the 'status' key is a string whose value can be
    "disabled" or "enabled", change it to the QMP's standard
    'enabled' key, which is a bool.
    
    Note that 'status' in being dropped and this wouldn't be
    allowed if QMP were stable.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3b9d7e662160bdc1381d190ce395a9a139a13117
Author: Kusanagi Kouichi <slash at ac.auone-net.jp>
Date:   Fri Jan 15 00:46:24 2010 +0900

    char: Remove redundant qemu_chr_generic_open() call.
    
    qemu_chr_open_fd() calls qemu_chr_generic_open(),
    so qemu_chr_open_tty() doesn't need to call it.
    
    Signed-off-by: Kusanagi Kouichi <slash at ac.auone-net.jp>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2ebf7c4b82f7b569cb74e9641968bf4a1da25d3d
Author: Cole Robinson <crobinso at redhat.com>
Date:   Thu Jan 14 11:19:41 2010 -0500

    raw-posix: Detect legacy floppy via ioctl on linux
    
    Current legacy floppy detection is hardcoded based on source file
    name. Make this smarter on linux by attempting a floppy specific
    ioctl.
    
    v2:
        Give ioctl check higher priority than filename check
        s/IDE/legacy/
    
    v3:
        Actually initialize 'prio' variable
        Check for ioctl success rather than absence of specific failure
    
    v4:
        Explicitly mention that change is linux specific.
    
    Signed-off-by: Cole Robinson <crobinso at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3baf720e6b920d583ce2834d05e5a4e9603a1d56
Author: Cole Robinson <crobinso at redhat.com>
Date:   Thu Jan 14 11:19:40 2010 -0500

    raw-posix: Detect CDROM via ioctl on linux
    
    Current CDROM detection is hardcoded based on source file name.
    Make this smarter on linux by attempting a CDROM specific ioctl.
    
    This makes '-cdrom /dev/sr0' succeed with no media present.
    
    v2:
        Give ioctl check higher priority than filename check.
    
    v3:
        Actually initialize 'prio' variable.
        Check for ioctl success rather than absence of specific failure.
    
    v4:
        Explicitly mention that change is linux specific.
    
    Signed-off-by: Cole Robinson <crobinso at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 301d2908b99cc7391e8c7683a3df5dc75f7b62e6
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Fri Jan 15 09:41:01 2010 +0100

    avoid unreachable statement after break
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f8fb2fa85935b284b703b946c53f92035a5b6858
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Fri Jan 15 09:42:10 2010 +0100

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

commit 6113d6d3169393c323ac4c82d756a850145a5e7a
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Fri Jan 15 09:42:09 2010 +0100

    change while to if
    
    The while loop will be executed exactly 0 or 1 times, depending on
    env->exit_request.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 34dec6a5608e3a878966fb0c0369a0dbbf6e3d9b
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Fri Jan 15 09:42:08 2010 +0100

    add assertions about env->current_tb
    
    By virtue of the previous patch env->current_tb will always be NULL at
    the top of cpu_exec's outermost for loop, and at the end of the innermost
    while loop.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1c3569fe4e4e3783b7813f450fa699d3f552e44f
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Fri Jan 15 09:42:07 2010 +0100

    clean up env->current_tb
    
    There are three paths from the innermost while loop of cpu_exec
    to the top of the outermost for loop.  Two do not reset
    env->current_tb.  Fix this.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 040f2fb249e15e7becbb6d851fbf1820e07c2391
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Fri Jan 15 08:56:36 2010 +0100

    fix wrong indentation
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 49a945a3c0107463de3e57394622eff251e52fc4
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Fri Jan 15 08:56:35 2010 +0100

    kill regs_to_env and env_to_regs
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit baee019f64e904df0163083a0a9f00ef1e9dfeeb
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Fri Jan 15 08:56:34 2010 +0100

    remove dead code from target-i386/exec.h
    
    These are unused since edea5f0 (no need to define global registers in
    cpu-exec.c, 2008-05-10).
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4ef1a3d3b37080c9c523c403e32caff26fdd0aa4
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Thu Jan 14 01:53:25 2010 +0300

    rtl8139: fix clang reporting unused assignment of VLAN tagging data
    
    Currently we do not implement VLAN tagging for rtl8139(C+),
    still data is read from ring buffer headers.
    
    - augment unused assignment with TODO item
    - cast txdw1 to void for now
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7b8737de0316397566c3d61de370ec7a3c24e86b
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Sun Dec 20 16:52:24 2009 +0100

    eepro100: Fix multicast support
    
    * Handling of multicast list was missing.
    * Multicast all was missing.
    * Promiscuous mode for multicast frames was wrong.
    
    This patch is a step to synchronize my maintainer version
    of eepro100.c (git://repo.or.cz/qemu/ar7.git) with the
    version integrated in QEMU.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit f3a52e503bcc314642ee3b8d637c15f6bc3e470c
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Sun Dec 20 16:52:22 2009 +0100

    eepro100: Restructure code (new function tx_command)
    
    Handling of transmit commands is rather complex,
    so about 80 lines of code were moved from function
    action_command to the new function tx_command.
    
    The two new values "tx" and "cb_address" in the
    eepro100 status structure made this possible without
    passing too many parameters.
    
    In addition, the moved code was cleaned a little bit:
    old comments marked with //~ were removed, C++ style
    comments were replaced by C style comments, C++ like
    variable declarations after code were reordered.
    
    Simplified mode is still broken. Nor did I fix
    endianess issues. Both problems will be fixed in
    additional patches (which need this one).
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 1c39457adf220f9011cc6e08c05b272073ec3126
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Jan 17 20:36:13 2010 +0000

    Sparc32: Update OpenBIOS image to r666
    
    Fixes the boot problem introduced by r665 image in
    694b9309462f07307d16f492961f01271f10c245.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 43bb98bfed400f8957133089ef543389e4fed319
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Jan 17 16:51:57 2010 +0000

    Sparc: improve CPU register dump
    
    Common:
     * Remove unnecessary 0x prefix
     * Print %y
     * Fix NZVC flag print order to match CPU bit order
    
    Sparc64 specific:
     * Print registers without line wrapping
     * Print %f40-%f63
     * Pretty print CCR flags
     * Print %fsr and %fprs in full precision
     * More consistent formatting
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 0ddbc96ec109aec18168d1dd9b38fe6015102033
Author: Mike Frysinger <vapier at gentoo.org>
Date:   Sun Jan 17 01:15:05 2010 -0500

    fix linux-user microblaze ELF_ARCH definition
    
    Signed-off-by: Mike Frysinger <vapier at gentoo.org>
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 82584e212dd60b531676c19d8988fec4c4222f63
Author: malc <av1474 at comtv.ru>
Date:   Sun Jan 17 02:03:30 2010 +0300

    audio: include more information into audio_bug's output
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit ff5414990645653bf43bf64adfc1ca77ffb9edcb
Author: malc <av1474 at comtv.ru>
Date:   Sun Jan 17 00:25:29 2010 +0300

    Revert "sdlaudio: make it suck less"
    
    This reverts commit 4839abe78fd466a3cf06faa7c362154afd5404f1.
    
    The commit was badly broken, Gentoo has sdl as the default driver,
    consequently 5 gentoo users have hit the breakage and were kind enough
    to report, so thank you:
    
    Claes Gyllenswrd
    vekin
    Chris
    
    But above all thanks to Toralf Foerster who actually provied enough
    information to pinpoint the breakage to sdlaudio.
    
    http://bugs.gentoo.org/show_bug.cgi?id=294269

commit 787cfbc432bf1d353a77cbdb613754f3963371a3
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Jan 16 09:06:35 2010 +0000

    Sparc32: improve DMA controller IRQ debugging
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit dca47eddbaa8411637f62d3993822384f76f6c9e
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Jan 16 09:06:34 2010 +0000

    ESP: improve IRQ debugging
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 10760f0fa7c089e45d629d9ad2803c91f2bcb90f
Author: Artyom Tarasenko <atar4qemu at googlemail.com>
Date:   Sat Jan 16 09:06:32 2010 +0000

    sparc32 do not clear interrupts when masking
    
    Don't clear interrupts on disabling, because
    * Sun4M_SystemArchitecture_edited2.pdf doesn't describe
      that masking or un-masking IRQ shall clear pending ones.
    
    * Field tests also show that SPARCstation-20 doesn't
      clear them.
    
    * The patch makes Solaris 2.5.1/2.6 boot ~1500 times
      faster (~20 seconds instead of ~8 hours)
    
    Signed-off-by: Artyom Tarasenko <atar4qemu at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 694b9309462f07307d16f492961f01271f10c245
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Jan 16 09:05:21 2010 +0000

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

commit 576c2cdc767ab9e2dc038fa4c99f22e53287a3de
Author: Artyom Tarasenko <atar4qemu at googlemail.com>
Date:   Fri Jan 15 22:28:56 2010 +0100

    sparc32 do_unassigned_access overhaul v2
    
    According to pages 9-31 - 9-34 of "SuperSPARC & MultiCache Controller
    User's Manual":
    
    1. "A lower priority fault may not overwrite the
        MFSR status of a higher priority fault."
    2. The MFAR is overwritten according to the policy defined for the MFSR
    3. The overwrite bit is asserted if the fault status register (MFSR)
       has been written more than once by faults of the same class
    4. SuperSPARC will never place instruction fault addresses in the MFAR.
    
    Implementation of points 1-3 allows booting Solaris 2.6 and 2.5.1.
    
    v2: CODING_STYLE fixes
    
    Signed-off-by: Artyom Tarasenko <atar4qemu at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 09aac1266e8acd02f1beb7adc91286716d7162bd
Author: Richard Henderson <rth at twiddle.net>
Date:   Thu Jan 14 14:59:51 2010 -0800

    tcg/x86_64: Avoid unnecessary REX.B prefixes.
    
    The existing P_REXB internal opcode flag unconditionally emits
    the REX prefix.  Technically it's not needed if the register in
    question is %al, %bl, %cl, %dl.
    
    Eliding the prefix requires splitting the P_REXB flag into two,
    in order to indicate whether the byte register in question is
    in the REG or the R/M field.  Within TCG, the byte register is
    in the REG field only for stores.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit fccd2613d6225f3cb10e861eb64fd7ce3f55eb8b
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Tue Jan 12 14:48:19 2010 +0100

    nand: Correct random data reads.
    
    Random reading depends on having the last row/page latched and not beeing
    clobbered between read and any following random reads.
    
    Also, s->iolen must be updated when loading the io/data register with
    randomly accessed flash data.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit b88bc808ea94fae3db0633d9b2b008d722ce1caf
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Thu Jan 14 18:11:43 2010 +0100

    Makefile: Fix message for missing configure
    
    When make is called without a valid configuration,
    it should tell the user what to do.
    
    Revision 0e8c9214ba1d4128cf92442cd343bc3733478261
    was a regression which resulted in a message
    which was no longer user friendly
    (reported by Aurelien Jarno).
    
    This patch restores the old behaviour.
    
    Cc: Aurelien Jarno <aurelien at aurel32.net>
    Reviewed-by: Andreas Färber <afaerber at opensolaris.org>
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit b3d6b95998a29fd5fe242d7354d64077ea53ae30
Author: Kazu Hirata <kazu at codesourcery.com>
Date:   Thu Jan 14 09:08:00 2010 -0800

    target-m68k: fix a typo in 'P' packet processing
    
    Attached is a patch to fix a typo in 'P' packet processing for M68K.
    
    Without this patch, QEMU fails to honor GDB's P packets from GDB
    (writing to registers) for the address registers (A0 - A7).
    
    The problem is because of an obvious typo.  Notice that the second
    "if" condition is meant to be n < 16 in:
    
      if (n < 8) {
        :
      } else if (n < 8) {
    
    Signed-off-by: Kazu Hirata <kazu at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 5716990376e22e758c434ba7092b8eacaa148973
Author: Richard Henderson <rth at twiddle.net>
Date:   Tue Jan 5 16:03:00 2010 -0800

    tcg/x86_64: Special-case all 32-bit AND operands.
    
    This avoids an unnecessary REX.W prefix when dealing with AND
    operands that fit into a 32-bit quantity.  The most common change
    actually seen is movz[wb]q -> movz[wb]l.
    
    Similarly, avoid REXW in ext{8,16}u_i64 tcg opcodes.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0a4e7cd2374f1d898a25f4ae7d0fb0321433c197
Author: Shin-ichiro KAWASAKI <kawasaki at juno.dti.ne.jp>
Date:   Fri Jan 1 15:59:39 2010 +0900

    sh: sm501: Add hardware cursor feature
    
    This patch adds hardware cursor feature to SM501 graphics chip emulation,
    to make the graphic console more useful for QEMU SH4 users.
    
    Signed-off-by: Shin-ichiro KAWASAKI <kawasaki at juno.dti.ne.jp>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8b0ee8c576a6f3e107c80f70f6dacb2964feb4a7
Author: Vince Weaver <vince at csl.cornell.edu>
Date:   Tue Dec 29 00:01:22 2009 -0500

    alpha: fix stat64 issue
    
    The stat64/fstat64 syscalls are broken for alpha linux-user.
    
    This is because Alpha, even though it is native 64-bits, has a stat64
    syscall that is different than regular stat.  This means that the
    "TARGET_LONG_BITS==64" check in syscall.c isn't enough.  Below is
    a patch that fixes things for me, although it might not be the cleanest
    fix.
    
    This issue keeps sixtrack and fma3d spec2k benchmarks from running.
    
    Signed-off-by: Vince Weaver <vince at csl.cornell.edu>
    Acked-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit dcbc9a70af47fdd49d053f6a544a86de8dca398a
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Mon Jan 11 15:32:47 2010 +0100

    ppc-40x: Correct ESR for zone protection faults.
    
    Raise the zone protection fault in ESR for TLB faults caused by
    zone protection bits.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit ec5c3e487eb49100e6cb1b84e7f0bd022fbbf54b
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Mon Jan 11 15:23:58 2010 +0100

    ppc-40x: Correct decoding of zone protection bits.
    
    The 40x MMU has 15 zones in the ZPR register.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit c5b9729ae918b890905e00870ffc08c9b56e6d17
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Mon Jan 11 14:41:53 2010 +0100

    ppc-40x: Correct check for Endian swapping TLB entries.
    
    Bailout on 40x TLB entries with endianess swapping only if the entry
    is valid.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit f25359cd87d181ceb62875aa893eed7d241418ad
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Mon Jan 11 14:21:58 2010 +0100

    ppc-40x: Get TLB attributes from TLBLO.
    
    The ZSEL was incorrectly beeing decoded from TLBHI. Decode it from
    TLBLO instead.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 96560cb34c3183a4fb1769e4eff4d860a24579a8
Author: Markus Armbruster <armbru at redhat.com>
Date:   Thu Dec 17 17:19:17 2009 +0100

    docs: New qdev-device-use.txt
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1cb1a66aed921060fa34d161b52e95d05de18ec1
Author: Milan Plzik <milan.plzik at gmail.com>
Date:   Thu Jan 7 13:39:43 2010 +0100

    Qemu's internal TFTP server breaks lock-step-iness of TFTP
    
    According to RFC 1350 and RFC 2347, TFTP server should answer RRQ by
    either OACK or DATA packet. Qemu's internal TFTP server answers RRQ with
    additional options by sending both OACK and DATA packet, thus breaking
    the "lock-step" feature of the protocol, and also confuses client.
    
      Proposed solution would be to, in case of OACK packet, wait for ACK
    from client and just then start sending data. Attached patch implements
    this.
    
    Signed-off-by: Thomas Horsten <thomas at horsten.com>
    Signed-off-by: Milan Plzik <milan.plzik at gmail.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bb0300dc57c10b3721451b0ff566a03f9276cc77
Author: Gleb Natapov <gleb at redhat.com>
Date:   Wed Jan 13 15:25:06 2010 +0200

    Add KVM paravirt cpuid leaf
    
    Initialize KVM paravirt cpuid leaf and allow user to control guest
    visible PV features through -cpu flag.
    
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4277906d281e7fd04817782777b90f6d122f4443
Author: Christoph Hellwig <hch at lst.de>
Date:   Wed Jan 13 13:30:32 2010 +0100

    virtio-blk: remove dead variable in virtio_blk_handle_scsi
    
    As pointed out by clang size is only ever written to, but never actually
    used.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f8012c135ecb0f410245b3ed0476a5d0a61beb9c
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Jan 12 13:49:43 2010 +0100

    qcow/qcow2: implement bdrv_aio_flush
    
    Now that we do not have to flush the backing device anymore implementing
    the bdrv_aio_flush method for image formats is trivial.
    
    [hch: forward ported to qemu mainline from a product tree]
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3f5075ae63b6dc1de9428d028a4d28fc98e7fdff
Author: Christoph Hellwig <hch at lst.de>
Date:   Tue Jan 12 13:49:23 2010 +0100

    block: flush backing_hd in the right place
    
    The backing device is only modified from bdrv_commit.  So instead of
    flushing it every time bdrv_flush is called for the front-end device
    only flush it after we're written data to it in bdrv_commit.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2da69c8d122570832971ee4bb5b6b4395ec97280
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 13 16:24:47 2010 +0530

    json-parser: remove dead increment
    
    clang-analyzer points out a redundant increment.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f7dcfac024246e2ad84ac35c617b95700377e00b
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 13 16:24:46 2010 +0530

    qcow2-refcount: remove dead assignment
    
    clang-analyzer points out a redundant assignment.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c4af120f5f180f79f671f6703a3b71209d89c010
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 13 16:24:45 2010 +0530

    hw/vga.c: remove dead assignment
    
    clang-analyzer points out a redundant assignment.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d7209371b1563407c2ba5b474f31cd32a9b0fd3f
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 13 16:24:44 2010 +0530

    x86: translate.c: remove dead assignment
    
    clang-analyzer points out a redundant assignment.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 22c253d9d659af76279c9d96acbbf105ea120753
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 13 16:24:43 2010 +0530

    virtio: net: remove dead assignment
    
    clang-analyzer points out value assigned to 'len' is not used.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5cdc9b76e34d06857ee8d03ea70e8793b8af06e1
Author: Amit Shah <amit.shah at redhat.com>
Date:   Wed Jan 13 16:24:42 2010 +0530

    vl.c: Remove dead assignment
    
    clang-analyzer pointed out the value of 'sockets' is never reused.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    CC: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 347ed55cd109864b02dd29bb7e6cda1622e8019e
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Jan 13 16:20:56 2010 +0100

    osdep.c: Fix accept4 fallback
    
    Commit 3a03bfa5 added a fallback in case the Linux kernel running qemu is older
    than the kernel of the build system. Unfortunately, v1 was committed instead of
    v2, so the code has a bug that was revealed in the review (checking for the
    wrong error code).
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3e85c6fd714af70e6a26096a08ee02c98b12ad51
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Jan 12 12:55:18 2010 +0100

    qemu-img rebase
    
    This adds a rebase subcommand to qemu-img which allows to change the backing
    file of an image.
    
    In default mode, both the current and the new backing file need to exist, and
    after the rebase, the COW image is guaranteed to have the same guest visible
    content as before. To achieve this, old and new backing file are compared and,
    if necessary, data is copied from the old backing file into the COW image.
    
    With -u an unsafe mode is enabled that doesn't require the backing files to
    exist. It merely changes the backing file reference in the COW image. This is
    useful for renaming or moving the backing file. The user is responsible to make
    sure that the new backing file has no changes compared to the old one, or
    corruption may occur.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 756e6736a12a46330d9532d5f861ba15b38886d8
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Jan 12 12:55:17 2010 +0100

    block: Add bdrv_change_backing_file
    
    Introduce the functions needed to change the backing file of an image. The
    function is implemented for qcow2.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b783e409bf17b92f4af8dc5d6bd040d0092f33e0
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Jan 12 12:55:16 2010 +0100

    block: Introduce BDRV_O_NO_BACKING
    
    If an image references a backing file that doesn't exist, qemu-img info fails
    to open this image. Exactly in this case the info would be valuable, though:
    the user might want to find out which file is missing.
    
    This patch introduces a BDRV_O_NO_BACKING flag to ignore the backing file when
    opening the image. qemu-img info is the first user and provides info now even
    if the backing file is invalid.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8f0056b763fec6a47fecc9908127c16b407e6c4d
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Jan 13 14:05:34 2010 +0100

    move kbd/mouse handling to input.c
    
    Move 200 lines out of vl.c already into common code that only needs to
    be compiled once.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4e2b0658f60081fe7a19f4c71a6f5fd506c9eeb9
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Jan 13 09:52:56 2010 +0100

    use pkg-config for libcurl whenever available
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9316f80399cab827e6a3e8c651c1be7fa8ba6008
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Jan 13 09:52:55 2010 +0100

    use pkg-config for sdl whenever available
    
    Together with the first patch this enables using the prefixed
    pkg-config, thus picking up the correct flags for SDL.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 67c274d3c72ae0e906ff20694e272b47b1d8d827
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Jan 13 09:52:54 2010 +0100

    fixes to the static compilation case for sdl
    
    After the next commit, pkg-config could be used for the shared library
    configuration case and sdl-config for static libraries.  So I prepare
    the test here by doing two changes:
    
    at the same time I remove useless backslashes from the invocation of
    grep;
    
    1) fixing a typo ($sd_cflags).  The typo has been there since commit
    1ac88f2 (remove sdl_static. Just do the right thing if static is yes,
    2009-07-27).
    
    2) fixing an erroneous "test `... | grep > /dev/null`" idiom that would
    never succeed since grep's output would be empty;
    
    3) checking the status code after executing sdl-config --static --libs;
    this is needed for the next patch only.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f91672e56467532e2eea4ba3d0e903af17f1ab9d
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed Jan 13 09:52:53 2010 +0100

    use cross-prefix for pkgconfig
    
    Since pkgconfig can give different output for different targets,
    it should be tried with the cross-compilation prefix first.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 884a0c7677cf8431d2a632673914994c2e01673d
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Jan 13 18:59:54 2010 +0000

    pcnet: remove dead nested assignment, spotted by clang
    
    Although the value stored to 'addr' is used in the enclosing expression,
    the value is never actually read from 'addr'.
    
    Probably a typo.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f7e683b8c3d15271cbc260e6cae0d5186b6db1d2
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Jan 13 18:58:51 2010 +0000

    Sparc32: remove dead increment, spotted by clang
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f368a3cea4fe81b3d5a698de4f2075938ec9cc0a
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Jan 13 18:55:11 2010 +0000

    Sparc32: remove a variable used only for debugging to avoid a clang warning
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit a9be79d65f5a34cd84c48f81eb4875aeb4c027d2
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Jan 13 18:54:54 2010 +0000

    Sparc: comment out unused variable, spotted by clang
    
    The variable is_annulled is referenced in a FIXME comment, so instead
    of removing the variable, comment out the lines so that the FIXME
    can be understood.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 898353638868b91f15545647f6551825321ada2d
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Jan 13 18:52:50 2010 +0000

    Sparc32: remove unused env/envs variables, spotted by clang
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 701eed4bf92659a244f55a4eaffcde91b28c2c54
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Jan 13 18:49:40 2010 +0000

    Sparc32: remove unused variable, spotted by clang
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit cb95c2e44ece3791a6aa108bdb8745824dc999a3
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Mon Jan 11 21:20:13 2010 +0100

    pci: Add missing 'const' in argument to pci_get_xxx
    
    pci_get_byte, pci_get_word, pci_get_long and pci_get_quad
    all take a const uint8_t pointer, because they only read
    the configuration data.
    
    Their prototypes should reflect this fact.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 938a63240204993524c2d165292cd509533da8b2
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Thu Jan 7 17:13:30 2010 +0100

    eepro100: Update ROM file support
    
    Use new way to associate ROM files to devices.
    
    Currently, there is only a ROM file for i82559er
    included in QEMU, so the patch does not add
    .romfile for the other devices.
    
    When flexible mode is fixed in eepro100, adding
    more ROM files will be possible. It should be
    possible to create them from pxe-i82559er.bin,
    because etherboot uses the same driver for all
    eepro100 devices (only PCI ids differ).
    
    Maybe it is even possible to create a single
    pxe-i8255x.bin which supports all eepro100 devices
    (not supported with current etherboot).
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Acked-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 61702408c7b321ae57f871d4ccddb372ec0347ad
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Thu Jan 7 12:15:25 2010 +0100

    eepro100: Fix initial value for PCI_STATUS
    
    The numerical value was wrong (0x2800 instead of 0x0280)
    which indeed did not make sense.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 72ff25e4e98d6dba9286d032b9ff5432553bbad5
Author: Juergen Lock <nox at jelal.kn-bremen.de>
Date:   Tue Jan 12 23:48:04 2010 +0100

    Workaround for broken OSS_GETVERSION on FreeBSD, part two
    
    Turns out on those versions of FreeBSD (>= 7.x) that know OSS_GETVERSION
    the ioctl doesn't actually work yet (except in the Linuxolator), so if
    building on FreeBSD assume the sound drivers are new enough if the ioctl
    returns the errno it does currently on FreeBSD.
    
    (Rev 2 after private discussion with malc.)
    
     Signed-off-by: Juergen Lock <nox at jelal.kn-bremen.de>
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit c9f79a3f79a48de28b4575cb5644bcf45d3754d0
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Tue Jan 12 20:50:17 2010 +0200

    virtio-net: mac property is mandatory
    
    Mac feature bit isn't going to work as all network cards already have a
    'mac' property to set the mac address.  Remove it from mask and add in
    get_features.
    
    Reported-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit dae5079acacc4e42e9583fbc326f81c08ab973d3
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Tue Jan 12 19:53:48 2010 +0100

    kvm: Detect availability of kvm_para.h
    
    Will be required for upcoming KVM cpuid leaf. Host kernels >= 2.6.32 as
    well as future kvm-kmod releases (more recent than kvm-kmod-2.6.32.3)
    do/will provide them.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ffd8b67f5d90dd23aad5f549ed528228de8602e7
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Tue Jan 12 19:53:45 2010 +0100

    kvm: Use kvm-kmod headers if available
    
    Since kvm-kmod-2.6.32.2 we have an alternative source for recent KVM
    kernel headers. Use it when available and not overruled by --kerneldir.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 23842aabe63bab798fecaff968153edde898b970
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Tue Jan 12 20:27:43 2010 +0000

    monitor: fix dead assignment spotted by clang
    
    Value stored to 'nb_per_line' is never read.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 3eb26cc2167e771c49f7a20f70d07d61d327c1ef
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Tue Jan 12 20:04:53 2010 +0000

    Sparc64: Fix PCI config accessor order
    
    Fix by Igor Kovalenko.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit cc6dfecf02eadbdc14100dff54aec4df0c139393
Author: Richard Henderson <rth at twiddle.net>
Date:   Tue Jan 12 19:59:34 2010 +0000

    tcg-sparc: Implement ext32[su]_i64
    
    The 32-bit right-shift instructions is defined to extend the shifted
    output to 64-bits.  A shift count of zero therefore is a simple
    extension without actually shifting.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 583d121520a81d07bacee7ebe9366d107c8b18b6
Author: Richard Henderson <rth at twiddle.net>
Date:   Tue Jan 12 19:59:33 2010 +0000

    tcg-sparc: Implement division properly.
    
    The {div,divu}2 opcodes are intended for systems for which the
    division instruction produces both quotient and remainder.  Sparc
    is not such a system.  Indeed, the remainder must be computed as
    
      quot = a / b
      rem = a - (quot * b)
    
    Split out a tcg_out_div32 function that properly initializes Y
    with the extension of the input to 64-bits.  Discard the code
    that used the 64-bit DIVX on sparc9/sparcv8plus without extending
    the inputs to 64-bits.  Implement remainders in terms of division
    followed by multiplication.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    [blauwirbel at gmail.com: applied rth's typo fix in tcg_out_div32]
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 5e143c43a686d5563b3a8c9d46b338967cc8d09c
Author: Richard Henderson <rth at twiddle.net>
Date:   Tue Jan 12 19:59:32 2010 +0000

    tcg-sparc: Do not remove %o[012] from 'r' constraint.
    
    Only 'L' constraint needs that.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 7a3766f390a19522d1a3de6097d2f088e46b9cc2
Author: Richard Henderson <rth at twiddle.net>
Date:   Tue Jan 12 19:59:31 2010 +0000

    tcg-sparc: Implement add2, sub2, mulu2.
    
    Add missing 32-bit double-word support opcodes.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ba225198d079b8a9dec678a4d0a9bba6e1510b1d
Author: Richard Henderson <rth at twiddle.net>
Date:   Tue Jan 12 19:59:29 2010 +0000

    tcg-sparc: Add tcg_out_arithc.
    
    Add a function to handle the register-vs-immediate test for arithmetic.
    
    Also, adjust the OP_32_64 macro so that it auto-indents properly.
    Rename the gen_arith32 label to gen_arith, since it handles 64-bit
    arithmetic as well.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 83755c173f4608764e3ee92428247d1c5e962e6a
Author: Stefano Stabellini <stefano.stabellini at eu.citrix.com>
Date:   Mon Jan 11 17:30:50 2010 +0000

    vnc_refresh: return if vd->timer is NULL
    
    Hi all,
    calling vnc_update_client in vnc_refresh might have the unlikely side
    effect of setting vd->timer = NULL, if the last vnc client disconnected.
    In this case we have to return from vnc_refresh without updating the
    timer, otherwise we cause a segfault.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini at eu.citrix.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit dbd483242c2e6dfaacb9fd3d20c333bbdad87243
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Tue Jan 12 21:16:59 2010 +0200

    qdev: fix thinko leading to guest crashes
    
    Without this fix, guest crashes with drive=virtio.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3d72f9a2be640f368229d579e80ce4ef2a823e49
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Fri Jan 8 16:45:53 2010 -0200

    QMP: Don't free async event's 'data'
    
    The monitor_protocol_event() function will free the
    event's data, this is wrong as 'data' management is up
    to the caller.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 514d97dea6f5ab8b995275c9b022af85a8846e08
Author: malc <av1474 at comtv.ru>
Date:   Tue Jan 12 21:55:45 2010 +0300

    dma/sb16: make clang analyzer not complain
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 5a5d4a7651d2e9c89faf827cba8ac96f700530fd
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Jan 11 21:20:53 2010 +0000

    Sparc64: enable real access to PCI configuration space
    
    Leave the bogus access method used by OpenBIOS in place for now.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c3863f25448c41654c652251992e1f22150263f5
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Jan 11 13:27:35 2010 -0600

    Update to SeaBIOS 0.5.1
    
      5da6833 Update version to 0.5.1
      669c991 Fix sign error preventing incorrect memory over 4gig calculation.
      7e6bd3e Minor - better indent assembler in int1587.
      48cf232 Add comment explaining why mptable is in low memory.
      643062f Add int1589 support.
      085debd Set FDPT in irq table even for small drives.
      7c1b186 Reduce #ifs by weeding out some cross-chunk function definitions.
      f9b25d3 Fix vgahook sign issue; add warning to build to catch future cases.
      3862b2d vgabios: Fix compile error due to fixed prototypes.
      1ca05b0 Be sure to add "void" to all function prototypes that take no args.
      b5bb9db mptable: Reset pinmask on new bus or device.
      8918989 Detect latest FC12 gcc -combine breakage.
      c9d3c2d Minor vga binary cleanups.
      9a8609f Make MTRR region 0xc0000-0x100000 be cached.
      fdca418 Force a link error if a function is used from the wrong code chunk.
      dad41d9 Add __noreturn define for __attribute__((noreturn)).
      c003148 Implement native 32bit APM support.
      5c99b6c Commit compiled dsdt file; misc comment updates.
      29f4b91 prevent acpi from rerouting SCI interrupt
      4c94b7e enumerate all PCI buses in mptable
      871e0a0 Add support for 32bit PCI BIOS entry.
      eda2c83 Only add "addr32" to memory accesses that require them.
      52a300f Introduce MODESEGMENT define; rename VISIBLE32 to VISIBLE32FLAT.
      fe2c3ee Allocate smbios in temp space and copy into final location.
      b164d2c Clear user reserved interrupts (0x60-0x66).
      d9104ff Remove pci_bios_bigmem_addr; set pci_bios_mem_addr=0xe0000000
      14021f2 Add initial support for ATA DMA.
      8362699 Allocate mptable in temp space and copy into final location.
      979862e Also report memory over 4G during init.
      928d4df provide correct pci routing information in mptable
      afc02da Add symbolic definitions for MTRR code.
      fb214dc Fix yield() so it works from boot code.
      2ceeec9 Fix potential build failure due to text16 section being too large.
      a2195e4 Increase version in preparation for next release.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ca1a8a0658e34b724fc2f5cbe5b72dbb65f68181
Author: Bruce Rogers <brogers at novell.com>
Date:   Wed Jan 6 12:33:57 2010 -0700

    make help output be a little more self-consistent
    
    Signed-off-by: Bruce Rogers <brogers at novell.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 20a86364c9e421c4f9ce457251fa8df031cd5078
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jan 8 15:25:42 2010 +0100

    pc: add rombar to compat properties for pc-0.10 and pc-0.11
    
    So '-M pc-0.10' and '-M pc-0.11' will use the fw_cfg rom load method
    by default.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 88169ddf82853ca892ce7bee279579c8a0ac03e5
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jan 8 15:25:41 2010 +0100

    pci: allow loading roms via fw_cfg.
    
    This patch adds a pci bus property 'rombar' which specifies whenever
    the pci rom should be loaded via pci rom bar (default) or via fw_cfg.
    The later can be used for compatibility with older qemu versions where
    no pci rom bar is present.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8832cb805dcb65009b979cd8e17d75ac4b03c7e4
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jan 8 15:25:40 2010 +0100

    roms: rework rom loading via fw
    
    This patch changes the way rom loading via fw_cfg is handled.
    Instead of having pc_init1() call a function which passed all
    roms to the firmware config we simply pass a pointer to fw_cfg
    to the rom loader.
    
    Advantage: loading roms via firmware works also for devices which
    are initialized after pc_init1(), i.e. everyting added via -device.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit de9352bcaed2452af1d2b06b829748676c691794
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jan 8 15:25:39 2010 +0100

    fw_cfg: rom loader tweaks.
    
    Changes:
     - make dir argument mandatory, we allways have one anyway
       (vgaroms or genroms).
     - check for duplicates, skip loading if found.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bdb5ee3064d5ae786b0bcb6cf6ff4e3554a72990
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jan 8 15:25:38 2010 +0100

    roms: minor fixes and cleanups.
    
    Changes:
      - Drop extra file argument from rom_add_file().
      - Drop fw_dir check in do_info_roms, we allways have a dir name.
      - code style fixes.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2cae6f5e34d85fe44ec2329a7fbc22dc8cfb079f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jan 8 15:25:37 2010 +0100

    pc: add machine type for 0.12
    
    Add a new machine type for qemu 0.12.
    
    Also fixup the 0.11 machine type: msi for virtio-blk-pci was enabled
    after the 0.11 release, so turn it off in the 0.11 machine type.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bfe4e172421d711d1d5b049f90be0961451c8259
Author: Thomas Horsten <thomas at horsten.com>
Date:   Thu Jan 7 17:01:28 2010 +0000

    Handle TFTP ERROR from client
    
    If a PXE client only wants to find out the size of a file, it will
    open the file and then abort the transfer by sending a TFTP ERROR packet.
    
    The ERROR packet should cause qemu to terminate the session. If not,
    the sessions will soon run out and cause timeouts in the client.
    
    Also, if a TFTP session already exists with same IP/UDP port, it
    should be terminated when a new RRQ is received, instead of creating a
    duplicate (which will never be used).
    
    A patch for gPXE to send the ERROR packet is also being submitted to
    gPXE. Together they resolve slowness/hanging when booting pxegrub from
    qemu's internal TFTP server. The patch from Milan Plzik to return
    after sending OACK is also required for a complete fix.
    
    Signed-off-by: Thomas Horsten <thomas at horsten.com>
    Signed-off-by: Milan Plzik <milan.plzik at gmail.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1559ca00bc90ce6917c2798ed81098e4be67f58e
Author: Christoph Hellwig <hch at lst.de>
Date:   Mon Jan 11 14:06:54 2010 +0100

    dmg: fix ->open failure
    
    Currently the dmg image format driver simply opens the images as raw
    if any kind of failure happens.  This is contrarty to the behaviour
    of all other image formats which just return an error and let the
    block core deal with it.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 49e75cf38848e6da70c0e9ddb4d994e9d71a9625
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Mon Jan 11 17:57:41 2010 +0200

    virtio-pci: thinko fix
    
    Since patch ed757e140c0ada220f213036e4497315d24ca8bct, virtio will
    sometimes clear all status registers on bus master disable, which loses
    information such as VIRTIO_CONFIG_S_FAILED bit.  This is a result of
    a patch being misapplied: code uses !  instead of ~ for bit
    operations as in Yan's original patch.  This obviously does not make
    sense.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8172539d21a03e982aa7f139ddc1607dc1422045
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Sun Jan 10 13:52:53 2010 +0200

    virtio: add features as qdev properties
    
    Add feature bits as properties to virtio. This makes it possible to e.g. define
    machine without indirect buffer support, which is required for 0.10
    compatibility, or without hardware checksum support, which is required for 0.11
    compatibility.  Since default values for optional features are now set by qdev,
    get_features callback has been modified: it sets non-optional bits, and clears
    bits not supported by host.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 704a76fcd24372a683652651b4597f6654084975
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Sun Jan 10 13:52:47 2010 +0200

    virtio: rename features -> guest_features
    
    Rename features->guest_features. This is
    what they are, avoid confusion with
    host features which we also need to keep around.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d2364ee424ebf9180afaf21128a71da55321ad00
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Sun Jan 10 13:52:41 2010 +0200

    qdev: add bit property type
    
    This adds "bit" property type, which is a boolean stored in a 32 bit
    integer field, with legal values on and off.  Will be used by virtio for
    feature bits.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c0ced0f3a76c9f3ad680141f751dd1a20c91bbbf
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Thu Jan 7 19:27:49 2010 +0100

    pc-bios: Update README (SeaBIOS)
    
    The PC BIOS no longer comes from Bochs.
    This patch updates the related entry.
    
    V2 - Modify SeaBIOS description and URL
         (Thanks to Gleb Natapov for the hint).
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit aa4d32c4742e62e09786bd1067a5b98239867e93
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Jan 6 17:08:04 2010 +0100

    lsi: pass lsi_request to lsi_reselect
    
    All callers of lsi_reselect have a lsi_request struct at hand anyway.
    So just pass it directly instead of having lsi_reselect search for it
    using the tag.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b96a0da06bd782ef290445479a6d4d0de00c2c23
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Jan 6 17:08:03 2010 +0100

    lsi: move dma_len+dma_buf into lsi_request
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit daa70311e0f7b37cd0ea3c4de0d163ccf1a36abe
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Jan 6 17:08:02 2010 +0100

    lsi: move current_dev into lsi_request
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit af12ac9880eacdd79d49a11d5672df7170afb38f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Jan 6 17:08:01 2010 +0100

    lsi: have lsi_request for the whole life time of the request.
    
    Right now lsi_request is allocated when a request is queued and released
    when a request is unqueued.  With this patch applied the lsi_request is
    kept for the whole lifetime of the scsi request.
    
    Rationale: We can use it for per-request data then.  The patch does that
    already for the request tag.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 042ec49dc52e54153942a089a46ae584152998fb
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Jan 6 17:08:00 2010 +0100

    lsi: use QTAILQ for lsi_queue
    
    Replace the funky array logic for queued commands with standard
    qemu list functions.  Also rename lsi_queue to lsi_request.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f2d928d44ebc918750c94f3605c1417f1f653ec9
Author: Roland Dreier <rdreier at cisco.com>
Date:   Tue Jan 5 20:43:34 2010 -0800

    vmware_vga: Check cursor dimensions passed from guest to avoid buffer overflow
    
    Check that the cursor dimensions passed from the guest for the
    DEFINE_CURSOR command don't overflow the available space in the
    cursor.image[] or cursor.mask[] arrays before copying data from the
    guest into those arrays.
    
    Signed-off-by: Roland Dreier <rolandd at cisco.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e73223a5849d9e695b5f3b5a4a2a812e68e3735d
Author: Gleb Natapov <gleb at redhat.com>
Date:   Wed Jan 6 16:30:10 2010 +0200

    remove pending exception on vcpu reset.
    
    Without this qemu can even start on kvm modules with events support
    since default value of exception_injected in zero and this is #DE
    exception.
    
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3f7638ec4093100a63b18cbacd45dcd847f7c06b
Author: Jiri Denemark <jdenemar at redhat.com>
Date:   Tue Jan 5 17:26:34 2010 +0100

    Fix CPU topology initialization
    
    Late initialization of CPU topology in CPUState prevents KVM guests to
    actually see the topology.
    
    Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit af364b418cc57c53275c76ee5e0e0645908605b9
Author: Huang Ying <ying.huang at intel.com>
Date:   Tue Jan 5 16:32:24 2010 +0800

    MCE: Fix bug of IA32_MCG_STATUS after system reset
    
    Now, if we inject a fatal MCE into guest OS, for example Linux, Linux
    will go panic and then reboot. But if we inject another MCE now,
    system will reset directly instead of go panic firstly, because
    MCG_STATUS.MCIP is set to 1 and not cleared after reboot. This is does
    not follow the behavior in real hardware.
    
    This patch fixes this via set env->mcg_status to 0 during system reset.
    
    Signed-off-by: Huang Ying <ying.huang at intel.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0b987f19342802dec38d0f257d2b5e0a0630a4ac
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Jan 10 20:54:38 2010 +0000

    PCI: Fix a typo
    
    Fixes build with PCI_DEBUG defined.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit bae7b517a21abfa703871eba2428182311177f16
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Jan 10 18:25:48 2010 +0000

    Sparc64: increase APB register range
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 9c9b0512c7bd00f75dc79677e525d7c3da60f04d
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Jan 9 21:27:04 2010 +0000

    Sparc64: use firmware configuration device for command line storage
    
    Avoid a ROM conflict.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 3d709fe73a77c40e263b3af6e650fd4b519c3562
Author: malc <av1474 at comtv.ru>
Date:   Sat Jan 9 18:06:54 2010 +0300

    oss: fix fragment setting
    
    Previous patch introduced subtle regression, in cases when
    OSS_GETVERSION fails the code wasn't falling back to
    SNDCTL_DSP_SETFRAGMENT.
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 6d246526ce3c145b2831285def6983f5de6190d3
Author: malc <av1474 at comtv.ru>
Date:   Sat Jan 9 17:54:07 2010 +0300

    oss: issue OSS_GETVERSION ioctl only when needed
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 59bc10ee01038f93a13d0471f799e6ad2e1e5ee5
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Mon Jan 4 11:02:28 2010 +0100

    finish VPATH -> vpath translation
    
    This adds a few more vpath suffixes and points the remaining two paths
    explicitly to $(SRC_PATH) in order to eliminate the VPATH assignment
    from config-host.mak.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Cc: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 78d9356d3caad95a74bc9cd65eea5fc7e050c35d
Author: malc <av1474 at comtv.ru>
Date:   Sat Jan 9 00:28:40 2010 +0300

    oss: refactor code around policy setting
    
    This fixes a problem with a previous patch spotted by Juergen Lock,
    thanks to him again.
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 25d0ae900fa2cc6607db4b5d224de47cd721e60d
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Jan 8 19:50:27 2010 +0000

    Makefile: remove obsolete libuser.a rule
    
    libuser.a was removed by 0e8c9214ba1d4128cf92442cd343bc3733478261.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit d532b26c9dee0fb5b2186572f921b1e413963ec2
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Thu Jan 7 23:28:31 2010 +0300

    sparc64: interrupt trap handling
    
    cpu_check_irqs
    - handle SOFTINT register TICK and STICK timer bits
    - only check interrupt levels greater than PIL value
    - handle preemption by higher level traps
    
    cpu_exec
    - handle CPU_INTERRUPT_HARD only if interrupts are enabled
    - PIL 15 is not special level on sparcv9
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 2df6c2d0de31461f18d97f8a4d122bdb003297db
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Thu Jan 7 23:28:26 2010 +0300

    sparc64: move cpu_interrupts_enabled to cpu.h
    
    - to be used by cpu_check_irqs
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 709f2c1b23ceb88c78a116e9a9c22e2a4837f62a
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Thu Jan 7 23:28:21 2010 +0300

    sparc64: add macros to deal with softint and timer interrupt
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 4dc28134f3d7db0033c6b3c5bc4be9a91adb3e2b
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Thu Jan 7 23:28:15 2010 +0300

    sparc64: check for pending irq when pil, pstate or softint is changed
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 1fae7b705f1e70b3636fcba1e660903898fad9c4
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Thu Jan 7 23:28:10 2010 +0300

    sparc64: use helper_wrpil to check pending irq on write
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 68e8a3f05ae21c7217d39bba76e120cbbb956bbd
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Thu Jan 7 23:28:05 2010 +0300

    sparc64: add PIL to cpu state dump
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 7e8695eda3e317923883794c9c1f26d398c0eccc
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Thu Jan 7 23:28:00 2010 +0300

    sparc64: trace pstate and global register set changes
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit d780a466db5d6d82c0f0eba7adf0e4de601324b0
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Thu Jan 7 23:27:54 2010 +0300

    sparc64: change_pstate should have 32bit argument
    
    - pstate is 32bit variable, no need to pass 64bit value around
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 52001445c9d9e9191c1d9b2f887cd9ae265f0799
Author: Adam Lackorzynski <adam at os.inf.tu-dresden.de>
Date:   Sat Dec 26 14:13:46 2009 +0100

    multiboot: Separate multiboot loading into separate file
    
    Move multiboot loading code into separate files as suggested by Alex Graf.
    
    Signed-off-by: Adam Lackorzynski <adam at os.inf.tu-dresden.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ee0216275b9aca079fcbcc8d1facc5a21ba865e8
Author: Adam Lackorzynski <adam at os.inf.tu-dresden.de>
Date:   Sat Dec 26 14:13:45 2009 +0100

    multiboot: Support arbitrary number of modules.
    
    Signed-off-by: Adam Lackorzynski <adam at os.inf.tu-dresden.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d0652aa8ac8d82e077acf8e781557f4c4367dcf5
Author: Avi Kivity <avi at redhat.com>
Date:   Thu Dec 24 15:38:50 2009 +0200

    linuxboot: fix gdt address calculation
    
    The gdt address calculation in linuxboot.bin is broken in two ways: first
    it loads %cs into %eax, but that instruction leaves the high bits of %eax
    undefined and we did not clear them.  Secondly, we completely ignore the
    incorrect %eax, and use the undefined %ebx instead.
    
    With these issues fixed, linuxboot works again.
    
    Signed-off-by: Avi Kivity <avi at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 810f49b56a5d0cd6848856af51d3093ae9adc7b1
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Tue Dec 22 01:09:06 2009 -0200

    QMP: Drop wrong assert()
    
    Some commands return a QList of QDicts, which is valid,
    but will trig the assert().
    
    Just drop it.
    
    Reported-by: Nathan Baum <nathan at parenthephobia.org.uk>
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 95a2f9bc588c3f83375d87b0a9394f89a1bcfada
Author: François Revol <revol at free.fr>
Date:   Tue Dec 22 12:40:49 2009 +0100

    block/vdi: allow disk sizes not multiple of block size
    
    The disk image I created from my old laptop disk with VBoxManage
    internalcommand converthd obviously was not a multiple of 1MB as when
    created from scratch. This fixes QEMU refusing it. We still require the
    size to be a multiple of sector size though.
    It then boots correctly.
    
    Allow opening VDI images with size not multiple of 1MB (as when converted from a raw disk).
    
    Signed-off-by: François Revol <revol at free.fr>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ceb696159d569db5b2a7659ce38752398c236742
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 24 14:46:29 2009 +0200

    net: add API to disable/enable polling
    
    When vhost is bound to a backend device, we need to stop polling it when
    vhost is started, and restart polling when vhost is stopped.
    Add an API for that for use by vhost, and implement in tap backend.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c9f398e53fedb88df243e32eb9bc50fda4ec44d0
Author: H. Peter Anvin <hpa at linux.intel.com>
Date:   Tue Dec 29 13:51:36 2009 -0800

    debugcon: support for debugging consoles (e.g. Bochs port 0xe9)
    
    Add generic support for debugging consoles (simple I/O ports which
    when written to cause debugging output to be written to a target.)
    The current implementation matches Bochs' port 0xe9, allowing the same
    debugging code to be used for both Bochs and Qemu.
    
    There is no vm state associated with the debugging port, simply
    because it has none -- the entire interface is a single, stateless,
    write-only port.
    
    Most of the code was cribbed from the serial port driver.
    
    v2: removed non-ISA variants (they can be introduced when/if someone
    wants them, using code from the serial port); added configurable
    readback (Bochs returns 0xe9 on a read from this register, mimic that
    by default)  This retains the apparently somewhat controversial user
    friendly option, however.
    
    v3: reimplemented the user friendly option as a synthetic option
    ("-debugcon foo" basically ends up being a parser-level shorthand for
    "-chardev stdio,id=debugcon -device isa-debugcon,chardev=debugcon") --
    this dramatically reduced the complexity while keeping the same level
    of user friendliness.
    
    v4: spaces, not tabs.
    
    v5: update to match current top of tree.  Calling qemu_chr_open()
    already during parsing no longer works; defer until we are parsing the
    other console-like devices.
    
    Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 012f0879234b07ec6a35eb6ec3c9d19000643155
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Sun Dec 20 15:39:03 2009 +0100

    Makefile: Update unmodified config-devices.mak automatically
    
    This makes rebuilds after source updates easier
    for most users (who don't edit config-devices.mak).
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 076d247142c1ff1e4d618557fc0acc62f6eb2a7c
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Mon Dec 21 10:06:55 2009 +0100

    Use vpath directive
    
    The vpath directive has two advantages over the VPATH variable:
    1) it allows to skip searching of .o files; 2) the default semantics
    are to append to the vpath, so there is no confusion between "VPATH=xyz"
    and "VPATH+=xyz".
    
    Since "vpath %.c %.h PATH" is not valid, I'm introducing a wrapper
    macro to append one or more directories to the vpath.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e726fe7d60d46636c74c1c4a8fac7e4a05efb163
Author: malc <av1474 at comtv.ru>
Date:   Fri Jan 8 11:26:27 2010 +0300

    oss: workaround for cases when OSS_GETVERSION is not defined
    
    Thanks to Juergen Lock.
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 95372a393dee7a9d5446a9d38edd2b57f9f8d46c
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Thu Jan 7 20:02:04 2010 +0000

    Sparc32: clear exception_index with -1 value
    
    See also 821b19fe923ac49a24cdb4af902584fdd019cee6.
    
    Spotted by Artyom Tarasenko and Igor Kovalenko.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 0e8c9214ba1d4128cf92442cd343bc3733478261
Author: Andreas Färber <afaerber at opensolaris.org>
Date:   Wed Jan 6 20:24:05 2010 +0100

    Drop --whole-archive and static libraries
    
    Juan has contributed a cool Makefile infrastructure that enables us to drop
    static libraries completely:
    
    Move shared obj-y definitions to Makefile.objs, prefixed {common-,hw-,user-},
    and link those object files directly into the executables.
    
    Replace HWLIB by HWDIR, specifying only the directory.
    
    Drop --whole-archive and ARLIBS in Makefiles and configure.
    
    Drop GENERATED_HEADERS dependency in rules.mak, since this rebuilds all
    common objects after generating a target-specific header; add dependency
    rules to Makefile and Makefile.target instead.
    
    v2:
    - Don't try to include /config.mak for user emulators
    - Changes to user object paths ("Quickfix for libuser.a drop") were obsoleted
      by "user_only: compile everything with -fpie" (Kirill A. Shutemov)
    
    v3:
    - Fix dependency modelling for tools
    - Remove comment on GENERATED_HEADERS obsoleted by this patch
    
    Signed-off-by: Andreas Färber <afaerber at opensolaris.org>
    Cc: Blue Swirl <blauwirbel at gmail.com>
    Cc: Palle Lyckegaard <palle at lyckegaard.dk>
    Cc: Ben Taylor <bentaylor.solx86 at gmail.com>
    Cc: Juan Quintela <quintela at trasno.org>
    Cc: Kirill A. Shutemov <kirill at shutemov.name>
    Cc: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 18cb1d85578e03b16570d9380309cca673f9fff8
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Thu Jan 7 07:55:34 2010 -0600

    vnc: Fix artifacts in hextile decoding
    
    02c2b87 introduced a regression whereas the foreground color in a hextile
    update was not being properly invalidated leading to artifacts.
    
    It's still necessary to explicitly invalidate the foreground color with a
    SubrectColoured tile even though we no longer send a foreground color as
    part of the tile.
    
    Reported-by: Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 561ef251e7896aa3c3abdab414dd154558d13d1a
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Sun Dec 13 03:06:20 2009 +0100

    Cocoa: Use optimized drawing for the window
    
    Default is NO.
    
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 123810851e24aa6dc928faeb055cb82dcb153674
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Sun Dec 13 02:49:57 2009 +0100

    Cocoa: Suppress window resize animation
    
    Disable the nice resize animation, to avoid drawing glitches
    following a guest's screen size change.
    
    Based on patch by Juha Riihimäki.
    
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Cc: Juha Riihimäki <juha.riihimaki at nokia.com>
    Cc: Alexander Graf <alex at csgraf.de>
    Cc: Mike Kronenberg <mike.kronenberg at kronenberg.org>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 41ea49b328ef0fa292574af719f92de14b28304d
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Mon Dec 14 22:13:27 2009 +0100

    Cocoa: Shutdown when window is closed
    
    The application is not very useful once the guest window is closed.
    QEMU is not a document-based application; terminating it automatically
    saves the user another action and resembles SDL behavior.
    
    v2:
    - Use delegate method, suggested by Juha Riihimäki.
    
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Cc: Juha Riihimäki <juha.riihimaki at nokia.com>
    Signed-off-by: malc <av1474 at comtv.ru>

commit f49188043b9ca4d28aeea82fa462282f58a36414
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Sun Dec 13 02:11:44 2009 +0100

    Cocoa: Don't unconditionally show the window
    
    When QEMU was launched in no-graphic, Curses or VNC mode,
    don't run it as a Cocoa application.
    
    Based on patch by Alexander Graf.
    
    v1:
    - Avoid type mismatch warning for argv
    - Drop noCocoa variable
    - Coding Style changes
    
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Cc: Alexander Graf <agraf at suse.de>
    Cc: Mike Kronenberg <mike.kronenberg at kronenberg.org>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 17ccbc27def7bb8d27ffc41a3d8e6031dc46ccb4
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Sun Dec 13 02:08:58 2009 +0100

    Cocoa: Redraw the View asynchronously
    
    Cf. http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaPerformance/Articles/CustomViews.html
    
    Based on patch by Juha Riihimäki.
    
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Cc: Juha Riihimäki <juha.riihimaki at nokia.com>
    Cc: Alexander Graf <alex at csgraf.de>
    Cc: Mike Kronenberg <mike.kronenberg at kronenberg.org>
    Signed-off-by: malc <av1474 at comtv.ru>

commit d50f71dc17b41205c33f8a45aa4850ad224dfc2c
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Sun Dec 13 02:03:33 2009 +0100

    Cocoa: Mark the View as opaque
    
    Default is NO.
    
    Cf. http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaPerformance/Articles/CustomViews.html
    
    Based on patch by Juha Riihimäki.
    
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Cc: Juha Riihimäki <juha.riihimaki at nokia.com>
    Cc: Alexander Graf <alex at csgraf.de>
    Cc: Mike Kronenberg <mike.kronenberg at kronenberg.org>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 38ec7b53578a4f95c37f92a1840fc25a01c9b4e7
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Sun Dec 13 01:52:29 2009 +0100

    Cocoa: Fix compilation on Mac OS X v10.4 and earlier
    
    NSView's enterFullScreenMode:withOptions: and
    exitFullScreenModeWithOptions: are available on v10.5
    and later only. Undefined methods raise warnings and
    undefined constants result in errors.
    
    Reported by Ryan Schmidt.
    
    While at it, avoid a warning on v10.3.9,
    where MAC_OS_X_VERSION_10_4 is not defined.
    
    Spotted by John Arbuckle.
    
    Fix associated comments.
    
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Cc: John Arbuckle <programmingkidx at gmail.com>
    Cc: Ryan Schmidt <qemu-2009 at ryandesign.com>
    Cc: Mike Kronenberg <mike.kronenberg at kronenberg.org>
    Signed-off-by: malc <av1474 at comtv.ru>

commit fd10a04ef185593494711ead63dbf1fc5cdbac69
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Sun Dec 13 01:16:27 2009 +0100

    Cocoa: Silence type warning
    
    Add const for "qemu" character literal, to avoid:
    
    warning: initialization discards qualifiers from pointer target type
    
    An earlier patch by John proposed to use char[5]. Since we do not modify
    the text and later copy it into malloc'ed memory, marking it as const
    seems sufficient.
    
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Cc: John Arbuckle <programmingkidx at gmail.com>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 04afa4a88c132f7ffb0ccfaf6f233a18c4089072
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Sun Dec 13 00:58:21 2009 +0100

    Cocoa: Silence warning on Big Endian host
    
    __LITTLE_ENDIAN__ is undefined on Big Endian host.
    
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Cc: John Arbuckle <programmingkidx at gmail.com>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 77047bb7c234793c7a8db6c3a502eb3d23cc1151
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Sun Dec 13 00:55:53 2009 +0100

    Cocoa: Silence warning for cocoa_keycode_to_qemu
    
    Make cocoa_keycode_to_qemu static, to avoid:
    
    warning: no previous prototype for ‘cocoa_keycode_to_qemu’
    
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Cc: John Arbuckle <programmingkidx at gmail.com>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 44e4c0ba863b0be130d0e87e71f456b8b529addb
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Sun Dec 13 00:45:40 2009 +0100

    Cocoa: ppc64 host support
    
    Fix integer usage in the Cocoa backend: NSInteger is long on LP64.
    
    http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/NSView.html#//apple_ref/doc/uid/20000014-BBCFHHCD
    
    This makes the graphical display show up on a ppc64 host.
    
    v3:
    - Confine NSInteger to Mac OS X v10.5 and later
    
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Signed-off-by: malc <av1474 at comtv.ru>

commit 821b19fe923ac49a24cdb4af902584fdd019cee6
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Wed Jan 6 17:35:22 2010 +0000

    sparc64: clear exception_index with -1 value
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ea3fdd5d8ca8d5055942e42151480ab5611396c7
Merge: dffbe21746fc7a8b66fbbdf15f74eefccd8edafd 1cd9656f27bd3b6dc85ad16adeeca88daa1aa14b
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jan 6 07:16:59 2010 -0600

    Merge remote branch 'mst/for_anthony' into staging

commit dffbe21746fc7a8b66fbbdf15f74eefccd8edafd
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Sun Jan 3 15:09:27 2010 +0300

    pass env to raise_exception if called outside of op_helper code
    
    - this fixes stepping with gdb, where do_unassigned_access
      may be called from gdb handler, outside of generated code
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 87f6d3f630e944586f5795e414cfedcd31e4c498
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Sun Jan 3 12:16:51 2010 +0000

    sparc64: switch to MMU global registers in more MMU related traps
    
    - extended range of MMU related traps which use MMU global registers,
      as listed in Ultrasparc-IIi document
    - no visible changes, since emulation do not cause added traps
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 995963852c589aae9487fdd6c20d898cf678ba04
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sun Jan 3 03:08:19 2010 +0100

    target-i386: Fix "call im" on x86_64 when executing 32-bit code
    
    Similarly to what is done in 32938e127f50a40844a0fb9c5abb8691aeeccf7e
    for "jmp im", trunc the immediate to 32-bit when not running in 64-bit
    mode.
    
    Reported-by: Kevin O'Connor <kevin at koconnor.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 3e372cf87fa0d9ab378c3dffed6b863bef4ed7a3
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Dec 28 21:18:12 2009 +0100

    loader: don't call realloc(non_null, 0) when no symbols are present
    
    According to C99, realloc(non_null, 0) != free(non_null), that's why
    it is forbidden in QEMU.
    
    When there are no symbols, nsyms equals to 0. Free the syms structure
    and set it to NULL instead of reallocating it with a size of 0.
    
    This fixes -kernel with stripped kernels.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
    Acked-by: Michael S. Tsirkin <mst at redhat.com>

commit b430a22562e8a3836f984aa3f8b5b62ebd249573
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Dec 30 12:27:17 2009 +0000

    Sparc64: split DPRINTF into CPUIRQ and EBUS versions
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 302698e882aacc6b5e1ff1b80bff0b691c69ce2f
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Dec 30 12:26:01 2009 +0000

    Sparc64: fix compile with DEBUG_IRQ enabled
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 3caf2562c21278aa9992bc7e6b5bbe98bc79f92e
Author: malc <av1474 at comtv.ru>
Date:   Wed Dec 30 04:26:34 2009 +0300

    sdl: print the reason why SDL thinks SDL_Init failed before exiting
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit 19e65b47f60c68d7e8c96aa0a36223c5a0d3422b
Author: Michael Tokarev <mjt at tls.msk.ru>
Date:   Thu Dec 24 12:15:47 2009 +0300

    Add missing newline at the end of options list
    
    In qemu-kvm this place looks even more "interesting":
    
     -runas user     Change to user id user just before starting the VM.
     -readconfig <file>
     -writeconfig <file>
                    read/write config file-no-kvm         disable KVM hardware virtualization
     -no-kvm-irqchip disable KVM kernel mode PIC/IOAPIC/LAPIC
     -no-kvm-pit     disable KVM kernel mode PIT
    
    Signed-off-by: Michael Tokarev <mjt at tls.msk.ru>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 60f67a9c95e2c9970fde996e3ac916256676c61a
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon Dec 28 11:28:40 2009 +0000

    Update Sparc64 OpenBIOS image to r649.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f6b6f1bc80d6657d6a98a078425c7d3d569de5e9
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Dec 27 20:52:39 2009 +0000

    Sparc64: move APB PCI memory base to correct location
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit cf616802171905a9b6d087a69caa3b978b9cd741
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Dec 27 20:52:36 2009 +0000

    PCI: Fix bus address conversion
    
    Pass physical addresses to map functions instead of PCI bus addresses.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 6bb4ca57a15ab9458ce8821572def6758131d8b9
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Dec 27 18:25:49 2009 +0000

    sparc: make command line available also via firmware configuration device
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ff44c2f3c80dcdec7fe1ba8853ab9c03e6e37f7e
Author: Richard Henderson <rth at twiddle.net>
Date:   Sun Dec 27 09:09:41 2009 +0000

    tcg: Add tcg_unsigned_cond.
    
    Returns an unsigned version of a signed condition;
    returns the original condition otherwise.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ecbe1576b3287e7907b524901063a8117f544e61
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Dec 25 19:27:18 2009 +0000

    block/bochs: improve format checking
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 114cdfa908520ccc624fc8e5409252dc6e980f8a
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Fri Dec 25 18:19:22 2009 +0000

    block.c: fix warning with _FORTIFY_SOURCE
    
      CC    block.o
    cc1: warnings being treated as errors
    block.c: In function 'bdrv_open2':
    block.c:400: error: ignoring return value of 'realpath', declared with attribute warn_unused_result
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 00ccf932a0e0f0f1cbc6cdb9db5495dd5ebedd5a
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Fri Dec 25 18:19:20 2009 +0000

    block/bochs.c: fix warning with _FORTIFY_SOURCE
    
      CC    block/bochs.o
    cc1: warnings being treated as errors
    block/bochs.c: In function 'seek_to_sector':
    block/bochs.c:202: error: ignoring return value of 'read', declared with attribute warn_unused_result
    make: *** [block/bochs.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 5fdb3aa16ab7628c4c3ffcbfb6861b2ad7643a6b
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Fri Dec 25 18:19:19 2009 +0000

    savevm.c: fix warning with _FORTIFY_SOURCE
    
      CC    savevm.o
    cc1: warnings being treated as errors
    savevm.c: In function 'file_put_buffer':
    savevm.c:342: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result
    make: *** [savevm.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f0d98b0517097509e1ebe2ac333f1ed70e7ea4f1
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Fri Dec 25 18:19:18 2009 +0000

    slirp/misc.c: fix warning with _FORTIFY_SOURCE
    
      CC    slirp/misc.o
    cc1: warnings being treated as errors
    slirp/misc.c: In function 'fork_exec':
    slirp/misc.c:209: error: ignoring return value of 'write', declared with attribute warn_unused_result
    make: *** [slirp/misc.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 5a41ecc5f28bc434e8f3b5868c9481ad423ae664
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Fri Dec 25 18:19:17 2009 +0000

    hw/pc.c: fix warnings with _FORTIFY_SOURCE
    
      CC    i386-softmmu/pc.o
    cc1: warnings being treated as errors
    /usr/src/RPM/BUILD/qemu-0.11.92/hw/pc.c: In function 'load_multiboot':
    /usr/src/RPM/BUILD/qemu-0.11.92/hw/pc.c:614: error: ignoring return value of 'fread', declared with attribute warn_unused_result
    /usr/src/RPM/BUILD/qemu-0.11.92/hw/pc.c: In function 'load_linux':
    /usr/src/RPM/BUILD/qemu-0.11.92/hw/pc.c:888: error: ignoring return value of 'fread', declared with attribute warn_unused_result
    /usr/src/RPM/BUILD/qemu-0.11.92/hw/pc.c:889: error: ignoring return value of 'fread', declared with attribute warn_unused_result
    make[1]: *** [pc.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 34ba360fda5853d97fa69af00a5d510a786d41b3
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Fri Dec 25 18:19:15 2009 +0000

    path.c fix warning with _FORTIFY_SOURCE
    
      CC    libuser/path.o
    cc1: warnings being treated as errors
    /usr/src/RPM/BUILD/qemu-0.11.92/path.c: In function 'new_entry':
    /usr/src/RPM/BUILD/qemu-0.11.92/path.c:49: error: ignoring return value of 'asprintf', declared with attribute warn_unused_result
    make[1]: *** [path.o] Error 1
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c71b5b4a9c4ee680bc48eb02386f1dc4311e0fdb
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Dec 25 18:18:29 2009 +0000

    PCI: partially revert 2e01c8cf4b076b05013c87723e3fc710b50a0a7a
    
    Bus address conversion was not correct.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 2e01c8cf4b076b05013c87723e3fc710b50a0a7a
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Dec 25 16:50:36 2009 +0000

    PCI: make pci_mem_base private
    
    Make pci_mem_base private to PCIBus. Add a function to set it.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 2fe0ee97f9b138fb61dcdc2b98f0c4cf7f4dd9c7
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Dec 25 16:12:26 2009 +0000

    Fix Sparse error: dubious one-bit signed bitfield
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f6dc18df5c6582bec1aecb78b95f8201e6c9cc38
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Dec 25 16:12:17 2009 +0000

    Fix Sparse warning: dubious: !x & y
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 545557d4aba4327ce07aab5a6306242b4b096f09
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Dec 25 16:11:40 2009 +0000

    scsi: fix Sparse warning: Initializer entry defined twice
    
    Both REWIND and REZERO_UNIT use 0x01, READ_POSITION and PRE_FETCH
    share 0x34.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ad674e53b5cce265fadafbde2c6a4f190345cd00
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Dec 24 01:00:41 2009 +0100

    MAC DBDMA: store register values in native endianness
    
    Store the register values in native endianness, by dropping all the
    endianness conversion functions, and converting the endianness in
    dbdma_readl/dbdma_writel instead.
    
    Also guard the endianness conversion with TARGET_WORDS_BIGENDIAN to
    simulate the backward connection of the bus.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c84bd4f104098861e162be848a00d64c1fa76ed4
Author: Gleb Natapov <gleb at redhat.com>
Date:   Thu Dec 24 16:14:33 2009 +0200

    Intel CPUs starting from pentium have apic
    
    Intel CPUs starting from pentium have apic. Lets advertise it.
    
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit f21a59c224a6fdf7b30c3fe551fd93043e537f6c
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Dec 24 19:30:25 2009 +0100

    loader: more ignores for rom intended to be loaded by the bios
    
    Similarly to what has been done in e405a2ba91b68817cae2a428de55fe9616a4cf37,
    ignore rom intended to be loaded by the bios in find_rom() and rom_copy().
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e405a2ba91b68817cae2a428de55fe9616a4cf37
Author: Avi Kivity <avi at redhat.com>
Date:   Tue Dec 22 11:57:02 2009 +0200

    Don't load options roms intended to be loaded by the bios in qemu
    
    The first such option rom will load at address 0, which isn't very nice,
    and the second will report a conflict and abort, which is horrible.
    
    Signed-off-by: Avi Kivity <avi at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 502e64fe23f19c086d42f6178cdda19e58996080
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Dec 24 00:18:23 2009 +0100

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

commit f7001a3b9e60da80e4d9772a103ea6a06650b649
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Dec 24 00:17:12 2009 +0100

    linux-user: fix build with gcc-4.1
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 58e3e400278fb8000bf53b673008564921205220
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Dec 23 19:28:11 2009 +0100

    linuxboot.bin is a generated file
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 22ff51ee64b2d7ab2ef16d34742d1d8920bfe209
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Dec 23 15:45:30 2009 +0000

    qemu-nbd: fix OpenBSD linker warning
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 2758aa520df0158a3a2902600efe062c5bc4ba01
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Dec 23 17:05:21 2009 +0200

    e1000: add link to data sheet
    
    Link to data sheet at intel.com so people can find it.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 6474bd6909eb14f89081ae7199ab0ed1bc5211b1
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Dec 23 15:35:17 2009 +0000

    qemu-io: suppress a warning with gcc 4.0.2
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 2bff4b6fbecf87f91bce64ad99e94540ed9f9f51
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Wed Dec 23 15:34:04 2009 +0000

    Compile qemu-nbd also on OpenBSD and Solaris
    
    basename() needs #include <libgen.h>.
    
    No prototype for daemon() is available on Solaris, but link
    succeeds.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 1cd9656f27bd3b6dc85ad16adeeca88daa1aa14b
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Sun Dec 13 16:08:54 2009 +0200

    list MST as pci layer maintainer
    
    List MST as PCI maintainer so that people know
    whom to Cc on patches.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 56594fe3dc8fe6106e65c5b93493718053dfc7f2
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Tue Dec 15 20:26:07 2009 +0900

    piix_pci: add link to i440fx data sheet.
    
    add link to i440fx data sheet.
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 4da5fcd391983c1d45013ae62be389bcda7d9213
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Tue Dec 15 20:26:06 2009 +0900

    piix_pci: use range helper function
    
    use range helper function in i440fx_write_config().
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit f2c688bb4264039a351ada7323d0ebb546c3a1a5
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Tue Dec 15 20:26:05 2009 +0900

    piix_pci: define symbolic value for PAM0, PAM6 and SMRAM.
    
    Define symbolic value in i440fx configuration space
    for 0x59, 0x5f and 0x7f and use them.
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 98a3cb024b0e4d5a4b1458946a82ea9b9619ba1c
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Tue Dec 15 20:26:04 2009 +0900

    msix: use range helper function.
    
    use range helper function in msix_write_config().
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit a40e3411d199c43ea1eb837da642829d6a2d0148
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Tue Dec 15 20:26:03 2009 +0900

    acpi: use range helper function.
    
    use range helper function in pm_write_config().
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit e0fe0204416b9ea2936ffba69bdd26b2a5c9da02
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Tue Dec 15 20:26:02 2009 +0900

    gt64xxx: remove gt64120_{read, write}_config().
    
    They call only pci_default_{read, write}_config().
    So they aren't necessary.
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit fb58a897fdcaeedc09f0064817809f1e4d490324
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Tue Dec 15 20:26:01 2009 +0900

    pci: use pci_regs.h
    
    include pci_regs.h and remove duplicated defines.
    And remove unused PCI_REVISION and PCI_SUBDEVICE_ID.
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit cb67beb1367c655642ade2ffc442227fd511dbfd
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Tue Dec 15 20:26:00 2009 +0900

    pci: import Linux pci_regs.h
    
    Import Linux pci_regs.h. Later PCI register definitions in pci.h
    will be eliminated.
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 3d09c490e57cd150f07a698e611ad7e4d7fca265
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Tue Dec 15 20:25:59 2009 +0900

    pci: s/PCI_SUBVENDOR_ID/PCI_SUBSYSTEM_VENDOR_ID/g
    
    To match Linux PCI register definition,
    rename PCI_SUBVENDOR_ID to PCI_SUBSYSTEM_VENDOR_ID.
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit b8ba4176aa7be786c9182313e13d77bb30542e7b
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Tue Dec 15 20:25:58 2009 +0900

    pci: remove PCIBus::config_reg.
    
    PCIBus::config_reg isn't used anymore, so remove it.
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit b81ebc69900638e199e4cd1f4f00ba60917ff685
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 19:28:53 2009 +0200

    pci: remove unused macro
    
    PCI_STATUS_DEVSEL is unused, and it also
    has a different name in pci_regs.h
    Remove.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit d74dbb94766e7489ed719fbeaa135728b7cd88ef
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 19:27:32 2009 +0200

    usb-ohci: symbolic names for pci registers
    
    No functional changes. I verified that the generated binary
    does not change.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit db579e9e73d455ab4031a9d0dcdc2c13688491ce
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 19:25:03 2009 +0200

    usb-uhci: symbolic names for pci registers
    
    No functional changes. I verified that the generated binary
    does not change.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit 4468fb6343f0540600e1dac04b543221fa2b42d5
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 19:21:55 2009 +0200

    ac97: symbolic names for pci registers
    
    No functional changes. I verified that the generated binary
    does not change.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit fcce95e2eef1f1485446cbc1fa95b4a9814abb0c
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 19:06:46 2009 +0200

    wdt_i6300esb: symbolic names for pci registers
    
    No functional changes. I verified that the generated binary
    does not change.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit d3e2f1353e8d467130a33e3bf245fb679f0fb8a8
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 19:04:25 2009 +0200

    es1370: symbolic names for pci registers
    
    No functional changes. I verified that the generated binary
    does not change.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit 5d89715b00d2df74caf109127edb9ccc813a2628
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 19:04:02 2009 +0200

    pci: add another devsel macro
    
    will be used by ensoniq emulation
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit 5845f0e5e8ca8d3c3b6c75558faa6163b7c81e3b
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 18:56:42 2009 +0200

    lsi: symbolic names for pci registers
    
    No functional changes. I verified that the generated binary
    does not change.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit 3fa0f9552b7dda41c761cea0d069567b6f1f433d
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 18:51:49 2009 +0200

    vmware_vga: symbolic names for pci registers
    
    No functional changes. I verified that the generated binary
    does not change.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit 409570a735d3187fe56cf4a892d15cae336f8ded
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 18:36:40 2009 +0200

    cmd646: symbolic names for pci registers
    
    No functional changes. I verified that the generated binary
    does not change.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit 1e68f8c4a699bd853459e1c1ba2851329931b4ef
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 18:18:19 2009 +0200

    piix: symbolic constants
    
    No functional changes. I verified that the generated binary
    does not change.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit 508cc6b466db382120a806f03688cf6c0480052b
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 17:52:10 2009 +0200

    eepro100: symbolic names for pci registers
    
    No functional changes. I verified that the generated binary
    does not change in meaningful ways.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit d577679e5757e9ce6abc3288c3e97d691b0efe48
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 17:42:19 2009 +0200

    pci: add more status bits
    
    will be used by eepro100.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit 97526229dab93249a4b7308b6554247a2bf3aa5f
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 16:51:04 2009 +0200

    pcnet: switch to symbolic names for pci registers
    
    No functional changes. I verified that the generated binary
    does not change.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit 0b5b3547cd4bf906fa7c9d2aabf09c4df17947a0
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 15:57:34 2009 +0200

    rtl: switch to symbolic names for pci registers
    
    No functional changes. I verified that the generated binary
    does not change.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit e6c4cfd50327d730e4c0cfd6ece43e7b59224acd
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 15:42:56 2009 +0200

    ne2000: switch to symbolic names for pci registers
    
    No functional changes. I verified that the generated binary
    does not change.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit a9cbacb0d68440d4be7ccfed61f321224026bf5c
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Thu Dec 10 15:23:59 2009 +0200

    e1000: switch to symbolic names for pci registers
    
    No functional changes. I verified that the generated
    object binary does not change.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Glauber Costa <glommer at gmail.com>

commit a7b15a5cc6261629879d4d8a71bacf23f983000b
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Dec 23 16:33:56 2009 +0200

    Revert "Revert "pci: interrupt disable bit support""
    
    This reverts commit d587e0787153f0224a6140c5015609963ceaabfb.

commit 59d1c1c2d774cccb0a88ff73501f97bea190c154
Author: Scott Tsai <scottt.tw at gmail.com>
Date:   Wed Dec 23 04:30:18 2009 +0800

    USB: Improve usbdevice error messages
    
    When an non-existent USB device is specified on the command line,
    print "qemu: could not add USB device 'X'".
    Likewise for the usb_{add,del} monitor commands.
    
    Signed-off-by: Scott Tsai <scottt.tw at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 2edd07ef03782827245ce55ca4b3a882512ac514
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon Dec 21 13:02:40 2009 -0800

    target-alpha: Initialize fpcr
    
    Linux, at least, disables exceptions by default.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 56f4927e34c63fc02b2fb8f7b09b1900075b6f26
Author: Richard Henderson <rth at twiddle.net>
Date:   Sat Dec 19 20:23:19 2009 -0800

    tcg-sparc: Implement brcond2.
    
    Split out tcg_out_cmp and properly handle immediate arguments.
    Fix constraints on brcond to match what SUBCC accepts.
    Add tcg_out_brcond2_i32 for 32-bit host.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit a212ea75534aebe98c03451b58c5fdf754cf8978
Author: Richard Henderson <rth at twiddle.net>
Date:   Thu Dec 17 23:47:54 2009 -0800

    tcg-sparc: Use TCG_TARGET_REG_BITS in conditional compilation.
    
    The test TCG_TARGET_REG_BITS==64 is exactly the feature that we
    are checking for, whereas something involving __sparc_v9__ or
    __sparc_v8plus__ should be reserved for something ISA related,
    as with SMULX.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 431722077a991753052456b83c1749f73618c2a6
Author: Richard Henderson <rth at twiddle.net>
Date:   Sat Dec 19 19:45:27 2009 -0800

    tcg-sparc: Improve tcg_out_movi for sparc64.
    
    Generate sign-extended 32-bit constants with SETHI+XOR.
    Otherwise tidy the routine to avoid the need for
    conditional compilation and code duplication with movi_imm32.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 4a09aa895e7cd82192e47ede9cde8ab7da4a96ba
Author: Richard Henderson <rth at twiddle.net>
Date:   Thu Dec 17 15:20:24 2009 -0800

    tcg-sparc: Fix imm13 check in movi.
    
    We were unnecessarily restricting imm13 constants to 12 bits.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 21a88941686b3626aa7b98660b1e1fa88cb064ec
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Dec 21 20:19:12 2009 +0000

    ARM PBX-A9 memory map tweaks
    
    Add core tile memeory to the RealView PBX-A9 board.  Document the
    memeory maps that are known to work with the qemu bootloader.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 209bf9658a42a20756f2f0eb5afa1ecf099263f0
Author: Paul Brook <paul at codesourcery.com>
Date:   Mon Dec 21 15:05:57 2009 +0000

    LAN9118 improvements
    
    Implement LAN9118 general purpose timer and PHY interrupts. Fix global
    interrupt status bit.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 73b01960b4af0e75c955757034a91b6370a4edb8
Author: Alexander Graf <agraf at suse.de>
Date:   Mon Dec 21 14:02:39 2009 +0100

    PPC: Make DCR uint32_t
    
    For what I know DCR is always 32 bits wide, so we should also use uint32_t to
    pass it along the stacks.
    
    This fixes a warning when compiling qemu-system-ppc64 with KVM enabled, making
    it compile without --disable-werror
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit b711de9565d3c8f758956dfa96b648cc321577b6
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Dec 21 13:52:08 2009 +0100

    PPC64: Fix alternate timebase
    
    Fix the alternate time base the same way as the default timebase. SPR_ATBL
    should return a 64-bit value on 64 bit implementations.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e3ea652962383a2ffc05b2f1b10a0e97542eb6f8
Author: Alexander Graf <agraf at suse.de>
Date:   Mon Dec 21 12:24:17 2009 +0100

    PPC64: Fix timebase
    
    On PPC we have a 64-bit time base. Usually (PPC32) this is accessed using
    two separate 32 bit SPR accesses to SPR_TBU and SPR_TBL.
    
    On PPC64 the SPR_TBL register acts as 64 bit though, so we get the full
    64 bits as return value. If we only take the lower ones, fine. But Linux
    wants to see all 64 bits or it breaks.
    
    This patch makes PPC64 Linux work even after TB crossed the 32-bit boundary,
    which usually happened a few seconds after bootup.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c4b3be39661d158b3480ad6982dfdee36ec67c7a
Author: Richard Henderson <rth at twiddle.net>
Date:   Sat Dec 19 15:17:14 2009 -0800

    target-alpha: Emit tcg debug_insn_start.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a3b3912ad0ed21c7d13f4bec84050f38d4f207da
Author: Richard Henderson <rth at twiddle.net>
Date:   Sat Dec 19 15:17:15 2009 -0800

    linux-user: Add aliases for some Alpha syscalls
    
    Alpha always used 32-bit uids, but never renamed the syscalls
    to match i386 when 32-bit uids were added there.  This enables
    the proper bits in syscall.c.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 4f7836b7eb38e5f9a637f521ac1875bd3e686a97
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Mon Dec 21 11:10:53 2009 +0100

    Update OpenBIOS PPC image to revision 647
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 46214a27851095d6581a7c7f0efc4f592d264957
Author: Andreas Färber <andreas.faerber at web.de>
Date:   Sun Dec 20 00:22:26 2009 +0100

    ppc64: Change default machine to mac99
    
    Also change the New World default CPU to 970FX for ppc64,
    since the G4 is a 32-bit CPU.
    
    Signed-off-by: Andreas Färber <andreas.faerber at web.de>
    Acked-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 9706c06d9c93b6d94785b6b14565b61ddae95a04
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sun Dec 20 21:18:57 2009 +0100

    cpu-all.h: fix cpu_get_real_ticks() #ifdef
    
    Reported-by: Hervé Poussineau <hpoussin at reactos.org>
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 935effc2bbd2c441b755a8d280811a9763fdb98c
Author: Kevin Wolf <mail at kevin-wolf.de>
Date:   Sat Dec 19 21:15:20 2009 +0100

    Multiboot support: Fix rom_copy
    
    ROMs need to be loaded if they are anywhere in the requested area, not
    only at the very beginning. This fixes Multiboot with ELF kernels that
    have more than one program header.
    
    Signed-off-by: Kevin Wolf <mail at kevin-wolf.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7631c97ec9648da7b3420a925e8d95e8bd3f444e
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Fri Dec 11 09:04:51 2009 -0800

    linux-user: add core dump support for SH
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7a93cc55e9af661949cb9a56866b5652667294c9
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Fri Dec 11 09:04:50 2009 -0800

    linux-user: add core dump support for M68K
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 51e526063d23e4ae6732d6b9868e9dcf3cd3597b
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Fri Dec 11 09:04:49 2009 -0800

    linux-user: add core dump support for MIPS
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e2f3e741b4ba573a7d18f785f51a7b7c7febc88a
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Fri Dec 11 09:04:48 2009 -0800

    linux-user: add core dump support for PPC
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d049e626ad38be8b88246076398dbadbcf2e0f65
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Fri Dec 11 09:04:47 2009 -0800

    linux-user: fix ARM core dumps on opposite-endian hosts
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 21e807fadb8a16608875551fd313cb471ab315ce
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Fri Dec 11 09:04:46 2009 -0800

    linux-user: commonify definitions of target typedefs
    
    There's no sense in separately declaring target_{elf_greg,uid,gid,pid}_t
    for every architecture.  Just declare them once with appropriate
    USE_UID16 handling.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit dd0a365144ed47627eab4a9cccc938517c690b73
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Fri Dec 11 09:04:45 2009 -0800

    linux-user: fix ELF_USE_CORE_DUMP/USE_ELF_CORE_DUMP confusion
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 49995e17484a89bb35085275b06a250080a19e6c
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Dec 19 20:28:23 2009 +0100

    linux-user: use TARGET_ABI_FMT_lx to print abi_ulong types
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit f9e69bd9cfe2247b1fb5dc56d3a28baf36ce8384
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Dec 19 19:14:16 2009 +0100

    roms: allow roms to be loaded at address 0
    
    It was possible to load roms at address 0, but commit
    632cf034b401cdd01dae253a8b577fe518e37654 started to forbid that, which
    broke at least ARM versatile.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 66393fb9dda297e591aa3c8842856963b3121df1
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Fri Dec 4 15:16:32 2009 +0200

    linux-user: cleanup force_sig() calls
    
    Force_sig should be always called with TARGET_ signals.
    Not that it really matters with SEGV, so this patch is
    just for cleanup and improving consistency.
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d032d1b4b4bc29cb44592ee207bd8ae7cd4da668
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Fri Dec 4 15:16:31 2009 +0200

    linux-user: Fix mmap_lock ordering
    
    mmap_lock() can be called while tb_lock() is being held. To
    avoid deadlock when one thread is holding mmap_lock and another
    tb_lock, _always_ lock first tb_lock().
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit f76cfe56d9bc281685c5120bf765d29d9323756f
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Fri Dec 4 15:16:30 2009 +0200

    linux-user: enable tb unlinking when compiled with NPTL
    
    Fixes receiving signals when guest code is being executed in a tight
    loop. For an example, try interrupting the following code with ctrl-c.
    
    http://nchipin.kos.to/test-loop.c
    
    The tight loop is ofcourse brainless, but it is also exactly how the waitpid* testcases
    are implemented.
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 58faa1a6dbce2be38ab1107c2dc4335ac8df8a63
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Dec 19 15:42:34 2009 +0000

    user: fix compilation without -fpie
    
    Fixes breakage by 299060a06e7c73de5cb9962edbca7f7f9e0b7f25.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 299060a06e7c73de5cb9962edbca7f7f9e0b7f25
Author: Kirill A. Shutemov <kirill at shutemov.name>
Date:   Sat Dec 19 15:16:08 2009 +0000

    user_only: compile everything with -fpie
    
    We really need compile _all_ sources for user target with -fpie when
    use --enable-user-pie.
    
    It's regression introduced by commit add16157d72454.
    
    Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
    Cc: Blue Swirl <blauwirbel at gmail.com>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 060fbfe1d607abd6cf58edbf13d10103b0c6738e
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sat Dec 19 15:59:29 2009 +0100

    hw/openpic.c: replace tabs by spaces
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit b4b784fe98549ff0b9d07eb5a797dfd665423fe2
Author: Alexander Graf <agraf at suse.de>
Date:   Fri Dec 18 23:37:27 2009 +0100

    target-ppc: Use interrupts for escc
    
    When using the escc with Linux, we need interrupts. So instead of creating
    a dummy device, let's just map them to the openpic we have anyways.
    
    This makes Linux on PPC64 with console=ttyPZ0 work.
    
    Obviously, this change needs to be reflected in openbios. Patch for that
    follows this one. Please update the binary then.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d14ed2548c3163cdb316eb4da36cd7a6a8975da4
Author: Alexander Graf <agraf at suse.de>
Date:   Fri Dec 18 23:37:26 2009 +0100

    target-ppc: Initialize OpenPIC properly
    
    When lowering an IRQ line, we search for the line we're supposed to lower.
    
    Usually we run into an optimization there that queues up interrupts. This
    queue ends with -1. Unfortunately we didn't set the first item to -1.
    
    This patch fixes this, making interrupts work on PPC64.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0aced4e219f81ab583b2d99663e13c3278d163ea
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Sat Dec 19 08:24:34 2009 -0600

    Update version and changelog to sync with stable branch
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4303f6d800e46e458ae1815341dcb091d058bd08
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Dec 18 21:26:15 2009 -0600

    Update to SeaBIOS 0.5.0
    
    The only change is updating the makefile but that way we're carrying an official
    release.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 13232b8f45fdd18874357194ebc832e017787ea4
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Dec 18 14:51:49 2009 -0600

    Revert "monitor: Convert do_migrate_set_speed() to QObject"
    
    This reverts commit 3a4921047d514c336531c304bec362c4d138ebcc.
    
    From Luiz:
    
      do_migrate_set_speed() accepts a suffix for the 'value' argument and this is
      not good for QMP.  We will have to add a new argument type to handle that and
      this will have to wait for 0.13.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c7493749782bd61a8cbdd72397ccf7fea9c0d7f6
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Dec 18 13:58:56 2009 -0600

    e1000: Don't muck with PCI commmand register
    
    Otherwise, the driver does not work in Linux after the INT_DISABLE changes in
    PCI.
    
    Michael Tsirkin had a patch to do this, I'm not sure what happened to it.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3b0bd6ec5bde2a1a26c4c87f3912cd25256eb58d
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Fri Dec 18 13:25:05 2009 -0200

    monitor: do_balloon(): Use 'M' argument type
    
    This makes do_balloon() accept megabyte values from the user
    Monitor while accepting byte values for QMP.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b6e098d79f661c7d2a631d9c6c8e119f00c3069d
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Fri Dec 18 13:25:04 2009 -0200

    monitor: Introduce 'M' argument type
    
    This is a target long value in megabytes which should be
    converted to bytes.
    
    It will be used by handlers which accept a megabyte value
    when in "user mode".
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 940489824e49f9d0cd0c989f9dc95790eb45dcaa
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Fri Dec 18 13:25:03 2009 -0200

    QMP: Update spec file
    
    - Remove "draft" status
    - Change default success response to be json-object
    - Change error and event data member to be a json-object
    - Update examples
    - Add new section "Compatibility Considerations"
    - Other fixes and clarifications
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 052f1b9be56a97d429019f4a42ef680cbc378125
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Fri Dec 18 13:25:02 2009 -0200

    QMP: Update README file
    
    - Fix output description
    - Fix command-line usage notes
    - Minor improvements
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3661d51e8d75710f95376c9383d0cd8042d51727
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Fri Dec 18 13:25:01 2009 -0200

    QMP: Assure that returned data is a QDict
    
    This is for debug purposes only.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0abc657914c73c74a7381a26dd45d138a4b3bdd7
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Fri Dec 18 13:25:00 2009 -0200

    QMP: Return an empty dict by default
    
    Currently, when a regular command doesn't have any data to output,
    QMP will emit:
    
    { "return": "OK" }
    
    Returning an empty dict is better though, because dicts can support
    some protocol changes in a compatible way.
    
    So, with this commit we will return:
    
    { "return": {} }
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 43e713ce93600ccdb4dd0cc54ff5a087b38eb91e
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Fri Dec 18 13:24:59 2009 -0200

    QMP: Only handle converted commands
    
    Looks like I dropped this check when addressing the 'query-'
    commands request.
    
    QMP should only handle converted commands, obviously.
    
    Reported-by: Markus Armbruster <armbru at redhat.com>
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 82c09f2f0d0f405428ce0c567da2ada493acc30b
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Dec 19 01:58:59 2009 +0100

    target-ppc: fix ppc32 kvm build
    
    My segment sync patch broke compilation on PPC32, because it was trying to
    sync the SLB even though ppc32 CPUs don't have an SLB.
    
    So let's only sync it when we're on a PP64 one!
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 384dce1eded17cb0413b473d0d0bee993f254045
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Thu Dec 3 15:56:08 2009 +0200

    usb-musb: convert fifo to 8bit and add more registers
    
    Convert musb fifo to 8bit to allow 8/16/32bit access
    
    MUSB allows reading and writing to the fifo in 32/16/8 bit
    width. The Linux kernel does this sometimes, most usually at
    the end of writing the packet to allow packet to end at a
    odd bytecount.
    
    Convert the fifo to 8bit allows removing lots of shifts
    which shows that the fifo is more natural as 8bit.
    
    While at it, add multiple missing register definitions and
    and cleanup debug prints.
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 109ac32fb510c30ec64557179fd491435a0f1598
Author: Juha Riihimäki <juha.riihimaki at nokia.com>
Date:   Thu Dec 3 15:56:07 2009 +0200

    handle SD CMD5 without error messages
    
    From: Juha Riihimäki <juha.riihimaki at nokia.com>
    Signed-off-by: Juha Riihimäki <juha.riihimaki at nokia.com>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 659139d780ed6ecfaff4a8a904dab37d179017d1
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Thu Dec 3 15:56:06 2009 +0200

    Make USB hid devices self-powered
    
    Simplifies power budget negotiation.
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c6703b4761c4df633997a37d52641b20a0b6cf45
Author: Riku Voipio <riku.voipio at nokia.com>
Date:   Thu Dec 3 15:56:05 2009 +0200

    Give a error when running out of iomem areas.
    
    The limit of iomem areas is quite low. Without the
    debug print, it is quite hard to figure out why more
    devices are not getting registered.
    
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 9a0c6a3373ccc4dc7a198da4c30f6d259a304e82
Author: Juha Riihimäki <juha.riihimaki at nokia.com>
Date:   Thu Dec 3 15:56:04 2009 +0200

    fix networking on win32 host
    
    At least under some mingw compilers slirp networking fails without declaring
    these fields packed.
    
    From: Juha Riihimäki <juha.riihimaki at nokia.com>
    Signed-off-by: Juha Riihimäki <juha.riihimaki at nokia.com>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 099fe236d5e37e8477d17fae09f398bb49eebc13
Author: Juha Riihimäki <juha.riihimaki at nokia.com>
Date:   Thu Dec 3 15:56:03 2009 +0200

    fix pidfile option to work in WIN32
    
    Explicit read/write locking pidfile under WIN32 is bit extreme
    nobody get the chance to read the pidfile. Convert to a write-only lock.
    
    Also, creating pidfile was disabled along with daemonize under
    WIN32. Enable it, but do not enable daemon support which doesn't
    exist under WIN32 atm.
    
    From: Juha Riihimäki <juha.riihimaki at nokia.com>
    Signed-off-by: Juha Riihimäki <juha.riihimaki at nokia.com>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 1e8b27ca853d26e8854dc1a3e7ce88605e1673b9
Author: Juha Riihimäki <juha.riihimaki at nokia.com>
Date:   Thu Dec 3 15:56:02 2009 +0200

    Fix win32 log file location
    
    /tmp doesn't exist under win32. Ease the pain of win32 development slightly.
    
    From: Juha Riihimäki <juha.riihimaki at nokia.com>
    Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 2dc3f77c86b6c3782f057af1d935ccddc052bed5
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Dec 18 09:42:56 2009 -0600

    Update SeaBIOS to include PCI based option rom loading
    
    Also remove pcbios from the tree.  It will no longer work.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 632cf034b401cdd01dae253a8b577fe518e37654
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Dec 18 12:01:12 2009 +0100

    roms: remove option rom packing logic
    
    Now that we load the option roms via fw_cfg, we can stop copying
    them to the 0xc000 -> 0xe000.  The patch does just that.
    
    Also the rom loader gets simplified as all remaining users of the
    rom loader load the bits at a fixed address so the packing and
    aligning logic can go away.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 379526a40e855b0da3c5718063a7d992aa5a79a1
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Dec 18 12:01:11 2009 +0100

    roms: use new fw_cfg file xfer support.
    
    roms: use fw_cfg for vgabios and option rom loading, additionally to
    deploying them the traditional way (copy to 0xc0000 -> 0xe0000 range).
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit abe147e0ce41c07e789f6627bcb01c905d1f9bbf
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Dec 18 12:01:10 2009 +0100

    fw_cfg: add API for file transfer.
    
    This patch adds a file transfer interface to fw_cfg.  Intended to be
    used for passing non-pci option roms and vgabios to seabios.  Namespace
    is modeled after the existing cbfs filesystem support in seabios.
    
    Reading the new FW_CFG_FILE_DIR entry returns a file list.
    Fields there are in network byte order (aka bigendian).
    
    aliguori: fix fw_cfg.h for multiboot.bin, add proper fw_cfg.h declarations,
              quiet fprintf() in fw_cfg.c
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c2b5bda43a1c87147fadc78d5590b1465b850816
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Dec 18 12:01:09 2009 +0100

    fw_cfg: make calls typesafe
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8c52c8f320b27684ec3b1a649925b75af376b1f7
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Dec 18 12:01:08 2009 +0100

    pci romfiles: add property, add default to PCIDeviceInfo
    
    This patch adds a romfile property to the pci bus.  It allows to specify
    a romfile to load into the rom bar of the pci device.  The default value
    comes from a new field in PCIDeviceInfo.  The property allows to change
    the file and also to disable the rom loading using an empty string.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c2039bd0ffce8807e0eaac55254fde790825fa92
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Dec 18 12:01:07 2009 +0100

    Support PCI based option rom loading
    
    Currently, we preload option roms into the option rom space in memory.  This
    prevents DDIM from functioning correctly which severely limits the number
    of roms we can support.
    
    This patch introduces a pci_add_option_rom() which registers the
    PCI_ROM_ADDRESS bar which points to our option rom.  It also converts over
    the cirrus vga adapter, the rtl8139, virtio, and the e1000 to use this
    new mechanism.
    
    The result is that PXE boot functions even with three unique types of cards.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ec7efac4a967c650ae1cd8cebe28e7c69cbe3864
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Mon Dec 7 20:51:49 2009 +0000

    Fix backcompat for hotplug of SCSI controllers
    
    SCSI controllers have no trouble existing without any attached
    disks. This could be achieved with the (legacy) monitor syntax
    
      pci_add pci_addr=auto storage if=scsi
    
    This is now denied with
    
      scsi requires a backing file/device.
      failed to add if=scsi
    
    There is no need for this denial and it breaks compatability
    with existing QEMU usage, so remove the check for presence
    of a drive.
    
      Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 47f5ba724871622c7db7a73fd05d6b3646478dd6
Author: Juan Quintela <quintela at redhat.com>
Date:   Tue Dec 15 14:34:35 2009 +0100

    fdc: fix migration from 0.11
    
    0.11 uses as instance ide io_base, get it back
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit aef30c3c6a3165178584eb125f64defd8173eebd
Author: Juan Quintela <quintela at redhat.com>
Date:   Tue Dec 15 14:34:34 2009 +0100

    Revert "fdc: fix vmstate variable passed"
    
    Floppy used the io_base address to register savevm region.
    
    This reverts commit 2966b390d0f7cd5e5b971290fcc20685de374228.
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c62313bbdc48f72e93fa8196f2fff96ba35e4e9d
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Dec 4 14:05:29 2009 +0100

    monitor: Accept input only byte-wise
    
    This allows to suspend command interpretation and execution
    synchronously, e.g. during migration.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit acb6685feaeea0989d29b6f12e96fea48e8ce9d9
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Dec 18 08:16:30 2009 -0600

    Revert "kvm: x86: Save/restore exception_index"
    
    This reverts commit ebbc8a3d8e76d0402f8a08c10c0f32e24715d41d.
    
    As suggested by Jan Kiszka,
    
      "It was obsoleted by d1793b836f8f123b961c613de1bb1c0c185c84cc and now
       saves/restores a useless field."
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8095cb3ed22d74649fd247efb9518459eae4d92e
Author: Dave Airlie <airlied at linux.ie>
Date:   Fri Dec 18 08:08:11 2009 +1000

    vmware: increase cursor buffer size.
    
    The cursor pixmap size we calculate later ends up being 4096 dwords
    long by the looks of it. This boots an F12 LiveCD now.
    
    Signed-off-by: Dave Airlie <airlied at linux.ie>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b5cc6e32baa9d98d50debe23229b303f89fe84f1
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Dec 18 08:08:10 2009 +1000

    VMware VGA: Only enable dirty log tracking when fifo is disabled
    
    This patch enables dirty log tracking whenever it's needed and disables it
    when it is not.
    
    We unconditionally enable dirty log tracking on reset, restart dirty log
    tracking when PCI IO regions are remapped, and disable/enable it based on
    commands from the guest.
    
    Rebased-by: Dave Airlie <airlied at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a6109ff1b5d7184a9d490c4ff94f175940232ebd
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Dec 18 08:08:09 2009 +1000

    Fix VMware VGA depth computation
    
    VMware VGA requires that the depth presented to the guest is the same as the
    DisplaySurface that it renders to.  This is because it performs a very simple
    memcpy() to blit from one surface to another.
    
    We currently hardcode a 24-bit depth.  The surface allocator for SDL may, and
    usually will, allocate a surface with a different depth causing screen
    corruption.
    
    This changes the code to allocate the DisplaySurface before initializing the
    device which allows the depth of the DisplaySurface to be used instead of
    hardcoding something.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ee3e41a9a0194af21d0da75f5afd87bea3738cf3
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Dec 18 08:08:08 2009 +1000

    Make sure to enable dirty log tracking for VMware VGA
    
    This is needed for VMware VGA to work properly under KVM.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f0138a63a41fe26bcef61d031ae53d872d12a992
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Fri Dec 18 08:08:07 2009 +1000

    Make sure to enable dirty tracking of VBE vram mapping
    
    Apparently, VBE maps the VGA vram to a fixed physical location.  KVM requires
    that all mappings of the VGA vram have dirty tracking enabled on them.  Any
    access to the VGA vram through the VBE mapping currently fails to result in
    dirty page tracking updates causing a black screen.
    
    This is the true root cause of VMware VGA not working correctly under KVM and
    likely also an issue with some of the std-vga black screen issues too.
    
    Cirrus does not enable VBE so it would not be a problem when using Cirrus.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
    Rebased-by: Dave Airlie <airlied at redhat.com>

commit f351d050dccfc469fecd353d095526d52e4632c6
Author: Dave Airlie <airlied at linux.ie>
Date:   Fri Dec 18 08:08:06 2009 +1000

    vmware: setup PCI BAR 2 for FIFO as per vmware spec
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9ef5c4bf8132eb72db2dd83fce3fa0005a6dd13f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Dec 16 14:22:11 2009 +0100

    qdev: improve property error reporting.
    
    Add a error message in case we fail to parse a qdev property.
    
    Also make qemu not abort() in case setting a global property can't be
    set.  This used to be a clear programming error.  The introduction of
    the -global switch changed that though, so better exit instead (after
    printing the new error message).
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 69fd02eea61e6d9e7cd7831ef26522a5ac9e146c
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Dec 16 13:35:19 2009 +0100

    fix vga names in default_list
    
    Fix mismerge between 64465297 and 556cd098.
    
    Cc: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit eba6fe8732cb5109b6fcf6a973d8959827eb7af4
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 15 11:43:02 2009 +0100

    usb-host: check mon before using it.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 42be86ce95db944910005aa981a8e9ae5e01b05a
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 15 10:20:57 2009 +0100

    usb-net: use qdev for -usbdevice
    
    Rebased to master, adapted to device renaming by armbru,
    no other changes.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 15ff7705444ab9663189946d6d648431e0649df1
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon Dec 14 16:07:35 2009 +0100

    Check rom_load_all() return value.
    
    Check rom_load_all() return value.
    Also don't make option rom loading failure fatal.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d8bcbabf260a4ecce73180991cad576de850b66d
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Dec 16 14:25:40 2009 +0100

    defaults: update device_list[]
    
    Add isa-fdc (disables default_floppy).
    Add ide-drive (disables default_cdrom).
    
    Also walk the -global QemuOpts, so we'll catch
    -global isa-fdc.drive{A,B}=<name> too.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ac33f8fad14e07fa12b74c3494339ae6882dc22f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Dec 16 14:25:39 2009 +0100

    defaults: split default_drive
    
    Split default_drive into default_{floppy,cdrom,sdcard}.
    Also add QEMUMachine flags to disable them per machine.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2daa11912699d9412fb4404d646031a74b166aa5
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon Dec 14 18:53:24 2009 -0200

    monitor: Catch printing to non-existent monitor
    
    The monitor_vprintf() function now touches the 'mon' pointer
    before calling monitor_puts(), this causes block migration
    to segfault as its functions call monitor_printf() with a
    NULL 'mon'.
    
    To fix the problem this commit moves the 'mon' NULL check
    from monitor_puts() to monitor_vprintf().
    
    This can potentially hide bugs, but for some reason this has
    been the behavior for a long time.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 183e6e525764d5c4978e37b42dc2cde0b0ffcfec
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon Dec 14 18:53:23 2009 -0200

    monitor: Avoid readline functions in QMP
    
    The monitor_read_command() function is readline specific
    and should only be used when readline is available.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit cfdf2c40577ed99bb19cdc05d0537e2808d77a78
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon Dec 14 18:53:22 2009 -0200

    monitor: do_balloon(): Check for errors
    
    do_balloon() should check for ballooning availability as
    do_info_balloon() does.
    
    Noted by Daniel P. Berrange <berrange at redhat.com>.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 78d714e08f15171adf48e32ba86709f9c64f37cf
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon Dec 14 18:53:21 2009 -0200

    monitor: Use 'device' in eject
    
    Monitor's eject command uses 'filename' for the device name
    argument, but 'device' is a better name.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 29ec3156ee66b6e2553a0adb2f35cb143edddc5f
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon Dec 14 18:53:20 2009 -0200

    QDict: Fix size update
    
    Key replacement should not update the dictionary's size.
    
    This commit also adds a test for the bug.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 18dd19a7d9bb90734b5188fd6f53c76bde711e4b
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 14 10:41:21 2009 +0100

    qdev: Improve uni-north device names
    
    Switch to the names suggested by Blue Swirl.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2dd650e58acbafedc7bf34045b7f81bb6c912e72
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Fri Dec 11 21:01:14 2009 +0000

    Avoid permanently disabled QEMU monitor when UNIX migration fails
    
    If a UNIX migration command is attempt to a UNIX socket which does
    not exist, then the monitor is suspended, but never resumed. This
    prevents any further use of the monitor
    
    * migration-unix.c: Only call migrate_fd_monitor_suspend() once
      connected to the UNIX socket.
    
       Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 092493be3caab1ac77f4223b4c3fb0975d1ed490
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Dec 4 17:19:25 2009 +0100

    Fix loading of ELF multiboot kernels
    
    The multiboot implementation assumed that there is only one program header
    (which contains the entry point) and that the entry point is at the start of
    the code. This doesn't hold true generally and caused too little data to be
    loaded.
    
    Fix the loading code to pass the whole loaded data to the Multiboot Option ROM.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 75f124753922451ee697defd81a80a91ce3f9888
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Dec 4 12:06:32 2009 +0100

    Revert "Rename DriveInfo.onerror to on_write_error" (fix mismerge)
    
    Part of the first patch of the -drive rerror series has been merged once more
    on top of the rest of the series. This effectively disables the rerror option
    and always goes with the default value. Reverting the commit re-enables the
    option.
    
    This reverts commit fc072ec4df0996682dfbff6c735e2bbc0d93132f.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 40a0d7c395f4d18a8061ba075d8f9aab2fa0ec2a
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Nov 18 10:42:59 2009 +0100

    qemu-io: Fix memory leak
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 36ecd7c016f682437941a54193251cbf918bef0d
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Sun Dec 13 11:36:40 2009 +0100

    Fix thinko in linuxboot.S
    
    The %gs segment that was used was not matching the comments.
    I just moved the GDT descriptor on the stack instead.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d46272c774a94a8b2f0849703070dbcd93057f50
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Dec 14 12:26:27 2009 +0100

    target-i386: Fix evaluation of DR7 register
    
    hw_breakpoint_type and hw_breakpoint_len used the wrong index multiplier
    to extract type and len.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 31827373f03b0ff1550d45ddef0ca1305a2ae70d
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Dec 14 12:26:17 2009 +0100

    kvm: x86: Use separate exception_injected CPUState field
    
    Marcelo correctly remarked that there are usage conflicts between QEMU
    core code and KVM /wrt exception_index. So spend a separate field and
    also save/restore it properly.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 02c2b87fff97e77a1f6033fb09f53afa267c0c1e
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Dec 14 14:11:56 2009 -0600

    vnc: hextile: do not generate ForegroundSpecified and SubrectsColoured tiles
    
    This violates the RFB specification (section 6.6.4).  It happens to work with
    most clients but it's still wrong.
    
    Reported-by: Yaniv Kaul <ykaul at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d587e0787153f0224a6140c5015609963ceaabfb
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Dec 14 11:36:53 2009 -0600

    Revert "pci: interrupt disable bit support"
    
    This reverts commit 0ea5709a32085f7d14901a09d12bd35f9b267607.
    
    Per discussion with Michael Tsirkin, this is too risky for 0.12
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e249651ca94058547f7ae84694e82bb1ee03bc3c
Author: Alexander Graf <agraf at suse.de>
Date:   Fri Dec 18 16:29:04 2009 +0100

    S390: Bail out without KVM
    
    Currently only the S390 KVM target works. To keep users from accidently not
    using KVM, let's not even initialize the machine when KVM is not used.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 86f3dba6518bd5fd106e1cf3f36dafda41ff377b
Author: Alexander Graf <agraf at suse.de>
Date:   Thu Dec 17 13:06:09 2009 +0100

    S390: Don't tell guest we're updating config space
    
    Currently we always set the "config space changed" bit to 1 when triggering
    any virtio interrupt. While that worked in 2.6.27, newer kernels interpret
    that value as "only the config space changed and nothing else happened".
    
    Since we usually trigger interrupts to tell the guest that something did
    happen, we just not tell it the config space changed for now until we
    implement the correct callback for that.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 38536da1e3cfde355169a81a3abe3235fd13fc6a
Author: Alexander Graf <agraf at suse.de>
Date:   Thu Dec 17 13:06:08 2009 +0100

    add default virtcon initialization
    
    When going through the default devices, we don't initialize the virtio
    console, unless we're doing -nographic.
    
    I suppose that's just a leftover from the recent code restructuring, so
    let's put it in.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a1e4b07f04d8f31e8c0c1bf97385f426d3fcf5e6
Author: Alexander Graf <agraf at suse.de>
Date:   Thu Dec 17 13:06:07 2009 +0100

    S390: Loop through virtio console devices
    
    We used to always create one single virtio console device. This breaks when
    either zero of multiple virtio console devices are requested, so let's use
    the same code as on x86.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d7963c43b9646e4dfc69a4253c61e4bab7b661cd
Author: Alexander Graf <agraf at suse.de>
Date:   Thu Dec 17 13:56:47 2009 +0100

    target-s390: Fail on unknown instructions
    
    We were being a bit too nice and didn't give the guest an invalid instruction
    interrupt.
    
    While that works, it's not exactly the fastest thing to do, since now the
    guest doesn't know that we're not really implementing that instruction, so it
    continues doing it.
    
    We run into this with the set_page_unstable hint instruction. So let's bail out
    in these cases.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 3a03bfa5a219fe06779706315f2555622b51193c
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Fri Dec 18 10:45:07 2009 +0100

    osdep: Fix runtime failure on older Linux kernels
    
    If QEMU finds newer kernel header files on compilation time, it will use
    advertised features like pipe2 or SOCK_CLOEXEC by just doing a compile test.
    If later the executables are executed on an older kernel (<2.6.27,
    like Xen Dom0 2.6.18), then QEMU will fail on opening sockets and creating
    pipes and returns the rather unspecific "qemu_init_main_loop failed".
    This patch fixes this by checking the return values of these calls
    for EINVAL and ENOSYS and falling back to the older versions automatically.
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c1bb0dcef2d3a62c89cef81a0f1a0e5e97ef325b
Author: Juergen Lock <nox at jelal.kn-bremen.de>
Date:   Mon Dec 14 21:54:43 2009 +0100

    Fix a make -j race
    
    Make libuser.a depend on $(GENERATED_HEADERS) too so make -j won't start
    building it before the headers exist.  (There may be more bugs like this
    but at least this makes (g)make -j4 started from scratch on a quadcore
    now always complete here again.)
    
    Signed-off-by: Juergen Lock <nox at jelal.kn-bremen.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d0af544555473e2cbac58903577e042ed5c50fa9
Author: Richard Henderson <rth at twiddle.net>
Date:   Sun Dec 13 17:50:46 2009 -0800

    target-alpha: Fix float32_to_s vs zero exponent.
    
    There was a bug in float32_to_s that incorrectly mapped a zero exponent
    to 0x38.  This meant 0.0f != 0.  At the same time, fix a generic type
    punning bug in helper_memory_to_s and helper_s_to_memory.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 68bd052ee124d127bb8b39cda23ae71a8e526825
Author: Richard Henderson <rth at twiddle.net>
Date:   Sun Dec 13 17:48:55 2009 -0800

    target-alpha: Fix cvtlq.
    
    We were missing the 0xc0000000 mask, leading to incorrect results.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 06445248d23d2422a0fb5736b64f9e5a66539749
Author: Richard Henderson <rth at twiddle.net>
Date:   Sun Dec 13 17:47:25 2009 -0800

    target-alpha: Fix generic ctz64.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit dbb30fe6ef39e4e155d13c633e3bd77db5372abe
Author: Richard Henderson <rth at twiddle.net>
Date:   Sun Dec 13 17:46:17 2009 -0800

    target-alpha: Implement fp branch/cmov inline.
    
    The old fcmov implementation had a typo:
    -        tcg_gen_mov_i64(cpu_fir[rc], cpu_fir[ra]);
    which moved the condition, not the second source, to the destination.
    
    But it's also easy to implement the simplified fp comparison inline.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit fe57ca82b09b05ab893ffa8a1a6ace7352970636
Author: Richard Henderson <rth at twiddle.net>
Date:   Sun Dec 13 17:18:47 2009 -0800

    target-alpha: Add placeholders for missing userspace PALcalls.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ab3aee26c480eb5e522896b3f758a3c3c3c9f9c6
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Dec 15 14:03:03 2009 +0100

    target-mips: No MIPS16 support for 4Kc, 4KEc cores
    
    Fix regression introduced by d19954f46dfc262612c30e9534e660e953049487.
    
    4Kc and 4KEc don't support MIPS16.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 212df029754caabba45f941fbd22ec219b934ef9
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Mon Dec 14 10:54:49 2009 +0100

    target-alpha: Fix compiler warning for gcc-4.3 (and older)
    
    "Old" compilers obviously are not able to recognise
    that all cases are handled here:
    
    qemu/target-alpha/helper.c:70: error: ‘round_mode’ may be used uninitialized in this function
    
    A small modification helps the compiler to do its jobs.
    
    gcc-4.4 does not need this, but is still not standard on all platforms.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Acked-by: Laurent Desnogues <laurent.desnogues at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 5a2b3fc5aaae48859e09a8d96f4f92578b060892
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Mon Dec 14 10:39:12 2009 +0100

    s390: Fix buggy assignment
    
    nd->model keeps dynamically allocated model names.
    So casting of a constant string is wrong here.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Acked-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 73642f5bdb71f478f221593ec7b06c974a2cb5b6
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Tue Dec 15 14:43:40 2009 +0100

    target-mips: 4Kc, 4KEc cores do not support MIPS16
    
    4Kc, 4KEc cores do not support MIPS16, so not only the
    CP0_Config1 had to be fixed (see previous patch),
    but also MIPS16 instructions must not be executed.
    
    (Hint from Nathan Froyd, thanks).
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 4c24aa0a69796005447982a6c70bf58c66311bdc
Author: Michal Simek <monstr at monstr.eu>
Date:   Mon Dec 7 14:12:49 2009 +0100

    microblaze: Print content of EAR register
    
    I need to see EAR register in output because I need to parse irqsoff problem.
    
    Signed-off-by: Michal Simek <monstr at monstr.eu>
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 17c52a43b44858cf64d4536df3bb87a4458c2b5a
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Wed Dec 16 12:52:56 2009 +0100

    microblaze: Update debug logs.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 591d6f1dfdb60ab0a4cc487cd5781fa799dcac4b
Author: malc <av1474 at comtv.ru>
Date:   Tue Dec 15 19:44:20 2009 +0300

    tcg/ppc64: Fix loading of 32bit constants
    
    Signed-off-by: malc <av1474 at comtv.ru>

commit d9a50a366f2178a4ddaada87bcf67764c9d0af87
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Dec 11 13:23:52 2009 -0800

    target-alpha: Fix double log_cpu_state.
    
    The proper logging is handled by generic code.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a06d48d91f1613878d0d3c57980451aac15e3f75
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Dec 11 13:21:02 2009 -0800

    target-alpha: Fix FMOV.
    
    Properly handle move from the zero register.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 50eb6e5c04de14a5fb0dd99f99e165e1cb839460
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Dec 11 16:31:29 2009 -0800

    target-alpha: Expand ins*h inline.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ffec44f14f5387d1d9f17323165041aee4540625
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Dec 11 11:58:29 2009 -0800

    target-alpha: Expand msk*h inline.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 14ab16342990d7400da5d889f3594bd498fa2e31
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Dec 11 11:51:45 2009 -0800

    target-alpha: Expand msk*l inline.
    
    Similar in difficulty to ext*l, already expanded.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 248c42f3939368e4b799947bdd31a36ff949e11a
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Dec 11 10:39:56 2009 -0800

    target-alpha: Expand ins*l inline.
    
    Similar in difficulty to ext*l, already expanded.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ab471ade02d6bd3f82473a0560d76dd20c91cbb5
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Dec 11 09:38:23 2009 -0800

    target-alpha: Implement RD/WRUNIQUE in the translator
    
    When emulating user-mode only, there's no reason to exit
    the translation block to effect a call_pal.  We can generate
    a move to/from the unique slot directly.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 73651cce62738f7f8732028a7b84f3484511eede
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Dec 11 09:07:29 2009 -0800

    target-alpha: Fix fbcond branch offset.
    
    The instructions use a disp21 like all other branch insns,
    not the disp16 that was being passed.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 377a43b6fbf0727e812d39b74e468ff0f59cb550
Author: Richard Henderson <rth at twiddle.net>
Date:   Thu Dec 10 14:00:18 2009 -0800

    target-alpha: Rewrite gen_ext_[hl] in terms of zapnot.
    
    The architecture manual specifies the EXT instructions
    in terms of the ZAPNOT operation; writing it that way in
    the translator makes things a bit clearer.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 87d98f9551d264c5a19ab4d2ded56d6dd9294060
Author: Richard Henderson <rth at twiddle.net>
Date:   Thu Dec 10 13:43:58 2009 -0800

    target-alpha: Expand zap/zapnot with immediate inline.
    
    The vast majority of zap instructions have an immediate operand,
    since zapnot is the canonical method to zero-extend from u16 or u32.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 806991da3ab4b4a09720e0bd09d4bb7e06d594b0
Author: Richard Henderson <rth at twiddle.net>
Date:   Thu Dec 10 12:54:04 2009 -0800

    target-alpha: Fix -d in_asm
    
    Generic disassembly was incorrectly keyed on ALPHA_DEBUG_DISAS
    rather than the generic DEBUG_DISAS.  Use qemu_log_mask for
    additional LOG_DISAS output.  Delete some random insn_count
    logging noise from gen_intermediate_code_internal.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 13e4df99ce5a2fde4b8ac9a21c3d98db4c629b7c
Author: Richard Henderson <rth at twiddle.net>
Date:   Thu Dec 10 12:04:42 2009 -0800

    target-alpha: Implement missing MVI instructions.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 91a759352623e4a3da969fa66626cc99241e9da2
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Fri Dec 11 09:29:20 2009 -0800

    target-mips: fix user-mode emulation startup
    
    Running programs with the MIPS user-mode emulator fails during dynamic
    loading, as floating-point instructions are not enabled in in
    env->hflags.  Move the code for doing so from fpu_init to cpu_reset so
    the MIPS_HFLAG_{FPU,F64} setting doesn't get clobbered by cpu_reset
    setting env->hflags to MIPS_HFLAG_UM.
    
    The same end can be achieved by swapping the ordering of fpu_init and
    cpu_reset in cpu_mips_init, but it seemed better to consolidate the
    CONFIG_USER_ONLY code into a single location.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit f1e00a9cf326acc1f2386a72525af8859852e1df
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Mon Dec 7 12:05:38 2009 +0100

    target-i386: Update CPUID feature set for TCG
    
    The CPUID features QEMU presented to the guest were not up-to-date
    with QEMU's emulated feature set.
    Add the missing bits of recent (and not so recent) additions to
    QEMU's emulation engine.
    For stability reasons only the user mode usable bits are exposed for
    now, features like Monitor or CR8LEG are left out.
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ba0e276db4b51bd2255a5d5ff8902c70d32ade40
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Dec 9 15:56:29 2009 -0800

    target-alpha: Fixes for alpha-linux syscalls.
    
    1. Add correct definitions of error numbers.
    2. Implement SYS_osf_sigprocmask
    3. Implement SYS_osf_get/setsysinfo for IEEE_FP_CONTROL.
    
    This last requires exposing the FPCR value to do_syscall.
    Since this value is actually split up into the float_status,
    expose routines from helper.c to access it.
    
    Finally, also add a float_exception_mask field to float_status.
    We don't actually use it to control delivery of exceptions to
    the emulator yet, but simply hold the value that we placed there
    when loading/storing the FPCR.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 990b3e19013ebd36b3fb9af97aaa67f7bc490c15
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Dec 9 15:48:02 2009 -0800

    target-alpha: Enable softfloat.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a964acc6bf22896a3ae96f36cf30383553e95aa4
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Dec 9 15:46:36 2009 -0800

    target-alpha: Honor the -cpu command line argument.
    
    Also change the default cpu to ev67.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 19188121b49d2a7c5c7fdaf663e98faa547836f0
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Dec 9 15:44:08 2009 -0800

    target-alpha: Remove bogus DO_TB_FLUSH code from translator.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit da1f14021e52a418990cc6b6ff494887e426492f
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Dec 9 15:40:11 2009 -0800

    target-alpha: Add binfmt entry.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8a57a6c7405c70aabbf8080fe1a922bfddf42f39
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Dec 9 15:39:42 2009 -0800

    target-alpha: Drop bogus UNIQ initial value on Linux.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d19954f46dfc262612c30e9534e660e953049487
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Dec 8 08:06:32 2009 -0800

    target-mips: set Config1.CA for MIPS16-aware CPUs
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 9da53be7eabb3dc8c77632510edfa1ac0d6efab5
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Dec 8 08:06:31 2009 -0800

    target-mips: add copyright notice for mips16 work
    
    Also cross off mips16 ASE in TODO.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ff1d1977ffe1c276f5937a6ad4b6a5b6d2b1c6ae
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Dec 8 08:06:30 2009 -0800

    gdbstub: add MIPS16 support
    
    The only thing to do here is to expose the current processor mode to GDB
    and to set the processor mode properly when we change the PC.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 364d48314a97dc4e3a98ff2643232faf37a2690d
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Dec 8 08:06:29 2009 -0800

    target-mips: add mips16 instruction decoding
    
    There's no good way to add this incrementally, so we do it all at once.
    The only changes to shared code are in handle_delay_slot.  We need to
    flip ISAMode when doing a jump-and-exchange.  We also need to set
    ISAMode the low bit of the target address for jump-to-register.
    
    Also, since we're now adding bits that can be in MIPS_HFLAG_BMASK_EXT,
    make sure we use MIPS_HFLAG_BMASK_BASE in the places where we just want
    basic information about a branch.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 6ea219d01962b6953716e6cd47ba081299811ffe
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Dec 8 08:06:28 2009 -0800

    target-mips: add enums for MIPS16 opcodes
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c960206137157246b16952f32e889cde38be919a
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Dec 8 08:06:27 2009 -0800

    target-mips: split out delay slot handling
    
    Move delay slot handling to common code whose invocation can be
    controlled from gen_intermediate_code_internal.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 662d748516bb67489e9e38c79cbfb52917b211e7
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Dec 8 10:01:01 2009 -0800

    target-mips: add gen_base_offset_addr
    
    This is a common pattern in existing code.  We'll also use it to
    implement the mips16 SAVE/RESTORE instructions.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7dca4ad0504268f0e3ba1c17e0e242ada6fb9f71
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Dec 8 08:06:25 2009 -0800

    target-mips: make gen_compute_branch 16/32-bit-aware
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ea63e2c358948287acf99c411d1821aa13bc1f61
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Dec 8 08:06:24 2009 -0800

    target-mips: move ROTR and ROTRV inside gen_shift_{imm, }
    
    It's easier to implement mips16 shift instructions if we're not
    examining the opcode inside gen_shift_{imm,}.  So move ROTR and ROTRV
    and do the special-case handling of SRL and SRLV inside decode_opc.
    Likewise for their 64-bit counterparts.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 32188a03dae09c8a02bc72f26ece4a98183cc787
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Dec 8 08:06:23 2009 -0800

    target-mips: change interrupt bits to be mips16-aware
    
    We need to stash the operating mode into the low bit of the error PC and
    restore it on return from interrupts.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 79ef2c4cdbe73955b1394f0fd9517c5a79e0455e
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Dec 8 08:06:22 2009 -0800

    target-mips: add new HFLAGs for JALX and 16/32-bit delay slots
    
    We create separate masks for the "basic" branch hflags and the
    "extended" branch hflags and define MIPS_HFLAG_BMASK as the logical or
    of those two.  This is done to avoid churning the codebase in lots of
    different places.
    
    We also make the execution mode an hflag under MIPS_HFLAG_TMASK
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 90228ee395b71cdd64e6bc844e3d553eb9ef643f
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Sun Dec 13 19:03:31 2009 +0000

    workaround for cmd646 bmdma register access while no dma is active
    
    This is a workaround only, and is a partial revert
    of a few changes to BMDMAState which removed pci_dev
    field on the way.
    
    - cmd646 pci_from_bm() expects bm->unit value to
    correspond with bm data being passed to callback
    as opaque pointer. This breaks when write to dma
    control register of second channel happens when no
    dma operation is in progress, so bm->unit is zero
    for second channel, and pci_from_bm() returns garbage
    pointer. Crash happens shortly after that while
    dereferencing that pointer.
    
    v0->v1: cleaned up dead code from pci_from_bm.
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit cf708987d7df69a5c72db8ba587e448a1bd02587
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Sun Dec 13 16:45:47 2009 +0200

    s390: typo fix
    
    s390 code has an obvious typo, which results in:
    hw/s390-virtio.c: At top level:
    hw/s390-virtio.c:249: error: request for member ‘no_vga’ in something not a structure or union
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0435d39360775ab04ac0b2c443684b96f7c78563
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Sun Dec 13 16:44:33 2009 +0200

    s390: fix build on 32 bit host
    
    Building on 32 bit host we get:
    hw/s390-virtio.c: In function ‘s390_init’:
    hw/s390-virtio.c:184: error: integer constant is too large for ‘unsigned long’ type
    64 bit values must be ULL.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit b32bb95264035c571f81fbefb06fec217b0cc3c8
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Dec 13 15:41:43 2009 +0000

    qemu-io: add 'const'
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit be45f06826e4bf232625b9d78b72df0c8d0a4b79
Author: Andreas Färber <afaerber at opensolaris.org>
Date:   Sat Dec 12 20:10:56 2009 +0100

    Silence softfloat warnings on OpenSolaris
    
    Don't define C99 math functions on OpenSolaris (Solaris 11),
    which still ships GCC 3.4.3. This fixes redefinition warnings.
    
    Spotted by Palle Lyckegaard.
    
    Signed-off-by: Andreas Färber <afaerber at opensolaris.org>
    Cc: Palle Lyckegaard <palle at lyckegaard.dk>
    Cc: Ben Taylor <bentaylor.solx86 at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ee7139c33b4ff68a9d9545135dde1479f4f2f902
Author: Andreas Färber <afaerber at opensolaris.org>
Date:   Sat Dec 12 20:10:55 2009 +0100

    tap: Compilation fix for Solaris
    
    Avoid an unresolved symbol error for TFR,
    which is defined in sysemu.h.
    
    Based on patch by Palle Lyckegaard.
    
    Signed-off-by: Andreas Färber <afaerber at opensolaris.org>
    Cc: Palle Lyckegaard <palle at lyckegaard.dk>
    Cc: Ben Taylor <bentaylor.solx86 at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 82407d1a4035e5bfefb53ffdcb270872f813b34c
Author: Artyom Tarasenko <atar4qemu at googlemail.com>
Date:   Sun Dec 13 13:30:44 2009 +0000

    fdc/sparc32: don't hang on detection under OBP
    
    Stepping through the SS-5's OBP initialization routines
    it looks like reading fdc main status register should
    clear the fd interrupt.
    The patch doesn't fix problems with fdc on sparc platform,
    it only fixes fdc detection.
    
    Signed-off-by: Artyom Tarasenko <atar4qemu at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c5de386ac9da35bf2cd7dc92893b0517f12bfc3a
Author: Artyom Tarasenko <atar4qemu at googlemail.com>
Date:   Sun Dec 13 13:30:19 2009 +0000

    Sparc32: implement AFX for SS-5
    
    Implement a stub for the AFX register on SparcStation-5.
    This stub is needed for running the original SS-5 OBP
    instead of OpenBIOS (which allows to boot Solaris 2.5.1
    and Solaris 2.6 kernels).
    
    Signed-off-by: Artyom Tarasenko <atar4qemu at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ad3cea42487c4f23aa60825efa8eaf949ea71aac
Author: Artyom Tarasenko <atar4qemu at googlemail.com>
Date:   Sun Dec 13 11:32:36 2009 +0100

    scsi-disk: Inquiry with allocation length of CDB < 36 (v4)
    
    According to the SCSI-2 specification,
    http://ldkelley.com/SCSI2/SCSI2/SCSI2/SCSI2-08.html#8.2.5 ,
    "if the allocation length of the command descriptor block (CDB) is too
    small to transfer all of the parameters, the additional length shall
    not be adjusted to reflect the truncation."
    The 36 mandatory bytes of response are written to outbuf, and then
    only the length requested in CDB is transferred.
    
    Signed-off-by: Artyom Tarasenko <atar4qemu at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit f062a3c793612a4107eb36d59781b805fb3fe4c6
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Sun Dec 13 09:10:08 2009 +0100

    microblaze: Handle wdc flush and clear.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 9d2dcce9a3bb450df89ee025a0a2edd4dbb98159
Author: Paul Hartke <paul.hartke at xilinx.com>
Date:   Sun Dec 13 03:22:24 2009 +0100

    microblaze: Correct branch to registers.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 1a03675db146dfc760b3b48b3448075189f142cc
Author: Glauber Costa <glommer at redhat.com>
Date:   Thu Oct 22 10:26:56 2009 -0200

    v2: properly save kvm system time msr registers
    
    Currently, the msrs involved in setting up pvclock are not saved over
    migration and/or save/restore. This patch puts their value in special
    fields in our CPUState, and deal with them using vmstate.
    
    kvm also has to account for it, by including them in the msr list
    for the ioctls.
    
    This is a backport from qemu-kvm.git
    
    [v2: sucessfully build without kerneldir ]
    
    Signed-off-by: Glauber Costa <glommer at redhat.com>
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d96fd29cca420d1ff3d34cde233cf41a3818c550
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:16:10 2009 -0200

    VNC: Convert do_info_vnc() to QObject
    
    Return a QDict with server information. Connected clients are returned
    as a QList of QDicts.
    
    The new functions (vnc_qdict_remote_addr(), vnc_qdict_local_addr() and
    put_addr_qdict()) are used to insert 'host' and 'service' information
    in the returned QDict.
    
    This patch is big, but I don't see how to split it.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7a344f7ac7bb651d0556a933ed8060d3a9e5d949
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:16:09 2009 -0200

    PCI: Convert pci_device_hot_add() to QObject
    
    Return a QDict with information about the just added device.
    
    This commit should not change user output.
    
    Please, note that this patch does not do error handling
    conversion. In error conditions the handler still calls
    monitor_printf().
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 588b38320134edee4a569f60ed88c9848961d6ee
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:16:08 2009 -0200

    char: Convert qemu_chr_info() to QObject
    
    Each device is represented by a QDict. The returned QObject is a QList
    of all devices.
    
    This commit should not change user output.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 218a536a7a7c6d3679d5eca0103f32fd11fbfaf0
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:16:07 2009 -0200

    block: Convert bdrv_info_stats() to QObject
    
    Each device statistic information is stored in a QDict and
    the returned QObject is a QList of all devices.
    
    This commit should not change user output.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d15e546567d75fca36d852c39e30adaab02121a7
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:16:06 2009 -0200

    block: Convert bdrv_info() to QObject
    
    Each block device information is stored in a QDict and the
    returned QObject is a QList of all devices.
    
    This commit should not change user output.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c86a668390d16d6b3249acd50bfa61ad825c7a80
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:16:05 2009 -0200

    migration: Convert do_info_migrate() to QObject
    
    Return a QDict, which may contain up to more two QDicts, depending
    on the type of migration we're performing.
    
    IMPORTANT: as a QInt stores a int64_t integer, RAM values are going
    to be stored as int64_t and not as uint64_t as they are today. If
    this is a problem QInt will have to be changed.
    
    This commit should not change user output.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e78c48ec4e192ef1b1a210bdf5a8d253d7826c25
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:16:04 2009 -0200

    monitor: Convert do_info_mice() to QObject
    
    Each mouse is represented by a QDict, the returned QObject is a QList of
    all mice.
    
    This commit should not change user output.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9603ceba2edd1dc7e3823da76d84706d3d1c3d78
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:16:03 2009 -0200

    monitor: Convert do_info_uuid() to QObject
    
    snprintf() is used because the UUID_FMT is too complex for
    qobject_from_jsonf().
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 14f0720df929181eed5424b3f436d84ce05541c3
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:16:02 2009 -0200

    monitor: Convert do_info_hpet() to QObject
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e05486cba662ccceef6be4b3ce38961876aa8f6e
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:16:01 2009 -0200

    monitor: Convert do_info_name() to QObject
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2af5ba712b3e03cf644320f7386bf1dfd2c2b6a8
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:16:00 2009 -0200

    monitor: Convert do_info_kvm() to QObject
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c0e8520ed5efef2891e2e930a1bb21c1b040410f
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:15:59 2009 -0200

    monitor: Convert do_info_status() to QObject
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 45e914cfe03f9fcf946bdc124f752d8f288eff05
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:15:58 2009 -0200

    monitor: do_info_version(): Use QDict
    
    All 'info' commands should use QDict, this commit also kills
    monitor_print_qobject() as do_info_version() doesn't use it
    anymore (and no handler will).
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 55483ad657dcb62cde09bce3b38a5fc28d08f999
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:15:57 2009 -0200

    monitor: do_info_cpus(): Use QBool
    
    While there update the documentation as well.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1a728677d4e2f0434caf352c0e88100652fd6711
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:15:56 2009 -0200

    monitor: Fix do_info_commands() output
    
    Should return a QDict and should not print the user protocol bits
    (eg. "c|cont").
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7f1796713ed2f338bd9abc094aacf10f67aed1e5
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:15:55 2009 -0200

    monitor: Fix do_info_balloon() output
    
    Monitor commands should always return values in bytes and info
    commands should always return a QDict.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f2e1750803240ec8b78ae126af0d54f7896ee11d
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:15:54 2009 -0200

    QDict: Introduce qdict_get_qlist()
    
    A helper function to get a QList from a QDict.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit cd4dde36ae8e7bd8e02839533c5708011bf994cf
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:15:53 2009 -0200

    QDict: Introduce qdict_get_qbool()
    
    This is a helper function that does type checking before retrieving
    a QBool from the dictionary.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2a01000f7df5faeeb06742b8f7afabf9e8a9d2b6
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:15:52 2009 -0200

    Makefile: move QObject objs to their own entry
    
    Other subsystems will need to link against them.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2471dd00ef212af4b7e1262d5339f0db17e55661
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Thu Dec 10 17:15:51 2009 -0200

    Introduce qemu-objects.h header file
    
    An easy way to include all QEMU objects.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4a93fe17081c7ae7f4d5607b266ca384d328986c
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Dec 11 11:25:07 2009 +0100

    vnc: fix capslock tracking logic.
    
    The capslock tracking logic added by commit
    6b1325029d80455b9da7cd7bd84a88cb915b867c doesn't work correctly for vnc
    clients without EXT_KEY_EVENT support.  The reason is that qemu converts
    keysyms for letters to lowercase for the keysym2scancode lookup.  It
    then also passes the lowercase value down to do_key_event(), but the
    capslock tracking code needs it with the correct case to work properly.
    
    This patch adds a new variable for the lowercase keysym so we'll keep
    the unmodified value for do_key_event().
    
    The keysym2scancode is not needed with EXT_KEY_EVENT capable clients
    like any app based on the gtk-vnc widget, so I missed that case in
    testing ...
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d318ff9900f080dfa802bbbea81f1a68dcd02013
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Dec 10 11:11:08 2009 +0100

    QemuOpts: allow larger option values.
    
    Use case: loooooooooooooooooong file names for -drive file=...
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 11f4d7f483d9ca3a8979abd605cf1468b3e96aa2
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Dec 10 11:11:07 2009 +0100

    scsi: fix drive hotplug.
    
    This patch fills the DriveInfo->unit after hotplugging a scsi disk.
    It makes a difference when auto-assigning a scsi id, where unit was
    left filled with '-1' instead of the actual scsi id.
    
    With this patch applied the the drive naming logic in drive_init() works
    as good as it did in previous releases.  Which means it works fine with
    a single scsi bus.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 09e3acc6cfabfd85a9dacc04471df5f05019c779
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Dec 10 11:11:06 2009 +0100

    pci: don't hw_error() when no slot is available.
    
    Current PCI code will simply hw_error() and thus abort in case no free
    PCI slot is available or the requested PCI slot is already in use by
    another device.  For the hotplug case this behavior is not acceptable.
    This patch makes qemu pass up the error properly, so the calling code
    can decide whenever it wants to exit with an error (on startup) or
    whenever it wants to continue (hotplug).
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 53e0d8affe8514b070db2d265af13a534cb8eda4
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Dec 10 11:11:05 2009 +0100

    pci: don't abort() when trying to hotplug with acpi off.
    
    The PCI bus on x86 requires ACPI for hotplug support, thus disbling ACPI
    also disables hotplug for the PCI bus.  This patch makes qemu check
    whenever the PCI bus in question can handle hotplug before trying to add
    devices.  This is needed because qdev will abort() on any attempt to
    hotplug devices into a non-hotpluggable bus.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 986c5f78543bdbd696664447ecdd08cf6d935370
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:54 2009 +0100

    Set default console to virtio on S390x
    
    All "normal" system emulation targets in qemu I'm aware of display
    output on either VGA or serial output.
    
    Our S390x virtio machine doesn't have such kind of legacy hardware. So
    instead we need to default to a virtio console.
    
    Add flags to QEMUMachine to indicate which kind of default devices make
    sense for the machine in question.  Use it for S390x: enable virtcon,
    disable serial, parallel and vga.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit aee1b935c53cc747528138a85fcce8163d272598
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:53 2009 +0100

    default devices: virtio consoles.
    
    This patch adds a variable default_virtcon which says whenever a default
    virtio console should be added.  It is disabled by default, followup
    patch will enable it for s390.  It is cleared when qemu finds
    '-virtiocon', '-device virtio-console-s390' or '-device
    virtio-console-pci' on the command line.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6ca5582d4f06d8ff0c646b8fe3cfe721dc573597
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:52 2009 +0100

    add -qmp convinience switch
    
    Acts like -monitor but switched into qmp mode.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 22a0e04b9bb5a02e13b3e5cf5ea8abfac5f34120
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:51 2009 +0100

    add new -mon switch
    
    Add -mon switch which maps pretty straight forward into the QemuOpts
    internal representation:
    
      -mon chardev=<name>[,mode=[control|readline]][,[no]default]
    
    Via config file:
    
    [mon]
       chardev = "<name>"
       mode = "readline"
       default = "on"
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 88589343708f10f1ded0af100b2e11eec623bae2
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:50 2009 +0100

    rework -monitor handling, switch to QemuOpts
    
    This patch reworks the -monitor handling:
    
     - It adds a new "mon" QemuOpts list for the monitor(s).
     - It adds a monitor_parse() function to parse the -monitor switch.
     - It adds a mon_init function to initialize the monitor(s) from the
       "mon" QemuOpts list.
     - It winds up everything and removes the old bits.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 33521634bf15996e020c51c47abaaa68e27bf356
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:49 2009 +0100

    un-static qemu_chr_parse_compat()
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit aa40fc9c96474b0135d1b940611862f260aedba7
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:48 2009 +0100

    default devices: drives
    
    Add a default_drive variable which specified whenever the default drives
    (cdrom, floppy, sd) should be created.  It is cleared when the new
    -nodefaults switch is specified on the command line.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit cb4522ccf67ba84d246291d9f75bd7f3df137d1a
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:47 2009 +0100

    default devices: network
    
    Add a default_net variable which specified whenever a default network
    should be created.  It is cleared in case any -net option is specified
    and it is also added to the new -nodefaults switch.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d8c208dd8a038d24ba4890156101bc679a8c8fef
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:46 2009 +0100

    default devices: add global cmd line option.
    
    Add global command line option to disable default devices.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 64465297cd4c701942988f36f7ce707fb21cc1d8
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:45 2009 +0100

    default devices: vga adapter.
    
    Qemu creates a vga display for you in case you didn't specify one on the
    command line.  Right now this is tied to the '-vga <type>' command line
    switch, which in turn causes trouble if you are creating your gfx card
    using '-device VGA,<props>'.
    
    This patch adds a variable default_vga which says whenever a default
    serial line should be added.  It is enabled by default.  It is cleared
    when qemu finds '-vga' or '-device {VGA,Cirrus VGA,QEMUware SVGA}' on
    the command line.
    
    '-device VGA' still doesn't work though due to a initialization order
    issue (vga must init before calling i440fx_init_memory_mappings).
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:44 2009 +0100

    zap serial_monitor_mux
    
    The logic in this code obviously predates the multiple monitor
    capability of qemu and looks increasingly silly these days.
    
    I think the intention of this piece of code is to get a reasonable
    default for the -nographic case: have monitor and serial line muxed
    on stdio.
    
    With the new default_serial and default_monitor variables we have now
    doing just that became much easier ;)
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit abdeed06b416eefb7eb1ec65cc1b87241cb3b6d2
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:43 2009 +0100

    default devices: qemu monitor.
    
    This patch makes the monitor default device configuration work like the
    default serial and parallel port devices.  It adds a variable
    default_monitor which says whenever a default monitor should be added.
    It is enabled by default.  It is cleared when qemu finds '-monitor' on
    the command line.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6a5e8b0e310c483d8d14553a2b7b601d39ed8b75
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:42 2009 +0100

    default devices: parallel port.
    
    Qemu creates a default parallel port for you in case you didn't specify
    one on the command line.  Right now this is tied to the '-parallel
    <chardev>' command line switch, which in turn causes trouble if you are
    creating your parallel port via '-device isa-parallel,<props>'.
    
    This patch adds a variable default_parallel which says whenever a default
    parallel port should be added.  It is enabled by default.  It is cleared
    when qemu finds '-parallel' or '-device isa-parallel' on the command line.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 998bbd74b9d813b14a3a3b5009a5d5a48c7dce51
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:41 2009 +0100

    default devices: core code & serial lines.
    
    Qemu creates a default serial line for you in case you didn't specify
    one on the command line.  Right now this is tied to the '-serial
    <chardev>' command line switch, which in turn causes trouble if you are
    creating your serial line via '-device isa-serial,<props>'.
    
    This patch adds a variable default_serial which says whenever a default
    serial line should be added.  It is enabled by default.  It is cleared
    when qemu finds '-serial' or '-device isa-serial' on the command line.
    
    Part of the patch is some infrastructure for the '-device $driver'
    checking (default_driver_check function) which will also be used by the
    other patches of this series.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 735ba5884943ad91be660b59092ab7592c4bde07
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:40 2009 +0100

    vc: colorize chardev title line with blue background.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 51bfa4d3160fe1d5c2eca381020b8b6dd69c3c80
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:39 2009 +0100

    chardev: move greeting into vc backend.
    
    Make the 'vc' chardev backend print a title line with the chardev name
    after initialization, using CharDriverState->label.
    
    This replaces the banner printing code in vl.c.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 014100bb73d8512fb3d62f5cb123bfb2d04f3089
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:38 2009 +0100

    Revert "Set default console to virtio on S390x"
    
    This reverts commit 93d434b4aec0702b87ebf52449a3cdf2c3596825.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4e307fc883b39c89ffc093c79eb9c9735724d227
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:37 2009 +0100

    Revert "monitor: Command-line flag to enable control mode"
    
    This reverts commit adcb181afe5a951c521411c7a8e9d9b791aa6742.
    
    Conflicts:
    
    	monitor.h
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1a688d3bbc2a44bfefa3f6774a11b0385dafc029
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:36 2009 +0100

    chardev: make chardevs specified in config file work.
    
    The patch decuples the -chardev switch and the actual chardev
    initialization.  Without this patch qemu ignores chardev entries
    coming via -readconfig.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 07a8de3566bd576dc33e55af830d63dcc2287617
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:35 2009 +0100

    qdev: also match bus name for global properties
    
    i.e. -global PCI.<property>=<value> will set a default property for all
    PCI devices.  Also works for the compat properties used by machine
    types.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d0fef6fbea36c62d29f3e3fa2214b7b52322983e
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:34 2009 +0100

    qdev: add command line option to set global defaults for properties.
    
    This patch adds infrastructure and command line option for setting
    global defaults for device properties, i.e. you can for example use
    
      -global virtio-blk-pci.vectors=0
    
    to turn off msi by default for all virtio block devices.  The config
    file syntax is:
    
    [global]
      driver = "virtio-blk-pci"
      property = "vectors"
      value = "0"
    
    This can also be used to set properties for devices which are not
    created via -device but implicitly via machine init, i.e.
    
      -global isa-fdc,driveA=<name>
    
    This patch uses the mechanism which configures properties for the
    compatibility machine types (pc-0.10 & friends).  The command line
    takes precedence over the machine type values.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 458fb6792d834474c6b289738b6bf9601fad87ab
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Dec 8 13:11:33 2009 +0100

    qdev: make compat stuff more generic
    
    This patch renames the compat properties into global properties and
    makes them more generic.  The compatibility stuff is only one of
    multiple possible users now.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4d6e3ac5d411c461d0fb4b1cd2ace854963c9e30
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Tue Dec 8 17:54:55 2009 +0100

    kvm: x86: Save/restore exception_index
    
    As KVM now makes use of exception_index to keep pending exceptions, we
    have to save&restore this field as well.
    
    NOTE: We have to nail the arch-independent exception_index down to a
    certain bit width for proper vmstate processing, namely to 32 bit.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bd9d30640c3c2489175fd9ddd5459c69f94688f8
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Dec 8 13:33:54 2009 +0100

    Fix recently added QERR_ definitions
    
    Commits c7c338c4, 41471a23, 7a046f5f and a488be27 used
    lower_case_with_underscores for class values.  Existing usage
    CamelCase.  ChangeToThatForConsistency.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 556cd09885bec3f69ba78228fe4e46dc1dad145b
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Dec 9 17:07:53 2009 +0100

    qdev: Replace device names containing whitespace
    
    Device names with whitespace require quoting in the shell and in the
    monitor.  Some of the offenders are also overly long.  Some have a
    more convenient alias, some don't.
    
    The place for verbose device names is DeviceInfo member desc.  The
    name should be short & sweet.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 063846984ce7eb1c1ddce6dda39b662c64a80dc0
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Dec 9 17:07:52 2009 +0100

    qdev: Separate USB product description from qdev name
    
    Using the qdev name for the product description makes for inconvenient
    qdev names.
    
    Put the product description in new USBDeviceInfo member product_desc.
    Make usb_qdev_init() use it.  No user or guest visible change, since
    the value is still the same.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0fe6d12e0bc752c29a93ac83a274e3650d457069
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Dec 9 17:07:51 2009 +0100

    qdev: Rename USBDevice member devname to product_desc
    
    It's not a device name, it's the USB product description string.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ba32edab7fdab0e74b54696942b4127d26861cf6
Author: Gleb Natapov <gleb at redhat.com>
Date:   Tue Dec 8 15:50:54 2009 +0200

    fix rtc-td-hack on host without high-res timers
    
    On hosts without high-res timers it is impossible to inject rtc interrupt
    faster then 1kHz. Windows sometimes configures RTC to generate 1kHz
    interrupts, so we can't inject missed interrupts when running on such
    hosts. Always injecting an interrupt on REG_C read is also not an option
    since Windows wait for REG_C to become zero with interrupt disabled
    during boot. This patch uses mixed approach: accelerate timer + inject
    up to 1000 interrupts on REG_C read.
    
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6d74ca5aa83b83fb52332f7735c61ecb7a5328c1
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Tue Dec 8 20:07:48 2009 +0200

    virtio: verify features on load
    
    migrating between hosts which have different features
    might break silently, if the migration destination
    does not support some features supported by source.
    
    Prevent this from happening by comparing acked feature
    bits with the mask supported by the device.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b3c3f123f785fb861d930080f083507b51f5ce79
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Dec 11 15:47:44 2009 +1000

    vmware_vga: add rom file so that it boots.
    
    This just adds the rom file to the vmware SVGA chipset so it boots.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 20ff6c8066eb5346b9e066851cf8a1e0564a0f1a
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Dec 9 12:59:36 2009 -0600

    Do not abort on qemu_malloc(0) in production builds
    
    qemu_malloc() does not allow size=0 to be passed in and aborts on this behavior.
    
    Unfortunately, there is good reason to believe that within qemu, there are a
    number of, so far, undetected places that assume size=0 can be safely passed.
    Since we do not want to abort unnecessarily in production builds, return
    qemu_malloc(1) whenever the version file indicates that this is a production
    build.
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 725b8a6983215de4e510be68d120279d29ceec41
Author: Paul Brook <paul at codesourcery.com>
Date:   Fri Dec 11 15:38:10 2009 +0000

    Fix ARM userspace strex implementation.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 7029a83bd6f71c6fe748220eb481f2afff3ab33f
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Thu Dec 10 14:46:18 2009 +0100

    microblaze: Make boot_info static.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit be5e8349862de9b7f6c3471ad32f1945d1fec2e8
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Thu Dec 10 14:43:13 2009 +0100

    microblaze: Add missing cpu_reset.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit b4d34d5e9b05fab4c8a4346036b3d413a304c94e
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Thu Dec 10 14:40:35 2009 +0100

    microblaze: Boot and reset fixes.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 6287462ef595515ce7873199f33817318712f98b
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Thu Dec 10 12:33:49 2009 +0100

    microblaze: Update disasm to latest GPLv2 version.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>

commit 7dbbbb0c9e4313cf2d2f6559b7899259fb09eb63
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Mon Dec 7 21:04:52 2009 +0200

    qemu: delete rule target on error
    
    Instruct make to remove any rule target on error. This prevetns
    situation where there was an error during build but generated file still
    stays behind.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 77e595e7c613c495714d04ce63fb9bce263c29ae
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:16 2009 +0100

    QMP: add human-readable description to error response
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7cdfcfe18f0a9e8603e4a14770a84eb5649521c5
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:15 2009 +0100

    monitor: convert do_getfd() to QError
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a488be27e5fbfd78e3c7f98706e0c2f6af402061
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:14 2009 +0100

    QError: New QERR_TOO_MANY_FILES
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7a046f5f14d3de026197dc08c389cd1f23a3dddf
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:13 2009 +0100

    New QERR_INVALID_PARAMETER
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 41471a2338522d72955c20179e16cff4d546b32a
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:12 2009 +0100

    QError: New QERR_FD_NOT_SUPPLIED
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 063c1a0918d5a08f7ba89300d022b3421174fbf7
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:11 2009 +0100

    monitor: convert do_closefd() to QError
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c7c338c49712eceef0ef584249856928de30cb45
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:10 2009 +0100

    QError: New QERR_FD_NOT_FOUND
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ec3b82afaa0c4c06689d6a6381d351eefc4ee171
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:09 2009 +0100

    monitor: convert do_change() to QObject, QError
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a6906e31a8d025a0dd626ee3c14dd58e7b9ab445
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:08 2009 +0100

    QError: New QERR_VNC_SERVER_FAILED
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7a84cb23c077488b0e1926b3e909ea128a80dc58
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:07 2009 +0100

    QError: New QERR_SET_PASSWD_FAILED
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 17901e75329fff369e26f2464a016e0797789256
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:06 2009 +0100

    QError: New QERR_INVALID_BLOCK_FORMAT
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2c2a6bb860c09a80f519cd6297f1c0585a1436ec
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:05 2009 +0100

    monitor: convert do_eject() to QError
    
    Also affects do_change(), because the two share eject_device().
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5cfe026475f3233a4c42351001560450886feddb
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:04 2009 +0100

    QError: New QERR_DEVICE_NOT_REMOVABLE
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b086838090e32e05a60b21c2cabca8098c1562c4
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:03 2009 +0100

    QError: New QERR_DEVICE_LOCKED
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e16a18122212e86b87a0ca1dd79269918c7dc667
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:02 2009 +0100

    QError: Put error definitions in alphabetical order
    
    Also fix the odd typoe and clean up whitespace.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2895e075c6dba0e66c72af781b1eed2bff0c3777
Author: Markus Armbruster <armbru at redhat.com>
Date:   Mon Dec 7 21:37:01 2009 +0100

    monitor: Fix double-prompt after "change vnc passwd BLA"
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 94171e119cb6f7bab2578896643b0daff1d9b184
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon Dec 7 21:37:00 2009 +0100

    monitor: do_cont(): Don't ask for passwords
    
    The do_cont() function will ask the user to enter a password if a
    device is encrypted.
    
    This is invalid under QMP, so we raise a QERR_DEVICE_ENCRYPTED
    error.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0df37c411ccf9f830f38f3f6405fac9320a70bac
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon Dec 7 21:36:59 2009 +0100

    QError: new class for device encrypted errors
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ad382a12571dbb83f952a206ce3e46df37e89e7b
Merge: a3a55a2edb7c0fd72bc62a8a4c719a1e1983e6ac b6981cb57be5d66b1b7cf9009a122fb3cdd4b96b
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Dec 7 14:31:38 2009 -0600

    Merge commit 'mst/pci' into staging

commit a3a55a2edb7c0fd72bc62a8a4c719a1e1983e6ac
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Fri Dec 4 15:24:09 2009 -0200

    monitor: Introduce 'block_passwd' command
    
    When using encrypted disk images, QEMU will prompt the user
    for passwords when started.
    
    This makes sense for the user protocol, but doesn't for QMP.
    
    The solution is to have Monitor command which allows the user
    or a Client to set passwords in advance, so that we avoid
    the prompt completely.
    
    This is what block_passwd does, for example:
    
    (QEMU) block_passwd ide0-hd0 foobar
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f6d855c50dfd68f33f6dee70e5ccdfb144a2da26
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Fri Dec 4 15:24:08 2009 -0200

    QError: Add class for invalid passwords
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b6981cb57be5d66b1b7cf9009a122fb3cdd4b96b
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Nov 25 16:31:42 2009 +0200

    pci: interrupt disable bit support
    
    Interrupt disable bit is mandatory in PCI spec.
    Implement it to make devices spec compliant.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Isaku Yamahata <yamahata at valinux.co.jp>

commit f9bf77dd1f838b0061172fe41709b221956da2f5
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Nov 25 15:44:40 2009 +0200

    pci: interrupt status bit implementation
    
    interrupt status is a mandatory feature in PCI spec,
    so devices must implement it to be spec compliant.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Isaku Yamahata <yamahata at valinux.co.jp>

commit d036bb215e0ac1d1fd467239f1d3b7d904cac90a
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Nov 25 15:20:51 2009 +0200

    pci: prepare irq code for interrupt state
    
    This rearranges code in preparation for interrupt state
    implementation.
    Changes:
    	- split up bus walk away from interrupt handling
              into a subroutine
    	- change irq_state from an array to bitmask
    	- verify that irq_state values are 0 or 1 on load
    
    There are no functional changes.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Isaku Yamahata <yamahata at valinux.co.jp>

commit 5b5cb08683b6715a2aca5314168e68ff0665912b
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Nov 25 12:19:32 2009 +0200

    msix: function mask support
    
    Function mask is a mandatory feature in MSIX
    spec so not implementing it is a spec violation.
    Implement.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 2760952ba9610921586e7446d858e23308400391
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Nov 25 12:18:00 2009 +0200

    msix: macro rename for function mask support
    
    rename ENABLE_OFFSET -> CONTROL_OFFSET, since
    same byte includes function mask.
    This is in preparation for function mask support.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 6d9fef1a02e6efd51e9ebd0130651ca61f75839b
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Mon Dec 7 11:58:02 2009 +0100

    cpuid: Fix multicore setup on Intel
    
    The multicore CPUID code detects whether the guest is an Intel or an
    AMD CPU, because the Linux kernel is picky about the CmpLegacy bit.
    KVM by default passes through the host's vendor, which was not
    catched by the code. So fork out the vendor determining bits into a
    separate function to be used from both places and always get the real
    vendor.
    This fixes KVM's multicore setup on Intel CPUs.
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Reported-by: Dietmar Maurer <dietmar at proxmox.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6fb6d245546d3ae48c4cb764b3593e4739aa1364
Author: Jan Kiszka <jan.kiszka at web.de>
Date:   Sun Dec 6 15:51:24 2009 +0100

    kvm: x86: Fix initial kvm_has_msr_star
    
    KVM_GET_MSR_INDEX_LIST returns -E2BIG when the provided space is too
    small for all MSRs. But this is precisely the error we trigger with the
    initial request in order to obtain that size. Do not fail in that case.
    
    This caused a subtle corruption of the guest state as MSR_STAR was not
    properly saved/restored. The corruption became visible with latest kvm
    optimizing the MSR updates.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5d7ff5bbde21858b43af38e7cb5cae59bd4668ad
Author: Andreas Faerber <andreas.faerber at web.de>
Date:   Sun Dec 6 14:00:24 2009 +0100

    TCG: Mac OS X support for ppc64 target
    
    Darwin/ppc64 does not use function descriptors,
    adapt prologue and tcg_out_call accordingly.
    GPR2 is available for general use, so let's use it.
    
    http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/LowLevelABI/110-64-bit_PowerPC_Function_Calling_Conventions/64bitPowerPC.html
    
    v2:
    - Don't mark reserved GPR13 as callee-save.
    - Move tcg_out_b up.
    - Fix unused variable warning in prologue.
    
    Signed-off-by: Andreas Faerber <andreas.faerber at web.de>
    Cc: malc <av1474 at comtv.ru>
    Signed-off-by: malc <av1474 at comtv.ru>

commit ee4660f9258dedfcb275a0fbed6c795f470a0caf
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun Dec 6 09:25:06 2009 +0000

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

commit 749717a0ea2f60d33d01c1e37fa24dfa7250dfc0
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Dec 5 12:44:31 2009 +0100

    Add S390 maintainer information
    
    This patch adds information about who handles what when it comes to S390.
    I'll gladly support anything that's related to the device emulation model and
    S390 KVM parts.
    
    Since this patchset doesn't implement S390 CPU emulation, I left that part
    with a question mark. As soon as Uli's patchset gets committed I'd recommend
    setting him there.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 93d434b4aec0702b87ebf52449a3cdf2c3596825
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Dec 5 12:44:30 2009 +0100

    Set default console to virtio on S390x
    
    All "normal" system emulation targets in qemu I'm aware of display output
    on either VGA or serial output.
    
    Our S390x virtio machine doesn't have such kind of legacy hardware. So
    instead we need to default to a virtio console.
    
    I'm not particularly proud of this patch. It would be a lot better to
    have something in the machine description that tells us about the default
    terminal.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit afcb0e4559df1421dcb5df75266769e48b96b46d
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Dec 5 12:44:29 2009 +0100

    S390 GDB stub
    
    In order to debug funny kernel breakages it's always good to have a working
    gdb stub around.
    
    While Uli's patches don't include one one, I needed one that's at least good
    enough for 'bt' and some variable examinations during early bootup.
    
    So here it is - the absolute basics to get the qemu gdb stub running with s390x
    targets.
    
    Sgined-off-by: Alexander Graf <agraf at suse.de>
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8cb310e1304aacfb2987ddad93b5ec96bee2b83f
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Dec 5 12:44:28 2009 +0100

    Add S390x virtio machine description
    
    In order to use the new S390x virtio bus we just introduced, we also
    need a machine description that sets up the machine according to our
    PV specification.
    
    Let's add that machine description and be happy!
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit f3304eea9338b7e694843fa1a6db5540e8783d1d
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Dec 5 12:44:27 2009 +0100

    Add S390x virtio machine bus
    
    On S390x we don't want to go through the hassle of emulating real existing
    hardware, because we don't need to for running Linux.
    
    So let's instead implement a machine that is 100% based on VirtIO which we
    fortunately implement already.
    
    This patch implements the bus that is the groundwork for such an S390x
    virtio machine.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 10c339a07d42fcccbccd3f8a5e9c94ccb51fe3e4
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Dec 5 12:44:26 2009 +0100

    Add support for S390x system emulation
    
    Let's enable the basics for system emulation so we can run virtual machines
    with KVM!
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 6b02494d64a15476e26a6e8468623d01c4c75c58
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Dec 5 12:44:25 2009 +0100

    Allocate physical memory in low virtual address space
    
    KVM on S390x requires the virtual address space of the guest's RAM to be
    within the first 256GB.
    
    The general direction I'd like to see KVM on S390 move is that this requirement
    is losened, but for now that's what we're stuck with.
    
    So let's just hack up qemu_ram_alloc until KVM behaves nicely :-).
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0e60a699d22be754c63392e5c5a275bff27726b7
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Dec 5 12:44:24 2009 +0100

    Add KVM support for S390x
    
    S390x was one of the first platforms that received support for KVM back in the
    day. Unfortunately until now there hasn't been a qemu implementation that would
    enable users to actually run guests.
    
    So let's include support for KVM S390x in qemu!
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 2827822ef1b725cb9b28e8ca62c2cf2a937e4f19
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Dec 5 12:44:23 2009 +0100

    S/390 fake TCG implementation
    
    Qemu won't let us run a KVM target without having host TCG support. Well, for
    now we don't have any so let's implement a fake target that only stubs out
    everything.
    
    I tried to keep the patch as close to Uli's source as possible, so whenever
    he feels like it he can easily diff his version against this one.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 24e804ec146fa491c32a39941dc9f259c8df41e6
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Dec 5 12:44:22 2009 +0100

    S/390 host/target build system support
    
    This patch makes configure aware of S390 hosts and guests. When not explicitly
    defined using --target-list= no S390 targets will be built though.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 10ec51174ca69a4c3c5149b0b3baaa6ccba66273
Author: Alexander Graf <agraf at suse.de>
Date:   Sat Dec 5 12:44:21 2009 +0100

    S/390 CPU fake emulation
    
    Because Qemu currently requires a TCG target to exist and there are quite some
    useful helpers here to lay the groundwork for out KVM target, let's create a
    stub TCG emulation target for S390X CPUs.
    
    This is required to make tcg happy. The emulation target itself won't work
    though.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 2a90358f8ae950a22efbfcc69e6142e86a38064e
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Dec 5 11:14:55 2009 +0000

    Sparc64: handle MMU global bit and nucleus context
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit dd5121bd8a40fc8900ae3e741aea8eb2e3736839
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Dec 4 20:52:02 2009 +0000

    monitor: fix use of plain integer as NULL pointer, spotted by Sparse
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit d05ac8faf57d5f0bc9310e41a3a9099397a778a5
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Dec 4 20:44:44 2009 +0000

    Add "static" to please Sparse
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 407f879abb7b3c9ad091f6dabb673dad06e549e8
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Dec 4 18:08:59 2009 +0000

    scsi: fix incorrect ?: use
    
    Fixes OpenBSD build.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit d08d6f04d6eeedce5090ff66d0676162d7d8d788
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Dec 4 18:06:39 2009 +0000

    monitor: use qemu_gettimeofday(), not gettimeofday()
    
    Fix mingw32 build.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 08fd0fa9f157d67a6a3689935c8b87c42e6684d7
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Dec 4 18:06:20 2009 +0000

    win32: fix variable use before initialization
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 242cd0030a4ac1cdd478a430f293dca573698778
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Dec 4 18:05:45 2009 +0000

    monitor: rename EVENT_* to QEVENT_* to avoid conflict on mingw32
    
    Partially fixes mingw32 build.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 31a68d5766c86020ef5392323db7692aa9e9ac62
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Dec 4 16:16:33 2009 +0000

    Sparc64: fix compilation with DEBUG_MMU
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit fe0d61231eb6be6a83c54f4a2795f924ee963f8f
Author: Thadeu Lima de Souza Cascardo <cascardo at holoscopio.com>
Date:   Mon Nov 30 17:37:03 2009 -0200

    ide: implement stub for audio control/volume read
    
    This implements the audio control or volume read support as needed by
    some systems. A Conectiva Parolin system required this to detect an IDE
    device as CD-ROM, through the CDVOLREAD ioctl.
    
    Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at holoscopio.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a70089ceebc287da39782717d3249daba71c4e15
Author: Thadeu Lima de Souza Cascardo <cascardo at holoscopio.com>
Date:   Mon Nov 30 17:36:54 2009 -0200

    ide: Use some already defined page macros instead of constants
    
    Some PAGE constants were used instead of the macros we already have
    defined in internal.h.
    
    Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at holoscopio.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b8f6ba0d0ced574c0685ee6f1b00ac3e750b0b0e
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Fri Nov 27 12:06:02 2009 +0100

    eepro100: Improve debug messages
    
    * buf was too small for longer register names.
    * Use consistent upper case for nouns in register names.
    * Use better name for array with e100 register names.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9ea37780a4f3209e92c7568b97671f337fe000cd
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Wed Nov 25 21:59:38 2009 +0100

    Remove rule for config-devices.h
    
    Since commit a992fe3d0fc185112677286f7a02204d8245b61e
    config-devices.h is no longer used.
    
    So there is no need to keep the dependency rules
    any longer.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ec16928806f88b72b35a8bcb52054460db230027
Author: David Benjamin <davidben at MIT.EDU>
Date:   Wed Nov 25 21:20:10 2009 -0500

    eepro100: Allocate a larger buffer for regname()
    
    This should avoid truncating the register name when debugging.
    
    Signed-off-by: David Benjamin <davidben at mit.edu>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5f370b14639370b1e010fac5b1fd094e502a781e
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Nov 18 12:15:21 2009 +0100

    multiboot: Use signed type for negative error numbers
    
    In mb_mod_length a return value is stored that is negative in error case. With
    an unsigned type the check goes wrong.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6769da29c7a3caa9de4020db87f495de692cf8e2
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Nov 18 12:15:10 2009 +0100

    posix-aio-compat: Fix error check
    
    Checking for nbytes < 0 is pointless as long as it's a size_t. If we want to
    use negative numbers for error codes, we should use signed types.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7078dead94a24bc4e5819e4a6448bd5738a2d088
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Nov 18 10:48:01 2009 +0100

    qemu-img: Fix memory leak
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b4b2f05403c30a655cd74584a74b2f4e135d4260
Author: Ryan Harper <ryanh at us.ibm.com>
Date:   Fri Nov 20 13:55:12 2009 -0600

    Fix compile error when LSI_DEBUG is defined
    
    This patch fixes the follow error when LSI_DEBUG is set.
    
      CC    libhw64/lsi53c895a.o
    cc1: warnings being treated as errors
    qemu/hw/lsi53c895a.c: In function 'lsi_io_mapfunc':
    qemu/hw/lsi53c895a.c:1932: error: format '%08x' expects type 'unsigned int', but argument 2 has type 'pcibus_t'
    qemu/hw/lsi53c895a.c: In function 'lsi_ram_mapfunc':
    /qemu/hw/lsi53c895a.c:1947: error: format '%08x' expects type 'unsigned int', but argument 2 has type 'pcibus_t'
    qemu/hw/lsi53c895a.c: In function 'lsi_mmio_mapfunc':
    qemu/hw/lsi53c895a.c:1957: error: format '%08x' expects type 'unsigned int', but argument 2 has type 'pcibus_t'
    make[1]: *** [lsi53c895a.o] Error 1
    make: *** [subdir-libhw64] Error 2
    
    Signed-off-by: Ryan Harper <ryanh at us.ibm.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 01d86a8544e9c8dd1cf12f66ce850db365c38f25
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Thu Nov 19 20:19:56 2009 +0100

    Fix build for mingw32 on windows ($$ expansion)
    
    Make using mingw32 on windows fails when running grep "=y$$".
    The command is expanded to grep "=y$ and the missing "
    results in an error.
    
    I don't expect a file config-devices.mak with =y somewhere in
    the middle of a line (they are always at the end of the line),
    so simplifying the regular expression to =y seems to be permitted.
    
    This avoids problems with wrong expansion.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7ebf54bca173c1e5b970f9462436b2c151309220
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Thu Nov 19 20:07:52 2009 +0100

    Fix build for mingw32 on windows ($@ in macro)
    
    Make using mingw32 on windows does not preserve $@ in macros
    when they are modified using this pattern:
    target: macro += something
    
    This behaviour results in an error when QEMU_CFLAGS containing
    "-MMD -MP -MT $@" is modified for compilation of source files
    which use SDL: $@ will expand to nothing, -MT no longer has
    the correct argument (it will take the next one from the command
    line) and the build will fail or run with a wrong command line.
    
    The problem is fixed by using a new macro QEMU_DGFLAGS
    which is not modified by a target rule.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b10fec9bfac17e932f630d341180d04be97074bc
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Thu Nov 19 19:44:55 2009 +0100

    e1000: Fix warning from code review
    
    A code review run by Steve Grubb complained about code in e1000.c:
    
    In hw/e1000.c at line 89, vlan is declared to be 4 bytes.
    At line 382 is an attempt to do a memmove over it with a size of 12.
    
    This was fixed by splitting the memmove in two calls and
    adding a comment to the declaration of vlan and data.
    
    Signed-off-by: Stefan Weil <weil at mail.berlios.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 53ea95de527f146d902aaf442625e0fe6dd25524
Author: Adam Lackorzynski <adam at os.inf.tu-dresden.de>
Date:   Mon Nov 30 23:25:44 2009 +0100

    multiboot: Fix module loading and setting of mmap.
    
    Signed-off-by: Adam Lackorzynski <adam at os.inf.tu-dresden.de>
    Acked-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit dc61b0dc5a24c7dac5e54a2baf9be235038aae64
Author: Alexander Graf <agraf at suse.de>
Date:   Tue Nov 17 17:49:16 2009 +0100

    Make -kernel for linux work with bochsbios
    
    While trying to run -kernel with -bios pc-bios/pcbios.bin, I realized
    that I was actually writing data to %es, but only set up %ds to a 32-bit
    segment we want to write to.
    
    So at the end of the day the data hasn't actually been copied. Oops.
    
    So here's a fix to set ES instead of DS, which makes -kernel work with
    BOCHS bios again (and actually makes the code do the correct thing)!
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0745eb1e4336bf665a911754d18ddd63794b352d
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Nov 27 13:05:53 2009 +0100

    Fix recently introduced bugs in -usbdevice host
    
    Commit 26a9e82a has the following flaws:
    
    * It enabled DEBUG.
    
    * It referenced two properties by the wrong name in
      usb_host_device_open(), which crashes with "qdev_prop_set: property
      "USB Host Device.bus" not found".
    
    * It broke "-usbdevice host:auto:..." by calling parse_filter()
      incorrectly.
    
    * It broke parsing of "-usbdevice host:BUS.ADDR" and "-usbdevice
      host:VID:PRID" with a trivial pasto.
    
    * It broke wildcards in "-usbdevice host:auto:...".  Before, the four
      filter components were stored as int, and the wildcard was encoded
      as -1.  The faulty commit changed storage to uint32_t, and the
      wildcard encoding to 0.  But it failed to update parse_filter()
      accordingly.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 21eb3a2ba3af9aa7c9c46d91d7be0fbdfb393b0d
Author: Pierre Riteau <Pierre.Riteau at irisa.fr>
Date:   Fri Nov 27 14:14:56 2009 +0100

    Fix description of size parameter in qemu-img's help text
    
    Valid description taken from qemu-img.texi, although it would be better
    to have this information recorded in only one place.
    
    Signed-off-by: Pierre Riteau <Pierre.Riteau at irisa.fr>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ea5ad306bae127a1cae9c797bef66284fe571abf
Author: Andreas Faerber <andreas.faerber at web.de>
Date:   Fri Nov 27 22:18:52 2009 +0100

    Suppress optionrom build on Solaris x86
    
    To avoid the build failing with:
    
    gcc -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-
    builtin -I/export/home/andreas/QEMU/qemu   -Wall -Wstrict-prototypes -
    Werror -fomit-frame-pointer -fno-builtin -I/export/home/andreas/QEMU/
    qemu   -c -o multiboot.o multiboot.S
    /var/tmp//ccd3aWyk.s: Assembler messages:
    /var/tmp//ccd3aWyk.s:15: Error: value of 512 too large for field of 1
    bytes at 0000000000000002
    gmake[1]: *** [multiboot.o] Error 1
    
    disable recursion into pc-bios/optionrom, as done for Darwin already.
    
    Signed-off-by: Andreas Faerber <andreas.faerber at web.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit fc072ec4df0996682dfbff6c735e2bbc0d93132f
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Nov 27 13:25:36 2009 +0100

    Rename DriveInfo.onerror to on_write_error
    
    Either rename variables and functions to refer to write errors (which is what
    they actually do) or introduce a parameter to distinguish reads and writes.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 550fe6c6fc3cfcb9ed62340492326ae86b4329de
Author: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
Date:   Thu Nov 19 11:07:12 2009 +0100

    SCSI: Fix Standard INQUIRY data
    
    Vendor identification, product identification and product revision level
    should be padded with spaces without a terminating NULL character, see
    SCSI-2 standard, 8.2.5.1 Standard INQUIRY data.
    
    Signed-off-by: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a0fb002c6462d21ceb9eac8c5772e469ec189374
Author: Jan Kiszka <jan.kiszka at web.de>
Date:   Wed Nov 25 00:33:03 2009 +0100

    kvm: x86: Add support for VCPU event states
    
    This patch extends the qemu-kvm state sync logic with support for
    KVM_GET/SET_VCPU_EVENTS, giving access to yet missing exception,
    interrupt and NMI states.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5a2e3c2e11802215cbb69d6e5ad35b5bdc7d5382
Author: Jan Kiszka <jan.kiszka at web.de>
Date:   Wed Nov 25 00:31:03 2009 +0100

    kvm: x86: Fix merge artifact of f8d926e9 about mp_state
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit dc702288a3604ce8f788a5b9c7a19fad6d1aa50b
Author: Alexander Graf <agraf at suse.de>
Date:   Wed Dec 2 23:20:29 2009 +0100

    targe-ppc: Sync CPU state for KVM
    
    Some recent change made PPC guests always start at address 0x0 because env
    isn't synced to kvm_state on first bootup.
    
    I'm not sure if this is the correct bugfix, but at least it makes PPC boot
    again with KVM enabled.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ba5e50908c66751b2c387ece023b796be2563c47
Author: Alexander Graf <agraf at suse.de>
Date:   Wed Dec 2 23:19:47 2009 +0100

    target-ppc: Get MMU state on register sync
    
    While x86 only needs to sync cr0-4 to know all about its MMU state and enable
    qemu to resolve virtual to physical addresses, we need to sync all of the
    segment registers on PPC to know which mapping we're in.
    
    So let's grab the segment register contents to be able to use the "x" monitor
    command and also enable the gdbstub to resolve virtual addresses.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit feb9e61285df74b64a7ed63f7138e906ed55f083
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Mon Nov 30 21:02:32 2009 +0200

    qemu: cleanup unused macros in cirrus
    
    Cirrus vga has a copy of many PCI macros,
    and it doesn't even use them. Clean up.
    We also don't need to override header type
    as it is NORMAL by default.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f74ab486d573e7b122ad9702194104aa90f30d53
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Mon Nov 30 21:02:26 2009 +0200

    qemu: make cirrus init value pci spec compliant
    
    PCI memory should be disabled at reset, otherwise
    we might claim transactions at address 0.
    I/O should also be disabled, although for cirrus
    it is harmless to enable it as we do not
    have I/O bar.
    
    Note: bios fix needed for this patch to work
    was already applied:
    previously bios incorrently assumed that it does not
    need to enable i/o unless device has i/o bar.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 40ff6d7e8dceca227e7f8a3e8e0d58b2c66d19b4
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed Dec 2 12:24:42 2009 +0100

    Don't leak file descriptors
    
    We're leaking file descriptors to child processes. Set FD_CLOEXEC on file
    descriptors that don't need to be passed to children to stop this misbehaviour.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 12c09b8ce22d74f78ff50f95676cbe4f501752ae
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Mon Nov 30 16:54:15 2009 +0100

    qemu-img: There is more than one host device driver
    
    I haven't heard yet of anyone using qemu-img to copy an image to a real floppy,
    but it's a valid use case.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 702ef63f3e0ba569727a8e01db0ef2c7cbff36e9
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Nov 27 17:35:55 2009 +0100

    qcow2: Fix some more qemu_malloc fallout
    
    Oh joy...
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e1c7f0e3f998866bedc9bdb53d247859b7beb5ce
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Thu Nov 26 14:03:42 2009 +0100

    qcow2: Store exact backing format length
    
    Currently qcow2 unnecessarily rounds up the length of the backing format string
    to the next multiple of 8. At the same time, the array in BlockDriverState can
    only hold 15 characters, so in effect backing formats with 9 characters or more
    don't work (e.g. host_device).
    
    Save the real string length and things start to work for all valid image format
    names.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f35d68f0e79ed82d1c9a8a78a688d0ead8bf05f2
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Nov 27 13:25:39 2009 +0100

    virtio-blk: Implement rerror option
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ce4b6522f71f6cc5ccdb0d278f94ae1b85ba0959
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Nov 27 13:25:38 2009 +0100

    ide: Implement rerror option
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e9b2e81889d9877415710484b876ee57a42b0bcb
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Nov 27 13:25:37 2009 +0100

    Introduce rerror option for drives
    
    rerror controls the action to be taken when an error occurs while accessing the
    guest image file. It corresponds to werror which already controls the action
    take for write errors.
    
    This purely introduces parsing rerror command line option into the right
    structures, real support for it in the device emulation is added in the
    following patches.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f785009961c335a4c9c735b2bf96d5a0d2e5bde1
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Nov 27 13:25:36 2009 +0100

    Rename DriveInfo.onerror to on_write_error
    
    Either rename variables and functions to refer to write errors (which is what
    they actually do) or introduce a parameter to distinguish reads and writes.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 843079386eed4ae2dbe1be98383f185b7721411b
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Wed Dec 2 11:29:38 2009 +0100

    ram migration: Properly reset statistics
    
    As we may do more than one migration (cancellation, live backup), reset
    bytes_transferred on stage 1.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b09417b9bcbde787a03cf38608cb897a52f12dd5
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Tue Dec 1 15:24:18 2009 +0100

    qemu-opts: Release id on deletion
    
    The opts id is always allocated via qemu_strdup, so it need not be
    const, but it has to be released on opts deletion.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 90697be8896ce364456b81d3ba7eaadd10b1766e
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Tue Dec 1 15:19:55 2009 +0100

    live migration: Serialize vmstate saving in stage 2
    
    The effect of this patch with current block migration is that its stage
    2, ie. the first full walk-through of the block devices will be
    performed completely before RAM migration starts. This ensures that
    continuously changing RAM pages are not re-synchronized all the time
    while block migration is not completed.
    
    Future versions of block migration which will respect the specified
    downtime will generate a different pattern: After RAM migration has
    started as well, block migration may also continue to inject dirty
    blocks into the RAM stream once it detects that the number of pending
    blocks would extend the downtime unacceptably.
    
    Note that all this relies on the current registration order: block
    before RAM migration.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 792773b2255d25c6f5fe9dfa0ae200debab92de4
Author: Jan Kiszka <jan.kiszka at web.de>
Date:   Mon Nov 30 20:34:55 2009 +0100

    block migration: Skip zero-sized disks
    
    No need to migrate emptiness (risking divide by zero later on).
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 23bd90d2f916f5a2e0a6ad00d26f3ff26144066d
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:22 2009 +0100

    block migration: Increase dirty chunk size to 1M
    
    4K is too small for efficiently saving and restoring multi-GB block
    devices.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 01e61e2d16b72aa3f18cd25123db069c06a3606c
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Tue Dec 1 15:20:17 2009 +0100

    block migration: Add support for restore progress reporting
    
    Inject progress report in percentage into the block live stream. This
    can be read out and displayed easily on restore.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 25f236433f5c791edce74228201254a1cc84f9a3
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:21 2009 +0100

    block migration: Report progress also via info migration
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7184049ee6f51e84ed36b9c864850e82a255c31a
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:21 2009 +0100

    block migration: Fix outgoing progress output
    
    Report progress of an outgoing live migration to the monitor instead of
    stdout.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f327aa0c608b4bae3c93f0fbd0afcfdd9c9635bc
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:21 2009 +0100

    live migration: Propagate output monitor to callback handler
    
    In order to allow proper progress reporting to the monitor that
    initiated the migration, forward the monitor reference through the
    migration layer down to SaveLiveStateHandler.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 82801d8f4f3fa7413647495d9823fb3144c31ddc
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:21 2009 +0100

    block migration: Report overall migration progress
    
    So far progress reporting only works for the first block device. Fix
    this by keeping an overall sum of sectors to be migratated, calculating
    the sum of all processed sectors, and finally basing the progress
    display on those values.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4ec7fcc7da214d48d39b63fd2c6a4d19ac42ae04
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:21 2009 +0100

    live migration: Allow cleanup after cancellation or error
    
    Introduce qemu_savevm_state_cancel and inject a stage -1 to cancel a
    live migration. This gives the involved subsystems a chance to clean up
    dynamically allocated resources. Namely, the block migration layer can
    now free its device descriptors and pending blocks.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9a743e5ba32f7a620baa0b3d3808e88d2433e861
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:21 2009 +0100

    ram migration: Stop loading on error
    
    Besides catching real errors, this also allows to interrrupt the qemu
    process during restore.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4b640365c79c970d150beb940559b78709a042cb
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:21 2009 +0100

    block migration: Add error handling/propagation
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 13f0b67fd34e3cdae15b0fa37e81f6175682dcaf
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:21 2009 +0100

    block migration: Consolidate block transmission
    
    Based on the original patch by Pierre Riteau: Use a common blk_send
    function to transmit a block.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 57cce12d544e17fd42f1ccf9d669bf54a5f45b19
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:20 2009 +0100

    block migration: Consolidate mig_read_device_bulk into mig_save_device_bulk
    
    Both functions share a lot of code, so make them one.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b1d10856d687b449a0dc4eca3a8db41055e2d3b8
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:20 2009 +0100

    block migration: Clean up use of total_sectors
    
    We already save total_sectors in BlkMigDevState, let's use this value
    during the migration and avoid to recalculate it needlessly.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 69d63a97a194a70d305f7d3d6b9d8f2c3c5bfbf2
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:20 2009 +0100

    block migration: Initialize remaining BlkMigState fields
    
    In case we restart a migration, submitted, read_done, transferred, and
    print_completion need to be reinitialized to 0.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5e5328be14d4c2305411bec5993e909717e6f0a9
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:20 2009 +0100

    block migration: Switch device and block lists to QSIMPLEQ
    
    Based on the original patch by Pierre Riteau.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c616bbe1fd17ee633f2e8c4f96423399a85ca4a4
Author: Pierre Riteau <Pierre.Riteau at irisa.fr>
Date:   Mon Nov 30 18:21:20 2009 +0100

    Import a simple queue implementation from NetBSD
    
    Signed-off-by: Pierre Riteau <Pierre.Riteau at irisa.fr>
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3c095c3f802538cefb0fb7c87dcb39eddaadf13f
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:20 2009 +0100

    block migration: Drop dead code
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d11ecd3dd54fec1eaf132300701b219723256c49
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:20 2009 +0100

    block migration: Avoid indirection of block_mig_state
    
    No need to push block_mig_state to the heap and, thus, establish an
    indirection.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 575a58d763fa31ab34b8b943b452c0fdb9f37190
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:20 2009 +0100

    block migration: Avoid large stack buffer
    
    Move a potentially large buffer from stack to heap.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c6d2283068026035a6468aae9dcde953bd7521ac
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:20 2009 +0100

    block migration: Cleanup dirty tracking code
    
    This switches the dirty bitmap to a true bitmap, reducing its footprint
    (specifically in caches). It moreover fixes off-by-one bugs in
    set_dirty_bitmap (nb_sectors+1 were marked) and bdrv_get_dirty (limit
    check allowed one sector behind end of drive). And is drops redundant
    dirty_tracking field from BlockDriverState.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6ea44308b0e8156d352f07b97b2b05eaed89aa6d
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:19 2009 +0100

    block migration: Rework constants API
    
    Instead of duplicating the definition of constants or introducing
    trivial retrieval functions move the SECTOR constants into the public
    block API. This also obsoletes sector_per_block in BlkMigState.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a55eb92c22a7be05bae0de6163bbe1e5f1d43ba3
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:19 2009 +0100

    block migration: Fix coding style and whitespaces
    
    No functional changes.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1302425d737857e7598b812eb25c159f31d4ab27
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:19 2009 +0100

    migration: Catch multiple start commands
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5d39c799c3245244ebb1e89da0177dbc089962b2
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Nov 30 18:21:19 2009 +0100

    migration: Fix use of file after release
    
    qemu_fclose frees the passed file structure, but do_migrate_set_speed
    may access it later on. Fix it by setting file NULL in
    migrate_fd_cleanup and checking for this.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit be73cfe2be9a41de4f97e4847b3f12a7d6d61159
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Dec 2 12:36:46 2009 +0100

    savevm: Port to qdev.vmsd all devices that have qdev
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 70cca6d87261f3ab330e2be34fbe9596b13342ae
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Dec 2 12:36:45 2009 +0100

    qdev: enable vmstate_unregister() support
    
    Now vmstate_unregister have the right type
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5084bca17f9d2b0a39337df4bd991838ed70d866
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Dec 2 12:36:44 2009 +0100

    pci: vmstate_register() already assign consecutive numbers starting at 0
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 33599e2a6164b1c7a5b634be1c2e54b8f0fb91bd
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Dec 2 12:36:43 2009 +0100

    vmstate: Add support for multiplying size for a constant
    
    When the size that we want to transmit is in another field, but in an
    unit different that bytes
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bfb811ade56e62da44404f55e224f4f5d07a902c
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Dec 2 12:36:42 2009 +0100

    vmstate: remove usused VMSTATE_STRUCT_ARRAY_SIZE_UINT8
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2fee40782cb6462137f49023b8e55e22c4571790
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Dec 2 12:36:41 2009 +0100

    vmstate: Introduce UINT16_TEST support
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 543fc7b27a0e498d89b56a9fe0f9ac4f0f687f13
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Dec 2 12:36:40 2009 +0100

    vmstate: Introduce VMSTATE_STRUCT_POINTER_TEST
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 11fe0e6e0ea631c1c4278de7c97eebacda254b3d
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Dec 2 12:36:39 2009 +0100

    vmstate: Introduce VMSTATE_STRUCT_TEST
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e61a1e0a1147018d26f894c17f56f08117c0ba7b
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Dec 2 12:36:38 2009 +0100

    vmstate: Add support for VBUFFERS
    
    Support for buffer that are pointed by a pointer (i.e. not embedded)
    where the size that we want to use is a field in the state.
    We also need a new place to store where to start in the middle of the
    buffer, as now it is a pointer, not the offset of the 1st field.
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8595387e3e08cae5ae1caef5633b551f09ba4211
Author: Juan Quintela <quintela at redhat.com>
Date:   Wed Dec 2 12:36:37 2009 +0100

    vmstate: fix missing ARRAY_OF_POINTERS support on save state
    
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d9494b19e3239aaba3eaf85bcdc1ceab3cea3f72
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Wed Dec 2 12:36:36 2009 +0100

    vmstate: Fix info field of VMSTATE_MACADDR
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 21174c34b6b9ace9ad82e0deb13be752d28a5907
Author: Jan Kiszka <jan.kiszka at web.de>
Date:   Wed Dec 2 12:36:35 2009 +0100

    vmstate: Avoid seeking
    
    Seeking on vmstate save/load does not work if the underlying file is a
    stream. We could try to make all QEMUFile* forward-seek-aware, but first
    attempts in this direction indicated that it's saner to convert the few
    qemu_fseek-on-vmstates users to plain reads/writes.
    
    This fixes various subtle vmstate corruptions where unused fields were
    involved.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e560125e2692714054b718b51211f32a311538b5
Author: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
Date:   Thu Nov 19 11:07:12 2009 +0100

    lsi53c895a: Implement IRQ on reselection
    
    The critical part of this change is how to deal with simultaneaous
    generation of interrupts. The only (normal) case when this happens in
    the emulation is near simultaneous reselection + selection. If selection
    comes first, there is no problem, since the target attempting
    reselection loses the arbitration (in the emulation it only means that
    the reselect function will not be started). In the worst case the host
    adapter is reselected, but the device driver already started a
    selection, so we jump to the alternative address to handle the
    situation.
    
    The SCRIPTS code can trigger another interrupt to notify the driver that
    the new task has to be postponed. I suppose that on real hardware there
    is enough time after the reselection interrupt to set the SIP bit before
    the next interrupt comes, so it would result in 2 stacked interrupts (a
    SCSI and a DMA one). However, in the emulation there is no interrupt
    stacking, so there is a good chance that the 2 interrupts will get to
    the interrupt handler at the same time.
    
    Nevertheless, it should not make a big difference in interrupt handling,
    since in both cases both interrupts have to be fetched first, and after
    that the new task (that failed during the selection phase) has to be
    prepared/reset for a later restart, and the reconnected device has to be
    serviced.
    
    The changes do not modify the host adapter's behavior if this interrupt
    is not enabled.
    
    See also LSI53C895A technical manual, SCID and SIEN0.
    
    Signed-off-by: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 38f5b2b88cbe02492a4cad3aa06a778a952f7146
Author: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
Date:   Thu Nov 19 11:07:12 2009 +0100

    lsi53c895a: Use alternative address when already reselected
    
    See SCRIPTS, 3.2.17 SELECT.
    
    Signed-off-by: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 07a1bea883895522a89e632757041c364ce2e12e
Author: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
Date:   Thu Nov 19 11:07:12 2009 +0100

    lsi53c895a: Fix SDID in SELECT ID command
    
    See SCRIPTS Programming Guide, 3.2.17 SELECT.
    
    Signed-off-by: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 77203ea00b3abc8246722a0e6f982c2932387a09
Author: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
Date:   Thu Nov 19 11:07:12 2009 +0100

    lsi53c895a: Fix message code of DISCONNECT
    
    See SCSI-2, 6.5 Message system description/message codes.
    
    Signed-off-by: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit cc9f28bc2a95eb96959c39ce498800bbd95cc77b
Author: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
Date:   Thu Nov 19 11:07:12 2009 +0100

    lsi53c895a: Add support for LSI53C700 Family Compatibility bit
    
    Signed-off-by: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a15fdf861976d0c4a7358e4ddd729116bcd34348
Author: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
Date:   Thu Nov 19 11:07:12 2009 +0100

    lsi53c895a: Whitespace and typo fixes
    
    Signed-off-by: Laszlo Ast <laszlo.ast at siemens-enterprise.com>
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bd536cf3302e258cace9cfa9f554ec9f9e27591a
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:16 2009 +0100

    scsi: add read/write 16 commands.
    
    Add READ_16 + friends to scsi-defs.h, scsi_command_name() and the
    request parsing helper functions.
    
    Use them in scsi-disk.c too.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 88f8a5ed0f4f1454ba53661fed0f676180e9be32
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:15 2009 +0100

    scsi-disk: restruct emulation: VERIFY
    
    Move VERIFY emulation from scsi_send_command() to
    scsi_disk_emulate_command().
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 39ec9a504ddebc9432de892c185447af5b192f2a
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:14 2009 +0100

    scsi-disk: restruct emulation: REPORT_LUNS
    
    Move REPORT_LUNS emulation from scsi_send_command() to
    scsi_disk_emulate_command().
    
    Also add REPORT_LUNS to scsi-defs.h and scsi_command_name().
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5dd90e2ad7a0ac27fc132f778827e70b7dbaf627
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:13 2009 +0100

    scsi-disk: restruct emulation: SERVICE_ACTION_IN
    
    Move SERVICE_ACTION_IN emulation from scsi_send_command() to
    scsi_disk_emulate_command().
    
    Also add SERVICE_ACTION_IN to scsi-defs.h and scsi_command_name().
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 382155536cdbffb9ea621f61773109594626ba01
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:12 2009 +0100

    scsi-disk: restruct emulation: GET_CONFIGURATION
    
    Move GET_CONFIGURATION emulation from scsi_send_command() to
    scsi_disk_emulate_command().
    
    Also add GET_CONFIGURATION to scsi-defs.h and scsi_command_name().
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 02880f434912ca9dcc346d28d375003172b9e650
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:11 2009 +0100

    scsi-disk: restruct emulation: READ_TOC
    
    Move READ_TOC emulation from scsi_send_command() to
    scsi_disk_emulate_command().  Add scsi_disk_emulate_read_toc() function
    which holds the longisch READ_TOC emulation code.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit fc903943f8df1226294783b0df607c928393bae4
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:10 2009 +0100

    scsi-disk: restruct emulation: SYNCHRONIZE_CACHE
    
    Move SYNCHRONIZE_CACHE emulation from scsi_send_command() to
    scsi_disk_emulate_command().
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e7e25e32693b052b29edb8396dbc577e1bf2a09f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:09 2009 +0100

    scsi-disk: restruct emulation: READ_CAPACITY
    
    Move READ_CAPACITY emulation from scsi_send_command() to
    scsi_disk_emulate_command().
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c68b9f34c136ce4ff77fc165227596b267e15fa1
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:08 2009 +0100

    scsi-disk: restruct emulation: ALLOW_MEDIUM_REMOVAL
    
    Move ALLOW_MEDIUM_REMOVAL emulation from scsi_send_command() to
    scsi_disk_emulate_command().
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8d3628fff4131775dd4b7ad1748e0deb0b53aae8
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:07 2009 +0100

    scsi-disk: restruct emulation: START_STOP
    
    Move START_STOP emulation from scsi_send_command() to
    scsi_disk_emulate_command().
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ebddfcbe14c0184ef3821b987b0a9746b4802c27
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:06 2009 +0100

    scsi-disk: restruct emulation: MODE_SENSE
    
    Move MODE_SENSE emulation from scsi_send_command() to
    scsi_disk_emulate_command().  Create two helper functions:
    mode_sense_page() which writes the actual mode pages and
    scsi_disk_emulate_mode_sense() which holds the longish MODE_SENSE
    emulation code, calling into mode_sense_page() as needed.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3d53ba18f5bae3208fe42d9c8fba9687394655d5
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:05 2009 +0100

    scsi-disk: restruct emulation: RESERVE+RELEASE
    
    Move RESERVE+RELEASE emulation from scsi_send_command() to
    scsi_disk_emulate_command().
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0b06c05979075cbf224724f5ac1a3f4d713ccdd8
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:04 2009 +0100

    scsi-disk: restruct emulation: INQUIRY
    
    Move INQUIRY emulation from scsi_send_command() to
    scsi_disk_emulate_command().  Also split the longish INQUITY emulation
    code into the new scsi_disk_emulate_inquiry() function.  Serial number
    handling is slightly changed, we don't copy it any more but look it up
    directly in DriveInfo which we have at hand anyway.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 51ad87c963dfd3fb12316338cee8b75395bd1686
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:03 2009 +0100

    scsi-disk: restruct emulation: REQUEST_SENSE
    
    Move REQUEST_SENSE emulation from scsi_send_command() to
    scsi_disk_emulate_command().
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit aa5dbdc190644cf36e4e7fbd68b4e40e13209039
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:02 2009 +0100

    scsi-disk: restruct emulation: core + TEST_UNIT_READY.
    
    Add new scsi_disk_emulate_command() function, which will -- when
    finished -- handle all scsi disk command emulation except actual I/O
    (READ+WRITE commands) which goes to the block layer.  The function
    builds on top of the new SCSIRequest struct.
    
    SCSI command emulation code is moved over from scsi_send_command() in
    steps to ease review and make it easier to pin down regressions (if any)
    using bisect.  This patch moves over TEST_UNIT_READY only.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ec766865633be4a36803fa33ee518c4166cfc459
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:01 2009 +0100

    scsi: add scsi_req_print()
    
    Handy for debugging.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ed3a34a3c8dcae6f46556ae7e2a667e6c16c8daa
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:34:00 2009 +0100

    scsi: move status to SCSIRequest.
    
    Also add and use the scsi_req_complete() helper function for calling the
    completion callback.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 251882b7e4532cb42fca89412bb6670dcec4158f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:33:59 2009 +0100

    scsi: move dinfo to SCSIDevice
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 37659e510483fd8758424356b76209124ccfd98c
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:33:58 2009 +0100

    scsi: move sense to SCSIDevice, create SCSISense struct.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 97a064356704af1756270b1d56dea2690ae015de
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:33:57 2009 +0100

    scsi: add xfer mode
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ebf460231276efe86ca75613e3cd4169956f7076
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:33:56 2009 +0100

    scsi: use command defines in scsi-disk.c
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2ec749cb8222c37400ef95b751bfee945dae0dbf
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:33:55 2009 +0100

    scsi: add request parsing helpers to common code.
    
    Add helper functions for scsi request parsing to common code.  Getting
    command length, transfer size, and linear block address is handled.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 913766563fbd6faa17635fd802e83383e0224289
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:33:54 2009 +0100

    scsi: move type from SCSIGenericState to SCSIDevice
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0d65e1f856d6f5bd00cb90bcc394fbe95fe5d244
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:33:53 2009 +0100

    scsi: add scsi-defs.h
    
    Largely based on <scsi/scsi.h> from linux.  Added into the tree so we
    can use the defines everywhere, not just in scsi-generic.c (which is
    linux-specific).
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b07995e3caa6252025a76772ed008cecaab5033a
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:33:52 2009 +0100

    scsi: move blocksize from SCSIGenericState to SCSIDevice
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 29362ebe9d21286f101ba095d624869b672a4180
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:33:51 2009 +0100

    scsi: move scsi command buffer from SCSIGenericReq to SCSIRequest.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 89b08ae15449fe433325061ebb928766a1c77381
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:33:50 2009 +0100

    scsi: move SCSIRequest management to common code.
    
    Create generic functions to allocate, find and release SCSIRequest
    structs.  Make scsi-disk and scsi-generic use them.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9af99d980e9ff6270f291b11a064087b33dd3ab8
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:33:49 2009 +0100

    scsi: move request lists to QTAILQ.
    
    Changes:
     * Move from open-coded lists to QTAILQ macros.
     * Move the struct elements to the common data structures
       (SCSIDevice + SCSIRequest).
     * Drop free request pools.
     * Fix request cleanup in the destroy callback.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4c41d2ef5f599372a35d446fb75898fe9841bda4
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:33:48 2009 +0100

    scsi: create common SCSIRequest structure.
    
    Rename the SCSIRequest structs in scsi-disk.c and scsi-generic.c to
    SCSIDiskReq and SCSIGenericReq.  Create a SCSIRequest struct and move
    the common elements over.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1e37607b5e32dc5f4ee422ae45da4de659db0691
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Nov 26 15:33:47 2009 +0100

    scsi: add/fix header protection.
    
    Also delete the leftover and unused scsi-disk.h file.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f5c5e38179aff8cc9bb8bd4c9fe42966f0e9f9fd
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:37 2009 +0000

    net: fix vnet_hdr handling in solaris tap code
    
    Print an error if the user specifies vnet_hdr=1 on the cmdline.
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit df6c2a0fb2f498f488a391c5da13e7cd4de5083e
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:36 2009 +0000

    net: initialize vnet_hdr in net_init_tap()
    
    net_tap_init() always sets vnet_hdr using qemu_opt_get_bool(), but
    initialize it in net_init_tap() just to reduce confusion.
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2e50326c44c802ca9b9d591341085e49208927be
Author: Pierre Riteau <Pierre.Riteau at irisa.fr>
Date:   Wed Nov 25 18:49:35 2009 +0000

    net: check for TUNSETOFFLOAD support before trying to enable offload features
    
    This avoids the "TUNSETOFFLOAD ioctl() failed: Invalid argument" message
    on kernels without TUNSETOFFLOAD support.
    
    Signed-off-by: Pierre Riteau <Pierre.Riteau at irisa.fr>
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6720b35b8186e9c6a9f137c02f8c2c1e7c98085f
Author: Pierre Riteau <Pierre.Riteau at irisa.fr>
Date:   Wed Nov 25 18:49:34 2009 +0000

    net: fix TAP networking on host kernels without IFF_VNET_HDR support
    
    vnet_hdr is initialized at 1 by default. We need to reset it to 0 if
    the kernel doesn't support IFF_VNET_HDR.
    
    Signed-off-by: Pierre Riteau <Pierre.Riteau at irisa.fr>
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 0f2fbf40a9d1f0ccdd86bd47f17fff24666f01d9
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:33 2009 +0000

    net: print correct error for '-netdev ""'
    
    Reported-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f401ca22d872e93fd5f12c99ffcb4f1261bb46b9
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:32 2009 +0000

    net: fix qemu_announce_self()
    
    Now that we have a way to iterate NICs.
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 57f9ef173d940ec5c2d04a9d1a37b4c86c9f5b27
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:31 2009 +0000

    net: add qemu_foreach_nic()
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 665a3b071dc6351f9d1840dc50f7cda80bca5f40
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:30 2009 +0000

    net: remove VLANClientState members now in NetClientInfo
    
    Add a NetClientInfo pointer to VLANClientState and use that
    for the typecode and function pointers.
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 68da46eeb6cbe60b03f7afcb4e3cd1b5f14cc259
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:29 2009 +0000

    net: remove qemu_new_vlan_client()
    
    ... and VLANClientState::opaque and qemu_find_vlan_client().
    
    All of these are now unused
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 658788c5609ccd745bb800ed156bf6f9a19398dc
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:28 2009 +0000

    net: convert xen to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f1d078c341ccad97bc3cc849ac1006cda7bcfc0f
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:27 2009 +0000

    net: move parse_macaddr() to net/util.[ch]
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit d7539ab4bf78809202a8fcce292bf2b51594a0e9
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:26 2009 +0000

    net: convert xilinx_ethlite to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e0394b8b5056c429bc9a753845acf7d56d936d6d
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:25 2009 +0000

    net: convert usb-net to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8c9b63b9d45763ce831f87d7d3dd07684b892031
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:24 2009 +0000

    net: convert stellaris to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 42a4260f5138278a0ea65323fdef30835520fbed
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:23 2009 +0000

    net: convert smc91c111 to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3a94dd18ff2d01296ebdfe7c781bea9724bab209
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:22 2009 +0000

    net: convert musicpal to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1f30d10a46697fd329eb6ad2d80a3366f120ddf9
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:21 2009 +0000

    net: convert mipsnet to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1cc49d95a1b74382ad425c76c9e14b84e18ba881
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:20 2009 +0000

    net: convert mcf_fec to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 83b9f88c11a6647037ca365a70c97850392a54cb
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:19 2009 +0000

    net: convert LAN9118 to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 163bf3a56d3ae925184c9d9fa4b07018a4bddae3
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:18 2009 +0000

    net: convert etrax to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 05f41fe3653f3c72dcc606c3a6f28fd69b791153
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:17 2009 +0000

    net: convert dp8393x to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit e00e365ef3bc58a3575e366b025cf01e377d62ab
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:16 2009 +0000

    net: convert eepro100 to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1fa5148223e77a705a8626fd9cacb1ba3f1c779f
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:15 2009 +0000

    net: convert pcnet to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1c2045b549df75a2869e408d4fdec6738c72da81
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:14 2009 +0000

    net: convert ne2000 to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1673ad513edcfc0a8b8a38116dd63d5bc83020ff
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:13 2009 +0000

    net: convert rtl8139 to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a03e2aec9643981a9fc10206262b170e005d0b31
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:12 2009 +0000

    net: convert e1000 to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit eb6b6c121add5f708a920a68361099a8fa1ac45c
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:11 2009 +0000

    net: convert virtio to NICState
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ebef2c093e47103464cd459d811803692c7315e6
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:10 2009 +0000

    net: introduce NICState and qemu_new_nic()
    
    Common state for all NICs.
    
    The opaque member will replace the opaque member in VLANClientState
    since only NICs need it.
    
    The conf member will allow us to iterate over NICs, access the MAC
    addr for the NIC and send a packet from each NIC in qemu_announce_self().
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 731d5856cbb9c160fe02b90cd3cf354ea4f52f34
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:09 2009 +0000

    net: convert dump to NetClientInfo
    
    aliguori: fix uninitialized use of pcap_len
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 564f63e3fc7b8d6af9dd91c2275bc4cfc07c0e2c
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:08 2009 +0000

    net: convert socket to NetClientInfo
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b4e859c6a19c8caee4839d46d5f9167759ddb785
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:07 2009 +0000

    net: convert vde to NetClientInfo
    
    Signed-off-by: Mark McLoughlin <markmc at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ce20b5be502c4f1fd986ae3d9a7ac4192da621ba
Author: Mark McLoughlin <markmc at redhat.com>
Date:   Wed Nov 25 18:49:06 2009 +0000

    net: convert slirp to NetClientInfo
    
    Signed-off-by: Mark McLoughlin <markmc at re