aboutsummaryrefslogtreecommitdiffstats
path: root/block
AgeCommit message (Expand)AuthorFilesLines
2012-10-06Merge branch 'trivial-patches' of git://github.com/stefanha/qemuAurelien Jarno1-1/+0
2012-10-05cleanup useless return sentenceAmos Kong1-1/+0
2012-10-05qcow2: mark this file's sole strncpy use as justifiedJim Meyering1-0/+1
2012-10-05vmdk: relative_path: use pstrcpy in place of strncpyJim Meyering1-2/+1
2012-10-05sheepdog: avoid a few buffer overrunsJim Meyering1-12/+22
2012-09-28blkdebug: process all set_state rules in the old statePaolo Bonzini1-5/+7
2012-09-28stream: add on-error argumentPaolo Bonzini1-1/+27
2012-09-28iostatus: move BlockdevOnError declaration to QAPIPaolo Bonzini1-7/+7
2012-09-28block: move job APIs to separate filesPaolo Bonzini3-2/+5
2012-09-28block: add live block commit functionalityJeff Cody2-0/+268
2012-09-28block: Support GlusterFS as a QEMU block backend.Bharata B Rao2-0/+625
2012-09-25Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori12-91/+286
2012-09-24block: vpc image file reopenJeff Cody1-0/+7
2012-09-24block: vdi image file reopenJeff Cody1-0/+7
2012-09-24block: vmdk image file reopenJeff Cody1-0/+35
2012-09-24block: qcow image file reopenJeff Cody1-0/+10
2012-09-24block: qcow2 image file reopenJeff Cody1-0/+10
2012-09-24block: qed image file reopenJeff Cody1-0/+9
2012-09-24block: raw image file reopenJeff Cody1-0/+10
2012-09-24block: raw-posix image file reopenJeff Cody1-0/+114
2012-09-24block: purge s->aligned_buf and s->aligned_buf_size from raw-posix.cJeff Cody1-20/+1
2012-09-24block: use BDRV_O_NOCACHE instead of s->aligned_buf in raw-posix.cJeff Cody1-1/+1
2012-09-24block: do not parse BDRV_O_CACHE_WB in block driversJeff Cody5-24/+6
2012-09-24block: move open flag parsing in raw block drivers to helper functionsJeff Cody2-34/+47
2012-09-24block: move aio initialization into a helper functionJeff Cody1-18/+35
2012-09-21iSCSI: We dont need to explicitely call qemu_notify_event() any moreRonnie Sahlberg1-6/+0
2012-09-21iSCSI: We need to support SG_IO also from iscsi_ioctl()Ronnie Sahlberg1-0/+17
2012-09-12vdi: Fix warning from clangStefan Weil1-13/+12
2012-09-12block/curl: Fix wrong free statementStefan Weil1-2/+1
2012-09-12sheepdog: fix savevm and loadvmMORITA Kazutaka1-1/+2
2012-08-31Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori2-0/+17
2012-08-29stream: complete early if end of backing file is reachedStefan Hajnoczi1-0/+6
2012-08-29qed: refuse unaligned zero writes with a backing fileStefan Hajnoczi1-0/+11
2012-08-28iscsi: Set number of blocks to 0 for blank CDROM devicesRonnie Sahlberg1-1/+6
2012-08-22Merge remote-tracking branch 'bonzini/scsi-next' into stagingAnthony Liguori1-59/+63
2012-08-22Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori1-1/+57
2012-08-22sheepdog: don't leak socket file descriptor upon connection failureJim Meyering1-0/+1
2012-08-20iscsi: fix races between task completion and abortPaolo Bonzini1-29/+30
2012-08-20iscsi: simplify iscsi_schedule_bhPaolo Bonzini1-15/+9
2012-08-20iscsi: move iscsi_schedule_bh and iscsi_readv_writev_bh_cbPaolo Bonzini1-28/+28
2012-08-20Revert "iscsi: Fix NULL dereferences / races between task completion and abort"Paolo Bonzini1-23/+32
2012-08-17vmdk: Read footer for streamOptimized imagesKevin Wolf1-0/+56
2012-08-17vmdk: Fix header structureKevin Wolf1-1/+1
2012-08-15iscsi: Fix NULL dereferences / races between task completion and abortStefan Priebe1-32/+23
2012-08-15block: Convert close calls to qemu_closeCorey Bryant5-22/+22
2012-08-15block: Convert open calls to qemu_openCorey Bryant6-28/+26
2012-08-15block: Prevent detection of /dev/fdset/ as floppyCorey Bryant1-1/+3
2012-08-11Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori4-24/+50
2012-08-11Merge remote-tracking branch 'bonzini/scsi-next' into stagingAnthony Liguori1-30/+29
2012-08-10block: add BLOCK_O_CHECK for qemu-img checkStefan Hajnoczi2-3/+3
2012-08-10qcow2: mark image clean after repair succeedsStefan Hajnoczi1-13/+15
2012-08-10qed: mark image clean after repair succeedsStefan Hajnoczi3-8/+32
2012-08-09iscsi: Pick default initiator-name based on the name of the VMRonnie Sahlberg1-1/+4
2012-08-08iscsi: reorganize code for parse_initiator_namePaolo Bonzini1-12/+9
2012-08-08iscsi: do not leak initiator_namePaolo Bonzini1-17/+16
2012-08-06qcow2: implement lazy refcountsStefan Hajnoczi3-5/+86
2012-08-06qcow2: introduce dirty bitStefan Hajnoczi2-3/+55
2012-07-17vvfat: Do not clobber the user's geometryMarkus Armbruster1-24/+29
2012-07-17vvfat: Fix partition tableMarkus Armbruster1-3/+4
2012-07-17sheepdog: do not blindly memset all read buffersChristoph Hellwig1-19/+18
2012-07-17sheepdog: always use coroutine-based network functionsMORITA Kazutaka1-66/+47
2012-07-09Merge remote-tracking branch 'mjt/mjt-iov2' into stagingAnthony Liguori8-37/+35
2012-07-09Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori7-103/+153
2012-07-09raw: hook into blkdebugPaolo Bonzini1-0/+2
2012-07-09blkdebug: optionally tie errors to a specific sectorPaolo Bonzini1-2/+24
2012-07-09blkdebug: store list of active rulesPaolo Bonzini1-38/+31
2012-07-09blkdebug: pass getlength to underlying filePaolo Bonzini1-0/+6
2012-07-09blkdebug: tiny cleanupPaolo Bonzini1-6/+2
2012-07-09blkdebug: remove sync i/o eventsPaolo Bonzini2-3/+1
2012-07-09sheepdog: traverse pending_list from the first for each timeMORITA Kazutaka1-6/+16
2012-07-09sheepdog: split outstanding list into inflight and pendingMORITA Kazutaka1-25/+24
2012-07-09sheepdog: make sure we don't free aiocb before sending all requestsMORITA Kazutaka1-13/+16
2012-07-09sheepdog: use coroutine based socket functions in coroutine contextMORITA Kazutaka1-2/+8
2012-07-09sheepdog: restart I/O when socket becomes ready in do_co_req()MORITA Kazutaka1-0/+14
2012-07-09sheepdog: fix dprintf format stringsMORITA Kazutaka1-4/+4
2012-07-09qcow2: preserve free_byte_offset when qcow2_alloc_bytes() failsStefan Hajnoczi1-3/+4
2012-07-09qcow2: fix #ifdef'd qcow2_check_refcounts() callersStefan Hajnoczi2-4/+4
2012-07-02ISCSI: force use of sg for SMC and SSC devicesRonnie Sahlberg1-0/+10
2012-07-02ISCSI: Add SCSI passthrough via scsi-generic to libiscsiRonnie Sahlberg1-0/+142
2012-06-24raw-posix: Fix build without is_allocated supportKevin Wolf1-1/+8
2012-06-15qcow2: fix autoclear image header updateStefan Hajnoczi1-8/+9
2012-06-15qcow2: Fix avail_sectors in cluster allocation codeKevin Wolf1-1/+9
2012-06-15qcow2: Simplify calculation for COW area at the endKevin Wolf1-3/+2
2012-06-15qcow2: always operate caches in writeback modePaolo Bonzini4-44/+5
2012-06-15sheepdog: add coroutine_fn markers to coroutine functionsMORITA Kazutaka1-4/+5
2012-06-15rbd: hook up cache optionsJosh Durgin1-0/+19
2012-06-15qcow2: Support for fixing refcount inconsistenciesKevin Wolf3-15/+37
2012-06-15qemu-img check: Print fixed clusters and recheckKevin Wolf1-0/+2
2012-06-15qemu-img check -r for repairing imagesKevin Wolf3-4/+15
2012-06-15stream: move rate limiting to a separate header filePaolo Bonzini1-29/+2
2012-06-15stream: move is_allocated_above to block.cPaolo Bonzini1-51/+2
2012-06-15stream: tweak usage of bdrv_co_is_allocatedPaolo Bonzini1-26/+25
2012-06-15block: implement is_allocated for rawPaolo Bonzini2-0/+106
2012-06-15qcow2: fix endianness conversionZhi Yong Wu1-1/+1
2012-06-15qcow2: remove a line of unnecessary codeZhi Yong Wu1-1/+0
2012-06-15qcow2: Silence false warningKevin Wolf1-0/+2
2012-06-11cleanup qemu_co_sendv(), qemu_co_recvv() and friendsMichael Tokarev2-11/+13
2012-06-11change qemu_iovec_to_buf() to match other to,from_buf functionsMichael Tokarev4-5/+4
2012-06-11consolidate qemu_iovec_copy() and qemu_iovec_concat() and make them consistentMichael Tokarev2-5/+5
2012-06-11allow qemu_iovec_from_buffer() to specify offset from which to start copyingMichael Tokarev4-11/+8
2012-06-11consolidate qemu_iovec_memset{,_skip}() into single function and use existing...Michael Tokarev2-5/+5
2012-06-07build: move block/ objects to nested Makefile.objsPaolo Bonzini1-0/+11
2012-05-30block: prevent snapshot mode $TMPDIR symlink attackJim Meyering1-1/+6
2012-05-30sheepdog: fix return value of do_load_save_vm_stateMORITA Kazutaka1-5/+5
2012-05-29Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori3-56/+83
2012-05-28ISCSI: Switch to using READ16/WRITE16 for I/O to the LUNRonnie Sahlberg1-29/+83
2012-05-28ISCSI: Only call READCAPACITY16 for SBC devices, use READCAPACITY10 for MMCRonnie Sahlberg1-5/+59
2012-05-28ISCSI: get device type at connection timeRonnie Sahlberg1-2/+43
2012-05-28ISCSI: change num_blocks to 64-bitPaolo Bonzini1-1/+1
2012-05-28ISCSI: redo how we set up the eventsRonnie Sahlberg1-4/+21
2012-05-25qcow2: Check qcow2_alloc_clusters_at() return valueKevin Wolf1-10/+13
2012-05-25sheepdog: use heap instead of stack for BDRVSheepdogStateMORITA Kazutaka1-13/+22
2012-05-25sheepdog: return -errno on errorMORITA Kazutaka1-32/+46
2012-05-25sheepdog: mark image as snapshot when tag is specifiedMORITA Kazutaka1-1/+1
2012-05-25qcow2: don't leak buffer for unexpected qcow_version in headerJim Meyering1-1/+2
2012-05-14qcow2: Don't ignore failure to clear autoclear flagsKevin Wolf1-1/+4
2012-05-10block: fix warning introduced in efcc7a23Anthony Liguori1-1/+1
2012-05-10stream: do not copy unallocated sectors from the basePaolo Bonzini1-14/+4
2012-05-10stream: fix ratelimiting corner casePaolo Bonzini1-5/+5
2012-05-10stream: pass new base image format to bdrv_change_backing_filePaolo Bonzini1-2/+5
2012-05-10block: wait for job callback in block_job_cancel_syncPaolo Bonzini1-4/+3
2012-05-10block: add block_job_sleep_nsPaolo Bonzini1-14/+9
2012-05-10block: fix snapshot on QEDPaolo Bonzini2-0/+14
2012-05-10block: update in-memory backing file and formatPaolo Bonzini1-11/+0
2012-05-10block: push bdrv_change_backing_file error checking up from driversPaolo Bonzini1-5/+0
2012-05-08Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori3-5/+20
2012-05-07qcow2: lock on preallocZhi Yong Wu1-0/+3
2012-05-07qcow2: Limit COW to where it's neededKevin Wolf1-5/+9
2012-05-07sheepdog: switch to writethrough mode if cluster doesn't support flushMORITA Kazutaka1-0/+8
2012-05-04ISCSI: Add support for thin-provisioning via discard/UNMAP and bigger LUNsRonnie Sahlberg1-13/+73
2012-05-02rbd: add discard supportJosh Durgin1-16/+73
2012-05-02qcow2: fix the return value -ENOENT -> -EEXISTZhi Yong Wu1-1/+1
2012-05-02qcow2: Don't hold cache references across yieldKevin Wolf1-8/+13
2012-05-02qcow2: Remove unused parameter in do_alloc_cluster_offsetKevin Wolf1-2/+2
2012-05-02block/qcow2: Add missing GCC_FMT_ATTR to function report_unsupported()Stefan Weil1-1/+2
2012-05-01raw-posix: Do not use CONFIG_COCOA macroPavel Borzenkov1-4/+4
2012-04-27Merge remote-tracking branch 'qmp/queue/qmp' into stagingAnthony Liguori1-11/+11
2012-04-27block: add 'speed' optional parameter to block-streamStefan Hajnoczi1-2/+3
2012-04-27block: change block-job-set-speed argument from 'value' to 'speed'Stefan Hajnoczi1-4/+4
2012-04-27block: use Error mechanism instead of -errno for block_job_set_speed()Stefan Hajnoczi1-3/+3
2012-04-27block: use Error mechanism instead of -errno for block_job_create()Stefan Hajnoczi1-6/+5
2012-04-26nbd: Fix uninitialised use of s->sockKevin Wolf1-1/+1
2012-04-23Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori11-176/+581
2012-04-20qcow2: Zero write supportKevin Wolf3-0/+94
2012-04-20qcow2: Support for feature table header extensionKevin Wolf2-9/+69
2012-04-20qcow2: Support reading zero clustersKevin Wolf4-4/+33
2012-04-20qcow2: Version 3 imagesKevin Wolf2-15/+148
2012-04-20qcow2: Ignore reserved bits in check_refcountsKevin Wolf1-44/+54
2012-04-20qcow2: Ignore reserved bits in refcount table entriesKevin Wolf2-1/+3
2012-04-20qcow2: Simplify count_cow_clustersKevin Wolf1-18/+15
2012-04-20qcow2: Refactor qcow2_free_any_clustersKevin Wolf1-19/+22
2012-04-20qcow2: Ignore reserved bits in L1/L2 entriesKevin Wolf2-19/+19
2012-04-20qcow2: Fail write_compressed when overwriting dataKevin Wolf1-4/+3
2012-04-20qcow2: Ignore reserved bits in count_contiguous_clusters()Kevin Wolf1-10/+28
2012-04-20qcow2: Ignore reserved bits in get_cluster_offsetKevin Wolf3-19/+60
2012-04-20qcow2: Save disk size in snapshot headerKevin Wolf2-0/+17
2012-04-20qcow2: Fix refcount block allocation during qcow2_alloc_cluster_at()Kevin Wolf1-0/+6
2012-04-19aio: remove process_queue callback and qemu_aio_process_queuePaolo Bonzini5-21/+17
2012-04-19nbd: do not block in nbd_wr_sync if no data at all is availablePaolo Bonzini1-2/+10
2012-04-19nbd: consistently return negative errno valuesPaolo Bonzini1-7/+6
2012-04-19nbd: consistently check for <0 or >=0Paolo Bonzini1-7/+15
2012-04-19nbd: avoid out of bounds access to recv_coroutine arrayPaolo Bonzini1-1/+5
2012-04-19qcow2: Fix return value of alloc_refcount_blockKevin Wolf1-1/+1
2012-04-19qcow2: Fix error handling in qcow2_alloc_cluster_offsetKevin Wolf1-1/+1
2012-04-19block: Fix spelling in comment (ineffcient -> inefficient)Stefan Weil1-1/+1
2012-04-10Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori14-408/+312
2012-04-05qed: remove incoming live migration blockerBenoît Canet2-11/+0
2012-04-05qed: honor BDRV_O_INCOMING for incoming live migrationBenoît Canet1-2/+3
2012-04-05qed: add bdrv_invalidate_cache to be called after incoming live migrationBenoît Canet1-0/+10
2012-04-05block stream: close unused files and update ->backing_hdMarcelo Tosatti1-0/+34
2012-04-05sheepdog: fix send req helpersLiu Yuan1-0/+2
2012-04-05sheepdog: implement SD_OP_FLUSH_VDI operationLiu Yuan1-14/+128
2012-04-05qed: track dirty flag statusDong Xu Wang1-0/+1
2012-04-05qed: image fragmentation statisticsDong Xu Wang1-0/+9
2012-04-05block: set job->speed in block_set_speedPaolo Bonzini1-1/+0
2012-04-05block: fix streaming/closing racePaolo Bonzini1-2/+4
2012-04-05vdi: change goto to loopPaolo Bonzini1-73/+68
2012-04-05vdi: do not create useless iovecsPaolo Bonzini1-46/+33
2012-04-05vdi: leave bounce buffering to block layerPaolo Bonzini1-55/+12
2012-04-05vdi: move aiocb fields to localsPaolo Bonzini1-98/+65
2012-04-05vdi: merge aio_read_cb and aio_write_cb into callersPaolo Bonzini1-28/+12
2012-04-05vdi: move end-of-I/O handling at the endPaolo Bonzini1-67/+56
2012-04-05vdi: basic conversion to coroutinesPaolo Bonzini1-121/+37
2012-04-05block/vpc: write checksum back to footer after checkZhang Shengju1-0/+3
2012-04-05block: push recursive flushing up from driversPaolo Bonzini9-55/+2
2012-04-05qcow2: Remove unused parameter in get_cluster_table()Kevin Wolf1-10/+8
2012-04-03block/curl: Replace usleep by g_usleepStefan Weil1-1/+1
2012-03-12qcow2: Reduce number of I/O requestsKevin Wolf2-77/+167
2012-03-12qcow2: Add qcow2_alloc_clusters_at()Kevin Wolf2-0/+30
2012-03-12qcow2: Factor out count_cow_clustersKevin Wolf1-19/+36
2012-03-12qcow2: Add error messages in qcow2_truncateKevin Wolf1-0/+3
2012-03-12qcow2: Add some tracingKevin Wolf3-1/+41
2012-03-12qed: do not evict in-use L2 table cache entriesStefan Hajnoczi1-4/+18
2012-03-07block/vmdk: Fix warning from splint (comparision of unsigned value)Stefan Weil1-1/+1
2012-02-29qcow2: Reject too large header extensionsKevin Wolf1-0/+5
2012-02-29qcow2: Fix offset in qcow2_read_extensionsKevin Wolf1-3/+2
2012-02-29qcow2: Fix build with DEBUG_EXT enabledKevin Wolf1-1/+0
2012-02-22block: bdrv_eject(): Make eject_flag a real boolLuiz Capitulino2-4/+4
2012-02-09sheepdog: fix co_recv coroutine contextMORITA Kazutaka1-0/+3
2012-02-09qcow2: Keep unknown header extension when rewriting headerKevin Wolf2-2/+50