aboutsummaryrefslogtreecommitdiffstats
path: root/block.c
AgeCommit message (Expand)AuthorFilesLines
2014-11-03block: let mirror blockjob run in BDS AioContextStefan Hajnoczi1-2/+11
2014-11-03block: add bdrv_drain()Stefan Hajnoczi1-7/+29
2014-11-03block: Add status callback to bdrv_amend_options()Max Reitz1-2/+3
2014-11-03block.c: Fix type of IoOperationType variable in send_qmp_error_event()Peter Maydell1-3/+3
2014-11-03block: avoid creating oversized writes in multiwrite_mergePeter Lieven1-0/+5
2014-11-03BlockLimits: introduce max_transfer_lengthPeter Lieven1-0/+4
2014-10-23block: Respect underlying file's EOFMax Reitz1-2/+13
2014-10-23block: Add qemu_{,try_}blockalign0()Max Reitz1-0/+16
2014-10-20block: Lift device model API into BlockBackendMarkus Armbruster1-113/+13
2014-10-20block: Rename BlockDriverCompletionFunc to BlockCompletionFuncMarkus Armbruster1-15/+15
2014-10-20block: Rename BlockDriverAIOCB* to BlockAIOCB*Markus Armbruster1-62/+62
2014-10-20block: Merge BlockBackend and BlockDriverState name spacesMarkus Armbruster1-36/+12
2014-10-20block: Eliminate BlockDriverState member device_name[]Markus Armbruster1-22/+27
2014-10-20block: Eliminate bdrv_iterate(), use bdrv_next()Markus Armbruster1-9/+0
2014-10-20block: Connect BlockBackend and DriveInfoMarkus Armbruster1-2/+0
2014-10-20block: Connect BlockBackend to BlockDriverStateMarkus Armbruster1-4/+8
2014-10-20block: Split bdrv_new_root() off bdrv_new()Markus Armbruster1-9/+19
2014-10-14block/migration: Disable cache invalidate for incoming migrationAlexey Kardashevskiy1-13/+5
2014-10-03util: Emancipate id_wellformed() from QemuOptsMarkus Armbruster1-7/+2
2014-09-25block: Validate node-nameKevin Wolf1-3/+13
2014-09-25block: Improve message for device name clashing with node nameMarkus Armbruster1-1/+2
2014-09-25block: Keep DriveInfo alive until BlockDriverState diesMarkus Armbruster1-0/+2
2014-09-22block: Rename qemu_aio_release -> qemu_aio_unrefFam Zheng1-4/+4
2014-09-22block: Drop AIOCBInfo.cancelFam Zheng1-14/+10
2014-09-22block: Drop bdrv_em_aiocb_info.cancelFam Zheng1-10/+0
2014-09-22block: Drop bdrv_em_co_aiocb_info.cancelFam Zheng1-21/+0
2014-09-22block: Add bdrv_aio_cancel_asyncFam Zheng1-1/+26
2014-09-22block: Add refcnt in BlockDriverAIOCBFam Zheng1-1/+11
2014-09-11block: extend BLOCK_IO_ERROR with reason stringLuiz Capitulino1-1/+2
2014-09-10block: Make the block accounting functions operate on BlockAcctStatsBenoît Canet1-1/+12
2014-09-10block: Extract the block accounting codeBenoît Canet1-25/+2
2014-09-10block: Extract the BlockAcctStats structureBenoît Canet1-5/+6
2014-09-10block: extend BLOCK_IO_ERROR event with nospace indicatorLuiz Capitulino1-8/+14
2014-09-08block: kill tail whitespace in block.cLiu Yuan1-1/+1
2014-08-29block: fix overlapping multiwrite requestsStefan Hajnoczi1-0/+6
2014-08-29block: Add AIO context notifiersMax Reitz1-0/+56
2014-08-28block: sort formats alphabetically in bdrv_iterate_format()Stefan Hajnoczi1-1/+13
2014-08-20block: Add bdrv_refresh_filename()Max Reitz1-0/+135
2014-08-20block: Use g_new() & friends where that makes obvious senseMarkus Armbruster1-7/+7
2014-08-15block: Catch !bs->drv in bdrv_check()Max Reitz1-0/+3
2014-08-15block: Handle failure for potentially large allocationsKevin Wolf1-7/+27
2014-08-15block: Introduce qemu_try_blockalign()Kevin Wolf1-0/+13
2014-08-15block: allow bdrv_unref() to be passed NULL pointersJeff Cody1-0/+3
2014-08-15block: bump coroutine pool size for drivesStefan Hajnoczi1-0/+6
2014-08-15block: Avoid bdrv_get_geometry() where errors should be detectedMarkus Armbruster1-3/+8
2014-08-15block: Drop superfluous aligning of bdrv_getlength()'s valueMarkus Armbruster1-1/+0
2014-08-15block: Use bdrv_nb_sectors() where sectors, not bytes are wantedMarkus Armbruster1-2/+1
2014-08-15block: Use bdrv_nb_sectors() in bdrv_co_get_block_status()Markus Armbruster1-8/+8
2014-08-15block: Use bdrv_nb_sectors() in bdrv_aligned_preadv()Markus Armbruster1-5/+4
2014-08-15block: Use bdrv_nb_sectors() in bdrv_make_zero()Markus Armbruster1-7/+5
2014-08-15block: New bdrv_nb_sectors()Markus Armbruster1-10/+19
2014-07-18block: Add Error argument to bdrv_refresh_limits()Kevin Wolf1-10/+23
2014-07-14block: Assert qiov length matches request lengthKevin Wolf1-0/+2
2014-07-14block: Make qiov match the request size until EOFKevin Wolf1-2/+14
2014-07-09block: prefer aio_poll to qemu_aio_waitPaolo Bonzini1-1/+1
2014-07-09block: Fix bdrv_is_allocated() return valueKevin Wolf1-1/+1
2014-07-07block: block: introduce APIs for submitting IO as a batchMing Lei1-0/+31
2014-07-01block: extend block-commit to accept a string for the backing fileJeff Cody1-2/+6
2014-07-01block: add helper function to determine if a BDS is in a chainJeff Cody1-0/+11
2014-07-01block: simplify bdrv_find_base() and bdrv_find_overlay()Jeff Cody1-35/+10
2014-06-27block.c: Don't return success for bdrv_append_temp_snapshot() failureChen Gang1-3/+4
2014-06-27block: Add replaces argument to drive-mirrorBenoît Canet1-0/+25
2014-06-27block: check for RESIZE blocker in the QMP command, not bdrv_truncate()Jeff Cody1-3/+1
2014-06-26block: Remove a special case for protocolsKevin Wolf1-16/+2
2014-06-26block: Catch backing files assigned to non-COW driversKevin Wolf1-0/+7
2014-06-26block: Remove second bdrv_open() recursionKevin Wolf1-25/+25
2014-06-26block: Inline bdrv_file_open()Kevin Wolf1-40/+11
2014-06-26block: Use common driver selection code for bdrv_open_file()Kevin Wolf1-37/+30
2014-06-26block: Always pass driver name through options QDictKevin Wolf1-36/+40
2014-06-26block: Move json: parsing to bdrv_fill_options()Kevin Wolf1-43/+45
2014-06-26block: Move bdrv_fill_options() call to bdrv_open()Kevin Wolf1-10/+15
2014-06-26block: Create bdrv_fill_options()Kevin Wolf1-43/+69
2014-06-24block.c: Remove useless 'buf' variableChen Gang1-2/+0
2014-06-23qapi event: convert BLOCK_IO_ERROR and BLOCK_JOB_ERRORWenchao Xia1-33/+8
2014-06-23qapi event: convert DEVICE_TRAY_MOVEDWenchao Xia1-14/+7
2014-06-23qapi: adjust existing definesWenchao Xia1-8/+9
2014-06-23block: asynchronously stop the VM on I/O errorsPaolo Bonzini1-2/+19
2014-06-16cleanup QEMUOptionParameterChunyan Liu1-80/+13
2014-06-16change block layer to support both QemuOpts and QEMUOptionParamterChunyan Liu1-49/+111
2014-06-04throttle: add throttle_detach/attach_aio_context()Stefan Hajnoczi1-0/+7
2014-06-04block: add bdrv_set_aio_context()Stefan Hajnoczi1-2/+55
2014-06-04block: acquire AioContext in bdrv_drain_all()Stefan Hajnoczi1-14/+11
2014-06-04block: acquire AioContext in bdrv_*_all()Stefan Hajnoczi1-1/+23
2014-06-04block: use BlockDriverState AioContextStefan Hajnoczi1-9/+18
2014-05-30block: Plug memory leak on brv_open_image() error pathMarkus Armbruster1-0/+1
2014-05-28block: Drop redundant bdrv_refresh_limitsFam Zheng1-3/+0
2014-05-28block: Add backing_blocker in BlockDriverStateFam Zheng1-4/+19
2014-05-28block: Use bdrv_set_backing_hd everywhereFam Zheng1-4/+2
2014-05-28block: Add bdrv_set_backing_hd()Fam Zheng1-13/+23
2014-05-28block: Replace in_use with operation blockerFam Zheng1-17/+7
2014-05-28block: Introduce op_blockers to BlockDriverStateFam Zheng1-0/+76
2014-05-19block: optimize zero writes with bdrv_write_zeroesPeter Lieven1-0/+9
2014-05-19block: Allow JSON filenamesMax Reitz1-0/+41
2014-05-19block: Fix bdrv_is_allocated() for short backing filesKevin Wolf1-4/+6
2014-05-09block: Fix open flags with BDRV_O_SNAPSHOTKevin Wolf1-15/+19
2014-04-30block: Fix open_flags in bdrv_reopen()Kevin Wolf1-1/+4
2014-04-30Revert "block: another bdrv_append fix"Kevin Wolf1-1/+0
2014-04-30block: Unlink temporary files in raw-posix/win32Kevin Wolf1-26/+10
2014-04-30block: Remove BDRV_O_COPY_ON_READ for bs->fileKevin Wolf1-1/+1
2014-04-30block: Create bdrv_backing_flags()Kevin Wolf1-6/+17
2014-04-30block: Create bdrv_inherited_flags()Kevin Wolf1-2/+26
2014-04-29block: Ignore duplicate or NULL format_name in bdrv_iterate_formatJeff Cody1-1/+16
2014-04-25Use error_is_set() only when necessary (again)Markus Armbruster1-1/+1
2014-04-25block: Prevent coroutine stack overflow when recursing in bdrv_open_backing_f...Benoît Canet1-15/+18
2014-04-22block: Catch duplicate IDs in bdrv_new()Kevin Wolf1-0/+11
2014-04-22block: Add errp to bdrv_new()Kevin Wolf1-3/+3
2014-04-22block: Remove -errno return value from bdrv_assign_node_nameKevin Wolf1-12/+11
2014-04-22block: Handle error of bdrv_getlength in bdrv_create_dirty_bitmapFam Zheng1-2/+9
2014-04-22block: Check bdrv_getlength() return value in bdrv_make_zero()Kevin Wolf1-1/+7
2014-04-22block: Catch integer overflow in bdrv_rw_co()Kevin Wolf1-0/+4
2014-04-22block: Limit size to INT_MAX in bdrv_check_byte_request()Kevin Wolf1-0/+4
2014-04-22block: Fix nb_sectors check in bdrv_check_byte_request()Kevin Wolf1-1/+1
2014-04-04block: Check bdrv_getlength() return value in bdrv_append_temp_snapshot()Kevin Wolf1-1/+6
2014-04-04block: Fix snapshot=on for protocol parsed from filenameKevin Wolf1-70/+78
2014-04-04block: Don't parse 'filename' optionKevin Wolf1-4/+4
2014-04-01block: Limit request size (CVE-2014-0143)Kevin Wolf1-0/+4
2014-03-19block: Add error handling to bdrv_invalidate_cache()Kevin Wolf1-6/+22
2014-03-14blockdev: Refuse to open encrypted image unless pausedMarkus Armbruster1-1/+8
2014-03-13block: Unlink temporary fileMax Reitz1-1/+1
2014-03-13block: Rewrite the snapshot authorization mechanism for block filters.Benoît Canet1-26/+21
2014-03-13block: bs->drv may be NULL in bdrv_debug_resume()Max Reitz1-1/+1
2014-03-13block: Update image size in bdrv_invalidate_cache()Kevin Wolf1-1/+9
2014-03-06block: Fix error path segfault in bdrv_open()Kevin Wolf1-0/+1
2014-03-06block: Keep "filename" option after parsingMax Reitz1-1/+6
2014-03-06block: make bdrv_swap rebuild the bs graph node list field.Benoît Canet1-5/+19
2014-03-05block: Fix bs->request_alignment assertion for bs->sg=1Kevin Wolf1-1/+1
2014-02-28block: use /var/tmp instead of /tmp for -snapshotAmit Shah1-2/+3
2014-02-21block: Remove bdrv_open_image()'s force_raw optionMax Reitz1-23/+4
2014-02-21block: Reuse success path from bdrv_open()Max Reitz1-34/+29
2014-02-21block: Handle bs->options in bdrv_open() onlyMax Reitz1-23/+15
2014-02-21block: Remove bdrv_new() from bdrv_file_open()Max Reitz1-11/+13
2014-02-21block: Reuse reference handling from bdrv_open()Max Reitz1-25/+7
2014-02-21block: Make bdrv_file_open() staticMax Reitz1-5/+11
2014-02-21block: Add reference parameter to bdrv_open()Max Reitz1-7/+37
2014-02-21block: Change BDS parameter of bdrv_open() to **Max Reitz1-24/+40
2014-02-21block: Fix bdrv_is_first_non_filter()Kevin Wolf1-5/+1
2014-02-20Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into stagingPeter Maydell1-8/+8
2014-02-17Use error_is_set() only when necessaryMarkus Armbruster1-8/+8
2014-02-14block: Open by reference will try device then node_name.Benoît Canet1-2/+8
2014-02-14block: Relax bdrv_lookup_bs constraints.Benoît Canet1-15/+11
2014-02-09block: Fix 32 bit truncation in mark_request_serialising()Kevin Wolf1-3/+3
2014-02-09block: Don't call ROUND_UP with negative valuesKevin Wolf1-2/+2
2014-02-09block: bdrv_aligned_pwritev: Assert overlap rangeKevin Wolf1-0/+2
2014-02-09block: Fix memory leaks in bdrv_co_do_pwritev()Kevin Wolf1-2/+2
2014-02-09block: Fail gracefully with missing filenameKevin Wolf1-5/+6
2014-01-24block: Switch bdrv_io_limits_intercept() to byte granularityKevin Wolf1-8/+5
2014-01-24qemu-iotests: Test pwritev RMW logicKevin Wolf1-0/+7
2014-01-24block: Make bdrv_pwrite() a bdrv_prwv_co() wrapperKevin Wolf1-55/+9
2014-01-24block: Make bdrv_pread() a bdrv_prwv_co() wrapperKevin Wolf1-36/+13
2014-01-24block: Change coroutine wrapper to byte granularityKevin Wolf1-22/+26
2014-01-24block: Assert serialisation assumptions in pwritevKevin Wolf1-4/+12
2014-01-24block: Align requests in bdrv_co_do_pwritev()Kevin Wolf1-1/+85
2014-01-24block: Allow wait_serialising_requests() at any pointKevin Wolf1-3/+10
2014-01-24block: Make overlap range for serialisation dynamicKevin Wolf1-26/+27
2014-01-24block: Generalise and optimise COR serialisationKevin Wolf1-19/+29
2014-01-24block: Make zero-after-EOF work with larger alignmentKevin Wolf1-3/+4
2014-01-24block: Allow waiting for overlapping requests between begin/endKevin Wolf1-18/+20
2014-01-24block: Switch BdrvTrackedRequest to byte granularityKevin Wolf1-18/+34
2014-01-24block: Introduce bdrv_co_do_pwritev()Kevin Wolf1-6/+18
2014-01-24block: write: Handle COR dependency after I/O throttlingKevin Wolf1-4/+4
2014-01-24block: Introduce bdrv_aligned_pwritev()Kevin Wolf1-21/+41
2014-01-24block: Introduce bdrv_co_do_preadv()Kevin Wolf1-6/+58
2014-01-24block: Introduce bdrv_aligned_preadv()Kevin Wolf1-18/+43
2014-01-24raw: Probe required direct I/O alignmentPaolo Bonzini1-0/+3
2014-01-24block: rename buffer_alignment to guest_block_sizePaolo Bonzini1-5/+5
2014-01-24block: Don't use guest sector size for qemu_blockalign()Kevin Wolf1-3/+20
2014-01-24block: Detect unaligned length in bdrv_qiov_is_aligned()Kevin Wolf1-0/+3
2014-01-24block: Update BlockLimits when they might have changedKevin Wolf1-1/+4
2014-01-24block: Inherit opt_transfer_lengthKevin Wolf1-1/+19
2014-01-24block: Move initialisation of BlockLimits to bdrv_refresh_limits()Kevin Wolf1-0/+18
2014-01-24block: Fix bdrv_commit return valueKevin Wolf1-5/+10
2014-01-24block: resize backing file image during offline commit, if necessaryJeff Cody1-3/+25
2014-01-24block: Create authorizations mechanism for external snapshot and resize.Benoît Canet1-9/+56
2014-01-24qmp: Allow to change password on named block driver states.Benoît Canet1-0/+32
2014-01-24qmp: Add QMP query-named-block-nodes to list the named BlockDriverState nodes.Benoît Canet1-0/+18
2014-01-24block: Allow the user to define "node-name" option both on command line and QMP.Benoît Canet1-0/+35
2014-01-24block: Add bs->node_name to hold the name of a bs node of the bs graph.Benoît Canet1-14/+43
2014-01-22block: fix backing file segfaultPeter Feiner1-2/+6
2014-01-22block: Allow recursive "file"sMax Reitz1-2/+7
2014-01-22block: Use bdrv_open_image() in bdrv_open()Max Reitz1-13/+5
2014-01-22block: Add bdrv_open_image()Max Reitz1-0/+73
2014-01-22block: Allow block devices without filesMax Reitz1-7/+16
2014-01-22block: Pass reference to bdrv_file_open()Max Reitz1-1/+4
2014-01-22block: Allow reference for bdrv_file_open()Max Reitz1-3/+22
2013-12-13block: expect get_block_status errors in bdrv_make_zeroPeter Lieven1-0/+5
2013-12-06block: clean up bdrv_drain_all() throttling commentsStefan Hajnoczi1-6/+1
2013-12-04block: Close backing file early in bdrv_img_createMax Reitz1-4/+4
2013-12-03block: make bdrv_co_do_write_zeroes stricter in producing aligned requestsPaolo Bonzini1-12/+23
2013-12-03block: handle ENOTSUP from discard in generic codePaolo Bonzini1-1/+1
2013-12-03block: add bdrv_aio_write_zeroesPaolo Bonzini1-0/+11
2013-12-03block: add flags argument to bdrv_co_write_zeroes tracepointPaolo Bonzini1-1/+1
2013-12-03block: add flags to BlockRequestPaolo Bonzini1-6/+11
2013-12-03block: generalize BlockLimits handling to cover bdrv_aio_discard tooPaolo Bonzini1-39/+41
2013-11-29block: Use BDRV_O_NO_BACKING where appropriateKevin Wolf1-1/+2
2013-11-29block: Enable BDRV_O_SNAPSHOT with driver-specific optionsKevin Wolf1-26/+21
2013-11-29blkdebug: add "remove_break" commandFam Zheng1-0/+13
2013-11-29qapi: Change BlockDirtyInfo to listFam Zheng1-0/+20
2013-11-29block: per caller dirty bitmapFam Zheng1-34/+49
2013-11-28block/get_block_status: fix BDRV_BLOCK_ZERO for unallocated blocksPeter Lieven1-2/+2
2013-11-28block: introduce bdrv_make_zeroPeter Lieven1-0/+37