Statistics
| Branch: | Revision:

root @ 17862378

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
  qobject
  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
  util
.exrc 220 Bytes
.gitignore 1.5 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.3 kB
Makefile.objs 3.5 kB
Makefile.target 5.1 kB
README 80 Bytes
TODO 1.1 kB
VERSION 7 Bytes
aio-posix.c 7.4 kB
aio-win32.c 5.8 kB
arch_init.c 29.2 kB
async.c 5 kB
balloon.c 3.7 kB
block-migration.c 19.5 kB
block.c 125.7 kB
blockdev-nbd.c 3.2 kB
blockdev.c 42.5 kB
blockjob.c 7.6 kB
bt-host.c 5.2 kB
bt-vhci.c 4.5 kB
cmd.c 12.1 kB
cmd.h 2 kB
configure 110.4 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.6 kB
cputlb.c 11 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
exec.c 73.5 kB
gdbstub.c 76 kB
hmp-commands.hx 43.4 kB
hmp.c 39.6 kB
hmp.h 3.9 kB
iohandler.c 5.5 kB
ioport.c 13.3 kB
kvm-all.c 51.2 kB
kvm-stub.c 2.5 kB
main-loop.c 11.8 kB
memory.c 53.8 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 20.6 kB
monitor.c 137.6 kB
nbd.c 31 kB
os-posix.c 8.4 kB
os-win32.c 4.4 kB
page_cache.c 5 kB
pixman 0 Bytes
qapi-schema-test.json 1.3 kB
qapi-schema.json 83.1 kB
qdict-test-data.txt 88.4 kB
qemu-bridge-helper.c 10.4 kB
qemu-char.c 83.6 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-img-cmds.hx 1.9 kB
qemu-img.c 57.5 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-options-wrapper.h 1 kB
qemu-options.h 1.4 kB
qemu-options.hx 106.7 kB
qemu-seccomp.c 7.8 kB
qemu-tech.texi 22.9 kB
qemu-timer.c 19.2 kB
qemu.sasl 1.3 kB
qmp-commands.hx 67.2 kB
qmp.c 13.6 kB
qtest.c 11 kB
readline.c 12.8 kB
rules.mak 4.3 kB
savevm.c 62.5 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 68.8 kB
translate-all.c 54.5 kB
translate-all.h 1.2 kB
user-exec.c 19.1 kB
version.rc 749 Bytes
vl.c 119 kB
xen-all.c 35.6 kB
xen-mapcache.c 11.9 kB
xen-stub.c 1.2 kB

Latest revisions

# Date Author Comment
17862378 01/28/2013 12:33 am Andreas Färber

qom: Introduce object_class_is_abstract()

This lets a caller check if an ObjectClass as returned by, e.g.,
object_class_by_name() is instantiatable.

Signed-off-by: Andreas Färber <>
Cc: Anthony Liguori <>

d89e1218 01/28/2013 12:33 am Andreas Färber

target-unicore32: Detect attempt to instantiate non-CPU type in cpu_init()

Consolidate model checking into a new uc32_cpu_class_by_name().

If the name matches an existing type, also check whether that type is
actually (a sub-type of) TYPE_UNICORE32_CPU....

0e44a023 01/27/2013 03:52 pm Andreas Färber

target-alpha: Detect attempt to instantiate non-CPU type in cpu_init()

Check in alpha_cpu_class_by_name() whether the type found is actually
(a sub-type of) TYPE_ALPHA_CPU.

This fixes, e.g., -cpu typhoon-pcihost asserting.

Signed-off-by: Andreas Färber <>

bc5b2da3 01/27/2013 03:52 pm Andreas Färber

target-m68k: Detect attempt to instantiate non-CPU type in cpu_init()

Consolidate model checking into a new m68k_cpu_class_by_name().

If the name matches an existing type, also check whether that type is
(a sub-type of) TYPE_M68K_CPU.

This fixes, e.g., -cpu ide-hd asserting....

bd039ce0 01/27/2013 03:52 pm Andreas Färber

target-openrisc: Detect attempt to instantiate non-CPU type in cpu_init()

Consolidate model checking into a new openrisc_cpu_class_by_name().

If the name matches an existing type, also check whether that type is
actually (a sub-type of) TYPE_OPENRISC_CPU....

2b8c2754 01/27/2013 03:52 pm Andreas Färber

cpu: Add model resolution support to CPUClass

Introduce CPUClass::class_by_name and add a default implementation.
Hook up the alpha and ppc implementations.

Introduce a wrapper function cpu_class_by_name().

Signed-off-by: Andreas Färber <>

5900d6b2 01/27/2013 03:52 pm Andreas Färber

target-arm: Detect attempt to instantiate non-CPU type in cpu_init()

Consolidate model checking into a new arm_cpu_class_by_name().

If the name matches an existing type, also check whether that type is
actually (a sub-type of) TYPE_ARM_CPU.

This fixes, e.g., -cpu tmp105 asserting....

11acfdd5 01/27/2013 03:34 pm Igor Mammedov

target-i386: Remove vendor_override field from CPUX86State

Commit 8935499831312 makes cpuid return to guest host's vendor value
instead of built-in one by default if kvm_enabled() == true and allows
to override this behavior if 'vendor' is specified on -cpu command line....

a91987c2 01/27/2013 03:34 pm Igor Mammedov

target-i386: Set custom features/properties without intermediate x86_def_t

Move custom features parsing after built-in cpu_model defaults are set
and set custom features directly on CPU instance. That allows to make a
clear distinction between built-in cpu model defaults that eventually...

2c728dfe 01/27/2013 03:34 pm Igor Mammedov

target-i386: Remove setting tsc-frequency from x86_def_t

Setting tsc-frequency from x86_def_t is NOP because default tsc_khz
in x86_def_t is 0 and CPUX86State.tsc_khz is also initialized to 0
by default. So there is no need to overwrite tsc_khz with default 0...

View all revisions | View revisions

Also available in: Atom