qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 5accc8: scsi: prefer UUID to VM name for the


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 5accc8: scsi: prefer UUID to VM name for the initiator nam...
Date: Tue, 17 Sep 2013 09:00:11 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 5accc8408f2dac1e00d888e4fe75e6174ba2a940
      
https://github.com/qemu/qemu/commit/5accc8408f2dac1e00d888e4fe75e6174ba2a940
  Author: Paolo Bonzini <address@hidden>
  Date:   2013-09-11 (Wed, 11 Sep 2013)

  Changed paths:
    M block/iscsi.c
    M include/sysemu/sysemu.h
    M stubs/Makefile.objs
    A stubs/uuid.c

  Log Message:
  -----------
  scsi: prefer UUID to VM name for the initiator name

The UUID is unique even across multiple hosts, thus it is
better than a VM name even if it is less user-friendly.

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


  Commit: eb37f14658df23c51f172bddb0c45eecf408927c
      
https://github.com/qemu/qemu/commit/eb37f14658df23c51f172bddb0c45eecf408927c
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2013-09-11 (Wed, 11 Sep 2013)

  Changed paths:
    M hw/scsi/spapr_vscsi.c
    M hw/scsi/srp.h

  Log Message:
  -----------
  spapr-vscsi: add task management

At the moment the guest kernel issues two types of task management
requests to the hypervisor - task about and lun reset. This adds
handling for these tasks. As spapr-vscsi starts calling scsi_req_cancel(),
free_request callback was implemented.

As virtio-vscsi, spapr-vscsi does not handle CLEAR_ACA either as CDB
control byte does not seem to be used at all so NACA bit is not
set to the guest so the guest has no good reason to call CLEAR_ACA task.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
[Fix choice of UCSOLCNT vs. SCSOLCNT. - Paolo]
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: a27292b5d7545509bfa171922516d2033c570205
      
https://github.com/qemu/qemu/commit/a27292b5d7545509bfa171922516d2033c570205
  Author: Markus Armbruster <address@hidden>
  Date:   2013-09-11 (Wed, 11 Sep 2013)

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

  Log Message:
  -----------
  virtio-scsi: Make type virtio-scsi-common abstract

It's the abstract base of virtio-scsi-device and vhost-scsi.

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


  Commit: c24e7517ee4a98e90eee5f0f07708a1fa12326b3
      
https://github.com/qemu/qemu/commit/c24e7517ee4a98e90eee5f0f07708a1fa12326b3
  Author: Markus Armbruster <address@hidden>
  Date:   2013-09-11 (Wed, 11 Sep 2013)

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

  Log Message:
  -----------
  scsi: Fix scsi_bus_legacy_add_drive() scsi-generic with serial

scsi_bus_legacy_add_drive() creates either a scsi-disk or a
scsi-generic device.  It sets property "serial" to argument serial
unless null.  Crashes with scsi-generic, because it doesn't have such
the property.

Only usb_msd_initfn_storage() passes non-null serial.  Reproducer:

    $ qemu-system-x86_64 -nodefaults -display none -S -usb \
    -drive if=none,file=/dev/sg1,id=usb-drv0 \
    -device usb-storage,id=usb-msd0,drive=usb-drv0,serial=123
    qemu-system-x86_64: -device 
usb-storage,id=usb-msd0,drive=usb-drv0,serial=123: Property '.serial' not found
    Aborted (core dumped)

Fix by handling exactly like "removable": set the property only when
it exists.

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


  Commit: 927941059b95c3cc6264241115a23b1d14f1beb0
      
https://github.com/qemu/qemu/commit/927941059b95c3cc6264241115a23b1d14f1beb0
  Author: Peter Maydell <address@hidden>
  Date:   2013-09-11 (Wed, 11 Sep 2013)

  Changed paths:
    M hw/scsi/lsi53c895a.c

  Log Message:
  -----------
  hw/scsi/lsi53c895a: Use sextract32 for sign-extension

Use sextract32() for doing sign-extension rather than rolling
our own implementation.

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


  Commit: 57ffcc4c83331cb4b2639a866b6ecc11b3e7092c
      
https://github.com/qemu/qemu/commit/57ffcc4c83331cb4b2639a866b6ecc11b3e7092c
  Author: Peter Maydell <address@hidden>
  Date:   2013-09-11 (Wed, 11 Sep 2013)

  Changed paths:
    M hw/scsi/lsi53c895a.c

  Log Message:
  -----------
  hw/scsi/lsi53c895a: Use deposit32 rather than handcoded shift/mask

