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

Gerd Hoffmann kraxel at kemper.freedesktop.org
Tue Jun 15 04:42:04 PDT 2010


New branch 'spice.v11' available with the following commits:
commit 56fc826e0927d5e3df597823399620800e31d4da
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Apr 23 13:28:21 2010 +0200

    spice: live migration (wip).
    
    Handle spice client migration, i.e. inform a spice client connected
    about the new host and connection parameters, so it can move over the
    connection automatically.

commit 931a0aa690caa53ebf9286a19b732f7ea12d4bc8
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Mar 12 16:26:18 2010 +0100

    spice: add pci vdi port backend (obsolete).
    
    This is *not* intended to be merged upstream.  It is just here
    because the virtio-serial windows guest drivers are not ready,
    so you can't go with the new spice-vmc yet.

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

    spice: add virtio-serial based vdi port backend.
    
    Adds the spicevmc device.  This is a communication channel between the
    spice client and the guest.  It is used to send display information and
    mouse events from the spice clients to the guest.

commit d5a3f904def74f25f26c48f960003809399ecf1b
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Apr 13 10:34:46 2010 +0200

    spice: add audio
    
    Add support for the spice audio interface.
    
    The driver is first in the driver list, but can_be_default is set only
    in case spice is active.  So if you are using spice the spice audio
    driver is the default one, otherwise whatever comes first after spice in
    the list.  Overriding the default using QEMU_AUDIO_DRV works in any
    case.

commit bd1675e6ae48f9ff22c5c3c550750f3b3e4ac3a7
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Apr 27 11:50:11 2010 +0200

    spice: add qxl device
    
    qxl is a paravirtual graphics card.  The qxl device is the bridge
    between the guest and the spice server (aka libspice-server).  The
    spice server will send the rendering commands to the spice client, which
    will actually render them.
    
    The spice server is also able to render locally, which is done in case
    the guest wants read something from video memory.  Local rendering is
    also used to support display over vnc and sdl.
    
    qxl is activated using "-vga qxl".  qxl supports multihead, additional
    cards can be added via '-device qxl".

commit 170e6ff397162ad819a4d26508cfe645312b0049
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Mar 11 11:13:32 2010 -0300

    spice: tls support
    
    Add options to the -spice command line switch to setup tls:
    
    tls-port
    	listening port
    
    x509-dir
    	x509 file directory.  Expects same filenames as
    	-vnc $display,x509=$dir
    
    x509-key-file
    x509-key-password
    x509-cert-file
    x509-cacert-file
    x509-dh-key-file
    	x509 files can also be set individually.
    
    tls-ciphers
    	which ciphers to use.

commit 1369e0944c7b74b622e65c2544650113669cae9d
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue May 11 22:28:44 2010 +0200

    all vga: refuse hotplugging.
    
    Try to pci hotplug a vga card, watch qemu die with hw_error().
    This patch fixes it.

commit 607e8fe179db7dbe0ee260eb61cb33e1b522a3c6
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu May 6 11:14:11 2010 +0200

    switch vmware_vga to pci vgabios

commit 77e05e82b053357d0db0fca49918a60332ad47fc
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu May 6 11:13:11 2010 +0200

    switch stdvga to pci vgabios

commit 87042a7f2e1010242c5698466d308714eacce014
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Mar 24 11:16:54 2010 +0100

    vgabios update to 0.6c + pcibios patches.

commit dc31e826faf7f6518d820f5cd80e59734327819d
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Apr 13 09:05:03 2010 +0200

    spice: add tablet support
    
    Add support for the spice tablet interface.  The tablet interface will
    be registered (and then used by the spice client) as soon as a absolute
    pointing device is available and used by the guest, i.e. you'll have to
    configure your guest with '-usbdevice tablet'.

commit 3d59848713d1bf7b57d50039e0940c10958426a5
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Mar 24 15:47:18 2010 +0100

    spice: simple display
    
    With that patch applied you'll actually see the guests screen in the
    spice client.  This does *not* bring qxl and full spice support though.
    This is basically the qxl vga mode made more generic, so it plays
    together with any qemu-emulated gfx card.  You can display stdvga or
    cirrus via spice client.  You can have both vnc and spice enabled and
    clients connected at the same time.

commit d436504cd8c3ba53cd2d13e28ecf8dc70e1414c4
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Mar 11 11:13:29 2010 -0300

    spice: add mouse
    
    Open mouse channel.  Now you can move the guests mouse pointer.
    No tablet / absolute positioning (yet) though.

commit 028ef4d2deb42aadfb8113cc13bea232b5a20774
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Mar 11 11:13:28 2010 -0300

    spice: add keyboard
    
    Open keyboard channel.  Now you can type into the spice client and the
    keyboard events are sent to your guest.  You'll need some other display
    like vnc to actually see the guest responding to them though.

commit 9c5b4a5a4c0f443b3b2b8ab3f02f3329150c258d
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Mar 11 11:13:27 2010 -0300

    spice: core bits
    
    Add -spice command line switch.  Has support setting passwd and port for
    now.  With this patch applied the spice client can successfully connect
    to qemu.  You can't do anything useful yet though.

commit 90baec8232f05c5b9b82c47105ba2f15d2af9520
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Mar 24 10:26:51 2010 +0100

    add spice into the configure file

commit 7badb0f4a96ffb2313d51a17fd93ef4a977d5f43
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Apr 23 13:44:10 2010 +0200

    configure: add logging
    
    Write compile commands and messages to config.log.
    Useful for debugging configure.

commit d9d846f807a6e53e2c0817eb6b423c5eee076d5a
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon Jun 14 09:54:27 2010 +0200

    add pflib: PixelFormat conversion library.

commit fd42deeb4cb42f90084046e3ebdb4383953195e3
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Jun 4 14:08:07 2010 +0200

    Add exit notifiers.
    
    Hook up any cleanup work which needs to be done here.  Advantages over
    using atexit(3):
    
      (1) You get passed in a pointer to the notifier.  If you embed that
          into your state struct you can use container_of() to get get your
          state info.
      (2) You can unregister, say when un-plugging a device.
    
    [ v2: move code out of #ifndef _WIN32 ]
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4cf3e6f3d85492f20a773dd6c9068ab89ba24a18
Author: Alex Williamson <alex.williamson at redhat.com>
Date:   Wed Jun 2 10:58:29 2010 -0600

    acpi_piix4: save gpe and pci hotplug slot status
    
    PCI hotplug currently doesn't work after a migration because
    we don't migrate the enable bits of the GPE state.  Pull hotplug
    structs into vmstate.
    
    Signed-off-by: Alex Williamson <alex.williamson at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b560a9ab9be06afcbb78b3791ab836dad208a239
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Jun 8 13:54:26 2010 +0200

    qemu-option: Reject anti-social IDs
    
    Restrict IDs to letters, digits, '-', '.', '_', starting with a
    letter.
    
    This takes care of '/' in qdev IDs breaking qbus_find().
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 1bb650420021ced718d550559034a5147c053068
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Jun 8 13:54:04 2010 +0200

    qdev: Revert the hack to let -net nic and pci_add set qdev ID
    
    Setting the ID in pci_nic_init() is a blatant violation of the
    DeviceState abstraction.  Which even carries a comment advising
    against this:
    
    /* This structure should not be accessed directly.  We declare it here
       so that it can be embedded in individual device state structures.  */
    
    What's worse, it bypasses the code ensuring unique qdev IDs: "-device
    virtio-net-pci,id=foo -net nic,id=foo -net nic,name=foo" happily
    creates three qdevs with ID "foo".  That's because qdev relies on
    qemu_opts_create() to ensure unique IDs, but -net nic uses a different
    QemuOptsList, which means id is in a different namespace.  And its
    name is not checked for uniqueness at all.
    
    -net nic and pci_add are legacy.  Use -device and device_add if you
    want a NIC with a qdev ID.
    
    This reverts what's still left of commit eb54b6dc "qdev: add id=
    support for pci nics."
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3709c1b7ccad238e129c219c0081f1d55330e900
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Tue Jun 8 15:24:25 2010 +0100

    Clarify error message when a PCI slot is already in use (v2)
    
    When mistakenly configuring two devices in the same PCI slot,
    QEMU gives a not entirely obvious message about a 'devfn' being
    in use:
    
    $ qemu -device rtl8139 -device virtio-balloon-pci,bus=pci.0,addr=0x3
    qemu-kvm: -device virtio-balloon-pci,bus=pci.0,addr=0x3: PCI: devfn 24 not available for virtio-balloon-pci, in use by rtl8139
    
    The user does not configure 'devfn' numbers, they use slot+function.
    Thus the error messages should be reported back to the user with that
    same terminology rather than the internal QEMU terminology. This
    patch makes it report:
    
    $ qemu -device rtl8139 -device virtio-balloon-pci,bus=pci.0,addr=0x3
    qemu: -device virtio-balloon-pci,bus=pci.0,addr=0x3.7: PCI: slot 3 function 0 not available for virtio-balloon-pci, in use by rtl8139
    
    Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit c20fd872257fb9abd2ce99741937c0f65aa162b7
Author: Christoph Hellwig <hch at lst.de>
Date:   Tue Jun 8 18:26:07 2010 +0200

    virtio-blk: simplify multiwrite calling conventions
    
    Pass the MultiReqBuffer structure down all the way to the I/O submission
    instead of takin it apart.  Also mark num_writes unsigned as it can't
    go negative, and take the check for any pending I/O requests into the
    submission function.  Last but not least rename do_multiwrite to
    virtio_submit_multiwrite to fit the general naming scheme and make clear
    what it does.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 7e608e8903a39157c28ced12b2a061eafa43c905
Author: Christoph Hellwig <hch at lst.de>
Date:   Tue Jun 8 18:25:54 2010 +0200

    virtio-blk: stop tracking old_bs
    
    There is a 1:1 relation between VirtIOBlock and BlockDriverState instances,
    no need to track it because it won't change.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 46aaebff40f942e7b17b426916a3dee9b8b6f274
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Tue Jun 8 15:12:18 2010 +0200

    un-register kbd driver in case of USB kbd unplug.
    
    If a USB keyboard is unplugged, the keyboard eventhandler is never
    removed, and events will continue to be passed through to the device,
    causing crashes or memory corruption.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 55541c8afc1a2d75de890c6ee858769d7d605526
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Thu Jun 3 15:20:32 2010 +0200

    make qemu_thread_create block all signals
    
    All signals will thus be routed through the IO thread.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 304e3a7c802969811fe82b6247f63fcba063f52e
Author: Yoshiaki Tamura <tamura.yoshiaki at lab.ntt.co.jp>
Date:   Thu Jun 10 06:50:10 2010 +0900

    migration-tcp: call migrate_fd_error() instead of close() and free().
    
    This patch fixes the following error report.  When changing
    migration-tcp.c to call migrate_fd_error() instead of close() and
    free() by itself, monitor is resumed, and returns allocated mig_state
    is set to current_migration in migration.c allows us to print "info
    migrate".
    
    Reported-by: Cole Robinson <crobinso at redhat.com>
    Signed-off-by: Yoshiaki Tamura <tamura.yoshiaki at lab.ntt.co.jp>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit faa1f8ddc18fe30257f2ed6c378fce848b159dab
Author: Yoshiaki Tamura <tamura.yoshiaki at lab.ntt.co.jp>
Date:   Wed Jun 9 14:44:31 2010 +0900

    migration: use qemu_free() instead of free().
    
    Although there is no difference, other migration related code use
    qemu_free(), and it should be better to be consistent.
    
    Signed-off-by: Yoshiaki Tamura <tamura.yoshiaki at lab.ntt.co.jp>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit f2fcffbbe8d7d2720a5ce992dedbf328be25c03a
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Mon Jun 14 18:41:12 2010 +0200

    etrax-ser: Support the uart rx fifo.
    
    Add support for the rx fifo to speed up bulk transfers.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at axis.com>

commit f471a17e9d869df3c6573f7ec02c4725676d6f3a
Author: Alex Williamson <alex.williamson at redhat.com>
Date:   Fri Jun 11 11:11:42 2010 -0600

    ram_blocks: Convert to a QLIST
    
    This makes the RAM block list easier to manipulate.  Also incorporate
    relevant variables into the RAMList struct.
    
    Signed-off-by: Alex Williamson <alex.williamson at redhat.com>
    Acked-by: Chris Wright <chrisw at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 2ffcb18de0bc02ad8a836ec955584c02b70e0e24
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri Jun 11 14:21:34 2010 +0200

    Make netdev_del delete the netdev even when it's in use
    
    To hot-unplug guest and host part of a network device, you do:
    
        device_del NIC-ID
        netdev_del NETDEV-ID
    
    For PCI devices, device_del merely tells ACPI to unplug the device.
    The device goes away for real only after the guest processed the ACPI
    unplug event.
    
    You have to wait until then (e.g. by polling info pci) before you can
    unplug the netdev.  Not good.
    
    Fix by removing the "in use" check from do_netdev_del().  Deleting a
    netdev while it's in use is safe; packets simply get routed to the bit
    bucket.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 40ac17cd56eb5c5a89559ea0fa53f7eea80cbd07
Author: Gleb Natapov <gleb at redhat.com>
Date:   Mon Jun 14 11:29:28 2010 +0300

    pass info about hpets to seabios.]
    
    Currently HPET ACPI table is created regardless of whether qemu actually
    created hpet device. This may confuse some guests that don't check that
    hpet is functional before using it. Solve this by passing info about
    hpets in qemu to seabios via fw config interface. Additional benefit is
    that seabios no longer uses hard coded hpet configuration. Proposed
    interface supports up to 8 hpets. This is the number defined by hpet
    spec.
    
    Signed-off-by: Gleb Natapov <gleb at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 072c2c31c27204e8e1897c52e481d2ab0b4d075d
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon Jun 14 08:40:29 2010 +0200

    hpet: Init capability register only once
    
    The capability register is read-only from guest POV, so we do not need
    to update it on reset.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit bd69fe8448024258d046e2a15d4cf5c498188144
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri Jun 11 10:19:41 2010 +0200

    qemu-option: Fix uninitialized value in append_option_parameter
    
    When dest is NULL, i.e. a new copy of the list is created, we don't get a
    properly terminated list after the realloc. Initialize it as an empty list.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 271248886e6110b4af0545f6a2d3ef38217cd58f
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Mon Jun 14 17:05:17 2010 +0200

    Change #define DEBUG to #define E1000_DEBUG in hw/e1000.c
    
    Change #define DEBUG to #define E1000_DEBUG in hw/e1000.c to make
    it possible to build QEMU with -DDEBUG
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit ac7045cff7db837cfcc552bdc0f0baa15699f21a
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Mon Jun 14 17:05:16 2010 +0200

    Remove unused DEBUG defines from hw/msix.c
    
    Remove unused DEBUG defines from hw/msix.c to avoid having anything
    define the word DEBUG without any additions such as MSIX_DEBUG.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a4673e276248ada38f40d39191a197e7e35d3f8b
