qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] c7c2ff: block: extend BLOCK_IO_ERROR event wi


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] c7c2ff: block: extend BLOCK_IO_ERROR event with nospace in...
Date: Mon, 15 Sep 2014 12:00:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: c7c2ff0c7e5d2c04fc612d74caab19b41c52c2e9
      
https://github.com/qemu/qemu/commit/c7c2ff0c7e5d2c04fc612d74caab19b41c52c2e9
  Author: Luiz Capitulino <address@hidden>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M block.c
    M qapi/block-core.json

  Log Message:
  -----------
  block: extend BLOCK_IO_ERROR event with nospace indicator

Management software, such as RHEV's vdsm, want to be able to allocate
disk space on demand. The basic use case is to start a VM with a small
disk and then the disk is enlarged when QEMU hits a ENOSPC condition.

To this end, the management software has to be notified when QEMU
encounters ENOSPC. The solution implemented by this commit is simple:
it extends the BLOCK_IO_ERROR with a 'nospace' key, which is true
when QEMU is stopped due to ENOSPC.

Note that support for querying this event is already present in
query-block by means of the 'io-status' key. Also, the new 'nospace'
BLOCK_IO_ERROR field shares the same semantics with 'io-status',
which basically means that werror= has to be set to either
'stop' or 'enospc' to enable 'nospace'.

Finally, this commit also updates the 'io-status' key doc in the
schema with a list of supported device models.

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


  Commit: 0d4cc3e715f5794077895345577725539afe81eb
      
https://github.com/qemu/qemu/commit/0d4cc3e715f5794077895345577725539afe81eb
  Author: Xiaodong Gong <address@hidden>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M block/vpc.c

  Log Message:
  -----------
  Fix improper usage of cpu_to_be32 in vpc

cpu_to_be32() is wrong since vhd_type is an enum constant
(just a regular CPU-endian integer).

Signed-off-by: Xiaodong Gong <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


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

  Changed paths:
    M qemu-io.c

  Log Message:
  -----------
  qemu-io: Clean up openfile() after commit 2e40134

Commit 6db9560 split off the growable case so it can use
bdrv_file_open() instead of bdrv_open() then.  Growable BDSes become
anonymous.  Weird.

Commit 2e40134 folded bdrv_file_open() back into bdrv_open() with new
flag BDRV_O_PROTOCOL.  We still have two bdrv_open() calls, and
growable BDSes remain anonymous.

Circle back to before commit 6db9560: just one call, not anonymous.

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


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

  Changed paths:
    M hw/block/xen_disk.c

  Log Message:
  -----------
  xen_disk: Plug memory leak on error path

The Error object was leaked after failed bdrv_new(). While there,
streamline control flow a bit.

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 7ca9b7c03574291ec845f9d39fee0b1d26f9ce38
      
https://github.com/qemu/qemu/commit/7ca9b7c03574291ec845f9d39fee0b1d26f9ce38
  Author: Markus Armbruster <address@hidden>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M hw/ide/piix.c

  Log Message:
  -----------
  xen: Drop redundant bdrv_close() from pci_piix3_xen_ide_unplug()

drive_del() closes just fine.

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


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

  Changed paths:
    M include/block/thread-pool.h
    M thread-pool.c

  Log Message:
  -----------
  thread-pool: Drop unnecessary includes

Dragging block_int.h into a header is *not* nice.  Fortunately, this
is the only offender.

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 1a7044bb62ca490b8742ac17d40bb774b7a9048e
      
https://github.com/qemu/qemu/commit/1a7044bb62ca490b8742ac17d40bb774b7a9048e
  Author: Valentin Manea <address@hidden>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M hw/ide/mmio.c

  Log Message:
  -----------
  IDE: MMIO IDE device control should be little endian

Set the IDE MMIO memory type to little endian. The ATA specs identify
words part of the control commands encoded as little endian.
While this has no impact on little endian systems, it's required for big
endian systems(eg OpenRisc).

Signed-off-by: Valentin Manea <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 0ddd0ad96abf55acad06324b26b69a24bde23ac5
      
https://github.com/qemu/qemu/commit/0ddd0ad96abf55acad06324b26b69a24bde23ac5
  Author: Benoît Canet <address@hidden>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

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

  Log Message:
  -----------
  block: Extract the BlockAcctStats structure

