aboutsummaryrefslogtreecommitdiffstats
path: root/block
AgeCommit message (Expand)AuthorFilesLines
2018-03-02qapi: Empty out qapi-schema.jsonMarkus Armbruster1-1/+1
2018-03-02Include less of the generated modular QAPI headersMarkus Armbruster11-14/+13
2018-03-02Include qapi/qmp/qerror.h exactly where neededMarkus Armbruster1-1/+0
2018-03-01nbd: Honor server's advertised minimum block sizeEric Blake2-3/+2
2018-03-01block/nvme: fix Coverity reportsPaolo Bonzini1-3/+7
2018-02-13qcow2: Allow configuring the L2 slice sizeAlberto Garcia3-11/+39
2018-02-13qcow2: Rename l2_table in count_cow_clusters()Alberto Garcia1-2/+2
2018-02-13qcow2: Rename l2_table in count_contiguous_clusters_unallocated()Alberto Garcia1-3/+3
2018-02-13qcow2: Rename l2_table in count_contiguous_clusters()Alberto Garcia1-4/+4
2018-02-13qcow2: Rename l2_table in qcow2_alloc_compressed_cluster_offset()Alberto Garcia1-8/+8
2018-02-13qcow2: Update qcow2_truncate() to support L2 slicesAlberto Garcia1-3/+3
2018-02-13qcow2: Update expand_zero_clusters_in_l1() to support L2 slicesAlberto Garcia1-23/+28
2018-02-13qcow2: Prepare expand_zero_clusters_in_l1() for adding L2 slice supportAlberto Garcia1-91/+96
2018-02-13qcow2: Read refcount before L2 table in expand_zero_clusters_in_l1()Alberto Garcia1-6/+6
2018-02-13qcow2: Update qcow2_update_snapshot_refcount() to support L2 slicesAlberto Garcia1-14/+18
2018-02-13qcow2: Prepare qcow2_update_snapshot_refcount() for adding L2 slice supportAlberto Garcia1-69/+75
2018-02-13qcow2: Update zero_single_l2() to support L2 slicesAlberto Garcia1-14/+14
2018-02-13qcow2: Update discard_single_l2() to support L2 slicesAlberto Garcia1-16/+16
2018-02-13qcow2: Update handle_alloc() to support L2 slicesAlberto Garcia1-9/+9
2018-02-13qcow2: Update handle_copied() to support L2 slicesAlberto Garcia1-8/+8
2018-02-13qcow2: Update qcow2_alloc_cluster_link_l2() to support L2 slicesAlberto Garcia1-8/+8
2018-02-13qcow2: Update qcow2_get_cluster_offset() to support L2 slicesAlberto Garcia1-15/+15
2018-02-13qcow2: Update get_cluster_table() to support L2 slicesAlberto Garcia1-8/+8
2018-02-13qcow2: Refactor get_cluster_table()Alberto Garcia1-14/+7
2018-02-13qcow2: Update l2_allocate() to support L2 slicesAlberto Garcia1-22/+34
2018-02-13qcow2: Prepare l2_allocate() for adding L2 slice supportAlberto Garcia1-24/+29
2018-02-13qcow2: Update l2_load() to support L2 slicesAlberto Garcia1-11/+17
2018-02-13qcow2: Add offset_to_l2_slice_index()Alberto Garcia1-0/+5
2018-02-13qcow2: Add l2_slice_size field to BDRVQcow2StateAlberto Garcia2-0/+4
2018-02-13qcow2: Add offset_to_l1_index()Alberto Garcia2-2/+7
2018-02-13qcow2: Remove BDS parameter from qcow2_cache_is_table_offset()Alberto Garcia3-7/+5
2018-02-13qcow2: Remove BDS parameter from qcow2_cache_discard()Alberto Garcia3-5/+5
2018-02-13qcow2: Remove BDS parameter from qcow2_cache_clean_unused()Alberto Garcia3-4/+4
2018-02-13qcow2: Remove BDS parameter from qcow2_cache_destroy()Alberto Garcia3-10/+10
2018-02-13qcow2: Remove BDS parameter from qcow2_cache_put()Alberto Garcia4-31/+31
2018-02-13qcow2: Remove BDS parameter from qcow2_cache_entry_mark_dirty()Alberto Garcia4-18/+14
2018-02-13qcow2: Remove BDS parameter from qcow2_cache_table_release()Alberto Garcia1-5/+4
2018-02-13qcow2: Remove BDS parameter from qcow2_cache_get_table_idx()Alberto Garcia1-5/+4
2018-02-13qcow2: Remove BDS parameter from qcow2_cache_get_table_addr()Alberto Garcia1-7/+6
2018-02-13qcow2: Add table size field to Qcow2CacheAlberto Garcia1-15/+14
2018-02-13qcow2: Fix documentation of get_cluster_table()Alberto Garcia1-2/+1
2018-02-13block: maintain persistent disabled bitmapsVladimir Sementsov-Ogievskiy4-25/+9
2018-02-13sheepdog: Allow fully preallocated truncationMax Reitz1-3/+12
2018-02-13sheepdog: Pass old and new size to sd_prealloc()Max Reitz1-11/+5
2018-02-13sheepdog: Make sd_prealloc() take a BDSMax Reitz1-8/+21
2018-02-13gluster: Add preallocated truncationMax Reitz1-16/+1
2018-02-13gluster: Query current size in do_truncate()Max Reitz1-2/+19
2018-02-13gluster: Pull truncation from qemu_gluster_createMax Reitz1-34/+40
2018-02-13gluster: Move glfs_close() to create's clean-upMax Reitz1-4/+6
2018-02-13qcow2: Use g_try_realloc() in qcow2_expand_zero_clusters()Alberto Garcia1-1/+9
2018-02-09block: Simplify bdrv_can_write_zeroes_with_unmap()Eric Blake6-19/+6
2018-02-09Move include qemu/option.h from qemu-common.h to actual usersMarkus Armbruster29-8/+34
2018-02-09Drop superfluous includes of qapi/qmp/qjson.hMarkus Armbruster2-2/+0
2018-02-09Include qapi/qmp/qbool.h exactly where neededMarkus Armbruster5-5/+0
2018-02-09Include qapi/qmp/qdict.h exactly where neededMarkus Armbruster12-0/+15
2018-02-09Include qapi/qmp/qlist.h exactly where neededMarkus Armbruster2-0/+2
2018-02-09qdict qlist: Make most helper macros functionsMarkus Armbruster1-0/+1
2018-02-09Eliminate qapi/qmp/types.hMarkus Armbruster2-2/+4
2018-02-09Drop superfluous includes of qapi/qmp/qerror.hMarkus Armbruster2-2/+0
2018-02-09Include qapi/error.h exactly where neededMarkus Armbruster7-2/+7
2018-02-09Clean up includesMarkus Armbruster1-1/+0
2018-02-08block: Move NVMe constants to a separate headerFam Zheng1-6/+1
2018-02-08block/nvme: Implement .bdrv_(un)register_bufFam Zheng1-0/+24
2018-02-08block: Introduce buf register APIFam Zheng2-0/+34
2018-02-08block: Add VFIO based NVMe driverFam Zheng3-0/+1204
2018-02-08curl: convert to CoQueuePaolo Bonzini1-16/+4
2018-01-31block/ssh: fix possible segmentation fault when .desc is not null-terminatedMurilo Opsfelder Araujo1-0/+1
2018-01-26nbd: implement bdrv_get_info callbackEdgar Kaziakhmedov1-0/+11
2018-01-24Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into stagingPeter Maydell5-16/+112
2018-01-23block/vmdk: Add blkdebug eventsMax Reitz1-0/+16
2018-01-23block/qcow: Add blkdebug eventsMax Reitz1-0/+16
2018-01-23qcow2: No persistent dirty bitmaps for compat=0.10Max Reitz2-3/+21
2018-01-23block/vmdk: Fix , instead of ; at end of lineMax Reitz1-1/+1
2018-01-23qcow2: Repair unaligned preallocated zero clustersMax Reitz1-12/+58
2018-01-22block/parallels: add backing support to readv/writevEdgar Kaziakhmedov1-6/+44
2018-01-22block/parallels: replace some magic numbersKlim Kireev2-2/+5
2018-01-22block/parallels: move some structures into headerKlim Kireev2-52/+87
2018-01-22configure: add dependencyKlim Kireev1-0/+2
2018-01-16block/iscsi: fix initialization of iTask in iscsi_co_get_block_statusPeter Lieven1-1/+2
2018-01-08block/nbd: fix segmentation fault when .desc is not null-terminatedMurilo Opsfelder Araujo1-0/+1
2017-12-22block: Keep nodes drained between reopen_queue/multipleKevin Wolf1-0/+6
2017-12-22commit: Simplify reopen of baseKevin Wolf1-7/+1
2017-12-22block: Allow graph changes in subtree drained sectionKevin Wolf1-4/+24
2017-12-22block: Add bdrv_subtree_drained_begin/end()Kevin Wolf1-11/+43
2017-12-22block: Don't notify parents in drain call chainKevin Wolf1-13/+34
2017-12-22block: Nested drain_end must still call callbacksKevin Wolf1-5/+7
2017-12-22block: Don't block_job_pause_all() in bdrv_drain_all()Kevin Wolf1-4/+0
2017-12-22block: Make bdrv_drain() driver callbacks non-recursiveKevin Wolf1-7/+9
2017-12-22block: Assert drain_all is only called from main AioContextKevin Wolf1-0/+6
2017-12-22block: Remove unused bdrv_requests_pendingFam Zheng1-18/+0
2017-12-22qcow2: get rid of qcow2_backing_read1 routineEdgar Kaziakhmedov2-46/+8
2017-12-22block: Unify order in drain functionsKevin Wolf1-4/+8
2017-12-22block: Don't wait for requests in bdrv_drain*_end()Kevin Wolf1-2/+0
2017-12-22block: bdrv_drain_recurse(): Remove unused begin parameterKevin Wolf1-6/+6
2017-12-22block: Call .drain_begin only once in bdrv_drain_all_begin()Kevin Wolf1-2/+1
2017-12-22block: Make bdrv_drain_invoke() recursiveKevin Wolf1-3/+11
2017-12-21block/iscsi: only report an iSCSI Failure if we don't handle it gracefullyPeter Lieven1-11/+32
2017-12-21block/iscsi: dont leave allocmap in an invalid state on UNMAP failurePeter Lieven1-4/+4
2017-12-20Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into ...Peter Maydell2-4/+2
2017-12-19Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into stagingPeter Maydell4-141/+172
2017-12-19coroutine: simplify co_aio_sleep_ns() prototypeStefan Hajnoczi2-4/+2
2017-12-18block/curl: fix minor memory leaksJeff Cody1-0/+6
2017-12-18block/curl: check error return of curl_global_init()Jeff Cody1-6/+12
2017-12-18block/sheepdog: code beautificationJeff Cody1-82/+82
2017-12-18block/sheepdog: remove spurious NULL checkJeff Cody1-1/+1
2017-12-18backup: use copy_bitmap in incremental backupVladimir Sementsov-Ogievskiy1-38/+17
2017-12-18backup: simplify non-dirty bits progress processingVladimir Sementsov-Ogievskiy1-15/+3
2017-12-18backup: init copy_bitmap from sync_bitmap for incrementalVladimir Sementsov-Ogievskiy1-1/+43
2017-12-18backup: move from done_bitmap to copy_bitmapVladimir Sementsov-Ogievskiy1-9/+14
2017-12-18hbitmap: add next_zero functionVladimir Sementsov-Ogievskiy1-0/+5
2017-12-18block: remove "qemu/osdep.h" from header filePhilippe Mathieu-Daudé1-1/+0
2017-11-29block/nfs: fix nfs_client_open for filesize greater than 1TBPeter Lieven1-4/+3
2017-11-29blockjob: remove clock argument from block_job_sleep_nsPaolo Bonzini4-7/+7
2017-11-29block: Expect graph changes in bdrv_parent_drained_begin/endKevin Wolf1-4/+4
2017-11-21block: Error out on load_vm with active dirty bitmapsKevin Wolf1-12/+3
2017-11-21block: Add errp to bdrv_all_goto_snapshot()Kevin Wolf1-5/+6
2017-11-21block: Add errp to bdrv_snapshot_goto()Kevin Wolf1-6/+17
2017-11-21block: Don't request I/O permission with BDRV_O_NO_IOKevin Wolf1-4/+6
2017-11-17Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into stagingPeter Maydell15-39/+244
2017-11-17block: Make bdrv_next() keep strong referencesMax Reitz2-2/+52
2017-11-17qcow2: Fix overly broad madvise()Max Reitz1-1/+1
2017-11-17qcow2: Refuse to get unaligned offsets from cacheMax Reitz1-0/+21
2017-11-17qcow2: Add bounds check to get_refblock_offset()Max Reitz2-7/+25
2017-11-17block: Guard against NULL bs->drvMax Reitz4-2/+59
2017-11-17qcow2: Unaligned zero cluster in handle_alloc()Max Reitz1-1/+12
2017-11-17qcow2: check_errors are fatalMax Reitz1-1/+4
2017-11-17qcow2: reject unaligned offsets in write compressedAnton Nefedov1-0/+4
2017-11-17qcow2: fix image corruption on commit with persistent bitmapEric Blake1-7/+10
2017-11-17nbd: Don't crash when server reports NBD_CMD_READ failureEric Blake1-2/+2
2017-11-17qcow2: fix image corruption after committing qcow2 image into baseDaniel P. Berrange1-2/+4
2017-11-17block: Deprecate bdrv_set_read_only() and usersKevin Wolf5-14/+44
2017-11-17qcow2: don't permit changing encryption parametersDaniel P. Berrange1-0/+3
2017-11-17replication: Fix replication open failWang Guang1-4/+7
2017-11-16throttle-groups: forget timer and schedule next TGM on detachStefan Hajnoczi1-0/+12
2017-11-14block/parallels: add migration blockerJeff Cody1-0/+15
2017-11-14block/parallels: Do not update header or truncate image when INMIGRATEJeff Cody1-5/+2
2017-11-14block/vhdx.c: Don't blindly update the headerJeff Cody1-7/+0
2017-11-14block/snapshot: dirty all dirty bitmaps on snapshot-switchVladimir Sementsov-Ogievskiy1-0/+14
2017-11-14qcow2: Assert that the crypto header does not overlap other metadataAlberto Garcia1-0/+1
2017-11-14qcow2: Don't open images with header.refcount_table_clusters == 0Alberto Garcia1-0/+6
2017-11-14qcow2: Prevent allocating compressed clusters at offset 0Alberto Garcia1-0/+7
2017-11-14qcow2: Prevent allocating L2 tables at offset 0Alberto Garcia1-0/+8
2017-11-14qcow2: Prevent allocating refcount blocks at offset 0Alberto Garcia1-0/+7
2017-11-14Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into ...Peter Maydell2-12/+30
2017-11-13block: Leave valid throttle timers when removing a BDS from a backendAlberto Garcia1-8/+8
2017-11-13block: Check for inserted BlockDriverState in blk_io_limits_disable()Alberto Garcia1-4/+10
2017-11-13throttle-groups: drain before detaching ThrottleStateStefan Hajnoczi2-0/+8
2017-11-13block: all I/O should be completed before removing throttle timers.Zhengui1-0/+4
2017-11-09nbd-client: Stricter enforcing of structured reply specEric Blake1-2/+9
2017-11-09nbd-client: Short-circuit 0-length operationsEric Blake1-1/+10
2017-11-09nbd-client: Refuse read-only client with BDRV_O_RDWREric Blake1-0/+9
2017-11-09nbd-client: Fix error message typosEric Blake1-3/+3
2017-10-30nbd: Minimal structured read for clientVladimir Sementsov-Ogievskiy2-32/+459
2017-10-30nbd/client: prepare nbd_receive_reply for structured replyVladimir Sementsov-Ogievskiy1-3/+5
2017-10-26qcow2: Always execute preallocate() in a coroutineMax Reitz1-7/+34
2017-10-26qcow2: Fix unaligned preallocated truncationMax Reitz1-0/+1
2017-10-26qcow2: Emit errp when truncating the image tailMax Reitz1-6/+7
2017-10-26qcow2: Use BDRV_SECTOR_BITS instead of its literal valueAlberto Garcia1-2/+2
2017-10-26qcow2: Reduce is_zero() roundingEric Blake1-9/+3
2017-10-26block: Reduce bdrv_aligned_preadv() roundingEric Blake1-6/+2
2017-10-26block: Align block status requestsEric Blake2-27/+57
2017-10-26block: Convert bdrv_get_block_status_above() to bytesEric Blake3-77/+26
2017-10-26block: Switch bdrv_co_get_block_status_above() to byte-basedEric Blake1-44/+24
2017-10-26block: Switch bdrv_common_block_status_above() to byte-basedEric Blake1-31/+30
2017-10-26block: Switch BdrvCoGetBlockStatusData to byte-basedEric Blake1-18/+38
2017-10-26block: Switch bdrv_co_get_block_status() to byte-basedEric Blake1-43/+81
2017-10-26block: Convert bdrv_get_block_status() to bytesEric Blake2-14/+35
2017-10-26block: Switch bdrv_make_zero() to byte-basedEric Blake1-16/+16
2017-10-26qcow2: Switch is_zero_sectors() to byte-basedEric Blake1-14/+19
2017-10-26block: Make bdrv_round_to_clusters() signature more usefulEric Blake3-8/+7
2017-10-26block: Add flag to avoid wasted work in bdrv_is_allocated()Eric Blake1-16/+41
2017-10-26block: Allow NULL file for bdrv_get_block_status()Eric Blake3-30/+30
2017-10-16Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2017-10-14' into st...Peter Maydell1-8/+10
2017-10-13block/throttle.c: add bdrv_co_drain_begin/end callbacksManos Pitsidianakis1-0/+18
2017-10-13block: rename bdrv_co_drain to bdrv_co_drain_beginManos Pitsidianakis2-5/+5
2017-10-13block: add bdrv_co_drain_end callbackManos Pitsidianakis1-14/+34
2017-10-12block/nbd-client: refactor nbd_co_receive_replyVladimir Sementsov-Ogievskiy1-4/+4
2017-10-12block/nbd-client: assert qiov len once in nbd_co_requestVladimir Sementsov-Ogievskiy1-4/+6
2017-10-09config: qemu_config_parse() return number of config groupsEduardo Habkost1-1/+0
2017-10-06block/mirror: check backing in bdrv_mirror_top_flushVladimir Sementsov-Ogievskiy1-0/+4
2017-10-06qcow2: truncate the tail of the image file after shrinking the imagePavel Butsykin3-0/+46
2017-10-06qcow2: fix return error code in qcow2_truncate()Pavel Butsykin1-2/+2
2017-10-06block/mirror: check backing in bdrv_mirror_top_refresh_filenameVladimir Sementsov-Ogievskiy1-0/+5
2017-10-06block: support passthrough of BDRV_REQ_FUA in crypto driverDaniel P. Berrange1-2/+5
2017-10-06block: convert qcrypto_block_encrypt|decrypt to take bytes offsetDaniel P. Berrange4-19/+16
2017-10-06block: convert crypto driver to bdrv_co_preadv|pwritevDaniel P. Berrange1-52/+54
2017-10-06block: fix data type casting for crypto payload offsetDaniel P. Berrange1-4/+9
2017-10-06block: use 1 MB bounce buffers for crypto instead of 16KBDaniel P. Berrange1-13/+15
2017-10-06block: Perform copy-on-read in loopEric Blake1-38/+82
2017-10-06block: Add blkdebug hook for copy-on-readEric Blake1-0/+1
2017-10-06block: Uniform handling of 0-length bdrv_get_block_status()Eric Blake1-0/+4
2017-10-06commit: Remove overlay_bsKevin Wolf1-47/+15
2017-10-06commit: Support multiple roots above top nodeKevin Wolf1-1/+1
2017-10-06dirty-bitmap: Convert internal hbitmap size/granularityEric Blake1-44/+18
2017-10-06dirty-bitmap: Switch bdrv_set_dirty() to bytesEric Blake2-7/+6
2017-10-06qcow2: Switch store_bitmap_data() to byte-based iterationEric Blake1-15/+16
2017-10-06qcow2: Switch load_bitmap_data() to byte-based iterationEric Blake1-14/+8
2017-10-06qcow2: Switch qcow2_measure() to byte-based iterationEric Blake1-12/+10
2017-10-06mirror: Switch mirror_dirty_init() to byte-based iterationEric Blake1-24/+14
2017-10-06dirty-bitmap: Change bdrv_[re]set_dirty_bitmap() to use bytesEric Blake2-16/+22