Merge: a2da0395c12bd2b26e2180d735c83988ff66a559 653dbec7c97cb51d19636423902719e5850da265
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Jun 14 10:33:36 2010 -0500

    Merge remote branch 'kwolf/for-anthony' into staging
    
    Conflicts:
    	hw/pc.c

commit a2da0395c12bd2b26e2180d735c83988ff66a559
Merge: 09564574b868f591fb1a9cf426f0c1d64f280431 02e95918b82efde24db1d759300ec3c61bd694b3
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Mon Jun 14 09:39:01 2010 -0500

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

commit 09564574b868f591fb1a9cf426f0c1d64f280431
Author: Paul Brook <paul at codesourcery.com>
Date:   Sun Jun 13 23:37:31 2010 +0100

    OHCI address decoding fix
    
    Ignore high address bits when PCI memory window is not mapped on a page
    boundary.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 11165820d194478d493d667a11ea8480ce893c70
Author: Paul Brook <paul at codesourcery.com>
Date:   Sun Jun 13 19:00:50 2010 +0100

    Move stdbool.h
    
    Move inclusion of stdbool.h to common header files, instead of including
    in an ad-hoc manner.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit ea4e78e590e5dbef9c41d987d2553d752ecb49b1
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Jun 13 14:15:46 2010 +0200

    monitor/QMP: Drop info hpet / query-hpet
    
    This command was of minimal use before, now it is useless as the hpet
    become a qdev device and is thus easily discoverable. We should
    definitely not set query-hpet in QMP's stone, and there is also no good
    reason to keep it for the interactive monitor.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 8caa0065b82c1a223aeaca62e7d572c89db2b6eb
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Jun 13 14:15:45 2010 +0200

    hpet: Add MSI support
    
    This implements the HPET capability of routing IRQs to the front-side
    bus, aka MSI support. This feature can be enabled via the qdev property
    "msi" and is off by default.
    
    Note that switching it on can cause guests (at least Linux) to use the
    HPET as timer instead of the LAPIC. KVM users should recall that only
    the latter is currently available as fast in-kernel model.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit be4b44c59bcee4b3d63bfef137c0ac7d68ef514b
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Jun 13 14:15:44 2010 +0200

    hpet: Make number of timers configurable
    
    One HPET block supports up to 32 timers. Allow to instantiate more than
    the recommended and implemented minimum of 3. The number is configured
    via the qdev property "timers". It is also saved/restored so that it
    need not match between migration peers.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit cea1adfda7cca55788fbe55107e5e7943d374065
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Jun 13 14:15:43 2010 +0200

    vmstate: Add VMSTATE_STRUCT_VARRAY_UINT8
    
    Required for hpet.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 22a9fe38a37efc2feb67fac533309ea219242cb5
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Jun 13 14:15:42 2010 +0200

    hpet: Add support for level-triggered interrupts
    
    By implementing this feature we can also remove a nasty way to kill qemu
    (by trying to enable level-triggered hpet interrupts).
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit b7eaa6c77c67c2f2e821a51c6b2758aa482b2d71
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Jun 13 14:15:41 2010 +0200

    hpet: Drop static state
    
    Instead of keeping a static reference around, pass the state to
    hpet_enabled and hpet_get_ticks. All callers now have it at hand. Will
    once allow to instantiate the HPET more than a single time.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 7d932dfdc5ebc07a7bfed9c01e587c9c7e9b6e26
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Jun 13 14:15:40 2010 +0200

    hpet/rtc: Rework RTC IRQ replacement by HPET
    
    Allow the intercept the RTC IRQ for the HPET legacy mode. Then push
    routing to IRQ8 completely into the HPET. This allows to turn
    hpet_in_legacy_mode() into a private function. Furthermore, this stops
    the RTC from clearing IRQ8 even if the HPET is in control.
    
    This patch comes with a side effect: The RTC timers will no longer be
    stoppend when there is no IRQ consumer, possibly causing a minor
    performance degration. But as the guest may want to redirect the RTC to
    the SCI in that mode, it should normally disable unused IRQ source
    anyway.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 9cec89e8db494df43faf242a5a030bc6540c89dd
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Jun 13 14:15:39 2010 +0200

    hpet: Start/stop timer when HPET_TN_ENABLE is modified
    
    We have to update the qemu timer when the per-timer enable bit is
    toggled, just like for HPET_CFG_ENABLE changes.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 822557eb8ea4694d1a91b68cbf6152f5277f5599
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Jun 13 14:15:38 2010 +0200

    hpet: Convert to qdev
    
    Register the HPET as a sysbus device and create it that way. As it can
    route its IRQs to any ISA IRQ, we need to connect it to all 24 of them.
    Once converted to qdev, we can move reset handler and vmstate
    registration into its hands as well.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 7afbecc9efa64a88ab6194c2cf1d6feabd03d119
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Jun 13 14:15:37 2010 +0200

    hpet: Move static timer field initialization
    
    Properly initialize HPETTimer::tn and HPETTimer::state once during
    hpet_init instead of (re-)writing them on every reset.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ad0a655161a487007742b65d0b1b55aea8051cea
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Jun 13 14:15:36 2010 +0200

    hpet: Silence warning on write to running main counter
    
    Setting the main counter while the HPET is enabled may not be a good
    idea of the guest, but it is supported and should, thus, not spam the
    host console with warnings.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 27bb0b2d6f80f058bdb6fcc8fcdfa69b0c8a6d71
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Jun 13 14:15:35 2010 +0200

    hpet: Coding style cleanups and some refactorings
    
    This moves the private HPET structures into the C module, simplifies
    some helper functions and fixes most coding style issues (biggest chunk
    was improper switch-case indention). No functional changes.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Reviewed-by: Juan Quintela <quintela at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 6982d6647ea98544f76d5ef40ddc23115ff44a77
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Sun Jun 13 14:15:34 2010 +0200

    hpet: Catch out-of-bounds timer access
    
    Also prevent out-of-bounds write access to the timers but don't spam the
    host console if it triggers.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c3d96978d0faaa8e54003b45619ec0768147d168
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Fri Jun 11 22:58:29 2010 +0200

    configure: Fix evaluation of config-host.mak in create_config
    
    Only match on true dir variable assignments, avoid generating garbage
    due to the "# Configured with: ..." line which may contain "*dir=" as
    well.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d66ed0eae9c82b657bf7f3ea969490ad72155734
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sun Jun 13 12:28:21 2010 +0200

    tcg-s390: correctly detect s390 with a 64-bit kernel
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit b0cb640ac177c94af9e43a820cbb4085ac984ca1
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat Jun 12 05:49:30 2010 +0000

    Compile OS specific files only once for all targets
    
    OS specific files are not target dependent, so they can be compiled
    once for all targets.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ce798cf2a261eaf4186f416f150b7361d395c3a5
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:31 2010 +0200

    Move set_proc_name() to OS specific files.
    
    Move handling to change process name to POSIX specific files
    plus add a better error message to cover the case where the
    feature isn't supported.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 9156d76331f2d51ce5b17cc945dd97788fc64c5a
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:30 2010 +0200

    Move line-buffering setup to OS specific files.
    
    Move line-buffering setup to OS specific files.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit e06eb601b098d9bcb32eb1ce5e00920d638c6d51
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:29 2010 +0200

    Make os_change_process_uid and os_change_root os-posix.c local
    
    os_change_process_uid() and os_change_root() are now only called
    from os-posix.c, so no need to keep win32 stubs for them.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit eb505be11b18b09c621dfb19a4e3b5f703c69eeb
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:28 2010 +0200

    Move daemonize handling to OS specific files
    
    Move daemonize handling from vl.c to OS specific files. Provide dummy
    stubs for Win32.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 0766379d4c58c5c1edc6adc414bfb25fc979b083
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:27 2010 +0200

    Move chroot handling to OS specific files.
    
    Move chroot handling to OS specific files.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 8847cfe8aa9d8f6b8648aafd5d929a57d836cc61
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:26 2010 +0200

    Move runas handling from vl.c to OS specific files.
    
    Move code to handle runas, ie. change of user id of QEMU process
    to OS specific files and provide dummy stub for Win32.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 59a5264b994343f01d19faf95c0e5df70346ded8
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:25 2010 +0200

    Introduce OS specific cmdline argument handling and move SMB arg to os-posix.c
    
    Introduce OS specific cmdline argument handling by calling
    os_parse_cmd_args() at the end of switch() statement. Move option
    enum to qemu-options.h and have it included from os-posix.c and
    os-win32.c in addition to vl.c.
    
    In addition move SMB argument to os-posix.c
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 9f16732a062fc7a3ffc5909dc681f05455cfdabc
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:24 2010 +0200

    Rename qemu-options.h to qemu-options.def
    
    Rename qemu-options.h to qemu-options.def as it is not a header file
    for general use and this leaves space for a proper qemu-options.h
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 6170540b824635a29eb7a0360affac9394c84c52
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:23 2010 +0200

    Move find_datadir to OS specific files.
    
    This moves the win32 and POSIX versions of find_datadir() to OS
    specific files, and removes some #ifdef clutter from vl.c
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 8d963e6ae700b2a46dd3a2bde5d1e5f925702f47
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:22 2010 +0200

    Move main signal handler setup to os specificfiles.
    
    Move main signal handler setup to os specific files.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit fe98ac146109e307d7e19486dcfebbc89259d34d
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:21 2010 +0200

    Rename os_setup_signal_handling() to os_setup_early_signal_handling()
    
    Rename os_setup_signal_handling() to os_setup_early_signal_handling()
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 69bd73b1b027f56ad68ac83aa5628c89fa05c10f
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:20 2010 +0200

    Move win32 early signal handling setup to os_setup_signal_handling()
    
    Move win32 early signal handling setup to os_setup_signal_handling()
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 86b645e753b9396f8cc5b74a9eadf2d36f76ae5c
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:19 2010 +0200

    Introduce os-posix.c and create os_setup_signal_handling()
    
    Introcuce os-posix.c and move posix specific signal handling
    there.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 0d93ca7c3b4c93a87723e3397daf6df2034b455a
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:18 2010 +0200

    vl.c: Move host_main_loop_wait() to OS specific files.
    
    Move host_main_loop_wait() to OS specific files. Create
    qemu-os-posix.h and provide empty inline for the POSIX case.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 19113504dea4504f69d414f72f8a18d3c1a941d5
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:17 2010 +0200

    Introduce os-win32.c and move polling functions from vl.c
    
    This introduces os-win32.c. It is meant to carry win32 specific
    functions thata are not relevant for all of QEMU as well as win32
    versions of various pieces like signal handling etc.
    
    Move win32 polling handler helper functions from vl.c to os-win32.c
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 39626c037585b4ad9f83b86854ac14c9b9523db5
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:16 2010 +0200

    Create qemu-os-win32.h and move WIN32 specific declarations there
    
    Create qemu-os-win32.h for WIN32 specific declarations. Move polling
    handling declaration into this file from sysemu.h
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit ddc9120e90199e3fe93116928de13a2dd72fa35a
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu Jun 10 11:42:15 2010 +0200

    vl.c: Remove double include of netinet/in.h for Solaris
    
    vl.c: netinet/in.h is already included once above for the
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Acked-by: Andreas Faerber <afaerber at opensolaris.org>
    Acked-by: Juan Quintela <quintela at redhat.com>
    Acked-by: Richard Henderson <rth at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 41ba834146f1d8b9cbc09a9f25f5c6b84bf405d9