Extract the block accounting statistics into a structure so the block device
models can hold them in the future.

CC: Kevin Wolf <address@hidden>
CC: Stefan Hajnoczi <address@hidden>
CC: Max Reitz <address@hidden>
CC: Eric Blake <address@hidden>

Signed-off-by: Benoît Canet <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 5e5a94b60518002e8ecc7afa78a9e7565b23e38f
      
https://github.com/qemu/qemu/commit/5e5a94b60518002e8ecc7afa78a9e7565b23e38f
  Author: Benoît Canet <address@hidden>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M block.c
    M block/Makefile.objs
    A block/accounting.c
    A include/block/accounting.h
    M include/block/block.h
    M include/block/block_int.h
    M include/hw/virtio/virtio-blk.h
    M include/sysemu/dma.h

  Log Message:
  -----------
  block: Extract the block accounting code

The plan is to add new accounting metrics (latency, invalid requests, failed
requests, queue depth) and block.c is overpopulated so it will be better to work
in a separate module.

Moreover the long term plan is to have statistics in each of the BDS of the 
graph
for metrology purpose; this means that the device model statistics must move 
from
the topmost BDS to the device model.

So we need to decouple the statistic code from BlockDriverState.

This is another argument for the extraction of the code in a separate module.

CC: Kevin Wolf <address@hidden>
CC: Stefan Hajnoczi <address@hidden>
CC: Max Reitz <address@hidden>
CC: Eric Blake <address@hidden>
CC: Benoit Canet <address@hidden>
CC: Fam Zheng <address@hidden>
CC: Peter Crosthwaite <address@hidden>
CC: Paolo Bonzini <address@hidden>

Signed-off-by: Benoît Canet <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 28298fd3d9df6685c069fa0d03398c8c585a83ea
      
https://github.com/qemu/qemu/commit/28298fd3d9df6685c069fa0d03398c8c585a83ea
  Author: Benoît Canet <address@hidden>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M block/accounting.c
    M block/qapi.c
    M hw/block/nvme.c
    M hw/block/virtio-blk.c
    M hw/block/xen_disk.c
    M hw/ide/ahci.c
    M hw/ide/atapi.c
    M hw/ide/core.c
    M hw/ide/macio.c
    M hw/scsi/scsi-disk.c
    M include/block/accounting.h

  Log Message:
  -----------
  block: rename BlockAcctType members to start with BLOCK_ instead of BDRV_

The middle term goal is to move the BlockAcctStats structure in the device 
models.
(Capturing I/O accounting statistics in the device models is good for billing)
This patch make a small step in this direction by removing a reference to BDRV.

CC: Kevin Wolf <address@hidden>
CC: Stefan Hajnoczi <address@hidden>
CC: Keith Busch <address@hidden>
CC: Anthony Liguori <address@hidden>
CC: "Michael S. Tsirkin" <address@hidden>
CC: Paolo Bonzini <address@hidden>
CC: John Snow <address@hidden>
CC: Richard Henderson <address@hidden>
CC: Markus Armbruster <address@hidden>
CC: Alexander Graf <address@hidden>i

Signed-off-by: Benoît Canet <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 5366d0c8bc2a8bb7a4e58e75c7e457e86d3d56f6
      
https://github.com/qemu/qemu/commit/5366d0c8bc2a8bb7a4e58e75c7e457e86d3d56f6
  Author: Benoît Canet <address@hidden>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M block.c
    M block/accounting.c
    M dma-helpers.c
    M hw/block/nvme.c
    M hw/block/virtio-blk.c
    M hw/block/xen_disk.c
    M hw/ide/ahci.c
    M hw/ide/atapi.c
    M hw/ide/core.c
    M hw/ide/macio.c
    M hw/scsi/scsi-disk.c
    M include/block/accounting.h
    M include/block/block.h

  Log Message:
  -----------
  block: Make the block accounting functions operate on BlockAcctStats

This is the next step for decoupling block accounting functions from
BlockDriverState.
In a future commit the BlockAcctStats structure will be moved from
BlockDriverState to the device models structures.

