Statistics
| Branch: | Revision:

root @ 396d2cfc

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.4 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 15 kB
Makefile.objs 5.8 kB
Makefile.target 5.2 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.2 kB
async.c 5 kB
balloon.c 3.7 kB
bitmap.c 6.3 kB
bitops.c 3.5 kB
block-migration.c 19.5 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
cache-utils.c 2.2 kB
cmd.c 12.1 kB
cmd.h 2 kB
compatfd.c 2.8 kB
configure 109.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.5 kB
cputlb.c 11 kB
cutils.c 7.3 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 11.3 kB
json-lexer.c 9.3 kB
json-parser.c 16.5 kB
json-streamer.c 3.2 kB
kvm-all.c 51.1 kB
kvm-stub.c 2.4 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.4 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.3 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.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-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.8 kB
qemu-thread-win32.c 9.1 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 62.8 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 kB
trace.h 93 Bytes
translate-all.c 54.5 kB
translate-all.h 1.2 kB
uri.c 56.4 kB
user-exec.c 19.1 kB
version.rc 749 Bytes
vl.c 113.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
961f8395 01/08/2013 10:03 pm Eduardo Habkost

cpu: Change parent type to Device

This finally makes the CPU class a subclass of the Device class,
allowing us to start using DeviceState properties on CPU subclasses.

It has no_user=1, as creating CPUs using -device doesn't work yet.

Signed-off-by: Igor Mammedov <>...

fcb93c03 01/08/2013 10:03 pm Eduardo Habkost

target-i386: kvm: -cpu host: Use GET_SUPPORTED_CPUID for SVM features

The existing -cpu host code simply sets every bit inside svm_features
(initializing it to -1), and that makes it impossible to make the
enforce/check options work properly when the user asks for SVM features...

bd004bef 01/08/2013 10:03 pm Eduardo Habkost

target-i386: kvm: Enable all supported KVM features for -cpu host

When using -cpu host, we don't need to use the kvm_default_features
variable, as the user is explicitly asking QEMU to enable all feature
supported by the host.

This changes the kvm_cpu_fill_host() code to use GET_SUPPORTED_CPUID to...

8b4beddc 01/08/2013 10:03 pm Eduardo Habkost

target-i386: check/enforce: Fix CPUID leaf numbers on error messages

The -cpu check/enforce warnings are printing incorrect information about the
missing flags. There are no feature flags on CPUID leaves 0 and 0x80000000, but
there were references to 0 and 0x80000000 in the table at...

54830ff8 01/08/2013 10:03 pm Eduardo Habkost

target-i386: check/enforce: Do not ignore "hypervisor" flag

We don't need any hack to ignore CPUID_EXT_HYPERVISOR anymore, because
kvm_arch_get_supported_cpuid() now sets CPUID_EXT_HYPERVISOR properly.
So, this shouldn't introduce any behavior change, but it makes the code...

22714625 01/08/2013 10:03 pm Eduardo Habkost

target-i386: check/enforce: Check all CPUID.80000001H.EDX bits

I have no idea why PPRO_FEATURES was being ignored on the check of the
CPUID.80000001H.EDX bits. I believe it was a mistake, and it was
supposed to be ~(PPRO_FEATURES & CPUID_EXT2_AMD_ALIASES) or just...

396d2cfc 01/08/2013 10:03 pm Eduardo Habkost

target-i386: check/enforce: Check SVM flag support as well

When nested SVM is supported, the kernel returns the SVM flag on
GET_SUPPORTED_CPUID1, so we can check the SVM flag safely in
kvm_check_features_against_host().

I don't know why the original code ignored the SVM flag. Maybe it was...

906709a1 01/08/2013 10:03 pm Eduardo Habkost

libqemustub: sysbus_get_default() stub

The stub will be used on cases where sysbus.c is not compiled in (e.g.
*-user).

Note that code that uses NULL as the bus with qdev{_try,}_create()
implicitly uses sysbus_get_default() as the bus, and will still require...

507066f8 01/08/2013 10:03 pm Eduardo Habkost

qdev: Include qdev code into *-user, too

The code depends on some functions from qemu-option.o, so add
qemu-option.o to universal-obj-y to make sure it's included.

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

5d5b24d0 01/08/2013 10:03 pm Andreas Färber

qdev: Don't assume existence of parent bus on unparenting

Commit 667d22d1ae59da46b4c1fbd094ca61145f19b8c3 (qdev: move bus removal
to object_unparent) made the assumption that at unparenting time
parent_bus is not NULL. This assumption is unjustified since...

View all revisions | View revisions

Also available in: Atom