qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] efd0fb: iotests: disable core dumps in test 0


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] efd0fb: iotests: disable core dumps in test 061
Date: Sun, 18 Oct 2015 03:00:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: efd0fbbcf5d28b18fc629681e3bc8bee1bfadd9a
      
https://github.com/qemu/qemu/commit/efd0fbbcf5d28b18fc629681e3bc8bee1bfadd9a
  Author: Alberto Garcia <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

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

  Log Message:
  -----------
  iotests: disable core dumps in test 061

Commit 934659c460 disabled the supression of segmentation faults in
bash tests. The new output of test 061, however, assumes that a core
dump will be produced if a program aborts. This is not necessarily the
case because core dumps can be disabled using ulimit.

Since we cannot guarantee that abort() will produce a core dump, we
should use SIGKILL instead (that does not produce any) and update the
test output accordingly.

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


  Commit: 317438e6dba5d7bb44bd867c10993c54b927992b
      
https://github.com/qemu/qemu/commit/317438e6dba5d7bb44bd867c10993c54b927992b
  Author: Alberto Garcia <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

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

  Log Message:
  -----------
  throttle: test that snapshots move the throttling configuration

If a snapshot is performed on a device that has I/O limits they should
be moved to the target image (the new active layer).

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


  Commit: a910523a244c10d6c458e1415f35a92c3b11387f
      
https://github.com/qemu/qemu/commit/a910523a244c10d6c458e1415f35a92c3b11387f
  Author: Kashyap Chamarthy <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M qmp-commands.hx

  Log Message:
  -----------
  qmp-commands.hx: Update the supported 'transaction' operations

Although the canonical source of reference for QMP commands is
qapi-schema.json, for consistency's sake, update qmp-commands.hx to
state the list of supported transactionable operations, namely:

    drive-backup
    blockdev-backup
    blockdev-snapshot-internal-sync
    abort
    block-dirty-bitmap-add
    block-dirty-bitmap-clear

Also update the possible values for the "type" action array.

Signed-off-by: Kashyap Chamarthy <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 68e517a8d7d89298235913a514af70364e559b78
      
https://github.com/qemu/qemu/commit/68e517a8d7d89298235913a514af70364e559b78
  Author: Jeff Cody <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

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

  Log Message:
  -----------
  block: qemu-iotests - fix vmdk test 059.out

In commit fe646693acc13ac48b98435d14149ab04dc597bc, the option
printout format changed.

This updates the VMDK test 059.out to the correct output.

Signed-off-by: Jeff Cody <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 1fdd69330872ef91d92482472eef79350d2f379b
      
https://github.com/qemu/qemu/commit/1fdd69330872ef91d92482472eef79350d2f379b
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

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

  Log Message:
  -----------
  block: Introduce BDS.file_child

Store the BdrvChild for bs->file. At this point, bs->file_child->bs just
duplicates the bs->file pointer. Later, it will completely replace it.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Jeff Cody <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: 24bc15d1f6429dac0de47348b4b302855360c492
      
https://github.com/qemu/qemu/commit/24bc15d1f6429dac0de47348b4b302855360c492
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block/vmdk.c

  Log Message:
  -----------
  vmdk: Use BdrvChild instead of BDS for references to extents

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Jeff Cody <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: 3e586be0b2b772394d6ed68c5b5a6da5cbbfe08b
      
https://github.com/qemu/qemu/commit/3e586be0b2b772394d6ed68c5b5a6da5cbbfe08b
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block/blkverify.c

  Log Message:
  -----------
  blkverify: Convert s->test_file to BdrvChild

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Jeff Cody <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: 0bd6e91a7e00129764afb9bed83ae5519e18a111
      
https://github.com/qemu/qemu/commit/0bd6e91a7e00129764afb9bed83ae5519e18a111
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block/quorum.c

  Log Message:
  -----------
  quorum: Convert to BdrvChild

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Jeff Cody <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: 9a4f4c31563b96a075f3deae83e72c726e0c84f8
      