Use deposit32() rather than handcoded shifts/masks to update the
scratch registers. This is cleaner and incidentally avoids a clang
sanitizer complaint ("runtime error: left shift of 255 by 24 places
cannot be represented in type 'int'").

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


  Commit: f18a7cbb0992a02225d26afd336aaf47de75e11c
      
https://github.com/qemu/qemu/commit/f18a7cbb0992a02225d26afd336aaf47de75e11c
  Author: Peter Lieven <address@hidden>
  Date:   2013-09-11 (Wed, 11 Sep 2013)

  Changed paths:
    M block/iscsi.c

  Log Message:
  -----------
  iscsi: add logical block provisioning information to iscsilun

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


  Commit: 54a5c1d5db47b4146490937ed73e3f56022aaba6
      
https://github.com/qemu/qemu/commit/54a5c1d5db47b4146490937ed73e3f56022aaba6
  Author: Peter Lieven <address@hidden>
  Date:   2013-09-11 (Wed, 11 Sep 2013)

  Changed paths:
    M block/iscsi.c

  Log Message:
  -----------
  iscsi: add .bdrv_get_block_status

this patch adds a coroutine for .bdrv_co_block_status as well as
a generic framework that can be used to build coroutines in block/iscsi.

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


  Commit: b0d768c35e08d2057b63e8e77e7a513c447199fa
      
https://github.com/qemu/qemu/commit/b0d768c35e08d2057b63e8e77e7a513c447199fa
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  chardev: fix pty_chr_timer

pty_chr_timer first calls pty_chr_update_read_handler(), then clears
timer_tag (because it is a one-shot timer).   This is the wrong order
though.  pty_chr_update_read_handler might re-arm time timer, and the
new timer_tag gets overwitten in that case.

This leads to crashes when unplugging a pty chardev:  pty_chr_close
thinks no timer is running -> timer isn't canceled -> pty_chr_timer gets
called with stale CharDevState -> BOOM.

This patch fixes the ordering.
Kill the pointless goto while being at it.

https://bugzilla.redhat.com/show_bug.cgi?id=994414

Cc: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 670df5e3b4b5ef830a7c3c970170dbfa11cbb8d2
      
https://github.com/qemu/qemu/commit/670df5e3b4b5ef830a7c3c970170dbfa11cbb8d2
  Author: Kevin Wolf <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block/qcow2-cluster.c
    M block/qcow2.c
    M block/qcow2.h

  Log Message:
  -----------
  qcow2: Pass discard type to qcow2_discard_clusters()

The function will be used internally instead of only being called for
guest discard requests.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>


  Commit: 1ebf561c11302f4fbe4afdd82758fe053cf1d5fc
      
https://github.com/qemu/qemu/commit/1ebf561c11302f4fbe4afdd82758fe053cf1d5fc
  Author: Kevin Wolf <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block/qcow2-snapshot.c
    M block/qcow2.c
    M block/qcow2.h

  Log Message:
  -----------
  qcow2: Discard VM state in active L1 after creating snapshot

During savevm, the VM state is written to the active L1 of the image and
then a snapshot is taken. After that, the VM state isn't needed any more
in the active L1 and should be discarded. This is implemented by this
patch.

The impact of not discarding the VM state is that a snapshot can never
become smaller than any previous snapshot (because it would be padded
with old VM state), and more importantly that future savevm operations
cause unnecessary COWs (with associated flushes), which makes subsequent
snapshots much slower.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>


  Commit: 56e023af805215260c71d44f5b5a98087f4920d2
      
https://github.com/qemu/qemu/commit/56e023af805215260c71d44f5b5a98087f4920d2
  Author: Tal Kain <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block/raw-win32.c

  Log Message:
  -----------
  raw-win32.c: Fix incorrect handling behaviour of small block files

It is a valid case that the read data's size is smaller than the
requested size since there could be files that are smaller than
the minimum block size (For ex. when a VMDK disk descriptor file)

Signed-off-by: Tal Kain <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 6f176b48f9f98820ed192a1355cc1c7c08ddf46b
      
https://github.com/qemu/qemu/commit/6f176b48f9f98820ed192a1355cc1c7c08ddf46b
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block.c
    M include/block/block.h
    M include/block/block_int.h
    M qemu-img-cmds.hx
    M qemu-img.c
    M qemu-img.texi

  Log Message:
  -----------
  block: Image file option amendment

This patch adds the "amend" option to qemu-img which allows changing
image options on existing image files. It also adds the generic bdrv
implementation which is basically just a wrapper for the image format
specific function.

Signed-off-by: Max Reitz <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: e7108feaace8e02b3a4bf010448fc2744f753381
      
https://github.com/qemu/qemu/commit/e7108feaace8e02b3a4bf010448fc2744f753381
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block/qcow2-cache.c
    M block/qcow2.h

  Log Message:
  -----------
  qcow2-cache: Empty cache

Add a function for emptying a cache, i.e., flushing it and marking all
elements invalid.

Signed-off-by: Max Reitz <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 32b6444d23d0ff618d73e5b766600cd258066169
      
https://github.com/qemu/qemu/commit/32b6444d23d0ff618d73e5b766600cd258066169
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block/qcow2-cluster.c
    M block/qcow2-refcount.c
    M block/qcow2.h

  Log Message:
  -----------
  qcow2-cluster: Expand zero clusters

Add functionality for expanding zero clusters. This is necessary for
downgrading the image version to one without zero cluster support.

For non-backed images, this function may also just discard zero clusters
instead of truly expanding them.

Signed-off-by: Max Reitz <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: b6481f376bc65894910dd98db3f299d698817106
      
https://github.com/qemu/qemu/commit/b6481f376bc65894910dd98db3f299d698817106
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block/qcow2.c
    M block/qcow2.h

  Log Message:
  -----------
  qcow2: Save refcount order in BDRVQcowState

Save the image refcount order in BDRVQcowState. This will be relevant
for future code supporting different refcount orders than four and also
for code that needs to verify a certain refcount order for an opened
image.

Signed-off-by: Max Reitz <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 9296b3ed7050cc6e0645fbc3b0aea74406d7eeb2
      
https://github.com/qemu/qemu/commit/9296b3ed7050cc6e0645fbc3b0aea74406d7eeb2
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block/qcow2.c

  Log Message:
  -----------
  qcow2: Implement bdrv_amend_options

Implement bdrv_amend_options for compat, size, backing_file, backing_fmt
and lazy_refcounts.

Downgrading images from compat=1.1 to compat=0.10 is achieved through
handling all incompatible flags accordingly, clearing all compatible and
autoclear flags and expanding all zero clusters.

Signed-off-by: Max Reitz <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: a8110c3d327cabff8dc258c5c8705903b56c1513
      
https://github.com/qemu/qemu/commit/a8110c3d327cabff8dc258c5c8705903b56c1513
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    A tests/qemu-iotests/061
    A tests/qemu-iotests/061.out
    M tests/qemu-iotests/group

  Log Message:
  -----------
  qemu-iotest: qcow2 image option amendment

Add tests for qemu-img amend on qcow2 image files.

Signed-off-by: Max Reitz <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: f93296eaffcb3753f680f2dcffea2637f14f2092
      
https://github.com/qemu/qemu/commit/f93296eaffcb3753f680f2dcffea2637f14f2092
  Author: Wenchao Xia <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M configure
    M tests/Makefile
    A tests/qemu-iotests/socket_scm_helper.c

  Log Message:
  -----------
  qemu-iotests: add unix socket help program

This program can do a sendmsg call to transfer fd with unix
socket, which is not supported in python2.

The built binary will not be deleted in clean, but it is a
existing issue in ./tests, which should be solved in another
patch.

Signed-off-by: Wenchao Xia <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 30b005d9d75af6388899fad2f462efb8af2b25b3
      
https://github.com/qemu/qemu/commit/30b005d9d75af6388899fad2f462efb8af2b25b3
  Author: Wenchao Xia <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M QMP/qmp.py
    M tests/qemu-iotests/check
    M tests/qemu-iotests/iotests.py

  Log Message:
  -----------
  qemu-iotests: add infrastructure of fd passing via SCM

This patch make use of the compiled scm helper program to transfer
fd via unix socket at runtime.

Signed-off-by: Wenchao Xia <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: fd9c577b24818e0051e93c4f1e3db7262869f162
      
https://github.com/qemu/qemu/commit/fd9c577b24818e0051e93c4f1e3db7262869f162
  Author: Wenchao Xia <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M tests/qemu-iotests/045
    M tests/qemu-iotests/045.out

  Log Message:
  -----------
  qemu-iotests: add tests for runtime fd passing via SCM rights

This case will test whether the monitor can receive fd at runtime.
To verify better, additional monitor is created to see if qemu
can handler two monitor instances correctly.

Signed-off-by: Wenchao Xia <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: d982919d3897f36d79e215c46e3bc27fd6e27bf8
      
https://github.com/qemu/qemu/commit/d982919d3897f36d79e215c46e3bc27fd6e27bf8
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M tests/qemu-iotests/061
    M tests/qemu-iotests/061.out

  Log Message:
  -----------
  qemu-iotests: New test case in 061

Add one test case for zero cluster expansion on qcow2 version downgrade
in shared L2 tables (i.e., L2 tables with a refcount > 1) and one for
zero expansion on backed clusters in shared L2 tables.

Signed-off-by: Max Reitz <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 2ea1dd758c45f8ff12c67ed7934c3ce021eeaf12
      
https://github.com/qemu/qemu/commit/2ea1dd758c45f8ff12c67ed7934c3ce021eeaf12
  Author: Wenchao Xia <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block/snapshot.c
    M include/block/snapshot.h

  Log Message:
  -----------
  snapshot: new function bdrv_snapshot_find_by_id_and_name()

To make it clear about id and name in searching, add this API
to distinguish them. Caller can choose to search by id or name,
*errp will be set only for exception.

Some code are modified based on Pavel's patch.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Pavel Hrdina <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: a89d89d3e65800fa4a8e00de7af0ea8272bef779
      
https://github.com/qemu/qemu/commit/a89d89d3e65800fa4a8e00de7af0ea8272bef779
  Author: Wenchao Xia <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block/qcow2-snapshot.c
    M block/qcow2.h
    M block/rbd.c
    M block/sheepdog.c
    M block/snapshot.c
    M include/block/block_int.h
    M include/block/snapshot.h
    M qemu-img.c
    M savevm.c

  Log Message:
  -----------
  snapshot: distinguish id and name in snapshot delete

Snapshot creation actually already distinguish id and name since it take
a structured parameter *sn, but delete can't. Later an accurate delete
is needed in qmp_transaction abort and blockdev-snapshot-delete-sync,
so change its prototype. Also *errp is added to tip error, but return
value is kepted to let caller check what kind of error happens. Existing
caller for it are savevm, delvm and qemu-img, they are not impacted by
introducing a new function bdrv_snapshot_delete_by_id_or_name(), which
check the return value and do the operation again.

Before this patch:
  For qcow2, it search id first then name to find the one to delete.
  For rbd, it search name.
  For sheepdog, it does nothing.

After this patch:
  For qcow2, logic is the same by call it twice in caller.
  For rbd, it always fails in delete with id, but still search for name
in second try, no change to user.

Some code for *errp is based on Pavel's patch.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Pavel Hrdina <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: bbe860104f0544d7863296606e042cc62bf7ab4b
      
https://github.com/qemu/qemu/commit/bbe860104f0544d7863296606e042cc62bf7ab4b
  Author: Wenchao Xia <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M blockdev.c
    M qapi-schema.json
    M qmp-commands.hx

  Log Message:
  -----------
  qmp: add internal snapshot support in qmp_transaction

Unlike savevm, the qmp_transaction interface will not generate
snapshot name automatically, saving trouble to return information
of the new created snapshot.

Although qcow2 support storing multiple snapshots with same name
but different ID, here it will fail when an snapshot with that name
already exist before the operation. Format such as rbd do not support
ID at all, and in most case, it means trouble to user when he faces
multiple snapshots with same name, so ban that case. Request with
empty name will be rejected.

Snapshot ID can't be specified in this interface.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: f323bc9e8b3b46ad28402995a9dcaaeff3eb5e03
      
https://github.com/qemu/qemu/commit/f323bc9e8b3b46ad28402995a9dcaaeff3eb5e03
  Author: Wenchao Xia <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M blockdev.c
    M qapi-schema.json
    M qmp-commands.hx

  Log Message:
  -----------
  qmp: add interface blockdev-snapshot-internal-sync

Snapshot ID can't be specified in this interface.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 44e3e053af56c1faec79ac9fdd78ef3f0ecd467e
      
https://github.com/qemu/qemu/commit/44e3e053af56c1faec79ac9fdd78ef3f0ecd467e
  Author: Wenchao Xia <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M blockdev.c
    M include/qemu-common.h
    M qapi-schema.json
    M qmp-commands.hx

  Log Message:
  -----------
  qmp: add interface blockdev-snapshot-delete-internal-sync

This interface use id and name as optional parameters, to handle the
case that one image contain multiple snapshots with same name which
may be '', but with different id.

Adding parameter id is for historical compatiability reason, and
that case is not possible in qemu's new interface for internal
snapshot at block device level, but still possible in qemu-img.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 775ca88e8205248929a3f141925eafe2ec1e3275
      
https://github.com/qemu/qemu/commit/775ca88e8205248929a3f141925eafe2ec1e3275
  Author: Wenchao Xia <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M hmp-commands.hx
    M hmp.c
    M hmp.h

  Log Message:
  -----------
  hmp: add interface hmp_snapshot_blkdev_internal

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 7a4ed2ee4215eee80d2ae02097bbf63a33748fda
      
https://github.com/qemu/qemu/commit/7a4ed2ee4215eee80d2ae02097bbf63a33748fda
  Author: Wenchao Xia <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M hmp-commands.hx
    M hmp.c
    M hmp.h

  Log Message:
  -----------
  hmp: add interface hmp_snapshot_delete_blkdev_internal

It is hard to make both id and name optional in hmp console as qmp
interface, so this interface require user to specify name.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 8023090be592514dea4975428543edd598c65fc3
      
https://github.com/qemu/qemu/commit/8023090be592514dea4975428543edd598c65fc3
  Author: Wenchao Xia <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    A tests/qemu-iotests/057
    A tests/qemu-iotests/057.out
    M tests/qemu-iotests/group

  Log Message:
  -----------
  qemu-iotests: add 057 internal snapshot for block device test case

Create in transaction and deletion in single command will be tested.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 015a1036a74ad29bb6916754911ce25587ff4db3
      
https://github.com/qemu/qemu/commit/015a1036a74ad29bb6916754911ce25587ff4db3
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block.c
    M block/blkdebug.c
    M block/blkverify.c
    M block/bochs.c
    M block/cloop.c
    M block/cow.c
    M block/curl.c
    M block/dmg.c
    M block/gluster.c
    M block/iscsi.c
    M block/nbd.c
    M block/parallels.c
    M block/qcow.c
    M block/qcow2.c
    M block/qed.c
    M block/raw-posix.c
    M block/raw-win32.c
    M block/raw_bsd.c
    M block/rbd.c
    M block/sheepdog.c
    M block/snapshot.c
    M block/ssh.c
    M block/vdi.c
    M block/vhdx.c
    M block/vmdk.c
    M block/vpc.c
    M block/vvfat.c
    M include/block/block_int.h

  Log Message:
  -----------
  bdrv: Use "Error" for opening images

Add an Error ** parameter to BlockDriver.bdrv_open and
BlockDriver.bdrv_file_open to allow more specific error messages.

Signed-off-by: Max Reitz <address@hidden>


  Commit: d5124c00d80b4d948509f2c7f6b54228d9981f75
      
https://github.com/qemu/qemu/commit/d5124c00d80b4d948509f2c7f6b54228d9981f75
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block.c
    M block/cow.c
    M block/gluster.c
    M block/iscsi.c
    M block/qcow.c
    M block/qcow2.c
    M block/qed.c
    M block/raw-posix.c
    M block/raw-win32.c
    M block/raw_bsd.c
    M block/rbd.c
    M block/sheepdog.c
    M block/ssh.c
    M block/vdi.c
    M block/vmdk.c
    M block/vpc.c
    M include/block/block_int.h

  Log Message:
  -----------
  bdrv: Use "Error" for creating images

Add an Error ** parameter to BlockDriver.bdrv_create to allow more
specific error messages.

Signed-off-by: Max Reitz <address@hidden>


  Commit: 34b5d2c68eb4082c288e70fb99c61af8f7b96fde
      
https://github.com/qemu/qemu/commit/34b5d2c68eb4082c288e70fb99c61af8f7b96fde
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block.c
    M block/blkdebug.c
    M block/blkverify.c
    M block/cow.c
    M block/mirror.c
    M block/qcow.c
    M block/qcow2.c
    M block/qed.c
    M block/sheepdog.c
    M block/vmdk.c
    M block/vvfat.c
    M blockdev.c
    M hw/block/xen_disk.c
    M include/block/block.h
    M qemu-img.c
    M qemu-io.c
    M qemu-nbd.c

  Log Message:
  -----------
  block: Error parameter for open functions

Add an Error ** parameter to bdrv_open, bdrv_file_open and associated
functions to allow more specific error messages.

Signed-off-by: Max Reitz <address@hidden>


  Commit: cc84d90ff54c025190dbe49ec5fea1268217c5f2
      
https://github.com/qemu/qemu/commit/cc84d90ff54c025190dbe49ec5fea1268217c5f2
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block.c
    M block/cow.c
    M block/qcow.c
    M block/qcow2.c
    M block/qed.c
    M block/raw_bsd.c
    M block/vvfat.c
    M include/block/block.h
    M qemu-img.c

  Log Message:
  -----------
  block: Error parameter for create functions

Add an Error ** parameter to bdrv_create and its associated functions to
allow more specific error messages.

Signed-off-by: Max Reitz <address@hidden>


  Commit: b70d8c237a0e5e829474c3a12c8783893c4e470e
      
https://github.com/qemu/qemu/commit/b70d8c237a0e5e829474c3a12c8783893c4e470e
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M qemu-img.c

  Log Message:
  -----------
  qemu-img create: Emit filename on error

bdrv_img_create generally does not emit the target filename, although
this is pretty important information. Therefore, prepend its error
message with the output filename (if an error occurs).

Signed-off-by: Max Reitz <address@hidden>


  Commit: 3ef6c40ad0b350e18c78135ffbdbe209cb479c1f
      
https://github.com/qemu/qemu/commit/3ef6c40ad0b350e18c78135ffbdbe209cb479c1f
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block/qcow2.c

  Log Message:
  -----------
  qcow2: Use Error parameter

Employ usage of the new Error ** parameter in qcow2_open, qcow2_create
and associated functions.

Signed-off-by: Max Reitz <address@hidden>


  Commit: 2c78857bf6a9b5d06e17533b8f40fee14e087987
      
https://github.com/qemu/qemu/commit/2c78857bf6a9b5d06e17533b8f40fee14e087987
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M tests/qemu-iotests/049.out
    M tests/qemu-iotests/051.out
    M tests/qemu-iotests/054.out
    M tests/qemu-iotests/060
    M tests/qemu-iotests/060.out
    M tests/qemu-iotests/common.rc

  Log Message:
  -----------
  qemu-iotests: Adjustments due to error propagation

When opening/creating images, propagating errors instead of immediately
emitting them on occurrence results in errors generally being printed on
a single line rather than being split up into multiple ones. This in
turn requires adjustments to some test results.

Also, test 060 used a sed to filter out the test image directory and
format by removing everything from the affected line after a certain
keyword; this now also removes the error message itself, which can be
fixed by using _filter_testdir and _filter_imgfmt.

Finally, _make_test_img in common.rc did not filter out the test image
directory etc. from stderr. This has been fixed through a redirection of
stderr to stdout (which is already done in _check_test_img and
_img_info).

Signed-off-by: Max Reitz <address@hidden>


  Commit: 70c60c089fdc6bf8a79324e492c13e8c08d55942
      
https://github.com/qemu/qemu/commit/70c60c089fdc6bf8a79324e492c13e8c08d55942
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M configure
    M qemu-coroutine.c

  Log Message:
  -----------
  coroutine: add ./configure --disable-coroutine-pool

The 'gthread' coroutine backend was written before the freelist (aka
pool) existed in qemu-coroutine.c.

This means that every thread is expected to exit when its coroutine
terminates.  It is not possible to reuse threads from a pool.

This patch automatically disables the pool when 'gthread' is used.  This
allows the 'gthread' backend to work again (for example,
tests/test-coroutine completes successfully instead of hanging).

I considered implementing thread reuse but I don't want quirks like CPU
affinity differences due to coroutine threads being recycled.  The
'gthread' backend is a reference backend and it's therefore okay to skip
the pool optimization.

Note this patch also makes it easy to toggle the pool for benchmarking
purposes:

  ./configure --with-coroutine-backend=ucontext \
        --disable-coroutine-pool

Reported-by: Gabriel Kerneis <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Gabriel Kerneis <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 65f3e33964bc4bb634d61463814a4ccca794e3c0
      
https://github.com/qemu/qemu/commit/65f3e33964bc4bb634d61463814a4ccca794e3c0
  Author: Peter Lieven <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M block/iscsi.c

  Log Message:
  -----------
  iscsi: split discard requests in multiple parts

Replace .bdrv_aio_discard with .bdrv_co_discard so that discard
requests can be split in multiple parts, each for a small amount
of sectors.

This is useful because we expose a generic API with no limit
on the amount of sectors that can be unmapped in one request.

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


  Commit: 26573a0c1f0427be168a537abccbcc942e07aa72
      
https://github.com/qemu/qemu/commit/26573a0c1f0427be168a537abccbcc942e07aa72
  Author: Nikunj A. Dadhania <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M hw/scsi/spapr_vscsi.c

  Log Message:
  -----------
  spapr-vscsi: Adding VSCSI capabilities

This implements capabilities exchange between vscsi host and client.  As
at the moment no capability is supported, put zero flags everywhere and
return.

Signed-off-by: Nikunj A Dadhania <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Nikunj A. Dadhania <address@hidden>


  Commit: f4ff3b7ba1bcb77d5b5cdbd6e695df793761170b
      
https://github.com/qemu/qemu/commit/f4ff3b7ba1bcb77d5b5cdbd6e695df793761170b
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M hw/scsi/spapr_vscsi.c

  Log Message:
  -----------
  spapr-vscsi: Report error on unsupported MAD requests

The existing driver just dropped unsupported requests. This adds error
responses to those unhandled requests.

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


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

  Changed paths:
    M qemu-img.c

  Log Message:
  -----------
  qemu-img: fix invalid JSON

Single quotes for JSON are a QMP-ism, use real JSON in
qemu-img output.

Reported-by: Kevin Wolf <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 4aa846f25e7cf14c77f699d8c1dfdfeddb091161
      
https://github.com/qemu/qemu/commit/4aa846f25e7cf14c77f699d8c1dfdfeddb091161
  Author: Bharata B Rao <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M tests/qemu-iotests/007

  Log Message:
  -----------
  qemu-iotests: Cleanup test image in test number 007

qemu-iotests number 007 doesn't do test image cleanup. This will affect
those protocols that expect a clean state before every test. Hence
ensure that test image is cleaned up in this test.

Signed-off-by: Bharata B Rao <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: aa3fe714f70654da47d9c2659b2d9ee295a9d930
      
https://github.com/qemu/qemu/commit/aa3fe714f70654da47d9c2659b2d9ee295a9d930
  Author: Max Reitz <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M blockdev.c

  Log Message:
  -----------
  block: Assert validity of BdrvActionOps

In qmp_transaction, assert that the BdrvActionOps to be used is actually
valid.

This assertion failing is very improbable, however, it might happen, if
a new TransactionActionKind is introduced "out of order" and the
actions[] array is not updated.

Signed-off-by: Max Reitz <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: dfeaf2abc73429171ecc5b0b26ac4e5a24c047fc
      
https://github.com/qemu/qemu/commit/dfeaf2abc73429171ecc5b0b26ac4e5a24c047fc
  Author: Markus Armbruster <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: Fix Xen RAM allocation with unusual options

Issues:

* We try to obey -mem-path even though it can't work with Xen.

* To implement -machine mem-merge, we call
  memory_try_enable_merging(new_block->host, size).  But with Xen,
  new_block->host remains null.  Oops.

Fix by separating Xen allocation from normal allocation.

Acked-by: Stefano Stabellini <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
Acked-by: Laszlo Ersek <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 0628c18267bbe8d44f0faf3e71acf0ae31bea7fd
      
https://github.com/qemu/qemu/commit/0628c18267bbe8d44f0faf3e71acf0ae31bea7fd
  Author: Markus Armbruster <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: Clean up fall back when -mem-path allocation fails

With -mem-path, qemu_ram_alloc_from_ptr() first tries to allocate
accordingly, but when it fails, it falls back to normal allocation.

The fall back allocation code used to be effectively identical to the
"-mem-path not given" code, until it started to diverge in commit
432d268.  I believe the code still works, but clean it up anyway: drop
the special fall back allocation code, and fall back to the ordinary
"-mem-path not given" code instead.

Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
Acked-by: Laszlo Ersek <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 3435f39513a104294b5e3bbf3612047028d25cfc
      
https://github.com/qemu/qemu/commit/3435f39513a104294b5e3bbf3612047028d25cfc
  Author: Markus Armbruster <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M exec.c
    M include/exec/cpu-all.h

  Log Message:
  -----------
  exec: Reduce ifdeffery around -mem-path

Instead of spreading its ifdeffery everywhere, confine it to
qemu_ram_alloc_from_ptr().  Everywhere else, simply test block->fd,
which is non-negative exactly when block uses -mem-path.

Signed-off-by: Markus Armbruster <address@hidden>
Acked-by: Laszlo Ersek <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 91138037cb341a04a66e4c43b6cb31d5d8a43a73
      
https://github.com/qemu/qemu/commit/91138037cb341a04a66e4c43b6cb31d5d8a43a73
  Author: Markus Armbruster <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M exec.c
    M include/exec/exec-all.h
    M include/sysemu/kvm.h
    M kvm-all.c
    M target-s390x/kvm.c

  Log Message:
  -----------
  exec: Simplify the guest physical memory allocation hook

Make it a generic hook rather than a KVM hook.  Less code and
ifdeffery.

Since the only user of the hook is old S390 KVM, there's hope we can
get rid of it some day.

Acked-by: Christian Borntraeger <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
Acked-by: Laszlo Ersek <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 2eb9fbaab56c6350c7d137428f4bd0bc79168214
      
https://github.com/qemu/qemu/commit/2eb9fbaab56c6350c7d137428f4bd0bc79168214
  Author: Markus Armbruster <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: Drop incorrect & dead S390 code in qemu_ram_remap()

Old S390 KVM wants guest RAM mapped in a peculiar way.  Commit 6b02494
implemented that.

When qemu_ram_remap() got added in commit cd19cfa, its code carefully
mimicked the allocation code: peculiar way if defined(TARGET_S390X) &&
defined(CONFIG_KVM), else normal way.

For new S390 KVM, we actually want the normal way.  Commit fdec991
changed qemu_ram_alloc_from_ptr() accordingly, but forgot to update
qemu_ram_remap().  If qemu_ram_alloc_from_ptr() maps RAM the normal
way, but qemu_ram_remap() remaps it the peculiar way, remapping
changes protection and flags, which it shouldn't.

Fortunately, this can't happen, as we never remap on S390.

Replace the incorrect code with an assertion.

Thanks to Christian Borntraeger for help with assessing the bug's
(non-)impact.

Acked-by: Christian Borntraeger <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
Acked-by: Laszlo Ersek <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: e1e84ba050538bae24393e40b737078ecad99747
      
https://github.com/qemu/qemu/commit/e1e84ba050538bae24393e40b737078ecad99747
  Author: Markus Armbruster <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: Clean up unnecessary S390 ifdeffery

Another issue missed in commit fdec991 is -mem-path: it needs to be
rejected only for old S390 KVM, not for any S390.  Not that I
personally care, but the ifdeffery in qemu_ram_alloc_from_ptr() annoys
me.

Note that this doesn't actually make -mem-path work, as the kernel
doesn't (yet?)  support large pages in the host for KVM guests.  Clean
it up anyway.

Thanks to Christian Borntraeger for pointing out the S390 kernel
limitations.

Signed-off-by: Markus Armbruster <address@hidden>
Acked-by: Laszlo Ersek <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>
Acked-by: Christian Borntraeger <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 39228250ce6cf67eb1c3799791d271f53c5c6347
      
https://github.com/qemu/qemu/commit/39228250ce6cf67eb1c3799791d271f53c5c6347
  Author: Markus Armbruster <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M exec.c
    M target-s390x/kvm.c
    M util/oslib-posix.c
    M util/oslib-win32.c

  Log Message:
  -----------
  exec: Don't abort when we can't allocate guest memory

We abort() on memory allocation failure.  abort() is appropriate for
programming errors.  Maybe most memory allocation failures are
programming errors, maybe not.  But guest memory allocation failure
isn't, and aborting when the user asks for more memory than we can
provide is not nice.  exit(1) instead, and do it in just one place, so
the error message is consistent.

Tested-by: Christian Borntraeger <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Acked-by: Laszlo Ersek <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>
Acked-by: Christian Borntraeger <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 7f87af39dc786a979e7ebba338d0781e366060ed
      
https://github.com/qemu/qemu/commit/7f87af39dc786a979e7ebba338d0781e366060ed
  Author: Markus Armbruster <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M hw/i386/pc_sysfw.c

  Log Message:
  -----------
  pc_sysfw: Fix ISA BIOS init for ridiculously big flash

pc_isa_bios_init() suffers integer overflow for flash larger than
INT_MAX.

Signed-off-by: Markus Armbruster <address@hidden>
Acked-by: Laszlo Ersek <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>
Acked-by: Christian Borntraeger <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


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

  Changed paths:
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: fix disassembly with PAE=1, PG=0

CR4.PAE=1 will not enable paging if CR0.PG=0, but the "if" chain
in x86_cpu_get_phys_page_debug says otherwise.  Check CR0.PG
before everything else.

Fixes "-d in_asm" for a code section at the beginning of OVMF.

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Max Filippov <address@hidden>


  Commit: bff93281a75def2e3197005d72ad5cdc4719383f
      
https://github.com/qemu/qemu/commit/bff93281a75def2e3197005d72ad5cdc4719383f
  Author: Peter Maydell <address@hidden>
  Date:   2013-09-12 (Thu, 12 Sep 2013)

  Changed paths:
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Only provide CMOV and friends if feature bit set

The instructions CMOVcc, FCMOVcc and F[U]COMI[P] should only be
present if the CMOV feature bit is set. Add missing feature bit
checks so we correctly fault if emulating a 486 or 586.
This fixes bug LP:1201446.

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: c21bddf27fd8029890e9fc2ee314788919eababf
      
https://github.com/qemu/qemu/commit/c21bddf27fd8029890e9fc2ee314788919eababf
  Author: Max Reitz <address@hidden>
  Date:   2013-09-13 (Fri, 13 Sep 2013)

  Changed paths:
    M tests/qemu-iotests/038
    M tests/qemu-iotests/038.out

  Log Message:
  -----------
  qemu-iotests: Fix test 038

Test 038 uses asynchronous I/O, resulting (potentially) in a different
output for every run (regarding the order of the I/O accesses). This can
be fixed by simply sorting the I/O access messages, since their order is
irrelevant anyway (for this asynchonous I/O).

Signed-off-by: Max Reitz <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: fe0ff43c9d8ccf45effdade8d40e44aed421187f
      
https://github.com/qemu/qemu/commit/fe0ff43c9d8ccf45effdade8d40e44aed421187f
  Author: Liu Ping Fan <address@hidden>
  Date:   2013-09-17 (Tue, 17 Sep 2013)

  Changed paths:
    M slirp/slirp.c
    M slirp/slirp.h

  Log Message:
  -----------
  slirp: make timeout local

Each slirp has its own time to caculate timeout.

Signed-off-by: Liu Ping Fan <address@hidden>
Signed-off-by: Jan Kiszka <address@hidden>


  Commit: 9b0ca6cc64d3542be35f1ca6174de2ab6af30ed0
      
https://github.com/qemu/qemu/commit/9b0ca6cc64d3542be35f1ca6174de2ab6af30ed0
  Author: Liu Ping Fan <address@hidden>
  Date:   2013-09-17 (Tue, 17 Sep 2013)

  Changed paths:
    M slirp/slirp.c

  Log Message:
  -----------
  slirp: define timeout as macro

Signed-off-by: Liu Ping Fan <address@hidden>
Signed-off-by: Jan Kiszka <address@hidden>


  Commit: a42e9c41888bc6a5446ef6bd95745c9fd023f107
      
https://github.com/qemu/qemu/commit/a42e9c41888bc6a5446ef6bd95745c9fd023f107
  Author: Liu Ping Fan <address@hidden>
  Date:   2013-09-17 (Tue, 17 Sep 2013)

  Changed paths:
    M main-loop.c
    M slirp/libslirp.h
    M slirp/slirp.c
    M stubs/slirp.c

  Log Message:
  -----------
  slirp: set mainloop timeout with more precise value

If slirp needs to emulate tcp timeout, then the timeout value
for mainloop should be more precise, which is determined by
slirp's fasttimo or slowtimo. Achieve this by swap the logic
sequence of slirp_pollfds_fill and slirp_update_timeout.

Signed-off-by: Liu Ping Fan <address@hidden>
Signed-off-by: Jan Kiszka <address@hidden>


  Commit: 426e3e6ce1abdb0d85faefbfac3cf4dcc7f224a3
      
https://github.com/qemu/qemu/commit/426e3e6ce1abdb0d85faefbfac3cf4dcc7f224a3
  Author: Jan Kiszka <address@hidden>
  Date:   2013-09-17 (Tue, 17 Sep 2013)

  Changed paths:
    M slirp/slirp.c

  Log Message:
  -----------
  slirp: clean up slirp_update_timeout

No need to write out the timeout early, keep it local until we are done.

Signed-off-by: Jan Kiszka <address@hidden>


  Commit: 25afd6eb150324c70164875853a9aede08c48aff
      
https://github.com/qemu/qemu/commit/25afd6eb150324c70164875853a9aede08c48aff
  Author: Anthony Liguori <address@hidden>
  Date:   2013-09-17 (Tue, 17 Sep 2013)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  Merge remote-tracking branch 'kraxel/chardev.7' into staging

# By Gerd Hoffmann
# Via Gerd Hoffmann
* kraxel/chardev.7:
  chardev: fix pty_chr_timer

Message-id: address@hidden


  Commit: 7d41364e712f00894759f7dbf2623a8b27b79a0e
      
https://github.com/qemu/qemu/commit/7d41364e712f00894759f7dbf2623a8b27b79a0e
  Author: Anthony Liguori <address@hidden>
  Date:   2013-09-17 (Tue, 17 Sep 2013)

  Changed paths:
    M block/iscsi.c
    M hw/scsi/lsi53c895a.c
    M hw/scsi/scsi-bus.c
    M hw/scsi/spapr_vscsi.c
    M hw/scsi/srp.h
    M hw/scsi/virtio-scsi.c
    M include/sysemu/sysemu.h
    M stubs/Makefile.objs
    A stubs/uuid.c

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

# By Peter Lieven (3) and others
# Via Paolo Bonzini
* bonzini/scsi-next:
  spapr-vscsi: Report error on unsupported MAD requests
  spapr-vscsi: Adding VSCSI capabilities
  iscsi: split discard requests in multiple parts
  iscsi: add .bdrv_get_block_status
  iscsi: add logical block provisioning information to iscsilun
  hw/scsi/lsi53c895a: Use deposit32 rather than handcoded shift/mask
  hw/scsi/lsi53c895a: Use sextract32 for sign-extension
  scsi: Fix scsi_bus_legacy_add_drive() scsi-generic with serial
  virtio-scsi: Make type virtio-scsi-common abstract
  spapr-vscsi: add task management
  scsi: prefer UUID to VM name for the initiator name

Message-id: address@hidden


  Commit: ab9cec42bf3ed1d9bb574b7de5f3c61da47b3a81
      
https://github.com/qemu/qemu/commit/ab9cec42bf3ed1d9bb574b7de5f3c61da47b3a81
  Author: Anthony Liguori <address@hidden>
  Date:   2013-09-17 (Tue, 17 Sep 2013)

  Changed paths:
    M target-i386/helper.c
    M target-i386/translate.c

  Log Message:
  -----------
  Merge remote-tracking branch 'rth/tgt-i386' into staging

# By Paolo Bonzini (1) and Peter Maydell (1)
# Via Richard Henderson
* rth/tgt-i386:
  target-i386: Only provide CMOV and friends if feature bit set
  target-i386: fix disassembly with PAE=1, PG=0

Message-id: address@hidden


  Commit: 5dc11192b23fbb09fab277d58ac3c42b9699a8b0
      
https://github.com/qemu/qemu/commit/5dc11192b23fbb09fab277d58ac3c42b9699a8b0
  Author: Anthony Liguori <address@hidden>
  Date:   2013-09-17 (Tue, 17 Sep 2013)

  Changed paths:
    M QMP/qmp.py
    M block.c
    M block/blkdebug.c
    M block/blkverify.c
    M block/bochs.c
    M block/cloop.c
    M block/cow.c
    M block/curl.c
    M block/dmg.c
    M block/gluster.c
    M block/iscsi.c
    M block/mirror.c
    M block/nbd.c
    M block/parallels.c
    M block/qcow.c
    M block/qcow2-cache.c
    M block/qcow2-cluster.c
    M block/qcow2-refcount.c
    M block/qcow2-snapshot.c
    M block/qcow2.c
    M block/qcow2.h
    M block/qed.c
    M block/raw-posix.c
    M block/raw-win32.c
    M block/raw_bsd.c
    M block/rbd.c
    M block/sheepdog.c
    M block/snapshot.c
    M block/ssh.c
    M block/vdi.c
    M block/vhdx.c
    M block/vmdk.c
    M block/vpc.c
    M block/vvfat.c
    M blockdev.c
    M configure
    M hmp-commands.hx
    M hmp.c
    M hmp.h
    M hw/block/xen_disk.c
    M include/block/block.h
    M include/block/block_int.h
    M include/block/snapshot.h
    M include/qemu-common.h
    M qapi-schema.json
    M qemu-coroutine.c
    M qemu-img-cmds.hx
    M qemu-img.c
    M qemu-img.texi
    M qemu-io.c
    M qemu-nbd.c
    M qmp-commands.hx
    M savevm.c
    M tests/Makefile
    M tests/qemu-iotests/007
    M tests/qemu-iotests/038
    M tests/qemu-iotests/038.out
    M tests/qemu-iotests/045
    M tests/qemu-iotests/045.out
    M tests/qemu-iotests/049.out
    M tests/qemu-iotests/051.out
    M tests/qemu-iotests/054.out
    A tests/qemu-iotests/057
    A tests/qemu-iotests/057.out
    M tests/qemu-iotests/060
    M tests/qemu-iotests/060.out
    A tests/qemu-iotests/061
    A tests/qemu-iotests/061.out
    M tests/qemu-iotests/check
    M tests/qemu-iotests/common.rc
    M tests/qemu-iotests/group
    M tests/qemu-iotests/iotests.py
    A tests/qemu-iotests/socket_scm_helper.c

  Log Message:
  -----------
  Merge remote-tracking branch 'kwolf/for-anthony' into staging

# By Max Reitz (16) and others
# Via Kevin Wolf
* kwolf/for-anthony: (33 commits)
  qemu-iotests: Fix test 038
  block: Assert validity of BdrvActionOps
  qemu-iotests: Cleanup test image in test number 007
  qemu-img: fix invalid JSON
  coroutine: add ./configure --disable-coroutine-pool
  qemu-iotests: Adjustments due to error propagation
  qcow2: Use Error parameter
  qemu-img create: Emit filename on error
  block: Error parameter for create functions
  block: Error parameter for open functions
  bdrv: Use "Error" for creating images
  bdrv: Use "Error" for opening images
  qemu-iotests: add 057 internal snapshot for block device test case
  hmp: add interface hmp_snapshot_delete_blkdev_internal
  hmp: add interface hmp_snapshot_blkdev_internal
  qmp: add interface blockdev-snapshot-delete-internal-sync
  qmp: add interface blockdev-snapshot-internal-sync
  qmp: add internal snapshot support in qmp_transaction
  snapshot: distinguish id and name in snapshot delete
  snapshot: new function bdrv_snapshot_find_by_id_and_name()
  ...

Message-id: address@hidden


  Commit: 6c2679fc19560699679200fb42ab4659bcbe7f79
      
https://github.com/qemu/qemu/commit/6c2679fc19560699679200fb42ab4659bcbe7f79
  Author: Anthony Liguori <address@hidden>
  Date:   2013-09-17 (Tue, 17 Sep 2013)

  Changed paths:
    M main-loop.c
    M slirp/libslirp.h
    M slirp/slirp.c
    M slirp/slirp.h
    M stubs/slirp.c

  Log Message:
  -----------
  Merge remote-tracking branch 'kiszka/queues/slirp' into staging

# By Liu Ping Fan (3) and Jan Kiszka (1)
# Via Jan Kiszka
* kiszka/queues/slirp:
  slirp: clean up slirp_update_timeout
  slirp: set mainloop timeout with more precise value
  slirp: define timeout as macro
  slirp: make timeout local

Message-id: address@hidden


Compare: https://github.com/qemu/qemu/compare/2d1fe1873a98...6c2679fc1956

reply via email to

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