Note that bdrv_get_stats was introduced so device models can retrieve the
BlockAcctStats structure of a BlockDriverState without being aware of it's
layout.
This function should go away when BlockAcctStats will be embedded in the device
models structures.

CC: Kevin Wolf <address@hidden>
CC: Stefan Hajnoczi <address@hidden>
CC: Keith Busch <address@hidden>
CC: Anthony Liguori <address@hidden>
CC: "Michael S. Tsirkin" <address@hidden>
CC: Paolo Bonzini <address@hidden>
CC: Eric Blake <address@hidden>
CC: Peter Maydell <address@hidden>
CC: Michael Tokarev <address@hidden>
CC: John Snow <address@hidden>
CC: Markus Armbruster <address@hidden>
CC: Alexander Graf <address@hidden>
CC: Max Reitz <address@hidden>

Signed-off-by: Benoît Canet <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 94c80a438c85f2c19698547fbb115ea46d80c5f1
      
https://github.com/qemu/qemu/commit/94c80a438c85f2c19698547fbb115ea46d80c5f1
  Author: Chrysostomos Nanakos <address@hidden>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M block/archipelago.c

  Log Message:
  -----------
  block/archipelago: Implement bdrv_truncate()

Signed-off-by: Chrysostomos Nanakos <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 466c80f21fa2a69eb5cff8048b824c4812179b8c
      
https://github.com/qemu/qemu/commit/466c80f21fa2a69eb5cff8048b824c4812179b8c
  Author: Chrysostomos Nanakos <address@hidden>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M tests/qemu-iotests/025

  Log Message:
  -----------
  qemu-iotests: Run 025 for Archipelago block driver

Run resize grow test to ensure that existing data
is not lost during grow and new space is zeroed.

Signed-off-by: Chrysostomos Nanakos <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 745a9bb9cdcdcc50219d14704477c5cd678c4a7e
      
https://github.com/qemu/qemu/commit/745a9bb9cdcdcc50219d14704477c5cd678c4a7e
  Author: Stefan Hajnoczi <address@hidden>
  Date:   2014-09-11 (Thu, 11 Sep 2014)

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

  Log Message:
  -----------
  dataplane: fix virtio_blk_data_plane_create() op blocker error path