Author: Paul Brook <paul at codesourcery.com>
Date:   Fri Jun 11 20:01:00 2010 +0100

    NEON vldN optimization
    
    When combining multiple values as part of a NEON array load, do explcit
    shift/or rather than using gen_bfi.  This voids redundant mask
    operations.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 02e95918b82efde24db1d759300ec3c61bd694b3
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Wed Jun 2 09:06:03 2010 +0200

    hxtool: Fix line number reporting on SQMP/EQMP errors
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit 28e91a681a284b02b18cdbeee011430e5d061533
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Mon May 24 09:39:53 2010 +0200

    remove unnecessary lookaheads
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit f7c052747e4b139df16e1d5b7851f4729acc2bb7
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Mon May 24 09:39:52 2010 +0200

    implement optional lookahead in json lexer
    
    Not requiring one extra character when lookahead is not necessary
    ensures that clients behave properly even if they, for example,
    send QMP requests without a trailing newline.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit 7f8fca7c8add770d6533c44d2d001c0442ed0371
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Mon May 24 09:39:51 2010 +0200

    add some tests for invalid JSON
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit 2e89c0688993447ed62a1832dcd97c19c878a382
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed May 19 17:17:05 2010 -0300

    json-streamer: Don't use qdict_put_obj()
    
    It's not needed, use qobject_put() instead and get a cleaner code.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit ecb50f5fefe7e1360818bd199218a295d87df042
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon May 17 17:59:00 2010 -0300

    json-lexer: Drop 'buf'
    
    QString supports adding a single char, 'buf' is unneeded.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit d22b0bd7fc85f991275ffc60a550ed42f4c1b04c
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed May 19 17:08:37 2010 -0300

    check-qjson: Add more escape tests
    
    While there make the fail_unless() calls print error messages.
    
    IMPORTANT: The test for "\/" is failing, don't know why.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit bd0326950f99faa8e50cf52499dd1af42829aa93
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed May 19 17:06:15 2010 -0300

    qjson: Handle "\f"
    
    It's valid JSON and should be handled.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit 1041ba7a14260b490f3062f428b014b415a23f38
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed May 19 16:57:28 2010 -0300

    json-lexer: Handle missing escapes
    
    The JSON escape sequence "\/" and "\\" are valid and should be
    handled.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit 03308f6c2746a756a8404d00caa20f8f35248167
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon May 17 17:50:01 2010 -0300

    json-lexer: Initialize 'x' and 'y'
    
    The 'lexer' variable is passed by the caller, it can contain anything
    (eg. garbage).
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>

commit 0e2029a063405091ee34170ef71aa321715e4357
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Fri Jun 11 18:39:47 2010 +0200

    tcg: fix DEF macro after commit c61aaf7a388c4ad95d8b546fdb9267dc01183317
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 28d7cc493e8b58f63fda05eb7df2552f5d420459
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Jun 4 12:14:09 2010 -0700

    tcg-s390: Adjust compilation flags.
    
    Force -m31/-m64 based on s390/s390x target.
    
    Force -march=z990.  The TCG backend will always require the
    long-displacement facility, so the compiler may as well make
    use of that as well.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 6a1621b917352122ad025e102f450de382dae407
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Jun 4 12:14:12 2010 -0700

    tcg-s390: Compute is_write in cpu_signal_handler.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 4d58be0628bf1d30b8c1b3600f0ce44db1b38b2f
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Jun 4 12:14:11 2010 -0700

    s390x: Don't use a linker script for user-only.
    
    The default placement of the application at 0x80000000 is fine,
    and will avoid the default placement for most other guests.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d35b261c7a94be9e2fcad5484343544d58ff99be
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Jun 4 12:14:10 2010 -0700

    s390x: Avoid _llseek.
    
    There's no _llseek on s390x either.  Replace the existing
    test for __x86_64__ with a functional test for __NR_llseek.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit eba0b89379b3af98b51a8c1559868de89f5f713e
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Jun 4 12:14:14 2010 -0700

    tcg-s390: Allocate the code_gen_buffer near the main program.
    
    This allows the use of direct calls to the helpers,
    and a direct branch back to the epilogue.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 1bcaae666fdcda03f768c2894091ec2e441abb57
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Jun 4 12:14:13 2010 -0700

    tcg-s390: Icache flush is a no-op.
    
    Before gcc 4.2, __builtin___clear_cache doesn't exist, and
    afterward the gcc s390 backend implements it as nothing.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit dc397ca35e332770ede6899122e5d012bd92c37c
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Jun 10 20:52:47 2010 +0200

    tcg-i386: fix andi r, r, 0xff
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 447d681e8b23fec360c95131c0b037d82dce495c
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Jun 10 20:40:24 2010 +0200

    tcg-i386: remove use of _Bool that slipped code review
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 85948643b8df28ca87e41a1c4c7f16a66b4ac6cd
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Thu Jun 10 17:57:39 2010 +0000

    esp: lower IRQ on soft reset
    
    42f1ced228c9b616cfa2b69846025271618e4ef5 removed irq lowering
    during reset. However, for chip reset command and DMA reset signal,
    its actually the correct thing to do.
    
    Lower IRQ on soft reset only.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit e163ae7b8f80dc4eb38445956929409601a8321c
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Thu May 27 14:35:58 2010 +0900

    qbus: fix memory leak in qbus_free()
    
    BusState::name is allocated in qbus_create_inplace().
    So it should be freed by qbus_free().
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit bd418d90d0c67d7ea88420c6754a4677c09f91c1
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Thu May 27 14:37:09 2010 +0900

    multiboot: compilation fix with DEBUG_MULTIBOOT enabled.
    
    This patch fixes the following compilation errors in multiboot.c
    when DEBUG_MULTIBOOT is defined.
    Use TARGET_FMT_plx instead of %x for target_phys_addr_t.
    
      CC    i386-softmmu/multiboot.o
    cc1: warnings being treated as errors
    qemu/hw/multiboot.c: In function 'mb_add_mod':
    qemu/hw/multiboot.c:121: error: format '%08x' expects type 'unsigned int', but argument 4 has type 'target_phys_addr_t'
    qemu/hw/multiboot.c:121: error: format '%08x' expects type 'unsigned int', but argument 5 has type 'target_phys_addr_t'
    qemu/hw/multiboot.c: In function 'load_multiboot':
    qemu/hw/multiboot.c:279: error: format '%#x' expects type 'unsigned int', but argument 5 has type 'target_phys_addr_t'
    qemu/hw/multiboot.c:307: error: format '%x' expects type 'unsigned int', but argument 3 has type 'target_phys_addr_t'
    qemu/hw/multiboot.c:308: error: format '%x' expects type 'unsigned int', but argument 3 has type 'target_phys_addr_t'
    make[1]: *** [multiboot.o] Error 1
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit fe7f9567a6934566641751df233cb45675a9130c
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Thu May 27 14:37:53 2010 +0900

    vga-isa-mm: remove one #ifdef CONFIG_BOCHS_VBE.
    
    remove one #ifdef CONFIG_BOCHS_VBE.
    Call vga_init_vbe() instead.
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 0f2ad63fcb75c9679ff7d47f6b2235dfc646de35
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Thu May 27 14:38:47 2010 +0900

    main: allocate gui_timer only once.
    
    fix memory leak.
    there is no need to allocate more than one gui_timer.
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 60a3992e759d92b9111871b0881e65519c750b01
Merge: 77d4f95e111a7c82bf21908f4de170b7e0e722bb 50e32ea8f31035877decc10f1075aa0e619e09cb
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Thu Jun 10 09:21:43 2010 -0500

    Merge remote branch 'mst/for_anthony' into staging

