Statistics
| Branch: | Revision:

root @ e7627482

Name Size
  QMP
  audio
  backends
  block
  bsd-user
  default-configs
  disas
  docs
  fpu
  fsdev
  gdb-xml
  hw
  include
  ldscripts
  libcacard
  linux-headers
  linux-user
  net
  pc-bios
  qapi
  qga
  qom
  roms
  scripts
  slirp
  stubs
  sysconfigs
  target-alpha
  target-arm
  target-cris
  target-i386
  target-lm32
  target-m68k
  target-microblaze
  target-mips
  target-openrisc
  target-ppc
  target-s390x
  target-sh4
  target-sparc
  target-unicore32
  target-xtensa
  tcg
  tests
  trace
  ui
.exrc 220 Bytes
.gitignore 1.3 kB
.gitmodules 682 Bytes
.mailmap 1.2 kB
CODING_STYLE 3.1 kB
COPYING 17.6 kB
COPYING.LIB 25.8 kB
Changelog 22.6 kB
HACKING 6.1 kB
LICENSE 519 Bytes
MAINTAINERS 14.3 kB
Makefile 14.9 kB
Makefile.objs 7.5 kB
Makefile.target 5.4 kB
README 80 Bytes
TODO 1.1 kB
VERSION 7 Bytes
acl.c 4.4 kB
aes.c 59.7 kB
aio-posix.c 7.3 kB
aio-win32.c 5.8 kB
arch_init.c 29 kB
async.c 5 kB
balloon.c 3.7 kB
bitmap.c 6.3 kB
bitops.c 3.5 kB
block-migration.c 20.2 kB
block.c 125.7 kB
blockdev-nbd.c 3.2 kB
blockdev.c 38.9 kB
blockjob.c 7.6 kB
bt-host.c 5.2 kB
bt-vhci.c 4.5 kB
buffered_file.c 6.2 kB
buffered_file.h 435 Bytes
cache-utils.c 2.2 kB
cmd.c 12.1 kB
cmd.h 2 kB
compatfd.c 2.8 kB
configure 107.5 kB
coroutine-gthread.c 5.8 kB
coroutine-sigaltstack.c 9.2 kB
coroutine-ucontext.c 6.4 kB
coroutine-win32.c 2.6 kB
cpu-exec.c 26.9 kB
cpus.c 33.5 kB
cputlb.c 11 kB
cutils.c 7.2 kB
device_tree.c 7.9 kB
disas.c 12.6 kB
dma-helpers.c 10.9 kB
dump-stub.c 1.5 kB
dump.c 22 kB
envlist.c 5.4 kB
error.c 2 kB
event_notifier-posix.c 2.4 kB
event_notifier-win32.c 1.2 kB
exec.c 73.6 kB
gdbstub.c 75.9 kB
hmp-commands.hx 42.8 kB
hmp.c 38.7 kB
hmp.h 3.5 kB
host-utils.c 2.8 kB
iohandler.c 5.5 kB
ioport.c 13.3 kB
iov.c 9.6 kB
json-lexer.c 9.3 kB
json-parser.c 16.5 kB
json-streamer.c 3.2 kB
kvm-all.c 50.6 kB
kvm-stub.c 2.4 kB
main-loop.c 11.8 kB
memory.c 53.2 kB
memory_mapping-stub.c 627 Bytes
memory_mapping.c 7 kB
migration-exec.c 2.4 kB
migration-fd.c 2.4 kB
migration-tcp.c 2.7 kB
migration-unix.c 2.7 kB
migration.c 14.9 kB
module.c 1.4 kB
monitor.c 135.7 kB
nbd.c 31 kB
notify.c 921 Bytes
os-posix.c 8.4 kB
os-win32.c 4.4 kB
osdep.c 8.6 kB
oslib-posix.c 6 kB
oslib-win32.c 3.9 kB
page_cache.c 5 kB
path.c 4.7 kB
pci-ids.txt 883 Bytes
pixman 0 Bytes
qapi-schema-test.json 1.3 kB
qapi-schema.json 80.6 kB
qbool.c 1.2 kB
qdict-test-data.txt 88.4 kB
qdict.c 10.5 kB
qemu-bridge-helper.c 10.4 kB
qemu-char.c 75 kB
qemu-config.c 23.3 kB
qemu-coroutine-io.c 2.4 kB
qemu-coroutine-lock.c 4.4 kB
qemu-coroutine-sleep.c 898 Bytes
qemu-coroutine.c 1.6 kB
qemu-doc.texi 87.9 kB
qemu-error.c 4.4 kB
qemu-img-cmds.hx 1.9 kB
qemu-img.c 57.3 kB
qemu-img.texi 11.8 kB
qemu-io.c 48.1 kB
qemu-log.c 4.6 kB
qemu-nbd.c 16.8 kB
qemu-nbd.texi 1.5 kB
qemu-option.c 28.6 kB
qemu-options-wrapper.h 1 kB
qemu-options.h 1.4 kB
qemu-options.hx 106.2 kB
qemu-progress.c 4 kB
qemu-seccomp.c 7.8 kB
qemu-sockets.c 26 kB
qemu-tech.texi 22.9 kB
qemu-thread-posix.c 6.9 kB
qemu-thread-win32.c 9.5 kB
qemu-timer-common.c 2 kB
qemu-timer.c 19.2 kB
qemu-tool.c 1.8 kB
qemu-user.c 1001 Bytes
qemu.sasl 1.3 kB
qerror.c 3.1 kB
qfloat.c 1.3 kB
qint.c 1.2 kB
qjson.c 7.4 kB
qlist.c 3.2 kB
qmp-commands.hx 66 kB
qmp.c 13.6 kB
qstring.c 3.1 kB
qtest.c 11 kB
readline.c 12.8 kB
rules.mak 3.7 kB
savevm.c 63.2 kB
spice-qemu-char.c 8.3 kB
tcg-runtime.c 2.2 kB
tci.c 35.5 kB
thread-pool.c 7.6 kB
thunk.c 8.8 kB
trace-events 67.6 kB
translate-all.c 54.7 kB
translate-all.h 1.2 kB
uri.c 56.4 kB
user-exec.c 19.1 kB
version.rc 749 Bytes
vl.c 112.1 kB
xen-all.c 35.6 kB
xen-mapcache.c 11.9 kB
xen-stub.c 1.2 kB