Commit 3718d8ab65f68de2acccbe6a315907805f54e3cc ("block: Replace in_use
with operation blocker") broke the error path because it consumed
local_err instead of propagating it.

The caller has no way to know that the function failed.  This caused
virtio-blk to start "successfully" even though there was a fatal
dataplane error.

Steps to reproduce:

  $ qemu-system-x86_64 -enable-kvm -object iothread,id=iothread0 \
                 -drive if=none,id=drive0,file=a.img \
  (qemu) drive_mirror drive0 /tmp/foo.img
  (qemu) device_add virtio-blk-pci,iothread=iothread0,drive=drive0

Expected result:

  Since the mirror block job is using drive0 it is not possible to start
  virtio-blk data-plane.

  device_add fails and the PCI adapter is not added.

Actual result:

  device_add completes and the PCI adapter is added.

Cc: Fam Zheng <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: 624ff5736ef9245bb8070400ccaf65857b6d1c38
      
https://github.com/qemu/qemu/commit/624ff5736ef9245bb8070400ccaf65857b6d1c38
  Author: Luiz Capitulino <address@hidden>
  Date:   2014-09-11 (Thu, 11 Sep 2014)

  Changed paths:
    M block.c
    M qapi/block-core.json

  Log Message:
  -----------
  block: extend BLOCK_IO_ERROR with reason string

BLOCK_IO_ERROR events are logged by libvirt, which helps with
post mortem analysis of guests. However, one information that
we miss today is a human readable string describing the cause
of the I/O error.

This commit adds that string it to BLOCK_IO_ERROR. Note that
this string is a debugging aid for humans, meaning that it
should not parsed by applications.

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


  Commit: 48f364dd0ba8d6323ee9ac2b35996eef667bac39
      
https://github.com/qemu/qemu/commit/48f364dd0ba8d6323ee9ac2b35996eef667bac39
  Author: Markus Armbruster <address@hidden>
  Date:   2014-09-11 (Thu, 11 Sep 2014)

  Changed paths:
    M blockdev.c

  Log Message:
  -----------
  blockdev: Refuse to drive_del something added with blockdev-add

For some device models, the guest can prevent unplug.  Some users need a
way to forcibly revoke device model access to the block backend then, so
the underlying images can be safely used for something else.

drive_del lets you do that.  Unfortunately, it conflates revoking access
with destroying the backend.

Commit 9063f81 made drive_del immediately destroy the root BDS.  Nice:
the device name becomes available for reuse immediately.  Not so nice:
the device model's pointer to the root BDS dangles, and we're prone to
crash when the memory gets reused.

Commit d22b2f4 fixed that by hiding the root BDS instead of destroying
it.  Destruction only happens on unplug.  "Hiding" means removing it
from bdrv_states and graph_bdrv_states; see bdrv_make_anon().

This "destroy on revoke" is a misfeature we don't want to carry
forward to blockdev-add, just like "destroy on unplug" (commit
2d246f0).  So make drive_del fail on anything added with blockdev-add.

We'll add separate QMP commands to revoke device model access and to
destroy backends.

Signed-off-by: Markus Armbruster <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: be2bfb9dbde59de27684623b9d8261262c5ad076
      
https://github.com/qemu/qemu/commit/be2bfb9dbde59de27684623b9d8261262c5ad076
  Author: Stratos Psomadakis <address@hidden>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

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

  Log Message:
  -----------
  iotests: Send the correct fd in socket_scm_helper

Make sure to pass the correct fd via SCM_RIGHTS in socket_scm_helper.c
(i.e. fd_to_send, not socket-fd).

Signed-off-by: Stratos Psomadakis <address@hidden>
Signed-off-by: Dimitris Aragiorgis <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: c2eb918e3299f930fd0d0ae48d002cf2599de250
      
https://github.com/qemu/qemu/commit/c2eb918e3299f930fd0d0ae48d002cf2599de250
  Author: Hu Tao <address@hidden>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

  Changed paths:
    M block/archipelago.c
    M block/cow.c
    M block/gluster.c
    M block/iscsi.c
    M block/nfs.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/rbd.c
    M block/sheepdog.c
    M block/ssh.c
    M block/vdi.c
    M block/vhdx.c
    M block/vmdk.c
    M block/vpc.c
    A tests/qemu-iotests/104
    A tests/qemu-iotests/104.out
    M tests/qemu-iotests/common.filter
    M tests/qemu-iotests/group

  Log Message:
  -----------
  block: round up file size to nearest sector

Currently the file size requested by user is rounded down to nearest
sector, causing the actual file size could be a bit less than the size
user requested. Since some formats (like qcow2) record virtual disk
size in bytes, this can make the last few bytes cannot be accessed.

This patch fixes it by rounding up file size to nearest sector so that
the actual file size is no less than the requested file size.

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


  Commit: 180e95265e87edcb457a9f92f844e4b08bcc60a0
      
https://github.com/qemu/qemu/commit/180e95265e87edcb457a9f92f844e4b08bcc60a0
  Author: Hu Tao <address@hidden>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

  Changed paths:
    M block/gluster.c
    M block/qcow.c
    M block/qcow2.c
    M block/raw-posix.c
    M block/raw-win32.c

  Log Message:
  -----------
  block: don't convert file size to sector size

and avoid converting it back later.

Signed-off-by: Hu Tao <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Benoît Canet <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>


  Commit: ffeaac9b4e23a3033e8120cc34bacadc09487f1b
      
https://github.com/qemu/qemu/commit/ffeaac9b4e23a3033e8120cc34bacadc09487f1b
  Author: Hu Tao <address@hidden>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

  Changed paths:
    M block/qcow2.c
    M qapi/block-core.json
    M tests/qemu-iotests/049.out

  Log Message:
  -----------
  qapi: introduce PreallocMode and new PreallocModes full and falloc.

This patch prepares for the subsequent patches.

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


  Commit: 06247428be8037b3739280f82cb29efe8397695f
      
https://github.com/qemu/qemu/commit/06247428be8037b3739280f82cb29efe8397695f
  Author: Hu Tao <address@hidden>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

  Changed paths:
    M block/raw-posix.c
    M qemu-doc.texi
    M qemu-img.texi

  Log Message:
  -----------
  raw-posix: Add falloc and full preallocation option

This patch adds a new option preallocation for raw format, and implements
falloc and full preallocation.

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


  Commit: 0e4271b711a8ea766d29824c844e268b91ac3ae5
      
https://github.com/qemu/qemu/commit/0e4271b711a8ea766d29824c844e268b91ac3ae5
  Author: Hu Tao <address@hidden>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

  Changed paths:
    M block/qcow2.c
    M qemu-doc.texi
    M qemu-img.texi
    M tests/qemu-iotests/082.out

  Log Message:
  -----------
  qcow2: Add falloc and full preallocation option

preallocation=falloc allocates disk space by posix_fallocate(),
preallocation=full allocates disk space by writing zeros to disk.
Both modes imply preallocation=metadata.

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


  Commit: f2bcdc8de018d33ecf93da7a94f327956ecf76ea
      
https://github.com/qemu/qemu/commit/f2bcdc8de018d33ecf93da7a94f327956ecf76ea
  Author: Peter Maydell <address@hidden>
  Date:   2014-09-15 (Mon, 15 Sep 2014)

  Changed paths:
    M block.c
    M block/Makefile.objs
    A block/accounting.c
    M block/archipelago.c
    M block/cow.c
    M block/gluster.c
    M block/iscsi.c
    M block/nfs.c
    M block/qapi.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/rbd.c
    M block/sheepdog.c
    M block/ssh.c
    M block/vdi.c
    M block/vhdx.c
    M block/vmdk.c
    M block/vpc.c
    M blockdev.c
    M dma-helpers.c
    M hw/block/dataplane/virtio-blk.c
    M hw/block/nvme.c
    M hw/block/virtio-blk.c
    M hw/block/xen_disk.c
    M hw/ide/ahci.c
    M hw/ide/atapi.c
    M hw/ide/core.c
    M hw/ide/macio.c
    M hw/ide/mmio.c
    M hw/ide/piix.c
    M hw/scsi/scsi-disk.c
    A include/block/accounting.h
    M include/block/block.h
    M include/block/block_int.h
    M include/block/thread-pool.h
    M include/hw/virtio/virtio-blk.h
    M include/sysemu/dma.h
    M qapi/block-core.json
    M qemu-doc.texi
    M qemu-img.texi
    M qemu-io.c
    M tests/qemu-iotests/025
    M tests/qemu-iotests/049.out
    M tests/qemu-iotests/082.out
    A tests/qemu-iotests/104
    A tests/qemu-iotests/104.out
    M tests/qemu-iotests/common.filter
    M tests/qemu-iotests/group
    M tests/qemu-iotests/socket_scm_helper.c
    M thread-pool.c

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

Block patches

# gpg: Signature made Fri 12 Sep 2014 16:09:43 BST using RSA key ID C88F2FD6
# gpg: Good signature from "Kevin Wolf <address@hidden>"

* remotes/kevin/tags/for-upstream: (22 commits)
  qcow2: Add falloc and full preallocation option
  raw-posix: Add falloc and full preallocation option
  qapi: introduce PreallocMode and new PreallocModes full and falloc.
  block: don't convert file size to sector size
  block: round up file size to nearest sector
  iotests: Send the correct fd in socket_scm_helper
  blockdev: Refuse to drive_del something added with blockdev-add
  block: extend BLOCK_IO_ERROR with reason string
  dataplane: fix virtio_blk_data_plane_create() op blocker error path
  qemu-iotests: Run 025 for Archipelago block driver
  block/archipelago: Implement bdrv_truncate()
  block: Make the block accounting functions operate on BlockAcctStats
  block: rename BlockAcctType members to start with BLOCK_ instead of BDRV_
  block: Extract the block accounting code
  block: Extract the BlockAcctStats structure
  IDE: MMIO IDE device control should be little endian
  thread-pool: Drop unnecessary includes
  xen: Drop redundant bdrv_close() from pci_piix3_xen_ide_unplug()
  xen_disk: Plug memory leak on error path
  qemu-io: Clean up openfile() after commit 2e40134
  ...

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


Compare: https://github.com/qemu/qemu/compare/16ab5046c4a6...f2bcdc8de018

reply via email to

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