https://github.com/qemu/qemu/commit/9a4f4c31563b96a075f3deae83e72c726e0c84f8
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block.c
    M block/blkdebug.c
    M block/blkverify.c
    M block/bochs.c
    M block/cloop.c
    M block/dmg.c
    M block/io.c
    M block/parallels.c
    M block/qapi.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/qed-table.c
    M block/qed.c
    M block/raw_bsd.c
    M block/snapshot.c
    M block/vdi.c
    M block/vhdx-log.c
    M block/vhdx.c
    M block/vmdk.c
    M block/vpc.c
    M include/block/block.h
    M include/block/block_int.h

  Log Message:
  -----------
  block: Convert bs->file to BdrvChild

This patch removes the temporary duplication between bs->file and
bs->file_child by converting everything to BdrvChild.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: b26e90f56ad3a494ee6337d2075f4dc55b62b3c6
      
https://github.com/qemu/qemu/commit/b26e90f56ad3a494ee6337d2075f4dc55b62b3c6
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

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

  Log Message:
  -----------
  block: Remove bdrv_open_image()

It is unused now.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Jeff Cody <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: 760e006384ecd5b8b8b1b91b5c85ff8fdcb3a21f
      
https://github.com/qemu/qemu/commit/760e006384ecd5b8b8b1b91b5c85ff8fdcb3a21f
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block.c
    M block/io.c
    M block/mirror.c
    M block/qapi.c
    M block/qcow.c
    M block/qcow2-cluster.c
    M block/qcow2.c
    M block/qed.c
    M block/stream.c
    M block/vmdk.c
    M block/vvfat.c
    M blockdev.c
    M include/block/block_int.h
    M qemu-img.c

  Log Message:
  -----------
  block: Convert bs->backing_hd to BdrvChild

This is the final step in converting all of the BlockDriverState
pointers that block drivers use to BdrvChild.

After this patch, bs->children contains the full list of child nodes
that are referenced by a given BDS, and these children are only
referenced through BdrvChild, so that updating the pointer in there is
enough for changing edges in the graph.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: 5db15a57697063b9062a015dbc6d5d38211f2df1
      
https://github.com/qemu/qemu/commit/5db15a57697063b9062a015dbc6d5d38211f2df1
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block.c
    M block/mirror.c
    M block/stream.c
    M block/vvfat.c
    M include/block/block.h

  Log Message:
  -----------
  block: Manage backing file references in bdrv_set_backing_hd()

This simplifies the code somewhat, especially when dropping whole
backing file subchains.

The exception is the mirroring code that does adventurous things with
bdrv_swap() and in order to keep it working, I had to duplicate most of
bdrv_set_backing_hd() locally. We'll get rid again of this ugliness
shortly.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: 063dd40e110eba7fffff09850ea9116b8dee2ae6
      
https://github.com/qemu/qemu/commit/063dd40e110eba7fffff09850ea9116b8dee2ae6
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block.c

  Log Message:
  -----------
  block: Split bdrv_move_feature_fields()

After bdrv_swap(), some fields must be moved back to their original BDS
to compensate for the effects that a swap of the contents of the objects
has while keeping the old addresses. Other fields must be moved back
because they should logically be moved and must stay on top

When replacing bdrv_swap() with operations changing the pointers in the
parents, we only need the latter and must avoid swapping the former.
Split the function accordingly.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: 439db28cf9d4c29c9a97040bc8e08f047ba7e0af
      
https://github.com/qemu/qemu/commit/439db28cf9d4c29c9a97040bc8e08f047ba7e0af
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block/io.c
    M include/block/block_int.h

  Log Message:
  -----------
  block/io: Make bdrv_requests_pending() public

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: a2d6190048d01c7012ab4fd6a2558f435b7b2fe8
      
https://github.com/qemu/qemu/commit/a2d6190048d01c7012ab4fd6a2558f435b7b2fe8
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block/block-backend.c
    M include/block/block_int.h

  Log Message:
  -----------
  block-backend: Add blk_set_bs()

It allows changing the BlockDriverState that a BlockBackend points to.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: d42a8a935b8b2d567331fffa13a70918352668bb
      
