qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] d12ad4: scsi-bus: fix transfer length and dir


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] d12ad4: scsi-bus: fix transfer length and direction for VE...
Date: Fri, 13 Dec 2013 11:30:08 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: d12ad44cc4cc9142179e64295608611f118b8ad8
      
https://github.com/qemu/qemu/commit/d12ad44cc4cc9142179e64295608611f118b8ad8
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/scsi/scsi-bus.c

  Log Message:
  -----------
  scsi-bus: fix transfer length and direction for VERIFY command

The amount of bytes to transfer depends on the BYTCHK field.
If any data is transferred, it is sent to the device.

Cc: address@hidden
Tested-by: Hervé Poussineau <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d97e7730816094a71cd1f19a56d7a73f77cdbf96
      
https://github.com/qemu/qemu/commit/d97e7730816094a71cd1f19a56d7a73f77cdbf96
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/scsi/scsi-disk.c

  Log Message:
  -----------
  scsi-disk: fix VERIFY emulation

VERIFY emulation was completely botched (and remained botched through
all the refactorings).  The command must be emulated both in check-medium
mode (BYTCHK=00, which we implement by doing nothing) and in check-bytes
mode (which we do not implement yet).  Unlike WRITE AND VERIFY (which we
treat simply as WRITE with FUA bit set), VERIFY cannot be handled like
READ.  In fact the device is _receiving_ data for VERIFY, not _sending_
it like READ.

Cc: address@hidden
Tested-by: Hervé Poussineau <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 063c3378a9e3c25cc0afac3c72e4823d0621e352
      
https://github.com/qemu/qemu/commit/063c3378a9e3c25cc0afac3c72e4823d0621e352
  Author: Peter Lieven <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M block/iscsi.c
    M configure

  Log Message:
  -----------
  block/iscsi: introduce bdrv_co_{readv, writev, flush_to_disk}

this converts read, write and flush functions from aio to coroutines
eliminating almost 200 lines of code.

The requirement for libiscsi is bumped to version 1.4.0 which was
released in may 2012.

Signed-off-by: Peter Lieven <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 98e33f1b0eff84d9538cf957dde48c3f67f6f9d8
      
https://github.com/qemu/qemu/commit/98e33f1b0eff84d9538cf957dde48c3f67f6f9d8
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/scsi/scsi-disk.c

  Log Message:
  -----------
  scsi-disk: fix WRITE SAME with large non-zero payload

Due to a thinko in the patch that implemented WRITE SAME.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 2fe3798cd5fab65ee7c86758b1b7701d7fe3709f
      
https://github.com/qemu/qemu/commit/2fe3798cd5fab65ee7c86758b1b7701d7fe3709f
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M qemu-options.hx

  Log Message:
  -----------
  help: add id suboption to -iscsi

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0b81c1ef5c677c2a07be5f8bf0dfe2c62ef52115
      
https://github.com/qemu/qemu/commit/0b81c1ef5c677c2a07be5f8bf0dfe2c62ef52115
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/s390x/virtio-ccw.c

  Log Message:
  -----------
  virtio-ccw: move virtio_ccw_stop_ioeventfd to virtio_ccw_busdev_unplug

Similar to the PCI bug that prompted these patches, virtio-ccw will
segfault after the reworking of hotplug/hot-unplug.  Prepare for
this by moving virtio_ccw_stop_ioeventfd to before the freeing
of the proxy device.

A better place for this could be the device_unplugged callback
for the virtio-ccw bus.  However, we do not yet have a callback
that works: this patch avoids the problem while leaving the tree
bisectable.

Cc: address@hidden
Reported-by: Cornelia Huck <address@hidden>
Suggested-by: Cornelia Huck <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Acked-by: Andreas Faerber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 06d3dff0723c712a4b109ced4243edf49ef850af
      
https://github.com/qemu/qemu/commit/06d3dff0723c712a4b109ced4243edf49ef850af
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/virtio/virtio-bus.c
    M hw/virtio/virtio-mmio.c
    M hw/virtio/virtio-pci.c
    M include/hw/virtio/virtio-bus.h

  Log Message:
  -----------
  virtio-bus: remove vdev field

The vdev field is complicated to synchronize.  Just access the
BusState's list of children.

Cc: address@hidden
Acked-by: Andreas Faerber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: f24a684073bcdaf4e9d3c592345744ba3356d9e3
      
https://github.com/qemu/qemu/commit/f24a684073bcdaf4e9d3c592345744ba3356d9e3
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/s390x/virtio-ccw.c
    M hw/s390x/virtio-ccw.h

  Log Message:
  -----------
  virtio-ccw: remove vdev field

The vdev field is complicated to synchronize.  Just access the
BusState's list of children.

Cc: address@hidden
Reviewed-by: Cornelia Huck <address@hidden>
Acked-by: Andreas Faerber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: a3fc66d9fd37acbfcee013692246a8ae42bd93bb
      
https://github.com/qemu/qemu/commit/a3fc66d9fd37acbfcee013692246a8ae42bd93bb
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/virtio/virtio-pci.c
    M hw/virtio/virtio-pci.h

  Log Message:
  -----------
  virtio-pci: remove vdev field

The vdev field is complicated to synchronize.  Just access the
BusState's list of children.

Cc: address@hidden
Acked-by: Andreas Faerber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 5e96f5d2f8d2696ef7d2d8d7282c18fa6023470b
      
https://github.com/qemu/qemu/commit/5e96f5d2f8d2696ef7d2d8d7282c18fa6023470b
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/virtio/virtio-bus.c
    M hw/virtio/virtio.c
    M include/hw/virtio/virtio-bus.h
    M include/hw/virtio/virtio.h

  Log Message:
  -----------
  virtio-bus: cleanup plug/unplug interface

