aboutsummaryrefslogtreecommitdiffstats
path: root/qemu-img.c
AgeCommit message (Expand)AuthorFilesLines
2013-11-15qemu-img: Fix overwriting 'ret' before usingFam Zheng1-3/+3
2013-10-24qemu-img: add special exit code if bdrv_check is not supportedPeter Lieven1-1/+1
2013-09-12qemu-img: fix invalid JSONPaolo Bonzini1-1/+1
2013-09-12qemu-img create: Emit filename on errorMax Reitz1-1/+1
2013-09-12block: Error parameter for create functionsMax Reitz1-11/+5
2013-09-12block: Error parameter for open functionsMax Reitz1-7/+14
2013-09-12snapshot: distinguish id and name in snapshot deleteWenchao Xia1-4/+7
2013-09-12block: Image file option amendmentMax Reitz1-0/+84
2013-09-06qemu-img: add a "map" subcommandPaolo Bonzini1-0/+191
2013-09-06block: make bdrv_has_zero_init return false for copy-on-write-imagesPaolo Bonzini1-8/+1
2013-09-06qemu-img: always probe the input image for allocated sectorsPaolo Bonzini1-21/+19
2013-09-06block: expect errors from bdrv_co_is_allocatedPaolo Bonzini1-2/+14
2013-09-06block: make bdrv_delete() staticFam Zheng1-13/+13
2013-09-06add qemu-img convert -n option (skip target volume creation)Alexandre Derumier1-15/+38
2013-08-06ignore SIGPIPE in qemu-img and qemu-ioMORITA Kazutaka1-0/+4
2013-08-06qemu-img: Error out for excess argumentsKevin Wolf1-7/+10
2013-07-15block: Don't parse protocol from file.filenameKevin Wolf1-2/+2
2013-06-21qemu-img: Add missing GCC_FMT_ATTRStefan Weil1-1/+1
2013-06-07block: add image info query function bdrv_query_image_info()Wenchao Xia1-5/+6
2013-06-07block: add snapshot info query function bdrv_query_snapshot_info_list()Wenchao Xia1-1/+4
2013-06-06cutils: Support 'P' and 'E' suffixes in strtosz()Kevin Wolf1-4/+6
2013-06-04block: dump snapshot and image info to specified outputWenchao Xia1-4/+5
2013-06-04block: move qmp and info dump related code to block/qapi.cWenchao Xia1-152/+4
2013-04-22qemu-img: do not zero-pad the compressed write bufferStefan Hajnoczi1-6/+2
2013-03-15block: Add options QDict to bdrv_open() prototypeKevin Wolf1-3/+3
2013-02-22qemu-img: Add compare subcommandMiroslav Rezanina1-1/+289
2013-02-22qemu-img: Add "Quiet mode" optionMiroslav Rezanina1-48/+106
2013-02-22qemu-img: add compressed clusters to BlockFragInfoStefan Hajnoczi1-2/+5
2013-02-22qemu-img: fix missing space in qemu-img check outputStefan Hajnoczi1-4/+5
2013-02-22qemu-img: add json output option to the check commandFederico Simoncelli1-63/+169
2013-02-22qemu-img: find the image end offset during checkFederico Simoncelli1-0/+4
2013-01-02qemu-img: report size overflow error messageliguang1-3/+7
2012-12-19softmmu: move include files to include/sysemu/Paolo Bonzini1-1/+1
2012-12-19misc: move include files to include/qemu/Paolo Bonzini1-3/+3
2012-12-19block: move include files to include/block/Paolo Bonzini1-1/+1
2012-12-19qapi: move include files to include/qobject/Paolo Bonzini1-1/+1
2012-12-11use qemu_opts_create_nofailDong Xu Wang1-1/+1
2012-12-11qemu-img: img_create(): drop unneeded goto and ret variableLuiz Capitulino1-10/+4
2012-12-11qemu-img: img_create(): pass Error object to bdrv_img_create()Luiz Capitulino1-2/+9
2012-12-11block: bdrv_img_create(): add Error ** argumentLuiz Capitulino1-1/+1
2012-11-06tools: initialize main loop before block layerPaolo Bonzini1-2/+1
2012-10-24qemu-img: Add --backing-chain option to info commandStefan Hajnoczi1-14/+153
2012-10-24qemu-img rebase: use empty string to rebase without backing fileAlex Bligh1-10/+19
2012-10-24qemu-img: Fix division by zero for zero size imagesKevin Wolf1-8/+15
2012-09-17Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori1-54/+203
2012-09-14Spelling fixes in comments and documentationStefan Weil1-1/+1
2012-09-12Don't require encryption password for 'qemu-img info' commandDaniel P. Berrange1-10/+11
2012-09-12qemu-img: Add json output option to the info command.Benoît Canet1-44/+192
2012-08-10block: add BLOCK_O_CHECK for qemu-img checkStefan Hajnoczi1-1/+1
2012-08-06qemu-img: use QemuOpts instead of QEMUOptionParameter in resize functionDong Xu Wang1-11/+17
2012-08-02Support 'help' as a synonym for '?' in command line optionsPeter Maydell1-2/+2
2012-06-15block: Replace bdrv_get_format() by bdrv_get_format_name()Markus Armbruster1-3/+2
2012-06-15qemu-img check: Print fixed clusters and recheckKevin Wolf1-0/+10
2012-06-15qemu-img check -r for repairing imagesKevin Wolf1-3/+22
2012-05-14qemu-img: Fix segmentation faultCharles Arnold1-1/+3
2012-05-10qemu-img: make "info" backing file output correct and easier to usePaolo Bonzini1-5/+7
2012-04-20qemu-img: let 'qemu-img convert' flush dataLiu Yuan1-2/+2
2012-04-05qemu-img: add dirty flag statusDong Xu Wang1-0/+3
2012-04-05qemu-img: add image fragmentation statisticsDong Xu Wang1-1/+8
2012-03-12qcow2: Add error messages in qcow2_truncateKevin Wolf1-1/+1
2012-02-29qemu-img: fix segment fault when the image format is qedZhi Yong Wu1-0/+2
2012-02-09cutils: extract buffer_is_zero() from qemu-img.cStefan Hajnoczi1-39/+7
2011-12-15qemu-img rebase: Fix for undersized backing filesKevin Wolf1-9/+33
2011-11-28qemu-img: Tighten parsing of size argumentsMarkus Armbruster1-4/+6
2011-10-21qemu-img: Don't allow preallocation and compression at the same timeKevin Wolf1-0/+11
2011-08-29qemu-img: Require larger zero areas for sparse handlingKevin Wolf1-2/+59
2011-08-23qemu-img: print error codes when convert failsStefan Hajnoczi1-5/+8
2011-08-23qemu-img: Use qemu_blockalignKevin Wolf1-6/+6
2011-08-23block: add cache=directsync parameter to -driveStefan Hajnoczi1-1/+2
2011-08-23block: parse cache mode flags in a single placeStefan Hajnoczi1-24/+3
2011-08-20Use glib memory allocation and free functionsAnthony Liguori1-9/+9
2011-07-19block: add bdrv_get_allocated_file_size() operationFam Zheng1-30/+1
2011-07-05qemu-img: Add cache command line optionFederico Simoncelli1-13/+67
2011-06-24qemu-img: Don't prepend qemu-img to error messages twice.Markus Armbruster1-4/+4
2011-06-24Strip trailing '\n' from error_report()'s first argumentMarkus Armbruster1-2/+2
2011-05-18qemu_img: is_not_zero() optimizationDmitry Konishchev1-3/+26
2011-05-18qemu-img.c: Remove superfluous parenthesisJes Sorensen1-3/+3
2011-05-03qemu-img resize: Fix option parsingKevin Wolf1-2/+11
2011-04-27qemu-img: allow rebase to a NULL backing file when unsafeAnthony Liguori1-1/+1
2011-04-07qemu-img rebase: Fix segfault if backing file can't be openedKevin Wolf1-2/+6
2011-04-07qemu-img: Initial progress printing supportJes Sorensen1-2/+36
2011-02-10qemu-img: Improve error messages for failed bdrv_openKevin Wolf1-3/+7
2011-01-24Make strtosz() return int64_t instead of ssize_tJes Sorensen1-1/+1
2011-01-24qemu-img snapshot: Use writeback cachingKevin Wolf1-1/+1
2010-12-17Remove NULL checks for bdrv_new return valueKevin Wolf1-4/+1
2010-12-17qemu.img.c: Use error_report() instead of own error() implementationJes Sorensen1-65/+62
2010-12-17qemu-img.c: Re-factor img_create()Jes Sorensen1-106/+2
2010-12-17qemu-img: Call error_set_prognameKevin Wolf1-0/+3
2010-12-17qemu-img.c: Clean up handling of image size in img_create()Jes Sorensen1-6/+17
2010-12-14qemu-img: Fail creation if backing format is invalidStefan Hajnoczi1-10/+12
2010-12-14qemu-img: Free option parameter lists in img_create()Stefan Hajnoczi1-2/+2
2010-12-14qemu-img: Deprecate obsolete -6 and -e optionsJes Sorensen1-31/+22
2010-12-14Make error handling more consistent in img_create() and img_resize()Jes Sorensen1-6/+12
2010-12-14Fail if detecting an unknown optionJes Sorensen1-0/+8
2010-12-14Fix formatting and missing braces in qemu-img.cJes Sorensen1-26/+51
2010-12-14Consolidate printing of block driver optionsJes Sorensen1-9/+37
2010-12-14img_convert(): Only try to free bs[] entries if bs is valid.Jes Sorensen1-5/+8
2010-12-14Use qemu_mallocz() instead of calloc() in img_convert()Jes Sorensen1-6/+2
2010-10-30Move qemu_gettimeofday() to OS specific filesJes Sorensen1-0/+1
2010-10-22qemu-img: Fix qemu-img convert -obacking_fileKevin Wolf1-0/+7
2010-10-22Copy snapshots out of QCOW2 diskedison1-1/+18
2010-10-03Use GCC_FMT_ATTR (format checking)Stefan Weil1-1/+1
2010-09-08qemu-img convert: Use cache=unsafe for output imageKevin Wolf1-1/+2
2010-08-30qemu-img rebase: Open new backing file read-onlyKevin Wolf1-1/+1
2010-07-06qemu-img check: Distinguish different kinds of errorsKevin Wolf1-15/+48
2010-07-02qemu-img: avoid calling exit(1) to release resources properlyMORITA Kazutaka1-52/+185
2010-05-28add support for protocol driver create_optionsMORITA Kazutaka1-15/+34
2010-05-22Fix %lld or %llx printf format useBlue Swirl1-5/+5
2010-05-03qemu-img rebase: Fix output image corruptionKevin Wolf1-3/+3
2010-05-03qemu-img: Add 'resize' command to grow/shrink disk imagesStefan Hajnoczi1-0/+92
2010-05-03block: bdrv_has_zero_initKevin Wolf1-2/+4
2010-04-23qemu-img: Fix BRDV_O_FLAGS typoStefan Hajnoczi1-10/+10
2010-04-23qemu-img: Eliminate bdrv_new_open() code duplicationStefan Hajnoczi1-73/+10
2010-04-23Replace calls of old bdrv_openKevin Wolf1-8/+8
2010-03-09block: print errno on errorJuan Quintela1-2/+2
2010-03-09qemu-img rebase: Add -f optionKevin Wolf1-4/+16
2010-02-19qemu-img: Fix error messageKevin Wolf1-1/+1
2010-02-19qemu-img: Fix segfault during rebaseKevin Wolf1-1/+1
2010-02-10qemu-img: use the heap instead of the huge stack array for win32TeLeMan1-3/+11
2010-02-10qemu-img: Fix qemu-img can't create qcow image based on read-only imageSheng Yang1-5/+10
2010-02-08qemu-img: avoid preprocessor directives in a printf callPaolo Bonzini1-4/+5
2010-02-08Revert "On some systems printf is a macro"malc1-30/+30
2010-02-07On some systems printf is a macromalc1-30/+30
2010-01-26Ask for read-write permissions when opening filesNaphtali Sprei1-2/+2
2010-01-20Clean-up a little bit the RW related bits of BDRV_O_FLAGS. BDRV_O_RDONLY gone...Naphtali Sprei1-4/+6
2010-01-13qemu-img rebaseKevin Wolf1-0/+225
2010-01-13block: Introduce BDRV_O_NO_BACKINGKevin Wolf1-1/+1
2009-12-03qemu-img: Fix memory leakKevin Wolf1-0/+1
2009-12-03Fix description of size parameter in qemu-img's help textPierre Riteau1-3/+3
2009-12-03qemu-img: There is more than one host device driverKevin Wolf1-2/+2
2009-11-09Documentation: Don't mention old qemu-img optionsKevin Wolf1-6/+0
2009-11-09qemu-img: Allow creating zero sized imagesKevin Wolf1-3/+6
2009-10-05qcow2: Increase maximum cluster size to 2 MBKevin Wolf1-1/+1
2009-10-01Revert "Get rid of _t suffix"Anthony Liguori1-4/+4
2009-10-01Get rid of _t suffixmalc1-4/+4
2009-07-22qmu-img: fix qemu-img convert to generate a valid image when the source refer...Akkarit Sangpetch1-7/+13
2009-06-07Use hxtool for qemu-img command listStuart Brady1-28/+39
2009-06-06Document changes in qemu-img interfaceKevin Wolf1-4/+5
2009-06-06qemu-img: Print available options with -o ?Kevin Wolf1-3/+15
2009-05-22Convert qemu-img convert to new bdrv_createKevin Wolf1-32/+65
2009-05-22Convert qemu-img create to new bdrv_createKevin Wolf1-46/+87
2009-05-22Convert all block drivers to new bdrv_createKevin Wolf1-1/+1
2009-05-14Convert block infrastructure to use new module init functionalityAnthony Liguori1-5/+5
2009-05-13Include assert.h from qemu-common.hPaul Brook1-1/+0
2009-04-21Introduce qemu-img check subcommand (Kevin Wolf)aliguori1-0/+62
2009-04-15block-vpc: Don't silently create smaller image than requestedaurel321-0/+4
2009-04-05Add host_device support to qemu-img. (Nolan Leake)aliguori1-15/+19
2009-03-28qemu-img: adding a "-F base_fmt" option to "qemu-img create -b" (Uri Lublin)aliguori1-4/+20
2009-03-11Revert r6408aliguori1-4/+0
2009-03-08qemu-img: fix help messageaurel321-2/+2
2009-03-08qemu-img: accept sizes with decimal valuesaurel321-4/+5
2009-03-08Fix windows build and clean up use of <windows.h>aliguori1-1/+0
2009-02-09Make qemu-img argument handling POSIX compliantaurel321-1/+1
2009-02-01Replace noreturn with QEMU_NORETURNmalc1-1/+1
2009-01-24Synch code, help and docsblueswir11-10/+13
2009-01-24Fix format warningsmalc1-2/+2
2009-01-22qemu-img: info: show highest_alloc and num_free_bytes if exist (Uri Lublin)aliguori1-0/+4
2009-01-15qemu-img: Fix type of getopt return value (Kevin Wolf)aliguori1-2/+1
2009-01-14Add noreturn function attributeblueswir11-1/+1
2009-01-07snapshot subcommand for qemu-img (Kevin Wolf)aliguori1-0/+121
2008-11-30qemu-img: open files with cache=writebackaurel321-3/+6
2008-08-24Fix OpenBSD linker warnings in qemu-imgblueswir11-1/+1
2008-08-01Revert 4977. Laurent asked for this not to be applied but I mistakenly appliedaliguori1-4/+1
2008-08-01qemu-img: set encrypted disk image password (Laurent Vivier)aliguori1-1/+4
2008-06-05New qemu-img convert -B option, by Marc Bevand.ths1-6/+41
2008-04-11Remove osdep.c/qemu-img code duplicationaurel321-35/+0
2008-02-10Correct qemu-img usage hint (Andreas Färber).balrog1-1/+1
2008-01-06copyright updatebellard1-2/+2
2007-12-17Use WIN32_LEAN_AND_MEAN, by Stefan Weil.ths1-0/+1
2007-12-17Fix bdrv_get_geometry to return uint64_t, by Andre Przywara.ths1-4/+6
2007-11-11Cleanup qemu-img.c.pbrook1-16/+3
2007-11-11Split block API from vl.h.pbrook1-1/+1
2007-10-31Support multipart images as input to qemu-img (Salvador Fandino).balrog1-18/+82
2007-10-24Fix typo, spotted by Edivaldo de Araujo Pereira.ths1-3/+3
2007-09-17find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the...ths1-4/+4
2007-09-16vmdk compatibility level 6 images, by Soren Hansen.ths1-19/+30
2007-09-16find -type f | xargs sed -i 's/[\t ]$//g' # on most filesths1-22/+22
2007-06-23Spelling fixes, by Aurelien Jarno.ths1-1/+1
2007-02-10qemu-img: fix incorrect error message, by Stuart Brady.ths1-1/+1
2007-02-05copyright updatebellard1-2/+2
2007-01-07added cutils.cbellard1-43/+0
2006-12-22Escape filname printout properly, by Anthony Liguori and Julian Seward.ths1-0/+5
2006-08-07copyright updatebellard1-3/+3
2006-08-05multiple snapshot supportbellard1-35/+36
2006-08-01show backing file namebellard1-0/+9
2006-06-14use C99 64 bit printf format to ease win32 portingbellard1-8/+9
2006-06-14show real allocated disk image size on Windows (Frediano Ziglio)bellard1-0/+16
2005-07-24copyrightbellard1-1/+1
2005-04-28Virtual VFAT support (Johannes Schindelin)bellard1-3/+4
2005-04-07ia64 host support (David Mosberger)bellard1-4/+4
2004-10-09BSD getopt fixbellard1-4/+1
2004-09-29cloop driver (Johannes Schindelin)bellard1-2/+2
2004-08-27fixed image creation with base filenamebellard1-35/+41
2004-08-03win32 portbellard1-8/+26
2004-08-01new disk image layerbellard1-0/+677