commit 77d4f95e111a7c82bf21908f4de170b7e0e722bb
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Thu Jun 10 14:45:46 2010 +0200

    cris: Break out image loading to hw/cris-boot.c.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at axis.com>

commit 2024c53950fe2886e460ca3a5d3d2ce0f06bf0f8
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Jun 4 12:14:17 2010 -0700

    s390: Disassemble some general-instruction-extension insns.
    
    The full general-instruction-extension facility was added to binutils
    after the change to GPLv3.  This is not the entire extension, just
    what we're using in TCG.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 402ce448af52a9dcb635b2f2020c469feeece3f5
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri Jun 4 12:14:16 2010 -0700

    s390: Update disassembler to the last GPLv2 from binutils.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 5d8a4f8f4aa5b63eb3cc2a2234ffb8d4f0a2af50
Author: Richard Henderson <rth at twiddle.net>
Date:   Thu Jun 3 17:35:17 2010 -0700

    tcg-i386: Merge 64-bit generation.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 1c0fd16018384daeb340b389a00768ceecc45611
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Jun 10 00:14:02 2010 +0200

    configure: display sysconfdir in summary
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit ca35f780ac4654bfa086613c72b011448afff327
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:29 2010 +0200

    move computation of tools and roms outside of config-host.mak generation
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 683035de789e3a0141b1c3bbfdc6180fbc67aaf1
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:28 2010 +0200

    configure: move directory defaults earlier
    
    Unify with existing special-purpose configure code for win32.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 6bde81cb03898b725ae6f94050aa060772c836e8
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:27 2010 +0200

    configure: ignore unknown --xyzdir options
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0b24e75f85c251b7ae699631768f129ddf03ae5e
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:26 2010 +0200

    configure: introduce more --xyzdir options
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 1dabe05ce40010588a7b2485219a2692fe1e7472
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:25 2010 +0200

    configure: expand ${prefix} in create_config
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 99d7cc75dd1f1167a02294804f993deb354d8159
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:24 2010 +0200

    configure: move all directory entries in config-host.mak close
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit f2b9e1e37d9f4eaae35a7b568f913093897b121e
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:23 2010 +0200

    configure: unify handling of xyzdir variables
    
    Making an xyzdir variable for each directory prepares for the next
    patches introducing config-host.h defines and configure options for them.
    It also fixes the problem where overriding prefix at "make install"
    time did not override it for sysconfdir.
    
    Removes some of the differences between sysconfdir and other variables,
    the rest will go away later.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 7ee2822cbeb06dbf38f5b38b5d7fa7829d598350
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:22 2010 +0200

    rename CONFIG_QEMU_PREFIX
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 190e9c59c0d4f56c98e378d1024d46cc7166409b
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:21 2010 +0200

    configure: introduce confdir and confsuffix
    
    confsuffix was write-only, flesh it out.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e7b45cc4467f9bbae46acdc8d21ceb2a16d63b50
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:20 2010 +0200

    configure: introduce sysconfsuffix
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 604f78e06e41526924890d83f9dab168268f4702
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:19 2010 +0200

    configure: delete duplicate create_config case stanza
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0bfe8cc01259dff2b0d4d464d9154d0a2c25daca
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:18 2010 +0200

    configure: dyngen is long time gone
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit f55fe2785c017a00b3aef547a68e2dd1a4843a16
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:17 2010 +0200

    configure: avoid using expr
    
    Just a personal preference against duplicating hieroglyphics.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit a447d4dc5607176a70361aed9361e1b63dc67ec9
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Wed May 26 16:08:16 2010 +0200

    configure: bail out early on invalid -cpu option
    
    It would fail later anyway.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 4021d2476c61ff101f97b6642d1fbb3c34844091
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Jun 10 00:06:55 2010 +0200

    configure: remove some bashisms
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 330875984432c26ef78bad85c4ee9816d3c41ca5
Author: Stefan Weil <weil at mail.berlios.de>
Date:   Wed Jun 9 22:09:40 2010 +0200

    target-mips: Fix compilation
    
    TCGv t1 needs tcg_temp_free instead of tcg_temp_free_i32.
    
    Cc: Nathan Froyd <froydnj at codesourcery.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 aecf13769852a4e14b51e8403860b18871826298
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Jun 8 13:30:03 2010 -0700

    hw: honor low bit in mipssim machine
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0fddbbf2559579ab6274c50819001f4eb9896b2a
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Jun 8 13:30:02 2010 -0700

    linux-user: honor low bit of entry PC for MIPS
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit bbfa8f72e99baa0514b2b39e671830cf9a3adc44
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Jun 8 13:30:01 2010 -0700

    target-mips: add microMIPS exception handler support
    
    Unlike MIPS16, microMIPS lets you choose the ISA mode for your exception
    handlers.  The ISA mode is selectable via a user-writable CP0.Config3
    flag.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 3c824109da076d2a1df4b798f9df81b385131f92
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Jun 8 13:29:59 2010 -0700

    target-mips: microMIPS ASE support
    
    Add instruction decoding for the microMIPS ASE.  All we do is decode and
    then forward to the existing gen_* routines.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 620e48f66350991918dd78e9a686a9b159fec111
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Jun 8 13:29:58 2010 -0700

    target-mips: mips16 cleanups
    
    Change code handling mips16-specific branches to use ISA-neutral special
    opcodes.  Since there are several places where the delay slot
    requirements for microMIPS branches differ from mips16 branches, using
    opcodes is easier than checking hflags, then checking mips16
    vs. microMIPS.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8153667c718e359368f306e1b2c144596dec5f80
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Jun 8 13:29:57 2010 -0700

    target-mips: refactor c{, abs}.cond.fmt insns
    
    Move all knowledge about coprocessor-checking and register numbering
    into the gen_cmp* helper functions.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e459440a896166b65875767f081d9add8db6c9ea
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Wed Jun 9 15:13:17 2010 +0200

    target-mips: move FP FMT comments closer to the definitions
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit bf4120adaabb540fe66742b4d26cac69713af0c1
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Tue Jun 8 13:29:56 2010 -0700

    target-mips: define constants for magic numbers
    
    Add FMT_* constants for the floating-point format field in opcodes and
    tweak a few places to use them.  Add enums for various invocations of
    FOP and tweak gen_farith and its lone caller accordingly.
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c61aaf7a388c4ad95d8b546fdb9267dc01183317
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Jun 3 19:40:04 2010 +0200

    tcg: get rid of DEF2 in tcg-opc.h
    
    Now that tcg-opc.h is only used in TCG code, get rid of DEF2 in
    tcg-opc.h.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 239fda311a6f7784bc4f732795722c909b835651
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Jun 3 19:29:31 2010 +0200

    tcg: get rid of copy_size in TCGOpDef
    
    copy_size is a left-over from the dyngen era, remove it.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 590bf491a49670843ee902c47f7ab1de5e9acd06
Author: Alexander Graf <agraf at suse.de>
Date:   Wed Jun 2 01:56:50 2010 +0200

    Fix multiboot compilation
    
    Commit dd4239d6574ca41c94fc0d0f77ddc728510ffc57 broke multiboot. It replaced the
    instruction "rep insb (%dx), %es:(%edi)" by the binary output of
    "addr32 rep insb (%dx), %es:(%di)".
    
    Linuxboot calls the respective helper function in a code16 section. So the
    original instruction was automatically translated to its "addr32" equivalent.
    For multiboot, we're running in code32 so gcc didn't add the "addr32" which
    breaks the instruction.
    
    This patch splits that helper function in one which uses addr32 and one which
    does not, so everyone's happy.
    
    The good news is that nobody probably cared so far. The bundled multiboot.bin
    binary was built before the change and is thus correct.
    
    Please also put this patch into -stable.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 50e32ea8f31035877decc10f1075aa0e619e09cb
Author: Amit Shah <amit.shah at redhat.com>
Date:   Tue Jun 8 21:13:58 2010 +0530

    net: Fix hotplug with pci_add
    
    The correct model type wasn't getting added when hotplugging nics with
    pci_add.
    
    Testcase: start VM with default nic type. In the qemu_monitor:
    
    (qemu) pci_add auto nic model=virtio
    
    This results in a nic hot-plug of the same nic type as the default.
    
    This was broken in 5294e2c774f120e10b44652ac143abda356f44eb
    
    Also changes the behaviour where no .init is defined for a
    net_client_type. Previously, 0 was returned, which indicated the init
    was successful and that 0 was the index into the nd_tables[] array.
    Return -1, indicating unsuccessful init, in such a case.
    
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit e4d58b41f9fb6d7ea8281fe42fd5e00db2fd1455
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Jun 2 17:26:56 2010 -0700

    tcg: Make some tcg-target.c routines static.
    
    Both tcg_target_init and tcg_target_qemu_prologue
    are unused outside of tcg.c.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 3b6dac34161bc0a342336072643c2f6d17e0ec45
Author: Richard Henderson <rth at twiddle.net>
Date:   Wed Jun 2 17:26:55 2010 -0700

    tcg: Add TYPE parameter to tcg_out_mov.
    
    Mirror tcg_out_movi in having a TYPE parameter.  This allows x86_64
    to perform the move at the proper width, which may elide a REX prefix.
    
    Introduce a TCG_TYPE_REG enumerator to represent the "native width"
    of the host register, and to distinguish the usage from "pointer data"
    as represented by the existing TCG_TYPE_PTR.
    
    Update all targets to match.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 26ebe46848ecb2462cc53d4de20ac6590709643b
Author: Nathan Froyd <froydnj at codesourcery.com>
Date:   Mon May 24 09:19:35 2010 -0700

    target-mips: break out [ls][wd]c1 and rdhwr insn generation
    
    Signed-off-by: Nathan Froyd <froydnj at codesourcery.com>
    Acked-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d44cff22047651aefe8ea68f173e1dcbb56b07a7
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 21 10:04:46 2010 -0700

    Fix --enable-user-pie compilation.
    
    We forgot to propagate -fpie to the libdis-user directory.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Acked-by: Paolo Bonzini <pbonzini at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 940cda94dc01e955b6008c47b782817a1ed3b201
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Sun Jun 6 18:53:10 2010 +0300

    virtio-net: truncating packet
    
    virtio net attempts to peek into virtio queue to
    determine that we have enough space for the complete
    packet to fit. However, it fails to account for space
    consumed by virtio net header when it does this,
    under stress this results in a failure
    with the message 'truncating packet'.
    
    redhat bz 591494.
    
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit fd1dc858370d9a9ac7ea2512812c3a152ee6484b
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Mon Jun 7 11:54:27 2010 +0200

    microblaze: Make MSR_UM and MSR_VM part of the tb flags
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at petalogix.com>

commit 7375c86f0b1b1ac6f71a8728c6416c99850b30d9
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date:   Mon Jun 7 11:53:09 2010 +0200

    petlogix-3adsp: Tweak displacement of cmdline and fdt blob.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias at petalogix.com>