Right now we have these pairs:

- virtio_bus_plug_device/virtio_bus_destroy_device.  The first
  takes a VirtIODevice, the second takes a VirtioBusState

- device_plugged/device_unplug callbacks in the VirtioBusClass
  (here it's just the naming that is inconsistent)

- virtio_bus_destroy_device is not called by anyone (and since
  it calls qdev_free, it would be called by the proxies---but
  then the callback is useless since the proxies can do whatever
  they want before calling virtio_bus_destroy_device)

And there is a k->init but no k->exit, hence virtio_device_exit is
overwritten by subclasses (except virtio-9p).  This cleans it up by:

- renaming the device_unplug callback to device_unplugged

- renaming virtio_bus_plug_device to virtio_bus_device_plugged,
  matching the callback name

- renaming virtio_bus_destroy_device to virtio_bus_device_unplugged,
  removing the qdev_free, making it take a VirtIODevice and calling it
  from virtio_device_exit

- adding a k->exit callback

virtio_device_exit is still overwritten, the next patches will fix that.

Cc: address@hidden
Acked-by: Andreas Faerber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 40dfc16f5fe0afb66f9436718781264dfadb6c61
      
https://github.com/qemu/qemu/commit/40dfc16f5fe0afb66f9436718781264dfadb6c61
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/block/virtio-blk.c

  Log Message:
  -----------
  virtio-blk: switch exit callback to VirtioDeviceClass

This ensures hot-unplug is handled properly by the proxy, and avoids
leaking bus_name which is freed by virtio_device_exit.

Cc: address@hidden
Acked-by: Andreas Faerber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0e86c13fe2058adb8c792ebb7c51a6a7ca9d3d55
      
https://github.com/qemu/qemu/commit/0e86c13fe2058adb8c792ebb7c51a6a7ca9d3d55
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/char/virtio-serial-bus.c

  Log Message:
  -----------
  virtio-serial: switch exit callback to VirtioDeviceClass

This ensures hot-unplug is handled properly by the proxy, and avoids
leaking bus_name which is freed by virtio_device_exit.

Cc: address@hidden
Acked-by: Andreas Faerber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 3786cff5eb384d058395a2729af627fa3253d056
      
https://github.com/qemu/qemu/commit/3786cff5eb384d058395a2729af627fa3253d056
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  virtio-net: switch exit callback to VirtioDeviceClass

This ensures hot-unplug is handled properly by the proxy, and avoids
leaking bus_name which is freed by virtio_device_exit.

Cc: address@hidden
Acked-by: Andreas Faerber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e3c9d76acc984218264bbc6435b0c09f959ed9b8
      
https://github.com/qemu/qemu/commit/e3c9d76acc984218264bbc6435b0c09f959ed9b8
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/scsi/vhost-scsi.c
    M hw/scsi/virtio-scsi.c
    M include/hw/virtio/virtio-scsi.h

  Log Message:
  -----------
  virtio-scsi: switch exit callback to VirtioDeviceClass

This ensures hot-unplug is handled properly by the proxy, and avoids
leaking bus_name which is freed by virtio_device_exit.

Cc: address@hidden
Acked-by: Andreas Faerber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: baa61b9870dd7e0bb07e0ae61c6ec805db13f699
      
https://github.com/qemu/qemu/commit/baa61b9870dd7e0bb07e0ae61c6ec805db13f699
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/virtio/virtio-balloon.c

  Log Message:
  -----------
  virtio-balloon: switch exit callback to VirtioDeviceClass

This ensures hot-unplug is handled properly by the proxy, and avoids
leaking bus_name which is freed by virtio_device_exit.

Cc: address@hidden
Acked-by: Andreas Faerber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 7bb6edb0e3dd78d74e0ac980cf6c0a07307f61bf
      
https://github.com/qemu/qemu/commit/7bb6edb0e3dd78d74e0ac980cf6c0a07307f61bf
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/virtio/virtio-rng.c

  Log Message:
  -----------
  virtio-rng: switch exit callback to VirtioDeviceClass

This ensures hot-unplug is handled properly by the proxy, and avoids
leaking bus_name which is freed by virtio_device_exit.

Cc: address@hidden
Acked-by: Andreas Faerber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 06a1307379fcd6c551185ad87679cd7ed896b9ea
      
https://github.com/qemu/qemu/commit/06a1307379fcd6c551185ad87679cd7ed896b9ea
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/virtio/virtio-pci.c

  Log Message:
  -----------
  virtio-pci: add device_unplugged callback

This fixes a crash in hot-unplug of virtio-pci devices behind a PCIe
switch.  The crash happens because the ioeventfd is still set whent the
child is destroyed (destruction happens in postorder).  Then the proxy
tries to unset to ioeventfd, but the virtqueue structure that holds the
EventNotifier has been trashed in the meanwhile.  kvm_set_ioeventfd_pio
does not expect failure and aborts.

The fix is simply to move parts of uninitialization to a new
device_unplugged callback, which is called before the child is destroyed.

Cc: address@hidden
Acked-by: Andreas Faerber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 3ffeeef735fdb52ffee2eed4fb398f3a1199728f
      
https://github.com/qemu/qemu/commit/3ffeeef735fdb52ffee2eed4fb398f3a1199728f
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/block/dataplane/virtio-blk.c
    M hw/block/dataplane/virtio-blk.h
    M hw/block/virtio-blk.c

  Log Message:
  -----------
  virtio-blk-dataplane: Improve error reporting

Return an Error so that it can be propagated later.

Tested-by: Stefan Hajnoczi <address@hidden>
Acked-by: Stefan Hajnoczi <address@hidden>
[AF: Rebased]
Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0f3657ec3664b340ae20b461a7e15dbdac129179
      
https://github.com/qemu/qemu/commit/0f3657ec3664b340ae20b461a7e15dbdac129179
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/9pfs/virtio-9p-device.c

  Log Message:
  -----------
  virtio-9p: QOM realize preparations

Avoid unnecessary VIRTIO_DEVICE().

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 179b417e17ada41dce4e8112bea0a78a70b6162c
      
https://github.com/qemu/qemu/commit/179b417e17ada41dce4e8112bea0a78a70b6162c
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/block/virtio-blk.c

  Log Message:
  -----------
  virtio-blk: QOM realize preparations

Rename variable qdev -> dev since that's what realize's argument is called
by convention.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: b1a20c3fcab96832c3813e9e7162748f325e0c82
      
https://github.com/qemu/qemu/commit/b1a20c3fcab96832c3813e9e7162748f325e0c82
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/char/virtio-serial-bus.c

  Log Message:
  -----------
  virtio-serial: QOM realize preparations

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 284a32f0b33dce4e77e896168387b8dca90c4bea
      
https://github.com/qemu/qemu/commit/284a32f0b33dce4e77e896168387b8dca90c4bea
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  virtio-net: QOM realize preparations

Rename variable qdev -> dev since that's what realize's argument is
called by convention.

Avoid duplicate VIRTIO_DEVICE() cast.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: a546fb174162b0186fe6c275476cb45e5cafa68c
      
https://github.com/qemu/qemu/commit/a546fb174162b0186fe6c275476cb45e5cafa68c
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/virtio/virtio-balloon.c

  Log Message:
  -----------
  virtio-balloon: QOM realize preparations

Rename qdev -> dev since that's what realize's argument is called by
convention. No need to keep more "qdev" around than necessary.

Avoid duplicate VIRTIO_DEVICE() cast.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: af7671fdc530dd597b1ddb4561f5ffc0d534c44c
      
https://github.com/qemu/qemu/commit/af7671fdc530dd597b1ddb4561f5ffc0d534c44c
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/virtio/virtio-rng.c

  Log Message:
  -----------
  virtio-rng: QOM realize preparations

Rename qdev -> dev because that's what realize's argument is called by
convention. No need to keep more "qdev" around than necessary.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 7598f0f30e027146ba70517a2bda98d16bac1e24
      
https://github.com/qemu/qemu/commit/7598f0f30e027146ba70517a2bda98d16bac1e24
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/scsi/virtio-scsi.c

  Log Message:
  -----------
  virtio-scsi: QOM realize preparations

Rename qdev -> dev since that's what realize's argument is called by
convention. No need to keep more "qdev" around than necessary.

Avoid duplicate VIRTIO_DEVICE() cast.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1d244b42d200c02ad60eb564c75d8adea9243366
      
https://github.com/qemu/qemu/commit/1d244b42d200c02ad60eb564c75d8adea9243366
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/virtio/virtio.c
    M include/hw/virtio/virtio.h

  Log Message:
  -----------
  virtio: Start converting VirtioDevice to QOM realize

Temporarily allow either VirtioDeviceClass::init or
VirtioDeviceClass::realize.

Introduce VirtioDeviceClass::unrealize for symmetry.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 59be75227d3985c9f0a9f5396fc64e357a54defb
      
https://github.com/qemu/qemu/commit/59be75227d3985c9f0a9f5396fc64e357a54defb
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/9pfs/virtio-9p-device.c

  Log Message:
  -----------
  virtio-9p: Convert to QOM realize

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 75884afd5c6c42e523b08565e289dbe319e17ad9
      
https://github.com/qemu/qemu/commit/75884afd5c6c42e523b08565e289dbe319e17ad9
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/block/virtio-blk.c
    M tests/qdev-monitor-test.c

  Log Message:
  -----------
  virtio-blk: Convert to QOM realize

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 863462440d646098d2b83fb0ffa5f165e7f90511
      
https://github.com/qemu/qemu/commit/863462440d646098d2b83fb0ffa5f165e7f90511
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/char/virtio-serial-bus.c

  Log Message:
  -----------
  virtio-serial: Convert to QOM realize

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e6f746b380ad04246e5cce621f174355f39addcd
      
https://github.com/qemu/qemu/commit/e6f746b380ad04246e5cce621f174355f39addcd
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/net/virtio-net.c

  Log Message:
  -----------
  virtio-net: Convert to QOM realize

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 74def47c8c1453a48f9bd61633050cc681e67fba
      
https://github.com/qemu/qemu/commit/74def47c8c1453a48f9bd61633050cc681e67fba
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/virtio/virtio-balloon.c

  Log Message:
  -----------
  virtio-balloon: Convert to QOM realize

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: a8d57dfb28bd8fd8ebddf08d0cfafdcb61a764fb
      
https://github.com/qemu/qemu/commit/a8d57dfb28bd8fd8ebddf08d0cfafdcb61a764fb
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/virtio/virtio-rng.c
    M include/hw/virtio/virtio-rng.h

  Log Message:
  -----------
  virtio-rng: Convert to QOM realize

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 71a6520b83414b4ebe3ecfdee3dc3a70db98c91f
      
https://github.com/qemu/qemu/commit/71a6520b83414b4ebe3ecfdee3dc3a70db98c91f
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/scsi/vhost-scsi.c
    M hw/scsi/virtio-scsi.c
    M include/hw/virtio/virtio-scsi.h

  Log Message:
  -----------
  virtio-scsi: Convert to QOM realize

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0ba94b6f94a5b0bed9f125ce4c3348adc83db5de
      
https://github.com/qemu/qemu/commit/0ba94b6f94a5b0bed9f125ce4c3348adc83db5de
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/scsi/virtio-scsi.c
    M hw/virtio/virtio.c
    M include/hw/virtio/virtio.h

  Log Message:
  -----------
  virtio: Complete converting VirtioDevice to QOM realize

Drop VirtioDeviceClass::init.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 306ec6c3cece7004429c79c1ac93d49919f1f1cc
      
https://github.com/qemu/qemu/commit/306ec6c3cece7004429c79c1ac93d49919f1f1cc
  Author: Andreas Färber <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M hw/block/virtio-blk.c
    M hw/char/virtio-serial-bus.c
    M hw/net/virtio-net.c
    M hw/scsi/vhost-scsi.c
    M hw/scsi/virtio-scsi.c
    M hw/virtio/virtio-balloon.c
    M hw/virtio/virtio-rng.c
    M hw/virtio/virtio.c
    M include/hw/virtio/virtio-scsi.h
    M include/hw/virtio/virtio.h

  Log Message:
  -----------
  virtio: Convert exit to unrealize

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e689f7c668cbd9d08f330e17c3dd3a059c9553d3
      
https://github.com/qemu/qemu/commit/e689f7c668cbd9d08f330e17c3dd3a059c9553d3
  Author: Markus Armbruster <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M include/hw/boards.h
    M vl.c

  Log Message:
  -----------
  hw: Pass QEMUMachine to its init() method

Put it in QEMUMachineInitArgs, so I don't have to touch every board.

Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 83d08f2673504a299194dcac1657a13754b5932a
      
https://github.com/qemu/qemu/commit/83d08f2673504a299194dcac1657a13754b5932a
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/pci-host/piix.c
    M hw/pci-host/q35.c
    M include/hw/i386/pc.h
    M include/hw/pci-host/q35.h

  Log Message:
  -----------
  pc: map PCI address space as catchall region for not mapped addresses

With a help of negative memory region priority PCI address space
is mapped underneath RAM regions effectively catching every access
to addresses not mapped by any other region.
It simplifies PCI address space mapping into system address space.

Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Igor Mammedov <address@hidden>


  Commit: d4fce24f3a59eda081cdf2e38e7001591b95d173
      
https://github.com/qemu/qemu/commit/d4fce24f3a59eda081cdf2e38e7001591b95d173
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M include/sysemu/qtest.h
    M qtest.c
    M vl.c

  Log Message:
  -----------
  qtest: split configuration of qtest accelerator and chardev

qtest uses the icount infrastructure to implement a test-driven vm_clock.  This
however is not necessary when using -qtest as a "probe" together with a normal
TCG-, KVM- or Xen-based virtual machine.  Hence, split out the call to
configure_icount into a new function that is called only for "-machine
accel=qtest"; and disable those commands when running with an accelerator
other than qtest.

This also fixes an assertion failure with "qemu-system-x86_64 -machine
accel=qtest" but no -qtest option.  This is a valid case, albeit somewhat
weird; nothing will happen in the VM but you'll still be able to
interact with the monitor or the GUI.

Now that qtest_init is not limited to an int(void) function, change
global variables that are not used outside qtest_init to arguments.

And finally, cleanup useless parts of include/sysemu/qtest.h.  The file
is not used at all for user-only emulation, and qtest is not available
on Win32 due to its usage of sigwait.

Reported-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Tested-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: ad6423a7fbbaedc4ec1ed41a9688ca4a10909e89
      
https://github.com/qemu/qemu/commit/ad6423a7fbbaedc4ec1ed41a9688ca4a10909e89
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M tests/Makefile
    A tests/acpi-test.c

  Log Message:
  -----------
  acpi-test: basic acpi unit-test

We run bios, and boot a minimal boot sector that immediately halts.
Then poke at memory to find ACPI tables.

This only checks that RSDP is there.
More will be added later.

Cc: Andreas Färber <address@hidden>
Cc: Markus Armbruster <address@hidden>
Cc: Paolo Bonzini <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 046a648661517f63496aaa34ed2647c77cc2ebe5
      
https://github.com/qemu/qemu/commit/046a648661517f63496aaa34ed2647c77cc2ebe5
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: update X86 machine entry

Add a bunch of files missing, and add self as maintainer.  Since I'm
hacking on these anyway, it will be helpful if people Cc me on patches.
Anthony gets to review everything anyway ...

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: cf252e5173e46aa4956b88a95fd09ef7eb38b8a6
      
https://github.com/qemu/qemu/commit/cf252e5173e46aa4956b88a95fd09ef7eb38b8a6
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M hw/pci/pci_bridge.c

  Log Message:
  -----------
  pci: fix address space size for bridge

Address space size for bridge should be full 64 bit,
so we should use UINT64_MAX not INT64_MAX as it's size.

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 286690e34ce04fa29bf812ef2bb7b32c3e7c3b85
      
https://github.com/qemu/qemu/commit/286690e34ce04fa29bf812ef2bb7b32c3e7c3b85
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c

  Log Message:
  -----------
  pc: s/INT64_MAX/UINT64_MAX/

It doesn't make sense for a region to be INT64_MAX in size:
memory core uses UINT64_MAX as a special value meaning
"all 64 bit" this is what was meant here.

While this should never affect the PC system which at the moment always
has < 63 bit size, this makes us hit all kind of corner case bugs with
sub-pages, so users are probably better off if we just use UINT64_MAX
instead.

Reported-by: Luiz Capitulino <address@hidden>
Tested-by: Luiz Capitulino <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 92b8e39c7f582e15f9e9423bc9fd3f186536b073
      
https://github.com/qemu/qemu/commit/92b8e39c7f582e15f9e9423bc9fd3f186536b073
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M hw/ppc/spapr_pci.c

  Log Message:
  -----------
  spapr_pci: s/INT64_MAX/UINT64_MAX/

It doesn't make sense for a region to be INT64_MAX in size:
memory core uses UINT64_MAX as a special value meaning
"all 64 bit" this is what was meant here.

While this should never affect the spapr system which at the moment always
has < 63 bit size, this makes us hit all kind of corner case bugs with
sub-pages, so users are probably better off if we just use UINT64_MAX
instead.

Signed-off-by: Michael S. Tsirkin <address@hidden>
Acked-by: Alexander Graf <address@hidden>


  Commit: 03f4995781a64e106e6f73864a1e9c4163dac53b
      
https://github.com/qemu/qemu/commit/03f4995781a64e106e6f73864a1e9c4163dac53b
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M exec.c
    M translate-all.c
    M translate-all.h

  Log Message:
  -----------
  split definitions for exec.c and translate-all.c radix trees

The exec.c and translate-all.c radix trees are quite different, and
the exec.c one in particular is not limited to the CPU---it can be
used also by devices that do DMA, and in that case the address space
is not limited to TARGET_PHYS_ADDR_SPACE_BITS bits.

We want to make exec.c's radix trees 64-bit wide.  As a first step,
stop sharing the constants between exec.c and translate-all.c.
exec.c gets P_L2_* constants, translate-all.c gets V_L2_*, for
consistency with the existing V_L1_* symbols.  Though actually
in the softmmu case translate-all.c is also indexed by physical
addresses...

This patch has no semantic change.

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 9736e55b78dc49b7f3a265932ab32ed360f633e4
      
https://github.com/qemu/qemu/commit/9736e55b78dc49b7f3a265932ab32ed360f633e4
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: replace leaf with skip

In preparation for dynamic radix tree depth support, rename is_leaf
field to skip, telling us how many bits to skip to next level.
Set to 0 for leaf.

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 8b795765db36544da6193fb64e4e0f1dc55aaa36
      
https://github.com/qemu/qemu/commit/8b795765db36544da6193fb64e4e0f1dc55aaa36
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: extend skip field to 6 bit, page entry to 32 bit

Extend skip to 6 bit. As page entry doesn't fit in 16 bit
any longer anyway, extend it to 32 bit.
This doubles node map memory requirements, but follow-up
patches will save this memory.

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 97115a8d4500abeb090b968f01605e0bdafcdfd3
      
https://github.com/qemu/qemu/commit/97115a8d4500abeb090b968f01605e0bdafcdfd3
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: pass hw address to phys_page_find

callers always shift by target page bits so let's just do this
internally.

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: b35ba30f8fa235c779d876ee299b80a2d501d204
      
https://github.com/qemu/qemu/commit/b35ba30f8fa235c779d876ee299b80a2d501d204
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: memory radix tree page level compression

At the moment, memory radix tree is already variable width, but it can
only skip the low bits of address.

This is efficient if we have huge memory regions but inefficient if we
are only using a tiny portion of the address space.

After we have built up the map, detect
configurations where a single L2 entry is valid.

We then speed up the lookup by skipping one or more levels.
In case any levels were skipped, we might end up in a valid section
instead of erroring out. We handle this by checking that
the address is in range of the resulting section.

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 57271d63c4d93352406704d540453c43a4a241a7
      
https://github.com/qemu/qemu/commit/57271d63c4d93352406704d540453c43a4a241a7
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: make address spaces 64-bit wide

As an alternative to commit 818f86b (exec: limit system memory
size, 2013-11-04) let's just make all address spaces 64-bit wide.
This eliminates problems with phys_page_find ignoring bits above
TARGET_PHYS_ADDR_SPACE_BITS and address_space_translate_internal
consequently messing up the computations.

In Luiz's reported crash, at startup gdb attempts to read from address
0xffffffffffffffe6 to 0xffffffffffffffff inclusive.  The region it gets
is the newly introduced master abort region, which is as big as the PCI
address space (see pci_bus_init).  Due to a typo that's only 2^63-1,
not 2^64.  But we get it anyway because phys_page_find ignores the upper
bits of the physical address.  In address_space_translate_internal then

    diff = int128_sub(section->mr->size, int128_make64(addr));
    *plen = int128_get64(int128_min(diff, int128_make64(*plen)));

diff becomes negative, and int128_get64 booms.

The size of the PCI address space region should be fixed anyway.

Reported-by: Luiz Capitulino <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 026736cebfe0e4a96f0761a2bae62cca92ce2a4e
      
https://github.com/qemu/qemu/commit/026736cebfe0e4a96f0761a2bae62cca92ce2a4e
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: reduce L2_PAGE_SIZE

With the single exception of ppc with 16M pages,
we get the same number of levels
with L2_PAGE_SIZE = 10 as with L2_PAGE_SIZE = 9.

by doing this we reduce memory footprint of a single level
in the node memory map by 2x without runtime overhead.

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: b29ad07ee8ff44115ac9167bba51d1cf59f8649c
      
https://github.com/qemu/qemu/commit/b29ad07ee8ff44115ac9167bba51d1cf59f8649c
  Author: Markus Armbruster <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/i386/smbios.c
    M include/hw/i386/smbios.h

  Log Message:
  -----------
  smbios: Set system manufacturer, product & version by default

Currently, we get SeaBIOS defaults: manufacturer Bochs, product Bochs,
no version.  Best SeaBIOS can do, but we can provide better defaults:
manufacturer QEMU, product & version taken from QEMUMachine desc and
name.

Take care to do this only for new machine types, of course.

Note: Michael Tsirkin doesn't trust us to keep values of QEMUMachine member
product stable in the future.  Use copies instead, and in a way that
makes it obvious that they're guest ABI.

Note that we can be trusted to keep values of member name, because
that has always been ABI.

Reviewed-by: Eduardo Habkost <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 53333801e7bb41487147599e1b16b60ebea74695
      
https://github.com/qemu/qemu/commit/53333801e7bb41487147599e1b16b60ebea74695
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M tests/acpi-test.c

  Log Message:
  -----------
  acpi unit-test: verify signature and checksum

Read all ACPI tables from guest - will be useful for further unit tests.

Follow pointers between ACPI tables checking signature and format for
correctness.  Verify checksum for all tables.

Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 53db092ad1c81c30a617f44e83e8fb9e27c001ba
      
https://github.com/qemu/qemu/commit/53db092ad1c81c30a617f44e83e8fb9e27c001ba
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  acpi: strip compiler info in built-in DSDT

IASL stores it's revision in each table header it generates.
That's not nice since guests will see a change each time they move
between hypervisors.  We generally fill our own info for tables, but we
(and seabios) forgot to do this for the built-in DSDT.

Modifications in DSDT table:
 OEM ID:            "BXPC" -> "BOCHS "
 OEM Table ID:      "BXDSDT" -> "BXPCDSDT"
 Compiler ID:       "INTL" -> "BXPC"
 Compiler Version:  0x20130823 -> 0x00000001

Tested-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 6b9b4405743ffd428f35247516de9e6f4240f73f
      
https://github.com/qemu/qemu/commit/6b9b4405743ffd428f35247516de9e6f4240f73f
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M hw/i386/acpi-dsdt.dsl
    M hw/i386/acpi-dsdt.hex.generated
    M hw/i386/q35-acpi-dsdt.dsl
    M hw/i386/q35-acpi-dsdt.hex.generated

  Log Message:
  -----------
  ACPI DSDT: Make control method `IQCR` serialized

Forward-port the following commit from seabios:

commit 995bbeef78b338370f426bf8d0399038c3fa259c
Author: Paul Menzel <address@hidden>
Date:   Thu Oct 3 11:30:52 2013 +0200

    The ASL Optimizing Compiler version 20130823-32 [Sep 11 2013] issues the
    following warning.
       $ make
      […]
        Compiling IASL out/src/fw/acpi-dsdt.hex
      out/src/fw/acpi-dsdt.dsl.i    360:         Method(IQCR, 1, NotSerialized) 
{
      Remark   2120 -                                     ^ Control Method 
should be made Serialized (due to creation of named objects within)
      […]
      ASL Input:     out/src/fw/acpi-dsdt.dsl.i - 475 lines, 19181 bytes, 316 
keywords
      AML Output:    out/src/fw/acpi-dsdt.aml - 4407 bytes, 159 named objects, 
157 executable opcodes
      Listing File:  out/src/fw/acpi-dsdt.lst - 143715 bytes
      Hex Dump:      out/src/fw/acpi-dsdt.hex - 41661 bytes
       Compilation complete. 0 Errors, 0 Warnings, 1 Remarks, 246 Optimizations
      […]

    After changing the parameter from `NotSerialized` to `Serialized`, the
    remark is indeed gone and there is no size change.

    The remark was added in ACPICA version 20130517 [1] and gives the
    following explanation.
       If a thread blocks within the method for any reason, and another thread
      enters the method, the method will fail because an attempt will be
      made to create the same (named) object twice.
       In this case, issue a remark that the method should be marked
      serialized. ACPICA BZ 909.

    [1] 
https://github.com/acpica/acpica/commit/ba84d0fc18ba910a47a3f71c68a43543c06e6831

    Signed-off-by: Paul Menzel <address@hidden>

Reported-by: Marcel Apfelbaum <address@hidden>
Tested-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 4c41425d2e79f267b2236da31abedb866777d92f
      
https://github.com/qemu/qemu/commit/4c41425d2e79f267b2236da31abedb866777d92f
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-12-11 (Wed, 11 Dec 2013)

  Changed paths:
    M hw/pci/pci.c

  Log Message:
  -----------
  pci: fix pci bridge fw path

qemu uses "pci" as name for pci bridges in the firmware device path.
seabios expects "pci-bridge".  Result is that bootorder is broken for
devices behind pci bridges.

Some googling suggests that "pci-bridge" is the correct one.  At least
PPC-based Apple machines are using this.  See question "How do I boot
from a device attached to a PCI card" here:
        http://www.netbsd.org/ports/macppc/faq.html

So lets change qemu to use "pci-bridge" too.

Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 0d63b2dd31464cfccc80bbeedc24e3863fe4c895
      
https://github.com/qemu/qemu/commit/0d63b2dd31464cfccc80bbeedc24e3863fe4c895
  Author: Liu Ping Fan <address@hidden>
  Date:   2013-12-11 (Wed, 11 Dec 2013)

  Changed paths:
    M hw/timer/hpet.c

  Log Message:
  -----------
  hpet: inverse polarity when pin above ISA_NUM_IRQS

According to hpet spec, hpet irq is high active. But according to
ICH spec, there is inversion before the input of ioapic. So the OS
will expect low active on this IRQ line. (On bare metal, if OS driver
claims high active on this line, spurious irq is generated)

We fold the emulation of this inversion inside the hpet logic.

Signed-off-by: Liu Ping Fan <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 7a10ef51c2397ac4323bc786af02c58b413b5cd2
      
https://github.com/qemu/qemu/commit/7a10ef51c2397ac4323bc786af02c58b413b5cd2
  Author: Liu Ping Fan <address@hidden>
  Date:   2013-12-11 (Wed, 11 Dec 2013)

  Changed paths:
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/timer/hpet.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  hpet: enable to entitle more irq pins for hpet

Owning to some different hardware design, piix and q35 need
different compat. So making them diverge.

On q35, IRQ2/8 can be reserved for hpet timer 0/1. And pin 16~23
can be assigned to hpet as guest chooses. So we introduce intcap
property to do that.

Consider the compat and piix/q35, we finally have the following
value for intcap: For piix, hpet's intcap is hard coded as IRQ2.
For pc-q35-1.7 and earlier, we use IRQ2 for compat reason. Otherwise
IRQ2, IRQ8, and IRQ16~23 are allowed.

Signed-off-by: Liu Ping Fan <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 6307d974f9a28bb6652352f52da97f820427d29d
      
https://github.com/qemu/qemu/commit/6307d974f9a28bb6652352f52da97f820427d29d
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2013-12-11 (Wed, 11 Dec 2013)

  Changed paths:
    M memory.c

  Log Message:
  -----------
  memory.c: bugfix - ref counting mismatch in memory_region_find

'address_space_get_flatview' gets a reference to a FlatView.
If the flatview lookup fails, the code returns without
"unreferencing" the view.

Cc: address@hidden

Signed-off-by: Marcel Apfelbaum <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 53cb28cbfea038f8ad50132dc8a684e638c7d48b
      
https://github.com/qemu/qemu/commit/53cb28cbfea038f8ad50132dc8a684e638c7d48b
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2013-12-11 (Wed, 11 Dec 2013)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: separate sections and nodes per address space

Every address space has its own nodes and sections, but
it uses the same global arrays of nodes/section.

This limits the number of devices that can be attached
to the guest to 20-30 devices. It happens because:
 - The sections array is limited to 2^12 entries.
 - The main memory has at least 100 sections.
 - Each device address space is actually an alias to
   main memory, multiplying its number of nodes/sections.

Remove the limitation by using separate arrays of
nodes and sections for each address space.

Signed-off-by: Marcel Apfelbaum <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 15650602195be9f2957818318457c5d5096ff4c2
      
https://github.com/qemu/qemu/commit/15650602195be9f2957818318457c5d5096ff4c2
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2013-12-11 (Wed, 11 Dec 2013)

  Changed paths:
    M tests/acpi-test.c

  Log Message:
  -----------
  acpi unit-test: load and check facs table

FACS table does not have a checksum, so we can
check at least the signature (existence).

Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 8ac2adf79a06372fe2c50ddac64cfffb93dbfeb8
      
https://github.com/qemu/qemu/commit/8ac2adf79a06372fe2c50ddac64cfffb93dbfeb8
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2013-12-11 (Wed, 11 Dec 2013)

  Changed paths:
    M tests/acpi-test.c

  Log Message:
  -----------
  acpi unit-test: adjust the test data structure for better handling

Ensure more then one instance of test_data may exist
at a given time. It will help to compare different
acpi table versions.

Signed-off-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 142e0950cfaf023a81112dc3cdfa799d769886a4
      
https://github.com/qemu/qemu/commit/142e0950cfaf023a81112dc3cdfa799d769886a4
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-11 (Wed, 11 Dec 2013)

  Changed paths:
    M hw/timer/hpet.c
    M include/hw/timer/hpet.h

  Log Message:
  -----------
  hpet: fix build with CONFIG_HPET off

make hpet_find inline so we don't need
to build hpet.c to check if hpet is enabled.

Fixes link error with CONFIG_HPET off.

Cc: address@hidden
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 511161027a0ecab6e12107128adeb8a884c5bcbe
      
https://github.com/qemu/qemu/commit/511161027a0ecab6e12107128adeb8a884c5bcbe
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2013-12-11 (Wed, 11 Dec 2013)

  Changed paths:
    M hw/i386/pc.c

  Log Message:
  -----------
  pc: use macro for HPET type

avoid hard-coding strings

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: bf6e3cc4fadaa6884dd1e561215f5d93cfe4f5f3
      
https://github.com/qemu/qemu/commit/bf6e3cc4fadaa6884dd1e561215f5d93cfe4f5f3
  Author: Anthony Liguori <address@hidden>
  Date:   2013-12-13 (Fri, 13 Dec 2013)

  Changed paths:
    M block/iscsi.c
    M configure
    M hw/scsi/scsi-bus.c
    M hw/scsi/scsi-disk.c
    M qemu-options.hx

  Log Message:
  -----------
  Merge remote-tracking branch 'bonzini/scsi-next' into staging

# By Paolo Bonzini (4) and Peter Lieven (1)
# Via Paolo Bonzini
* bonzini/scsi-next:
  help: add id suboption to -iscsi
  scsi-disk: fix WRITE SAME with large non-zero payload
  block/iscsi: introduce bdrv_co_{readv, writev, flush_to_disk}
  scsi-disk: fix VERIFY emulation
  scsi-bus: fix transfer length and direction for VERIFY command

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 5d0e2280cc344f1b939acff431ed2731a9ee7db5
      
https://github.com/qemu/qemu/commit/5d0e2280cc344f1b939acff431ed2731a9ee7db5
  Author: Anthony Liguori <address@hidden>
  Date:   2013-12-13 (Fri, 13 Dec 2013)

  Changed paths:
    M MAINTAINERS
    M exec.c
    M hw/i386/acpi-build.c
    M hw/i386/acpi-dsdt.dsl
    M hw/i386/acpi-dsdt.hex.generated
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/i386/q35-acpi-dsdt.dsl
    M hw/i386/q35-acpi-dsdt.hex.generated
    M hw/i386/smbios.c
    M hw/pci-host/piix.c
    M hw/pci-host/q35.c
    M hw/pci/pci.c
    M hw/pci/pci_bridge.c
    M hw/ppc/spapr_pci.c
    M hw/timer/hpet.c
    M include/hw/boards.h
    M include/hw/i386/pc.h
    M include/hw/i386/smbios.h
    M include/hw/pci-host/q35.h
    M include/hw/timer/hpet.h
    M include/sysemu/qtest.h
    M memory.c
    M qtest.c
    M tests/Makefile
    A tests/acpi-test.c
    M translate-all.c
    M translate-all.h
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'mst/tags/for_anthony' into staging

acpi.pci,pc,memory core fixes

Most notably this includes changes to exec to support
full 64 bit addresses.

This also flushes out patches that got queued during 1.7 freeze.
There are new tests, and a bunch of bug fixes all over the place.
There are also some changes mostly useful for downstreams.

I'm also listing myself as pc co-maintainer. I'm doing this reluctantly,
but this seems to be necessary to make sure patches are not lost or delayed too
much, and posting the MAINTAINERS patch did not seem to make anyone else
volunteer.

Signed-off-by: Michael S. Tsirkin <address@hidden>

# gpg: Signature made Wed 11 Dec 2013 10:21:51 AM PST using RSA key ID D28D5469
# gpg: Can't check signature: public key not found

# By Michael S. Tsirkin (14) and others
# Via Michael S. Tsirkin
* mst/tags/for_anthony: (28 commits)
  pc: use macro for HPET type
  hpet: fix build with CONFIG_HPET off
  acpi unit-test: adjust the test data structure for better handling
  acpi unit-test: load and check facs table
  exec: separate sections and nodes per address space
  memory.c: bugfix - ref counting mismatch in memory_region_find
  hpet: enable to entitle more irq pins for hpet
  hpet: inverse polarity when pin above ISA_NUM_IRQS
  pci: fix pci bridge fw path
  ACPI DSDT: Make control method `IQCR` serialized
  acpi: strip compiler info in built-in DSDT
  acpi unit-test: verify signature and checksum
  smbios: Set system manufacturer, product & version by default
  exec: reduce L2_PAGE_SIZE
  exec: make address spaces 64-bit wide
  exec: memory radix tree page level compression
  exec: pass hw address to phys_page_find
  exec: extend skip field to 6 bit, page entry to 32 bit
  exec: replace leaf with skip
  split definitions for exec.c and translate-all.c radix trees
  ...

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: e157b8fdd412d48eacfbb8c67d3d58780154faa3
      
https://github.com/qemu/qemu/commit/e157b8fdd412d48eacfbb8c67d3d58780154faa3
  Author: Anthony Liguori <address@hidden>
  Date:   2013-12-13 (Fri, 13 Dec 2013)

  Changed paths:
    M hw/9pfs/virtio-9p-device.c
    M hw/block/dataplane/virtio-blk.c
    M hw/block/dataplane/virtio-blk.h
    M hw/block/virtio-blk.c
    M hw/char/virtio-serial-bus.c
    M hw/net/virtio-net.c
    M hw/s390x/virtio-ccw.c
    M hw/s390x/virtio-ccw.h
    M hw/scsi/vhost-scsi.c
    M hw/scsi/virtio-scsi.c
    M hw/virtio/virtio-balloon.c
    M hw/virtio/virtio-bus.c
    M hw/virtio/virtio-mmio.c
    M hw/virtio/virtio-pci.c
    M hw/virtio/virtio-pci.h
    M hw/virtio/virtio-rng.c
    M hw/virtio/virtio.c
    M include/hw/virtio/virtio-bus.h
    M include/hw/virtio/virtio-rng.h
    M include/hw/virtio/virtio-scsi.h
    M include/hw/virtio/virtio.h
    M tests/qdev-monitor-test.c

  Log Message:
  -----------
  Merge remote-tracking branch 'bonzini/virtio' into staging

# By Andreas Färber (18) and Paolo Bonzini (12)
# Via Paolo Bonzini
* bonzini/virtio: (30 commits)
  virtio: Convert exit to unrealize
  virtio: Complete converting VirtioDevice to QOM realize
  virtio-scsi: Convert to QOM realize
  virtio-rng: Convert to QOM realize
  virtio-balloon: Convert to QOM realize
  virtio-net: Convert to QOM realize
  virtio-serial: Convert to QOM realize
  virtio-blk: Convert to QOM realize
  virtio-9p: Convert to QOM realize
  virtio: Start converting VirtioDevice to QOM realize
  virtio-scsi: QOM realize preparations
  virtio-rng: QOM realize preparations
  virtio-balloon: QOM realize preparations
  virtio-net: QOM realize preparations
  virtio-serial: QOM realize preparations
  virtio-blk: QOM realize preparations
  virtio-9p: QOM realize preparations
  virtio-blk-dataplane: Improve error reporting
  virtio-pci: add device_unplugged callback
  virtio-rng: switch exit callback to VirtioDeviceClass
  ...


Compare: https://github.com/qemu/qemu/compare/47acdd63a33a...e157b8fdd412

reply via email to

[Prev in Thread] Current Thread [Next in Thread]