https://github.com/qemu/qemu/commit/d42a8a935b8b2d567331fffa13a70918352668bb
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

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

  Log Message:
  -----------
  block: Introduce parents list

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: dd62f1ca433ea60b06590884642ad2c8f8e539f2
      
https://github.com/qemu/qemu/commit/dd62f1ca433ea60b06590884642ad2c8f8e539f2
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block.c
    M blockdev.c

  Log Message:
  -----------
  block: Implement bdrv_append() without bdrv_swap()

Remember all parent nodes and just change the pointers there instead of
swapping the contents of the BlockDriverState.

Handling of snapshot=on must be moved further down in bdrv_open()
because *pbs (which is the bs pointer in the BlockBackend) must already
be set before bdrv_append() is called. Otherwise bdrv_append() changes
the BB's pointer to the temporary snapshot, but bdrv_open() overwrites
it with the read-only original image.

We also need to be careful to update callers as the interface changes
(becomes less insane): Previously, the meaning of the two parameters was
inverted when bdrv_append() returns. Now any BDS pointers keep pointing
to the same node.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: 8ccb9569a976056c9594bb720ba33d84827648d9
      
https://github.com/qemu/qemu/commit/8ccb9569a976056c9594bb720ba33d84827648d9
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block/mirror.c
    M blockjob.c
    M include/block/blockjob.h

  Log Message:
  -----------
  blockjob: Store device name at job creation

Some block jobs change the block device graph on completion. This means
that the device that owns the job and originally was addressed with its
device name may no longer be what the corresponding BlockBackend points
to.

Previously, the effects of bdrv_swap() ensured that the job was (at
least partially) transferred to the target image. Events that contain
the device name could still use bdrv_get_device_name(job->bs) and get
the same result.

After removing bdrv_swap(), this won't work any more. Instead, save the
device name at job creation and use that copy for QMP events and
anything else identifying the job.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: 3f09bfbc7bee812a44838f4c8b254007a9b86cab
      
https://github.com/qemu/qemu/commit/3f09bfbc7bee812a44838f4c8b254007a9b86cab
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block.c
    M block/mirror.c
    M include/block/block.h
    M qemu-img.c

  Log Message:
  -----------
  block: Add and use bdrv_replace_in_backing_chain()

This cleans up the mess we left behind in the mirror code after the
previous patch. Instead of using bdrv_swap(), just change pointers.

The interface change of the mirror job that callers must consider is
that after job completion, their local BDS pointers still point to the
same node now. qemu-img must change its code accordingly (which makes it
easier to understand); the other callers stays unchanged because after
completion they don't do anything with the BDS, but just with the job,
and the job is still owned by the source BDS.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: 8e419aefa07ca8e640f8db50b450378e84d60a11
      
https://github.com/qemu/qemu/commit/8e419aefa07ca8e640f8db50b450378e84d60a11
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block.c
    M block/qed.c
    M block/vvfat.c
    M include/block/block_int.h
    M include/qemu/queue.h

  Log Message:
  -----------
  block: Remove bdrv_swap()

bdrv_swap() is unused now. Remove it and all functions that have
no other users than bdrv_swap(). In particular, this removes the
.bdrv_rebind callbacks from block drivers.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>


  Commit: 779020cbdc67011026c10fb620f701bfc6b85547
      
https://github.com/qemu/qemu/commit/779020cbdc67011026c10fb620f701bfc6b85547
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block.c

  Log Message:
  -----------
  block: Allow bdrv_unref_child(bs, NULL)

bdrv_unref() can be called with a NULL argument and doesn't do anything
then. Make bdrv_unref_child() consistent with it.

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Jeff Cody <address@hidden>


  Commit: 7e39d3a2dd34a84900e10b4ea1567f3b352659af
      
https://github.com/qemu/qemu/commit/7e39d3a2dd34a84900e10b4ea1567f3b352659af
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block/blkverify.c

  Log Message:
  -----------
  blkverify: Fix BDS leak in .bdrv_open error path

Signed-off-by: Kevin Wolf <address@hidden>
Reviewed-by: Jeff Cody <address@hidden>


  Commit: a0f1913637e6cd711aa721233b75eb2ec84d017b
      