Latest revisions

# Date Author Comment
edfa1af5 12/21/2012 12:09 am Juan Quintela

migration: make qemu_fopen_ops_buffered() return void

We want the file assignment to happen before the thread is created to
avoid locking, so we just do it before creating the thread.

Signed-off-by: Juan Quintela <>

Reviewed-by: Orit Wasserman <>

766bd176 12/21/2012 12:09 am Juan Quintela

migration: move migration thread init code to migrate_fd_put_ready

This way everything related with migration is run on the migration
thread and no locking is needed.

Signed-off-by: Juan Quintela <>

dd217b87 12/21/2012 12:09 am Juan Quintela

migration: make writes blocking

Move all the writes to the migration_thread, and make writings
blocking. Notice that are still using the iothread for everything
that we do.

Signed-off-by: Juan Quintela <>

188a4285 12/21/2012 12:09 am Juan Quintela

migration: remove unfreeze logic

Now that we have a thread, and blocking writes, we don't need it.

Signed-off-by: Juan Quintela <>

Reviewed-by: Paolo Bonzini <>

e7627482 12/21/2012 12:09 am Juan Quintela

migration: just lock migrate_fd_put_ready

Signed-off-by: Juan Quintela <>

c09f4cb2 12/21/2012 12:09 am Juan Quintela

buffered_file: Move from using a timer to use a thread

We still protect everything except the wait with the iothread lock.
But we moved from a timer to a thread. Steps one by one.

We also need to detect when we have finished with a variable "complete"....

a3161038 12/21/2012 12:08 am Paolo Bonzini

exec: change RAM list to a TAILQ

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Juan Quintela <>

abb26d63 12/21/2012 12:08 am Paolo Bonzini

exec: sort the memory from biggest to smallest

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Juan Quintela <>

f798b07f 12/21/2012 12:08 am Umesh Deshpande

add a version number to ram_list

This will be used to detect if last_block might have become invalid
across different calls to ram_save_live.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Umesh Deshpande <>
Signed-off-by: Juan Quintela <>...

b2a8658e 12/21/2012 12:08 am Umesh Deshpande

protect the ramlist with a separate mutex

Add the new mutex that protects shared state between ram_save_live
and the iothread. If the iothread mutex has to be taken together
with the ramlist mutex, the iothread shall always be outside.

Signed-off-by: Paolo Bonzini <>...

View all revisions | View revisions

Also available in: Atom