commit 0ffbba357c557d9fa5caf9476878a4b9c155a614
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Fri Jun 4 20:01:07 2010 +0000

    migration-exec: fix OpenBSD build warning
    
    Add include directives to get WIFEXITED() and WEXITSTATUS() macros defined.
    
    Fixes warnings:
      CC    migration-exec.o
    /src/qemu/migration-exec.c: In function `exec_close':
    /src/qemu/migration-exec.c:53: warning: implicit declaration of function `WIFEXITED'
    /src/qemu/migration-exec.c:54: warning: implicit declaration of function `WEXITSTATUS'
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 8c0e6340fb53cb3f94c0f43abb19eb485f30840e
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Fri Jun 4 16:27:33 2010 +0200

    target-i386: fix decoding of negative 4-byte displacements
    
    Negative four byte displacements need to be sign-extended after
    c086b783eb7a578993d6d2ab62c4c2666800b63d.  Do so.
    
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
    Acked-by: Richard Henderson  <rth at twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 653dbec7c97cb51d19636423902719e5850da265
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Wed Jun 2 17:46:31 2010 -0300

    block: Fix serial number assignment
    
    We should use 'dinfo->serial' length, 'serial' is a pointer, so
    the serial number length is currently limited to the pointer size.
    
    This fixes https://bugs.launchpad.net/qemu/+bug/584143 and is also
    valid for stable.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 666daa68234b5b1758652633cab07d5ca6046a5b
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Jun 2 18:48:27 2010 +0200

    blockdev: Collect block device code in new blockdev.c
    
    Anything that moves hundreds of lines out of vl.c can't be all bad.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 7b370f513002b340a383fac961dc8c6fdf39eddc
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Jun 2 13:31:56 2010 +0200

    qdev: Move declaration of qdev_init_bdrv() into qdev.h
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit a803cb8eb8ada1add74f1b393b8a553a7e7f3acf
Author: Markus Armbruster <armbru at redhat.com>
Date:   Wed Jun 2 13:31:55 2010 +0200

    blockdev: Hide QEMUMachine from drive_init()
    
    To pave the way for moving it out of vl.c.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 7cdb1f6d305e1000b5f882257cbee71b8bb08ef5
Author: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Date:   Fri May 28 11:44:58 2010 +0900

    block: call the snapshot handlers of the protocol drivers
    
    When snapshot handlers are not defined in the format driver, it is
    better to call the ones of the protocol driver.  This enables us to
    implement snapshot support in the protocol driver.
    
    We need to call bdrv_close() and bdrv_open() handlers of the format
    driver before and after bdrv_snapshot_goto() call of the protocol.  It is
    because the contents of the block driver state may need to be changed
    after loading vmstate.
    
    Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 2bc93fed76c89f7adaa0e5bb357dcdc6c2b097a8
Author: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Date:   Fri May 28 11:44:57 2010 +0900

    close all the block drivers before the qemu process exits
    
    This patch calls the close handler of the block driver before the qemu
    process exits.
    
    This is necessary because the sheepdog block driver releases the lock
    of VM images in the close handler.
    
    Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 08a00559f00975cebcb3f844fe7c708d65b6a3b3
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Jun 1 18:37:31 2010 +0200

    block: Assume raw for drives without media
    
    qemu -cdrom /dev/cdrom with an empty CD-ROM drive doesn't work any more because
    we try to guess the format and when this fails (because there is no medium) we
    exit with an error message.
    
    This patch should restore the old behaviour by assuming raw format for such
    drives.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 236f1f672ca4b5dea70c0c101036224297c53895
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Jun 1 13:20:57 2010 +0200

    Fix error message in drive_init
    
    The real error is the return value of bdrv_open. errno might be overwritten or
    not even set to that value in the first place.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 552fee931bf52bf60f4210f607a78f415000f015
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Jun 1 20:32:35 2010 +0200

    scsi: Fix info qtree for scsi-disk.ver
    
    Show the actual default value instead of <null> when the property has
    not been set.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit a0fef654f6dec1348a074a17a6b809d0ba77b34e
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Jun 1 20:32:34 2010 +0200

    scsi: Turn drive serial into a qdev property scsi-disk.serial
    
    It needs to be a qdev property, because it belongs to the drive's
    guest part.
    
    Bonus: info qtree now shows the serial number.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 03432407256b8e39d76c9e6cd39dc553e7b646d8
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Jun 1 20:32:33 2010 +0200

    ide: Fix info qtree for ide-drive.ver
    
    Show the actual default value instead of <null> when the property has
    not been set.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 6ced55a57d7f6e647d683b5c41df0c176594f824
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Jun 1 20:32:32 2010 +0200

    ide: Turn drive serial into a qdev property ide-drive.serial
    
    It needs to be a qdev property, because it belongs to the drive's
    guest part.
    
    Bonus: info qtree now shows the serial number.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit d21357df9a2a6b7e6bb2f579d04877f3bd65c557
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Jun 1 20:32:31 2010 +0200

    qdev: Don't leak string property value on hot unplug
    
    parse_string() qemu_strdup()s the property value.  It is never freed.
    It needs to be freed along with the device.  Otherwise, the value of
    scsi-disk property "ver" gets leaked when hot-unplugging the disk, for
    instance.
    
    Call new PropertyInfo method free() from qdev_free().  Implement it
    for qdev_prop_string.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit cc98467327e13adca8f65b5a841c08930ee68220
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Jun 1 20:32:30 2010 +0200

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

commit 57234ee40d314f91cf5bd16a926f30a6985e06e2
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Jun 1 20:32:29 2010 +0200

    ide: Split non-qdev code off ide_init2()
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 870111c8ed95df62a101eae0acd08c84233a6341
Author: Markus Armbruster <armbru at redhat.com>
Date:   Tue Jun 1 20:32:28 2010 +0200

    ide: Change ide_init_drive() to require valid dinfo argument
    
    IDEState members drive_serial_str and version are now left empty until
    an actual drive is connected.  Before, they got a default value that
    was overwritten when a drive got connected.  Doesn't matter, because
    they're used only while a drive is connected.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit d459da0ed4bcdc38d5aaaa78f0c83fdeac6dd190
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri May 28 15:38:47 2010 +0200

    ide: Split ide_init1() off ide_init2()
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 57dac7ef8aeabcd17b1ceee2296917bc48ccd526
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri May 28 15:38:46 2010 +0200

    ide: Remove redundant IDEState member conf
    
    Commit 428c149b added IDEState member conf to let commit 0009baf1 find
    the BlockConf from there.  It exists only for qdev drives, created via
    ide_drive_initfn(), not for drives created via ide_init2().
    
    But for a qdev drive, we can just as well reach its IDEDevice, which
    contains the BlockConf.  Do that, and revert the parts of commit
    428c149b that add IDEState member conf.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 124964b54e0c50706385691142795b6e43dad817
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri May 28 15:38:45 2010 +0200

    ide: Remove useless IDEDeviceInfo members unit, drive
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit fb08000cee257bbd3f3a043933a6474d870c665f
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri May 28 15:38:44 2010 +0200

    usb: Remove unused usb_device_add() parameter is_hotplug
    
    Unused since commit b3e461d3.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit f274776028ddb026f8891cabaf59bd58dbfc31bd
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri May 28 15:38:43 2010 +0200

    blockdev: Belatedly remove driveopts
    
    Unused since commit 9dfd7c7a.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 1a43782e34e148a00a0bb8f5de56f2d93a0f0320
Author: Markus Armbruster <armbru at redhat.com>
Date:   Fri May 28 15:38:42 2010 +0200

    blockdev: Belatedly remove MAX_DRIVES
    
    Unused since commit 751c6a17.
    
    Signed-off-by: Markus Armbruster <armbru at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 0923c577f993d61eeaf41f66db1e1010fa113976
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri May 28 20:10:48 2010 +0200

    qemu-io: Fix error messages
    
    The truncate and getlength commands passed a negative error number to strerror.
    They also happen to be the two functions that are lacking a newline at the end
    of their error message.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 1573a35d99fe60f98d30f50e9187040586c2b801
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu May 27 16:20:33 2010 +0200

    Cleanup: virtio-blk.c: Be more consistent using BDRV_SECTOR_SIZE instead
    
    Clean up virtio-blk.c to be more consistent using BDRV_SECTOR_SIZE
    instead of hard coded 512 values.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 9040385dcc0a4b32ca8ceeda6dc679aea56e3832
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu May 27 16:20:32 2010 +0200

    Cleanup: raw-posix.c: Be more consistent using BDRV_SECTOR_SIZE instead of 512
    
    Clean up raw-posix.c to be more consistent using BDRV_SECTOR_SIZE
    instead of hard coded 512 values.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit eb5a316514144bc1def4cb9b88fb996420ca80cc
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu May 27 16:20:31 2010 +0200

    Cleanup: Be consistent and use BDRV_SECTOR_SIZE instead of 512
    
    Clean up block.c and use BDRV_SECTOR_SIZE rather than hard coded
    numbers (512) when referring to sector size throughout the code.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 3e82990b52d5afeb4957dd9b87be83d752e369b9
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu May 27 16:20:30 2010 +0200

    Cleanup: bdrv_open() no need to shift total_size just to shift back.
    
    In bdrv_open() there is no need to shift total_size >> 9 just to
    multiply it by 512 again just a few lines later, since this is the
    only place the variable is used.
    
    Mask with BDRV_SECTOR_MASK to protect against case where we are
    passed a corrupted image.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 358c360feb346dff8f911e2d1dbcdd6319393f1d
Merge: 41ef56e61153d7bd27d34a634633bb51b1c5988d 1a396859105c4c27fdec08180be26288b8a629a3
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Thu Jun 3 14:55:49 2010 -0500

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

commit 41ef56e61153d7bd27d34a634633bb51b1c5988d
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Wed Jun 2 14:55:25 2010 -0500

    migration: respect exit status with exec:
    
    This patch makes sure that if the exec: process exits with a non-zero return
    status, we treat the migration as failed.
    
    This fixes https://bugs.launchpad.net/qemu/+bug/391879
    
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4309a79bffce10d6d8de82c5ee403ffa4f45db64
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Thu Jun 3 00:02:30 2010 +0200

    tcg-i386: fix a typo
    
    Fix a typo introduced by c28b14c694d759f39fe3ae4f8d03b567da5b93f8.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c28b14c694d759f39fe3ae4f8d03b567da5b93f8
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Tue Jun 1 13:55:18 2010 +0200

    tcg-i386: declare tcg_out_tlb_load() inline
    
    Declare tcg_out_tlb_load() inline so that we don't loose optimisations
    with commit 8516a04467cb7954cdc32e8b79b4b7df56dccb16.
    
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 82bb07db0c3f0685dbdc5050d57f0c26ad6ff844
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 21 09:03:04 2010 -0700

    tcg-i386: Remove some ifdefs in qemu_ld/st.
    
    Tidy some code by replacing ifdefs by C ifs.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 8516a04467cb7954cdc32e8b79b4b7df56dccb16
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 21 09:03:03 2010 -0700

    tcg-i386: Split out tlb load function.
    
    Share some code between qemu_ld and qemu_st.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 1a6dc1e4060e3c5dd44735f2a210b2efc56b7726
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 21 09:03:02 2010 -0700

    tcg-i386: Swap order of TLB hit and miss paths.
    
    Make fallthru be TLB hit and branch be TLB miss.  Doing this
    both improves branch prediction and will allow further cleanup.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit be5a4eb7f071e358cefca78e3f93bf9d199cd4fa
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 21 09:03:01 2010 -0700

    tcg-i386: Split out TLB Hit path from qemu_ld/st.
    
    Splitting out these functions will allow further cleanups.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 96b4cf38f050d61d01d23d373ce059013b8a6090
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 21 09:03:00 2010 -0700

    tcg-i386: Tidy data16 prefixes.
    
    Include it in the opcode as an extension, as with P_EXT
    or the REX bits in the x86-64 port.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit fb170183e7387ade9aef2bddd59a8a62fceedac6
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Wed Jun 2 00:12:58 2010 +0400

    sparc64: fix umul and smul insns
    
    - truncate and sign or zero extend operands before multiplication
    - factor out common code to gen_op_multiply() with parameter to sign/zero extend
    - call gen_op_multiply from gen_op_umul and gen_op_smul
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 09487205bb03548d260300d32595ba17ab597337
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Wed Jun 2 00:12:53 2010 +0400

    sparc64: fix udiv and sdiv insns
    
    - truncate second operand to 32bit
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 0e2fa9cab9c124788077de728f1e6744d1dd8bb2
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Wed Jun 2 00:12:48 2010 +0400

    sparc64: improve ldf and stf insns
    
    - implemented block load/store primary/secondary with user privilege
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit b219094acea73602e3a5ef8bfb4f3ca60c2ee56f
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Wed Jun 2 23:39:09 2010 +0400

    sparc64: use symbolic name for MMU index v1
    
    - use symbolic name for MMU index
    v0->v1:
    - change debug traces to DPRINTF_MMU
    - fix debug trace function names
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit fe987e2394e1fca01aba581095f219423fbbdd39
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Wed Jun 2 00:12:37 2010 +0400

    sparc64: fix ldxfsr insn
    
    - rearrange code to break from switch when appropriate
    - allow deprecated ldfsr insn
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c086b783eb7a578993d6d2ab62c4c2666800b63d
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Wed Jun 2 00:12:32 2010 +0400

    sparc64: fix 32bit load sign extension
    
    - change return type of ldl_* to uint32_t to prevent unwanted sign extension
      visible in sparc64 load alternate address space methods
    - note this change makes ldl_* softmmu implementations match ldl_phys one
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 1295001c53fe816776bae810bed0a653ea0c6475
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Wed Jun 2 23:38:45 2010 +0400

    sparc64: fix missing address masking v1
    
    - address masking for ldqf and stqf insns
    - address masking for lddf and stdf insns
    - address masking for translating ASI (Ultrasparc IIi)
    v0->v1:
    - move arch-specific code to helpers and drop more ifdefs at call sites
      using new helper asi_address_mask()
    - change user emulation to use asi_address_mask()
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 9168b3a545fae3db8ad0ee7de872c4302651ba7f
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Wed Jun 2 00:12:22 2010 +0400

    sparc64: fix tag access register on mmu traps
    
    - set mmu tag access register on FAULT and PROT traps as well
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 7f9744812291853425b614f68668f48d49882a1f
Author: Michael S. Tsirkin <mst at redhat.com>
Date:   Wed Jun 2 11:40:54 2010 +0300

    virtio-net: stop vhost backend on vmstop
    
    vhost net currently keeps running after vmstop,
    which causes trouble as qemy does not check
    for dirty pages anymore.
    The fix is to simply keep vm and vhost running/stopped
    status in sync.
    
    Tested-by: David L Stevens <dlstevens at us.ibm.com>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit d9b73e47a3d596c5b33802597ec5bd91ef3348e2
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Tue Jun 1 23:05:44 2010 +0200

    vnc: add missing target for vnc-encodings-*.o
    
    vnc-encodings-*.c dependencies where missing.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 270ec21929b029e6cca27656fcbf1c775e42f6d7
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Tue Jun 1 23:05:43 2010 +0200

    vnc: tight: don't forget the third color
    
    While couting color, if the third color was only present one
    time it wasn't added to the palette.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 54d43eacc5ca300d5a5ce5a83abe75e0167946b5
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Tue Jun 1 23:05:42 2010 +0200

    vnc: tight: don't forget last pixel in tight_encode_indexed_rect
    
    A simple patch would have been to just remove count -= 1, but this
    one also replace the while (count--) with a for(i = 0; i < count; i++)
    which I believe is more easy to understand.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 637503d122eb7656d91a8489e254d9e880be7504
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date:   Mon May 31 14:43:32 2010 -0300

    Monitor: Drop QMP documentation from code
    
    Previous commit added QMP documentation to the qemu-monitor.hx
    file, it's is a copy of this information.
    
    While it's good to keep it near code, maintaining two copies of
    the same information is too hard and has little benefit as we
    don't expect client writers to consult the code to find how to
    use a QMP command.
    
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b40292e7115da8814da3d8acd33267202d27d678
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon May 31 14:43:31 2010 -0300

    QMP: Introduce commands documentation
    
    One of the most important missing feature in QMP today is its
    supported commands documentation.
    
    The plan is to make it part of self-description support, however
    self-description is a big task we have been postponing for a
    long time now and still don't know when it's going to be done.
    
    In order not to compromise QMP adoption and make users' life easier,
    this commit adds a simple text documentation which fully describes
    all QMP supported commands.
    
    This is not ideal for a number of reasons (harder to maintain,
    text-only, etc) but does improve the current situation. To avoid at
    least divering from the user monitor help and texi snippets, QMP bits
    are also maintained inside qemu-monitor.hx, and hxtool is extended to
    generate a single text file from them.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 33572ece26744889b14b7d72ac81870d076725ac
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Mon May 31 14:43:30 2010 -0300

    monitor: Reorder info documentation
    
    Push the doc fragments for the info command to the end of
    qemu-monitor.hx. This helps to establish a proper layout in the upcoming
    QMP documentation.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 38141097142199a65db142b974c45b3a9c0c809c
Merge: 1d4b638ad1fc273a19d93c7d4725fecdd7e5182a e075e788c9e882f5bebfb350f725ee7e4273033f
Author: Anthony Liguori <aliguori at us.ibm.com>
Date:   Tue Jun 1 13:34:20 2010 -0500

    Merge remote branch 'mst/for_anthony' into HEAD

commit 1d4b638ad1fc273a19d93c7d4725fecdd7e5182a
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue May 25 18:25:20 2010 +0200

    vnc: move size-changed check into the vnc_desktop_resize function.
    
    This make sure we send a desktop resize message only in case we actually
    have to, using the new variables which track the clients desktop size.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 847ce6a185f9ccbc089ef24a6c402b8c99113341
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue May 25 18:25:19 2010 +0200

    vnc: don't send invalid screen updates.
    
    Don't send updates for screen areas which are outside the clients
    desktop.  May happed with vnc clients which don't support the desktop
    resize message.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5862d195f90cb63c53b9dc3f54e10f8b9372bcf6
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue May 25 18:25:18 2010 +0200

    vnc: keep track of client desktop size
    
    Add two new variables to keep track of the vnc clients desktop size.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 6356e472512c55a5dc3aaf12ce12a6eb916dd045
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue May 25 18:25:17 2010 +0200

    vnc: send desktopresize event as reply to set encodings
    
    In case the desktop did resize while the vnc connection setup was still
    in progress the client isn't informed about it.  Send a desktop resize
    event as soon as the client told us it can handle deskop resize via set
    encodings message to make sure the client us up to date.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 621aaeb9991933a367e3964ecfc88a8f96af1f6a
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue May 25 18:25:16 2010 +0200

    vnc: factor out vnc_desktop_resize()
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b627808462de92fd2635de16fa7d10b18d806802
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri May 21 11:59:14 2010 +0200

    Add support for depth 15 to qemu_default_pixelformat()
    
    Makes qemu_default_pixelformat(15) return pixelformat filled for 15 bit
    color depth (16 bpp, 5 bits for red,green,blue each, 1 bit unused).
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 26572b8a0e90ee0c77587173a78fa293a1d2beb6
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu May 20 15:23:06 2010 +0200

    check for active_console before using it
    
    Other vga_hw_* functions do the same.
    Fixes a segmentation fault.  Trigger: boot with -nodefaults,
    then connect via vnc.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 4091da4b7cc251c7d422ccc5707900ed595b1ee0
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date:   Thu May 20 09:18:52 2010 +0200

    Add dependency of JSON unit tests on config-host.h
    
    Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 3fc250b4be58cac2e392d8d01949f9e8471c36f9
Author: Pierre Riteau <Pierre.Riteau at irisa.fr>
Date:   Wed May 12 15:12:44 2010 +0200

    migration: Fix calculation of bytes_transferred
    
    When a page with all identical bytes is transferred, it is counted
    as a full page (TARGET_PAGE_SIZE) although only one byte is actually
    sent. Fix this by changing ram_save_block() to return the number of
    bytes sent instead of a boolean value. This makes bandwidth
    estimation, and consequently downtime estimation, more precise.
    
    Signed-off-by: Pierre Riteau <Pierre.Riteau at irisa.fr>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a132a679c33ae2f8f6935f92c2a8043015cd917c
Author: Alon Levy <alevy at redhat.com>
Date:   Wed May 19 15:01:38 2010 +0530

    virtio-serial-bus: fix ports_map allocation on init
    
    Fix for too small allocation to ports_map
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Amit Shah <amit.shah at redhat.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit eafaf1e5ab30346d6e9ac676ec6b7a3eca4ccce3
Author: Andre Przywara <andre.przywara at amd.com>
Date:   Fri May 21 09:50:51 2010 +0200

    resent: x86/cpuid: Add kvm32 CPU model
    
    Create a kvm32 CPU model that describes a least common denominator
    for KVM capable guest CPUs. Useful for migration purposes.
    
    Signed-off-by: Andre Przywara <andre.przywara at amd.com>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit aa7d73fd3db9262f426017a1eeef0d681373db5d
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Wed May 19 09:24:12 2010 +0200

    vnc: tight: add palette encoding
    
    Add palette tight encoding. Palette encoding will try to count the number
    of colors for a given rectangle, and if this number is low enough
    (< 256) it will send the palette + the rectangle with indexed colors.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b4bea3f2b848a0815a28e316c14dc22919bc082b
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Wed May 19 09:24:11 2010 +0200

    vnc: add support for tight fill encoding
    
    Fill encoding detects rectangles using only one color and send only
    one pixel value.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 380282b07dcc262f011aa665972dacba5d2178bc
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Wed May 19 09:24:10 2010 +0200

    vnc: add basic tight support
    
    Add support for tight encoding [1]. This patch only add support
    for "basic" tight compression without any filter.
    
    [1] http://tigervnc.org/cgi-bin/rfbproto#tight-encoding.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a885211eed4e853c64d1419a0113c12048ecd5a1
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Wed May 19 09:24:09 2010 +0200

    vnc: return the number of rectangles
    
    Some encodings like tight supports tiling (spliting in
    multiple sub-rectangles). So we needed a way to tell
    vnc_update_client() how much rectangles are in the buffer.
    
    zlib, raw and hextile always send a full rectangle.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 161c4f20bfbd54f0b77426adccb68ee831678af0
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Wed May 19 09:24:08 2010 +0200

    vnc: remove a memory leak in zlib
    
    Makes sure we free all ressources used in zlib encoding (zlib stream
    and buffer).
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 5d418e3ba96cfa810e00885a52b55f19cac8f9a6
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Wed May 19 09:24:07 2010 +0200

    vnc: add buffer_free()
    
    Add a buffer_free() helper to free vnc buffers and
    remove some duplicated code in vnc_disconnect_finish().
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 78c98c78705452e439f5b2ef5447ada23de9988e
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Wed May 19 09:24:06 2010 +0200

    vnc: don't clear zlib stream on set_encoding
    
    On init, values are already NULL, but we shouldn't try
    to reset them each time a client send a set encoding
    command because this break everything. For example,
    libvncclient re-send a set encoding command if the
    framebuffer is resized.
    
    This fix framebuffer resizing for zlib encoding.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9f643ec0f81c1836ce55319709dd387e27c55d3b
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Wed May 19 09:24:05 2010 +0200

    vnc: adjust compression zstream level
    
    Adjust zlib compression level if needed by calling deflateParams.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit b05ad290e2a5d9074179fede31d54371e1a09a6a
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Wed May 19 09:24:04 2010 +0200

    vnc: only use a single zlib stream
    
    According to http://tigervnc.org/cgi-bin/rfbproto#zlib-encoding
    zlib encoding only uses a single stream. Current implementation defines
    4 streams but only uses the first one. Remove them and only use a single
    stream.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 780a049e29447275bd234a3974b2574316140a5f
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Wed May 19 09:24:03 2010 +0200

    vnc: really call zlib if we want zlib
    
    send_framebuffer_update() was calling hextile instead of zlib
    since commit 70a4568fe0c5a64adaa3da5030b7109e5199e692.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 8a0f0d0ca343e406aab7161c883187f1d2b85d89
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Wed May 19 09:24:02 2010 +0200

    vnc: explain why set_encodings loop is reversed
    
    Add a small comment to explain why we need to start from
    the end of the array to set the right prefered encoding.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit a9f20d31a8332ea4d6a0c90b9731f11a51cff6db
Author: Corentin Chary <corentincj at iksaif.net>
Date:   Wed May 19 09:24:01 2010 +0200

    Revert "vnc: set the right prefered encoding"
    
    This patch was wrong, because the loop was already reversed,
    so the first encoding was correctly set at the end of the loopp.
    
    This reverts commit 14eb8b6829ad9dee7035de729e083844a425f274.
    
    Signed-off-by: Corentin Chary <corentincj at iksaif.net>
    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>

commit 9af9b330c5e77024efdc5698ee38ed8ef246337b
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Mon May 31 18:59:45 2010 +0000

    ioapic: improve debugging
    
    Add a DPRINTF macro, use it also to see irq deliveries.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 17e6a53f8223e469034e3ba95b67ec0501f39325
Author: Alexander Graf <agraf at suse.de>
Date:   Tue May 11 17:38:17 2010 +0200

    Fix leul_to_cpu on big endian hosts
    
    Commit 213acd2e introduced leul_to_cpu with a special code path for big endian
    hosts. Unfortunately that code used preprocessor magic that didn't work.
    
    This patch replaces the explicit ##s by glue() which is proven to work reliably,
    enabling me to compile qemu on ppc again.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e03c22a98cf5deffd0dec2f9ff88a600aa330bc4
Author: Lars Munch <lars at segv.dk>
Date:   Sat May 8 22:43:35 2010 +0200

    arm: fix arm kernel boot for non zero start addr
    
    Booting an arm kernel has been broken a while when booting from non zero start
    address. This is due to the order of events: board init loads the kernel and
    sets register 15 to the start address and then qemu_system_reset reset the cpu
    making register 15 zero again.
    
    This patch fixes the usage of the register 15 start address trick in
    combination with arm_load_kernel.
    
    Signed-off-by: Lars Munch <lars at segv.dk>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 0f89cc7b6c33418f268126cc908b222e0d052f69
Author: Thomas Monjalon <thomas at monjalon.net>
Date:   Fri May 28 21:00:45 2010 +0200

    target-ppc: remove useless line
    
    This line was a bit clear.
    The next lines set or reset this bit (LE) depending of another bit (ILE).
    So the first line is useless.
    
    Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c3d420ead1aee9fcfd12be11cbdf6b1620134773
Author: Thomas Monjalon <thomas at monjalon.net>
Date:   Fri May 28 21:07:32 2010 +0200

    target-ppc: fix RFI by clearing some bits of MSR
    
    Since commit 2ada0ed, "Return From Interrupt" is broken for PPC processors
    because some interrupt specifics bits of SRR1 are copied to MSR.
    
    SRR1 is a save of MSR during interrupt.
    During RFI, MSR must be restored from SRR1.
    But some bits of SRR1 are interrupt-specific and are not used for MSR saving.
    
    This is the specification (ISA 2.06) at chapter 6.4.3 (Interrupt Processing):
    "2. Bits 33:36 and 42:47 of SRR1 or HSRR1 are loaded with information specific
        to the interrupt type.
     3. Bits 0:32, 37:41, and 48:63 of SRR1 or HSRR1 are loaded with a copy of the
        corresponding bits of the MSR."
    
    Below is a representation of MSR bits which are not saved:
    0:15 16:31 32  33:36    37:41      42:47     48:63
    ——— | ——— | — X X X X — — — — — X X X X X X | ————
    0000 0000 |    7   |   8   |   3   |   F    | 0000
    
    History:
    In the initial Qemu implementation (e1833e1), the mask 0x783F0000 was used for
    saving MSR in SRR1. But all the bits 32:47 were cleared during RFI restoring.
    This was wrong. The commit 2ada0ed explains that this breaks Altivec.
    Indeed, bit 38 (for Altivec support) must be saved and restored.
    The change of 2ada0ed was to restore all the bits of SRR1 to MSR.
    But it's also wrong.
    
    Explanation:
    As an example, let's see what's happening after a TLB miss.
    According to the e300 manual (E300CORERM table 5-6), the TLB miss interrupts
    set the bits 44-47 for KEY, I/D, WAY and S/L. These bits are specifics to the
    interrupt and must not be copied into MSR at the end of the interrupt.
    With the current implementation, a TLB miss overwrite bits POW, TGPR and ILE.
    
    Fix:
    It shouldn't be needed to filter-out bits on MSR saving when interrupt occurs.
    Specific bits overwrite MSR ones in SRR1.
    But at the end of interrupt (RFI), specifics bits must be cleared before
    restoring MSR from SRR1. The mask 0x783F0000 apply here.
    
    Discussion:
    The bits of the mask 0x783F0000 are cleared after an interrupt.
    I cannot find a specification which talks about this
    but I assume it is the truth since Linux can run this way.
    Maybe it's not perfect but it's better (works for e300).
    
    Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
    Acked-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit e075e788c9e882f5bebfb350f725ee7e4273033f
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Fri May 28 18:30:46 2010 +0900

    pci-hotplug: make them aware of pci domain.
    
    add helper function which converts root bus to pci domain.
    make them aware of pci domain.
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 1b4e8f732d118d1bd64c49e3c9d90832f8214272
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Thu May 27 14:40:37 2010 +0900

    msix: remove duplicated defines.
    
    remove defines which are already defined in pci_regs.h
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 0c6fcb62100d5ed0819963b2b20879b1e61691db
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Thu May 27 14:40:02 2010 +0900

    pci.h: remove unused constants.
    
    So remove unused constants,
    PCI_STATUS_RESERVED_MASK_LO, PCI_STATUS_RESERVED_MASK_HI,
    PCI_COMMAND_RESERVED, PCI_COMMAND_RESERVED_MASK_HI.
    They were used once, but they aren't used anymore.
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 3c18685f43acd81626e7e7bafc5967f04ee48090
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Thu May 27 14:42:37 2010 +0900

    pci: add const to pci_is_express(), pci_config_size().
    
    add const to pci_is_express(), pci_config_size().
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit 5e434f4e60f8e5a9dadf324b3ee31c3ce0e80165
Author: Isaku Yamahata <yamahata at valinux.co.jp>
Date:   Thu May 27 14:42:06 2010 +0900

    pci: clean up of pci_set_default_subsystem_id().
    
    Use pci accessor function.
    don't return value because it always return 0 and
    the caller doesn't check the return value.
    
    Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

commit aa6f63fff62faf2fe9ffba5a789675d49293614d
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sun May 30 19:20:07 2010 +0000

    mc146818rtc: improve debugging
    
    Add a separate flag for debugging coalesced interrupts.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit da7ed37955d955b47a538fcfe65ad1cc730e69a5
Author: Artyom Tarasenko <atar4qemu at googlemail.com>
Date:   Sat May 29 22:48:25 2010 +0200

    sparc32 SuperSPARC MMU Breakpoint Action register (SS-20 OBP fix)
    
    SuperSPARC MMU Breakpoint Action register is used by OBP at boot
    
    The patch allows booting Solaris and some other OS with
    SPARCStation-20 OBP.
    
    Signed-off-by: Artyom Tarasenko <atar4qemu at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 471fd34221dcda9b271a3016f95e1ad12842c5ff
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat May 29 20:23:49 2010 +0000

    pc: improve debugging
    
    Add a DPRINTF macro and use it for ISA and PIC interrupts.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 0a3c59216673e71ca53daef6f05fade33f41e83b
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat May 29 20:23:48 2010 +0000

    apic: improve debugging
    
    Add a DPRINTF macro. Use TARGET_FMT_plx for printing target_phys_addr_t
    items. Add a separate flag for debugging coalescing interrupts.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 8ac02ff882d48e40571c5b346ceda44dc3925f1b
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat May 29 20:23:19 2010 +0000

    i8259: improve debugging
    
    Add a DPRINTF macro.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 03ae77d6d2ba949fa8d0ceaac588a1075b6257b3
Author: Blue Swirl <blauwirbel at gmail.com>
Date:   Sat May 29 10:20:44 2010 +0000

    sparc64: fix user emulator build
    
    Accesses with _nucleus prefix are not available when building user
    emulators:
      CC    sparc64-linux-user/op_helper.o
    cc1: warnings being treated as errors
    /src/qemu/target-sparc/op_helper.c: In function 'helper_ldda_asi':
    /src/qemu/target-sparc/op_helper.c:3063: error: implicit declaration of function 'ldq_nucleus'
    
    Avoid making such accesses. Fixes breakage by 54a3c0f032abf93d1cedc75456af75401ac10360.
    
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 3386376c04533288ff51d8f3a6f0fba77af4d209
Author: Artyom Tarasenko <atar4qemu at googlemail.com>
Date:   Sat May 8 16:10:14 2010 +0200

    Pad iommu with an empty slot (necessary for SunOS 4.1.4)
    
    On the real hardware (SS-5, LX) the MMU is not padded, but aliased.
    Software shouldn't use aliased addresses, neither should it crash
    when it uses (on the real hardware it wouldn't). Using empty_slot
    instead of aliasing can help with debugging such accesses.
    
    Signed-off-by: Artyom Tarasenko <atar4qemu at googlemail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 54a3c0f032abf93d1cedc75456af75401ac10360
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Sat May 29 01:05:46 2010 +0400

    sparc64: fix 128-bit atomic load from nucleus context v1
    
    - change 128-bit atomic loads to reference nucleus context
    v0->v1: dropped disassembler change
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 68a1c816868b3e35a1da698af412b29e61b1948a
Author: Paul Brook <paul at codesourcery.com>
Date:   Sat May 29 02:27:35 2010 +0100

    Pre-allocate guest address space
    
    Allow pre-allocation of the guest virtual address space in usermode emulation.
    
    Signed-off-by: Paul Brook <paul at codesourcery.com>

commit 0be1d07c0e4fa7395aca5129cfc5bb9a0a94a78c
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 21 10:03:33 2010 -0700

    alpha-linux-user: Fill in SI_CODE for SIGSEGV.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 680c877af48cf5f2fb4586f34c13fd21ce33bfec
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 21 10:37:52 2010 -0700

    linux-user: Use qemu-malloc.c.
    
    Since we're no longer setting PAGE_RESERVED, there's no need to
    implement qemu_malloc via mmap.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 50401022d8fbdcdaf84d28e7b813ee94c2d47325
Author: Richard Henderson <rth at twiddle.net>
Date:   Fri May 21 10:37:51 2010 -0700

    Use calloc in qemu_mallocz.
    
    Avoids the memset if the allocator has gotten new zeroed
    storage from the operating system.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 564e2fe8cd63ca6d5413408a1a4f9ee9cf471fff
Author: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
Date:   Wed May 19 21:49:21 2010 +0200

    linux-user: Fix compilation with DEBUG defined
    
    Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 82f24fccaa9ef21e369d77e32bae20bcdc915947
Author: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
Date:   Wed May 19 18:49:30 2010 +0200

    Fix hw/gt64xxx.c compilation with DEBUG defined
    
    Use TARGET_FMT_plx as format placeholder for target_phys_addr_t
    
    Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 3c05613a6a51da833105c1bf3db4917d917f5a3a
Author: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
Date:   Wed May 19 18:49:28 2010 +0200

    Fix typo in balloon help
    
    Fix launchpad #563883
    
    Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit c1735af1df50b1837241053393c73a5296d2cf7f
Author: Jan Kiszka <jan.kiszka at web.de>
Date:   Thu May 13 15:09:58 2010 +0200

    musicpal: Drop redundant reset call
    
    Reset is now triggered after init, no need for explicit calls anymore.
    
    Signed-off-by: Jan Kiszka <jan.kiszka at web.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d8e06f973cc8e42aa1faa1216592aa9eb671f360
Author: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
Date:   Wed May 12 15:10:56 2010 +0100

    doc: Update monitor info subcommands
    
    The "info blockstats" documentation was copy-pasted as "info block"
    instead of "info blockstats".  The documentation for "commands", "jit",
    "numa", "qdm", and "roms" is missing.  This patch resolves these issues
    in qemu-monitor.hx.
    
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 97679527bf2f002225d08cfb93f840cef449ac0e
Author: Avi Kivity <avi at redhat.com>
Date:   Sun May 9 14:51:13 2010 +0300

    Fix overflow in i440fx_init()
    
    The ram_size parameter can be larger than an int, so it may be truncated.
    
    Fix by using the correct type.
    
    Signed-off-by: Avi Kivity <avi at redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 9ba8c3f41d47f2051ea4bdb7156978f941ea7324
Author: Lars Munch <lars at segv.dk>
Date:   Sat May 8 22:42:43 2010 +0200

    arm: prevent coprocessor IO reset
    
    This prevent coprocessor IO structure from being reset on cpu reset. This was
    a problem for PXA which uses coprocessor 6 and 14.
    
    Signed-off-by: Lars Munch <lars at segv.dk>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 3e1dbaddbf199762deaf00e3b3308f7508671e35
Author: Richard Henderson <rth at twiddle.net>
Date:   Mon May 3 16:30:48 2010 -0700

    tcg: Use INDEX_op_qemu_ld32 for 32-bit results.
    
    Signed-off-by: Richard Henderson <rth at twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit 1a396859105c4c27fdec08180be26288b8a629a3
Author: Nicholas A. Bellinger <nab at linux-iscsi.org>
Date:   Thu May 27 08:56:28 2010 -0700

    block: Add missing bdrv_delete() for SG_IO BlockDriver in find_image_format()
    
    This patch adds a missing bdrv_delete() call in find_image_format() so that a
    SG_IO BlockDriver properly releases the temporary BlockDriverState *bs created
    from bdrv_file_open()
    
    Signed-off-by: Nicholas A. Bellinger <nab at linux-iscsi.org>
    Reported-by: Chris Krumme <chris.krumme at windriver.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 86fa8da83771238de55dc44819a1a27bafef5353
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri May 28 12:21:27 2010 +0200

    qcow2: Fix corruption after error in update_refcount
    
    After it is done with updating refcounts in the cache, update_refcount writes
    all changed entries to disk. If a refcount block allocation fails, however,
    there was no change yet and therefore first_index = last_index = -1. Don't
    treat -1 as a normal sector index (resulting in a 512 byte write!) but return
    without updating anything in this case.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 25408c09502be036e5575754fe54019ed4ed5dfa
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri May 28 12:05:45 2010 +0200

    qcow2: Fix corruption after refblock allocation
    
    Refblock allocation code needs to take into consideration that update_refcount
    will load a different refcount block into the cache, so it must initialize the
    cache for a new refcount block only afterwards. Not doing this means that not
    only the refcount in the wrong block is updated, but also that the caller will
    work on the wrong block.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit ed0df867d93341289d085ed9e9d44907e342c7ff
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri May 28 09:47:44 2010 +0200

    qcow2: Return right error code in write_refcount_block_entries
    
    write_refcount_block_entries used to return -EIO for any errors. Change this to
    return the real error code.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 55c17e9821c474d5fcdebdc82ed2fc096777d611
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri May 21 18:25:20 2010 +0200

    qcow2: Change l2_load to return 0/-errno
    
    Provide the error code to the caller instead of just indicating success/error.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 1c46efaa0a175e468772405385ca26a1e35dd94c
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri May 21 17:59:36 2010 +0200

    qcow2: Allow qcow2_get_cluster_offset to return errors
    
    qcow2_get_cluster_offset() looks up a given virtual disk offset and returns the
    offset of the corresponding cluster in the image file. Errors (e.g. L2 table
    can't be read) are currenctly indicated by a return value of 0, which is
    unfortuately the same as for any unallocated cluster. So in effect we can't
    check for errors.
    
    This makes the old return value a by-reference parameter and returns the usual
    0/-errno error code.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit c63782cbe8bdc2c401ea710cef427de0214c5900
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu May 27 15:46:55 2010 +0200

    block.h: Make BDRV_SECTOR_SIZE 64 bit safe
    
    C defaults to int, so make definition of BDRV_SECTOR_SIZE 64 bit
    safe as it and BDRV_SECTOR_MASK may be used against 64 bit addresses.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit b587a52c007efb9e100d99fa6c78461ad1901973
Author: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
Date:   Thu May 27 12:52:08 2010 +0100

    posix-aio-compat: Expand tabs that have crept in
    
    This patch expands tabs on a few lines so the code formats nicely and
    follows the QEMU coding style.
    
    Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit dc33bb341122623105573d47fa6d71a0ba5ff15c
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed May 26 10:44:44 2010 +0200

    drive: allow rerror, werror and readonly for if=none
    
    When creating guest disks the qdev way using ...
    
      -drive if=none,id=$name,args
      -device $driver,drive=$name
    
    it is not possible to specify rerror, werror and readonly arguments
    for drive as drive_init allows/blocks them based on the interface (if=)
    specified and none isn't white-listed there.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit b50cbabc1bc12e6b0082089c70015c1b97db86a1
Author: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Date:   Wed May 26 11:35:36 2010 +0900

    add support for protocol driver create_options
    
    This patch enables protocol drivers to use their create options which
    are not supported by the format.  For example, protcol drivers can use
    a backing_file option with raw format.
    
    Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 776cbbbd788686e9735e8d1c008d8bc105fb1fab
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri May 21 11:37:26 2010 +0200

    qemu-io: Add multiwrite command
    
    The new multiwrite commands allows to use qemu-io for testing
    bdrv_aio_multiwrite.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit cbf1dff2f1033cadcb15c0ffc9c0a3d039d8ed42
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Fri May 21 11:09:42 2010 +0200

    block: Fix multiwrite with overlapping requests
    
    With overlapping requests, the total number of sectors is smaller than the sum
    of the nb_sectors of both requests.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 175e11526e2613b3dc031c23fec3107aa4a80307
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Wed May 12 16:23:26 2010 +0200

    qcow2: Fix error handling in l2_allocate
    
    l2_allocate has some intermediate states in which the image is inconsistent.
    Change the order to write to the L1 table only after the new L2 table has
    successfully been initialized.
    
    Also reset the L2 cache in failure case, it's very likely wrong.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 1b7c801b40ce90795397bb566d019c9b76ef9c13
Author: Kevin Wolf <kwolf at redhat.com>
Date:   Tue Apr 13 11:43:27 2010 +0200

    qcow2: Clear L2 table cache after write error
    
    If the L2 table was already updated in cache, but writing it to disk has
    failed, we must not continue using the changed version in the cache to stay
    consistent with what's on the disk.
    
    Signed-off-by: Kevin Wolf <kwolf at redhat.com>

commit 29f91781bd300b228d9c38b9f6c1e0b6a38f25fb
Author: Jes Sorensen <Jes.Sorensen at redhat.com>
Date:   Thu May 27 14:26:05 2010 +0200

    vhost_net.c: v2 Fix build failure introduced by 0bfcd599e3f5c5679cc7d0165a0a1822e2f60de2
    
    Fix build failure introduced by 0bfcd599e3f5c5679cc7d0165a0a1822e2f60de2
    
    The format statement expects unsigned long on x86_64, but receives
    unsigned long long, so gcc exits with an error.
    
    Signed-off-by: Jes Sorensen <Jes.Sorensen at redhat.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit c317728872ee9de44a1514bbe1f1fc8d5f8a7aeb
Author: Alexander Graf <agraf at suse.de>
Date:   Wed May 26 21:04:32 2010 +0200

    Make cache=unsafe the default for -snapshot
    
    When using -snapshot we don't care about data integrity of the cow file
    at all, so let's disable flushing there and squeeze out the last drop
    of performance we could possibly get.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

commit d63baf92e3e968626e0899ec6070e747a9bf51bf
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Tue May 25 16:09:03 2010 +0400

    sparc64: clean up pci bridge map
    
    - remove unused host state and store pci bus pointer only
    - do not map host state access into unused 1fe.10000000 range
    - reorder pci region registration
    - assign pci i/o region to isa_mem_base
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 5910b047a0221170f2a8dca65f0083bbe4f2c803
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date:   Tue May 25 16:08:57 2010 +0400

    sparc64: rename sun4u cpu to Ultrasparc IIi
    
    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
    Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

commit 016f5cf6ff465411733878a17c8f8febb7668321
Author: Alexander Graf <agraf at suse.de>
Date:   Wed May 26 17:51:49 2010 +0200

    Add cache=unsafe parameter to -drive
    
    Usually the guest can tell the host to flush data to disk. In some cases we
    don't want to flush though, but try to keep everything in cache.
    
    So let's add a new cache value to -drive that allows us to set the cache
    policy to most aggressive, disabling flushes. We call this mode "unsafe",
    as guest data is not guaranteed to survive host crashes anymore.
    
    This patch also adds a noop function for aio, so we can do nothing in AIO
    fashion.
    
    Signed-off-by: Alexander Graf <agraf at suse.de>
    Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>



More information about the Spice-commits mailing list