https://github.com/qemu/qemu/commit/a0f1913637e6cd711aa721233b75eb2ec84d017b
  Author: Jeff Cody <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M include/qemu-common.h
    M util/id.c

  Log Message:
  -----------
  util - add automated ID generation utility

Multiple sub-systems in QEMU may find it useful to generate IDs
for objects that a user may reference via QMP or HMP.  This patch
presents a standardized way to do it, so that automatic ID generation
follows the same rules.

This patch enforces the following rules when generating an ID:

1.) Guarantee no collisions with a user-specified ID
2.) Identify the sub-system the ID belongs to
3.) Guarantee of uniqueness
4.) Spoiling predictability, to avoid creating an assumption
    of object ordering and parsing (i.e., we don't want users to think
    they can guess the next ID based on prior behavior).

The scheme for this is as follows (no spaces):
           # subsys D RR
Reserved char --|    |   | |
Subsystem String ----|   | |
Unique number (64-bit) --| |
Two-digit random number ---|

For example, a generated node-name for the block sub-system may look
like this:

    #block076

The caller of id_generate() is responsible for freeing the generated
node name string with g_free().

Reviewed-by: John Snow <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Signed-off-by: Jeff Cody <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 15489c769b9a4b3bec5b5848af2960689d7b4bd8
      
https://github.com/qemu/qemu/commit/15489c769b9a4b3bec5b5848af2960689d7b4bd8
  Author: Jeff Cody <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block.c
    M tests/qemu-iotests/041
    M tests/qemu-iotests/051
    M tests/qemu-iotests/051.out
    M tests/qemu-iotests/067
    M tests/qemu-iotests/067.out
    M tests/qemu-iotests/081
    M tests/qemu-iotests/081.out
    M tests/qemu-iotests/common.filter

  Log Message:
  -----------
  block: auto-generated node-names

If a node-name is not specified, automatically generate the node-name.

Generated node-names will use the "block" sub-system identifier.

Signed-off-by: Jeff Cody <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 1501ecc1d89231164b4aecddd0219ed4395b693a
      
https://github.com/qemu/qemu/commit/1501ecc1d89231164b4aecddd0219ed4395b693a
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block/raw-posix.c

  Log Message:
  -----------
  raw-posix: warn about BDRV_O_NATIVE_AIO if libaio is unavailable

raw-posix.c silently ignores BDRV_O_NATIVE_AIO if libaio is unavailable.
It is confusing when aio=native performance is identical to aio=threads
because the binary was accidentally built without libaio.

Print a deprecation warning if -drive aio=native is used with a binary
that does not support libaio.  There are probably users using aio=native
who would be inconvenienced if QEMU suddenly refused to start their
guests.  In the future this will become an error.

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


  Commit: 04d71322c1cf6f527f15397c76bc088ebda7c18b
      
https://github.com/qemu/qemu/commit/04d71322c1cf6f527f15397c76bc088ebda7c18b
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M blockdev.c

  Log Message:
  -----------
  blockdev: always compile in -drive aio= parsing

CONFIG_LINUX_AIO is an implementation detail of raw-posix.c.  Don't
mention CONFIG_LINUX_AIO in blockdev.c.  Let block drivers decide what
to do with BDRV_O_NATIVE_AIO.  They may print an error if it is
unsupported.

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


  Commit: bb628e1af8b8b5ecf6420e50123cb696ee18b09f
      
https://github.com/qemu/qemu/commit/bb628e1af8b8b5ecf6420e50123cb696ee18b09f
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M qemu-nbd.c

  Log Message:
  -----------
  qemu-nbd: always compile in --aio=MODE option

The --aio=MODE option enables Linux AIO or Windows overlapped I/O.

The #ifdef CONFIG_LINUX_AIO was a layering violation that also prevented
Windows overlapped I/O from being used.

Now that raw-posix.c prints an error when Linux AIO has not been
compiled in, we can unconditionally compile the option into qemu-nbd.

After this patch qemu-nbd --aio=native works on Windows.

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


  Commit: e394621fbda0d9f69df2c9eab73ad5a5189805bb
      
