aboutsummaryrefslogtreecommitdiffstats
path: root/savevm.c
AgeCommit message (Expand)AuthorFilesLines
2014-11-03snapshot: Reset err to NULL to avoid double freeChris Spiegel1-1/+2
2014-10-03snapshot: fix referencing wrong variable in while loop in do_delvmZhang Haoyu1-6/+5
2014-06-25savevm: check vmsd for migratability statusMarcelo Tosatti1-4/+1
2014-06-23migration: dump vmstate info as a json file for static analysisAmit Shah1-0/+139
2014-06-19migration: introduce self_announce_delay()Jason Wang1-1/+1
2014-06-19migration: export SELF_ANNOUNCE_ROUNDSJason Wang1-1/+0
2014-06-17unset RAMBlock idstr when unregister MemoryRegionHu Tao1-1/+1
2014-04-25qerror.h: Remove QERR defines that are only used onceCole Robinson1-1/+2
2014-03-27migration: add more tracesAlexey Kardashevskiy1-0/+8
2014-03-08migration: extend section_start/end tracesAlexey Kardashevskiy1-6/+6
2014-02-17Use error_is_set() only when necessaryMarkus Armbruster1-2/+2
2014-01-13savevm: Small comment about why timer QEMUFile/VMState code is in savevm.cEduardo Habkost1-2/+6
2014-01-13qemu-file: Move QEMUFile code to qemu-file.cEduardo Habkost1-820/+0
2014-01-13vmstate: Move VMState code to vmstate.cEduardo Habkost1-645/+0
2014-01-13savevm.c: Coding style fixEduardo Habkost1-1/+2
2014-01-13savevm.c: Coding style fixesEduardo Habkost1-31/+44
2014-01-13savevm: Convert all tabs to spacesEduardo Habkost1-9/+9
2014-01-13migration: Move QEMU_VM_* defines to migration/migration.hEduardo Habkost1-11/+0
2014-01-13qemu-file: Make a few functions non-staticEduardo Habkost1-4/+4
2013-11-20The calculation of bytes_xfer in qemu_put_buffer() is wrongWangting (Kathy)1-1/+1
2013-09-24savevm: fix wrong initialization by ram_control_load_hookLei Li1-1/+1
2013-09-24savevm: add comments for qemu_file_get_error()Lei Li1-0/+7
2013-09-12snapshot: distinguish id and name in snapshot deleteWenchao Xia1-15/+17
2013-08-22aio / timers: Switch entire codebase to the new timer APIAlex Bligh1-7/+7
2013-08-22aio / timers: Rearrange timer.h & make legacy functions call non-legacyAlex Bligh1-4/+4
2013-08-22aio / timers: Rename qemu_timer_* functionsAlex Bligh1-1/+1
2013-07-23rdma: bugfix: ram_control_save_page()Michael R. Hines1-1/+1
2013-06-27rdma: new QEMUFileOps hooksMichael R. Hines1-0/+59
2013-06-27rdma: export qemu_fflush()Michael R. Hines1-1/+1
2013-06-27rdma: introduce qemu_file_mode_is_not_valid()Michael R. Hines1-7/+13
2013-06-27rdma: export yield_until_fd_readable()Michael R. Hines1-28/+0
2013-06-27rdma: introduce qemu_update_position()Michael R. Hines1-0/+5
2013-06-21savevm: Fix potential memory leakStefan Weil1-1/+2
2013-06-17savevm: qmp_xen_save_devices_state(): use error_setg_file_open()Luiz Capitulino1-1/+1
2013-06-04block: dump snapshot and image info to specified outputWenchao Xia1-3/+4
2013-06-04block: move qmp and info dump related code to block/qapi.cWenchao Xia1-0/+1
2013-06-04block: move snapshot code in block.c to block/snapshot.cWenchao Xia1-22/+1
2013-06-04block: drop bs_snapshots global variableStefan Hajnoczi1-4/+15
2013-06-01do not check pointers after dereferencing themPaolo Bonzini1-4/+4
2013-04-17qemu-file: do not use stdio for qemu_fdopenPaolo Bonzini1-11/+90
2013-04-17qemu-file: drop socket_put_bufferPaolo Bonzini1-13/+0
2013-04-15Merge remote-tracking branch 'stefanha/block' into stagingAnthony Liguori1-4/+21
2013-04-15savevm: Implement block_writev_buffer()Kevin Wolf1-4/+21
2013-04-09migration: simplify writev vs. non-writev logicPaolo Bonzini1-13/+9
2013-04-09migration: drop is_write complicationsPaolo Bonzini1-48/+20
2013-04-09migration: use a single I/O operation when writev_buffer is not definedPaolo Bonzini1-15/+34
2013-04-09migration: set f->is_write and flush in add_to_iovecPaolo Bonzini1-16/+9
2013-04-02oslib-posix: rename socket_set_nonblock() to qemu_set_nonblock()Stefan Hajnoczi1-1/+1
2013-03-26Add qemu_put_buffer_asyncOrit Wasserman1-8/+26
2013-03-26Use writev ops if availableOrit Wasserman1-8/+23
2013-03-26Store the data to send also in iovecOrit Wasserman1-2/+22
2013-03-26Update bytes_xfer in qemu_put_byteOrit Wasserman1-0/+2
2013-03-26Add socket_writev_buffer functionOrit Wasserman1-0/+15
2013-03-26savevm: Add VMSTATE_FLOAT64 helpersDavid Gibson1-0/+23
2013-03-26savevm: Add VMSTATE_UINT64_EQUAL helpersDavid Gibson1-0/+21
2013-03-12vmstate: Make vmstate_register() static inlineAndreas Färber1-7/+0
2013-03-11migration: move rate limiting to QEMUFilePaolo Bonzini1-14/+17
2013-03-11migration: use QEMUFile for migration channel lifetimePaolo Bonzini1-0/+1
2013-03-11qemu-file: simplify and export qemu_ftellPaolo Bonzini1-12/+8
2013-03-11qemu-file: add writable socket QEMUFilePaolo Bonzini1-2/+31
2013-03-11qemu-file: check exit status when closing a pipe QEMUFilePaolo Bonzini1-0/+3
2013-03-11qemu-file: fsync a writable stdio QEMUFilePaolo Bonzini1-0/+18
2013-03-11migration: merge qemu_popen_cmd with qemu_popenPaolo Bonzini1-14/+8
2013-03-11qemu-file: make qemu_fflush and qemu_file_set_error private againPaolo Bonzini1-2/+2
2013-03-11migration: yay, buffering is gonePaolo Bonzini1-0/+1
2013-03-11migration: run setup callbacks out of big lockPaolo Bonzini1-0/+3
2013-03-11qemu-file: temporarily expose qemu_file_set_error and qemu_fflushPaolo Bonzini1-2/+2
2013-03-11migration: use qemu_file_set_error to pass error codes back to qemu_savevm_statePaolo Bonzini1-26/+18
2013-03-11qemu-file: pass errno from qemu_fflush via f->last_errorPaolo Bonzini1-13/+12
2013-03-11migration: push qemu_savevm_state_cancel out of qemu_savevm_state_*Paolo Bonzini1-11/+4
2013-02-12migration: make qemu_ftell() public and support writable filesStefan Hajnoczi1-2/+7
2013-02-11migration: restrict scope of incoming fd read handlerStefan Hajnoczi1-4/+30
2013-02-01net: introduce qemu_get_queue()Jason Wang1-1/+1
2013-02-01Move XBZRLE encoding code to a separate file to allow testingOrit Wasserman1-159/+0
2013-01-21Merge remote-tracking branch 'quintela/thread.next' into stagingAnthony Liguori1-5/+7
2013-01-17migration: remove argument to qemu_savevm_state_cancelJuan Quintela1-4/+4
2013-01-17qemu-file: Only set last_error if it is not already setJuan Quintela1-1/+3
2013-01-17HMP: add QDict to info callback handlerWenchao Xia1-1/+1
2013-01-11savevm: Remove MinGW specific code which is no longer neededStefan Weil1-28/+2
2013-01-02savevm.c: cleanup system includesMichael Tokarev1-39/+1
2012-12-20savevm: New save live migration method: pendingJuan Quintela1-0/+19
2012-12-20migration: make writes blockingJuan Quintela1-5/+0
2012-12-19softmmu: move include files to include/sysemu/Paolo Bonzini1-2/+2
2012-12-19misc: move include files to include/qemu/Paolo Bonzini1-5/+5
2012-12-19migration: move include files to include/migration/Paolo Bonzini1-1/+1
2012-12-19monitor: move include files to include/monitor/Paolo Bonzini1-1/+1
2012-12-19exec: move include files to include/exec/Paolo Bonzini1-1/+1
2012-12-19net: reorganize headersPaolo Bonzini1-1/+1
2012-12-19janitor: do not include qemu-char everywherePaolo Bonzini1-1/+0
2012-11-02migration: handle EAGAIN while reading QEMUFilePaolo Bonzini1-6/+24
2012-11-02migration: close socket QEMUFile from socket_closePaolo Bonzini1-0/+1
2012-11-02migration: replace qemu_stdio_fd with qemu_get_fdPaolo Bonzini1-11/+0
2012-11-02migration: add qemu_get_fdPaolo Bonzini1-0/+27
2012-11-02migration: consolidate QEMUFile methods in a single QEMUFileOps structPaolo Bonzini1-48/+60
2012-11-02migration: unify stdio-based QEMUFile operationsPaolo Bonzini1-17/+2
2012-10-30vmstate: Add support for saving/loading bitmapsPeter Maydell1-0/+41
2012-10-17savevm: make qemu_file_put_notify() return errorsJuan Quintela1-2/+2
2012-10-17savevm: un-export qemu_file_set_error()Juan Quintela1-1/+1
2012-10-17savevm: Only qemu_fflush() can generate errorsJuan Quintela1-17/+18
2012-10-17savevm: make qemu_fill_buffer() be consistentJuan Quintela1-1/+1
2012-10-17savevm: unexport qemu_ftell()Juan Quintela1-1/+1
2012-10-17savevm: unfold qemu_fclose_internal()Juan Quintela1-20/+6
2012-10-17savevm: make qemu_fflush() return an error codeJuan Quintela1-16/+23
2012-10-17savevm: Remove qemu_fseek()Juan Quintela1-21/+0
2012-10-17savevm: unexport qemu_fflushJuan Quintela1-1/+1
2012-10-05cleanup useless return sentenceAmos Kong1-1/+0
2012-08-15Merge remote-tracking branch 'agraf/ppc-for-upstream' into stagingAnthony Liguori1-1/+1
2012-08-15xbzrle: fix compilation on ppc32Alexander Graf1-1/+1
2012-08-15block: Convert close calls to qemu_closeCorey Bryant1-2/+2
2012-08-08Add xbzrle_encode_buffer and xbzrle_decode_buffer functionsOrit Wasserman1-0/+159
2012-07-20savevm: split save_live into stage2 and stage3Juan Quintela1-5/+5
2012-07-20savevm: split save_live_setup from save_live_stateJuan Quintela1-2/+2
2012-07-20savevm: introduce is_active methodJuan Quintela1-0/+15
2012-07-20savevm: Refactor cancel operation in its own operationJuan Quintela1-2/+2
2012-07-20savevm: Live migration handlers register the struct directlyJuan Quintela1-11/+7
2012-07-20savevm: Use a struct to pass all handlersJuan Quintela1-29/+25
2012-06-29No need to iterate if we already are over the limitJuan Quintela1-0/+3
2012-06-29Add tracepoints for savevm section start/endJuan Quintela1-0/+8
2012-06-29Add MigrationParams structureIsaku Yamahata1-4/+9
2012-06-18Merge remote-tracking branch 'afaerber-or/qom-next-2' into stagingAnthony Liguori1-6/+6
2012-06-18qdev: Use wrapper for qdev_get_pathAnthony Liguori1-6/+6
2012-06-15savevm: flush after saving vm statePaolo Bonzini1-1/+1
2012-04-15w64: Fix time conversion for some versions of MinGW-w64Stefan Weil1-1/+2
2012-03-19Merge remote-tracking branch 'sstabellini/saverestore-8' into stagingAnthony Liguori1-0/+71
2012-03-19Introduce "xen-save-devices-state"Stefano Stabellini1-0/+71
2012-03-19Merge remote-tracking branch 'qemu-kvm/memory/urgent' into stagingAnthony Liguori1-0/+2
2012-03-17vmstate: fix varrays with uint32_t indexesAmos Kong1-0/+2
2012-03-15qapi: Convert migrateLuiz Capitulino1-7/+6
2012-03-15Purge migration of (almost) everything to do with monitorsLuiz Capitulino1-15/+14
2012-01-08Fix vmstate_register_ram() for rom/device regionsAvi Kivity1-1/+1
2012-01-04vmstate, memory: decouple vmstate from memory APIAvi Kivity1-0/+17
2011-12-15qcow2: Allow >4 GB VM stateKevin Wolf1-1/+1
2011-12-12stdio_fclose: return -errno on errors (v2)Eduardo Habkost1-2/+5
2011-12-12stdio_pclose: return -errno on error (v3)Eduardo Habkost1-0/+3
2011-12-12qemu_fclose: return last_error if set (v3)Eduardo Habkost1-3/+48
2011-12-12savevm: use qemu_file_set_error() instead of setting last_error directlyEduardo Habkost1-2/+2
2011-12-05Merge remote-tracking branch 'kwolf/for-anthony' into stagingAnthony Liguori1-1/+1
2011-12-05block: convert qemu_aio_flush() calls to bdrv_drain_all()Stefan Hajnoczi1-1/+1
2011-12-02fix spelling in main directoryDong Xu Wang1-1/+1
2011-11-21ivshmem: use migration blockers to prevent live migration in peer mode (v2)Anthony Liguori1-25/+0
2011-11-01savevm: qemu_fille_buffer() used to return one error for reads of size 0.Juan Quintela1-0/+2
2011-10-21qemu-timer: move more stuff out of qemu-timer.cPaolo Bonzini1-0/+25
2011-10-20Merge remote-tracking branch 'quintela/migration-pull' into stagingAnthony Liguori1-83/+139
2011-10-20migration: make *save_live return errorsJuan Quintela1-3/+11
2011-10-20migration: use qemu_file_get_error() return value when possibleJuan Quintela1-2/+2
2011-10-20savevm: Rename has_error to last_error fieldJuan Quintela1-8/+8
2011-10-20migration: rename qemu_file_has_error to qemu_file_get_errorJuan Quintela1-6/+7
2011-10-20migration: return real error codeJuan Quintela1-18/+21
2011-10-20migration: change has_error to contain errno valuesJuan Quintela1-4/+4
2011-10-20Revert "savevm: fix corruption in vmstate_subsection_load()."Juan Quintela1-9/+1
2011-10-20savevm: improve subsections detection on loadJuan Quintela1-35/+75
2011-10-20savevm: define qemu_get_byte() using qemu_peek_byte()Juan Quintela1-9/+6
2011-10-20savevm: some coding style cleanupsJuan Quintela1-7/+14
2011-10-20savevm: teach qemu_fill_buffer to do partial refillsJuan Quintela1-3/+11
2011-10-19savevm: qemu_savevm_state(): Drop stop VM logicLuiz Capitulino1-7/+0
2011-10-04RunState: Rename enum values as generated by the QAPILuiz Capitulino1-2/+2
2011-09-15Drop the vm_running global variableLuiz Capitulino1-2/+2
2011-09-15Replace the VMSTOP macros with a proper state typeLuiz Capitulino1-2/+2
2011-09-06savevm: Include writable devices with removable mediaMarkus Armbruster1-2/+2
2011-08-20Use glib memory allocation and free functionsAnthony Liguori1-29/+29
2011-07-29Merge remote-tracking branch 'kraxel/migration.2' into stagingAnthony Liguori1-0/+1
2011-07-25Wrap recv to avoid warningsBlue Swirl1-1/+1
2011-07-20vmstate: add no_migrate flag to VMStateDescriptionGerd Hoffmann1-0/+1
2011-06-16Reset system before loadvmJan Kiszka1-0/+1
2011-06-08Fix compilation warning due to missing header for sigaction (followup)Alexandre Raymond1-1/+0
2011-04-16Fix some typos in comments and documentationStefan Weil1-1/+1
2011-04-15Move CPU related functions to cpus.hBlue Swirl1-0/+1
2011-03-21Fix migration uint8 arrys handledJuan Quintela1-0/+2
2011-03-21Merge branch 'for-anthony' of git://github.com/bonzini/qemuAurelien Jarno1-3/+3
2011-03-21change all other clock references to use nanosecond resolution accessorsPaolo Bonzini1-1/+1
2011-03-21change all rt_clock references to use millisecond resolution accessorsPaolo Bonzini1-2/+2
2011-03-15Add error message for loading snapshot without VM stateKevin Wolf1-0/+2
2011-03-10vmstate: add UINT32 VARRAYSJuan Quintela1-0/+2
2011-03-10vmstate: Fix varrays with uint8 indexesJuan Quintela1-0/+2
2011-03-10vmstate: add VMSTATE_UINT32_EQUALJuan Quintela1-0/+21
2011-02-14Improve vm_stop reason declarationsJan Kiszka1-2/+2
2011-02-04savevm: fix corruption in vmstate_subsection_load().Yoshiaki Tamura1-1/+9
2011-01-31blockdev: Fix regression in -drive if=scsi,index=NMarkus Armbruster1-1/+0
2011-01-17savevm: Fix no_migrateAlex Williamson1-14/+26
2010-12-09migration/savevm: no need to flush requestsMichael S. Tsirkin1-4/+0
2010-12-02migration: allow rate > 4gMichael S. Tsirkin1-2/+2
2010-11-01add VMSTATE_BOOLGerd Hoffmann1-0/+21
2010-10-13Delete write only variablesBlue Swirl1-2/+2
2010-09-09Fix OpenBSD build warningBlue Swirl1-1/+2
2010-08-30savevm: Generate a name when run without oneMiguel Di Ciurcio Filho1-9/+20
2010-08-30monitor: make 'info snapshots' show only fully available snapshotsMiguel Di Ciurcio Filho1-16/+43
2010-08-10Support marking a device as non-migratableCam Macdonell1-3/+41
2010-08-03loadvm: improve tests before bdrv_snapshot_goto()Miguel Di Ciurcio Filho1-37/+34
2010-07-30savevm: Fix memory leak of compat structAlex Williamson1-0/+6
2010-07-26vmstate: add subsections codeJuan Quintela1-1/+85
2010-07-06savevm: Make use of DeviceStateAlex Williamson1-5/+79
2010-07-06savevm: Add DeviceState paramAlex Williamson1-9/+13
2010-07-02savevm: Survive hot-unplug of snapshot deviceMarkus Armbruster1-27/+4
2010-06-15block: Decouple savevm from DriveInfoMarkus Armbruster1-22/+18
2010-06-15savevm: Really verify if a drive supports snapshotsMiguel Di Ciurcio Filho1-22/+36
2010-06-04blockdev: Collect block device code in new blockdev.cMarkus Armbruster1-1/+1
2010-06-03migration: respect exit status with exec:Anthony Liguori1-2/+3
2010-05-15vmstate: Add support for alias IDJan Kiszka1-3/+17
2010-05-15vmstate: Drop unused post_save handlerJan Kiszka1-3/+0
2010-05-03Fix the RARP protocol IDStefan Berger1-1/+1