https://github.com/qemu/qemu/commit/e394621fbda0d9f69df2c9eab73ad5a5189805bb
  Author: Kevin Wolf <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block/qcow2.h

  Log Message:
  -----------
  qcow2: Remove forward declaration of QCowAIOCB

This struct doesn't exist any more since commit 3fc48d09 in August 2011,
it's about time to remove its forward declaration.

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


  Commit: 6b826af7b010ed1963b1e7bfb5c389dcdbaff222
      
https://github.com/qemu/qemu/commit/6b826af7b010ed1963b1e7bfb5c389dcdbaff222
  Author: Fam Zheng <address@hidden>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M block/blkdebug.c

  Log Message:
  -----------
  blkdebug: Don't confuse image as backing file

The word "backing file" nowadays refers to the backing_hd in the
external snapshot sense (i.e. bs->backing_hd), instead of the file sense
(bs->file). Correct the comment to use the right term.

Signed-off-by: Fam Zheng <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: c737c7a608f4cd2c06e6600303845c4b469822c5
      
https://github.com/qemu/qemu/commit/c737c7a608f4cd2c06e6600303845c4b469822c5
  Author: Peter Maydell <address@hidden>
  Date:   2015-10-17 (Sat, 17 Oct 2015)

  Changed paths:
    M block.c
    M block/blkdebug.c
    M block/blkverify.c
    M block/block-backend.c
    M block/bochs.c
    M block/cloop.c
    M block/dmg.c
    M block/io.c
    M block/mirror.c
    M block/parallels.c
    M block/qapi.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-table.c
    M block/qed.c
    M block/quorum.c
    M block/raw-posix.c
    M block/raw_bsd.c
    M block/snapshot.c
    M block/stream.c
    M block/vdi.c
    M block/vhdx-log.c
    M block/vhdx.c
    M block/vmdk.c
    M block/vpc.c
    M block/vvfat.c
    M blockdev.c
    M blockjob.c
    M include/block/block.h
    M include/block/block_int.h
    M include/block/blockjob.h
    M include/qemu-common.h
    M include/qemu/queue.h
    M qemu-img.c
    M qemu-nbd.c
    M qmp-commands.hx
    M tests/qemu-iotests/041
    M tests/qemu-iotests/051
    M tests/qemu-iotests/051.out
    M tests/qemu-iotests/059.out
    M tests/qemu-iotests/061
    M tests/qemu-iotests/061.out
    M tests/qemu-iotests/067
    M tests/qemu-iotests/067.out
    M tests/qemu-iotests/081
    M tests/qemu-iotests/081.out
    A tests/qemu-iotests/096
    A tests/qemu-iotests/096.out
    M tests/qemu-iotests/common.filter
    M tests/qemu-iotests/group
    M util/id.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging

Block layer patches

# gpg: Signature made Fri 16 Oct 2015 14:36:50 BST using RSA key ID C88F2FD6
# gpg: Good signature from "Kevin Wolf <address@hidden>"

* remotes/kevin/tags/for-upstream: (29 commits)
  blkdebug: Don't confuse image as backing file
  qcow2: Remove forward declaration of QCowAIOCB
  qemu-nbd: always compile in --aio=MODE option
  blockdev: always compile in -drive aio= parsing
  raw-posix: warn about BDRV_O_NATIVE_AIO if libaio is unavailable
  block: auto-generated node-names
  util - add automated ID generation utility
  blkverify: Fix BDS leak in .bdrv_open error path
  block: Allow bdrv_unref_child(bs, NULL)
  block: Remove bdrv_swap()
  block: Add and use bdrv_replace_in_backing_chain()
  blockjob: Store device name at job creation
  block: Implement bdrv_append() without bdrv_swap()
  block: Introduce parents list
  block-backend: Add blk_set_bs()
  block/io: Make bdrv_requests_pending() public
  block: Split bdrv_move_feature_fields()
  block: Manage backing file references in bdrv_set_backing_hd()
  block: Convert bs->backing_hd to BdrvChild
  block: Remove bdrv_open_image()
  ...

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


Compare: https://github.com/qemu/qemu/compare/6d57410a79d5...c737c7a608f4

reply via email to

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