Statistics
| Branch: | Revision:

root @ baaeda08

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
  po
  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-moxie
  target-openrisc
  target-ppc
  target-s390x
  target-sh4
  target-sparc
  target-unicore32
  target-xtensa
  tcg
  tests
  trace
  ui
  util
.exrc 220 Bytes
.gitignore 1.7 kB
.gitmodules 746 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 15.4 kB
Makefile 15.2 kB
Makefile.objs 3.4 kB
Makefile.target 5.2 kB
README 80 Bytes
VERSION 7 Bytes
aio-posix.c 6.7 kB
aio-win32.c 5.8 kB
arch_init.c 28.9 kB
async.c 5.3 kB
balloon.c 3.7 kB
block-migration.c 21.8 kB
block.c 133.3 kB
blockdev-nbd.c 3.2 kB
blockdev.c 50 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 116.1 kB
coroutine-gthread.c 5.8 kB
coroutine-sigaltstack.c 8.3 kB
coroutine-ucontext.c 5.6 kB
coroutine-win32.c 2.6 kB
cpu-exec.c 28.9 kB
cpus.c 33.8 kB
cputlb.c 11 kB
device-hotplug.c 2.2 kB
device_tree.c 7.9 kB
disas.c 12.9 kB
dma-helpers.c 10.9 kB
dtc 0 Bytes
dump-stub.c 1.5 kB
dump.c 22.2 kB
exec.c 74.3 kB
gdbstub.c 76.2 kB
hmp-commands.hx 44.5 kB
hmp.c 41.3 kB
hmp.h 4.1 kB
iohandler.c 6 kB
ioport.c 13.3 kB
kvm-all.c 51.2 kB
kvm-stub.c 2.3 kB
main-loop.c 13.3 kB
memory.c 53.7 kB
memory_mapping-stub.c 627 Bytes
memory_mapping.c 7 kB
migration-exec.c 1.7 kB
migration-fd.c 1.6 kB
migration-tcp.c 2.3 kB
migration-unix.c 2.2 kB
migration.c 16.9 kB
monitor.c 138.6 kB
nbd.c 30.8 kB
os-posix.c 8.5 kB
os-win32.c 4.2 kB
page_cache.c 5.1 kB
pixman 0 Bytes
qapi-schema-test.json 1.3 kB
qapi-schema.json 95.3 kB
qdev-monitor.c 18 kB
qdict-test-data.txt 88.4 kB
qemu-bridge-helper.c 11.1 kB
qemu-char.c 98.2 kB
qemu-coroutine-io.c 2.4 kB
qemu-coroutine-lock.c 5.1 kB
qemu-coroutine-sleep.c 898 Bytes
qemu-coroutine.c 2.4 kB
qemu-doc.texi 90.1 kB
qemu-img-cmds.hx 2.2 kB
qemu-img.c 71.6 kB
qemu-img.texi 13.8 kB
qemu-io.c 48.3 kB
qemu-log.c 4.8 kB
qemu-nbd.c 17.6 kB
qemu-nbd.texi 2.1 kB
qemu-options-wrapper.h 1 kB
qemu-options.h 1.4 kB
qemu-options.hx 111.8 kB
qemu-seccomp.c 7.8 kB
qemu-tech.texi 22.9 kB
qemu-timer.c 18.8 kB
qemu.sasl 1.3 kB
qmp-commands.hx 72 kB
qmp.c 13.5 kB
qtest.c 13.3 kB
readline.c 12.9 kB
rules.mak 4.7 kB
savevm.c 64.3 kB
spice-qemu-char.c 8.8 kB
tcg-runtime.c 2.4 kB
tci.c 35.8 kB
thread-pool.c 9.7 kB
thunk.c 8.8 kB
tpm.c 7.6 kB
trace-events 76.1 kB
translate-all.c 53.5 kB
translate-all.h 1.2 kB
user-exec.c 19.1 kB
version.rc 749 Bytes
vl.c 123.8 kB
xbzrle.c 4 kB
xen-all.c 35.6 kB
xen-mapcache.c 12.4 kB
xen-stub.c 1.2 kB

Latest revisions

# Date Author Comment
baaeda08 05/01/2013 02:04 pm Igor Mammedov

target-i386: Replace MSI_SPACE_SIZE with APIC_SPACE_SIZE

Put APIC_SPACE_SIZE in a public header so that it can be
reused elsewhere later.

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

b8b7456d 05/01/2013 02:04 pm Igor Mammedov

pc: Update rtc_cmos on CPU hot-plug

It provides updated currently available CPUs count to BIOS on reboot.

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

997395d3 05/01/2013 02:04 pm Igor Mammedov

cpu: Introduce get_arch_id() method and override it for X86CPU

get_arch_id() adds possibility for generic code to get a guest-visible
CPU ID without accessing CPUArchState.
If derived classes don't override it, it will return cpu_index.

Override it on target-i386 in X86CPU to return the APIC ID....

d6b9e0d6 05/01/2013 02:04 pm Michael S. Tsirkin

cpu: Add qemu_for_each_cpu()

Wrapper to avoid open-coded loops and to make CPUState iteration
independent of CPUArchState.

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Igor Mammedov <>
Signed-off-by: Andreas Färber <>

a37677c3 05/01/2013 02:04 pm Igor Mammedov

cpus: Use qemu_for_each_cpu() in TCG thread

Replaces an open-coded loop and hides unused CPUArchState.

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

69e5ff06 05/01/2013 02:04 pm Igor Mammedov

cpu: Add helper cpu_exists(), to check if CPU with specified id exists

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

b8622725 05/01/2013 02:04 pm Igor Mammedov

acpi_piix4: Add infrastructure to send CPU hot-plug GPE to guest

  • introduce processor status bitmask visible to guest at 0xaf00 addr,
    where ACPI asl code expects it
  • set bit corresponding to APIC ID in processor status bitmask on
    receiving CPU hot-plug notification...
72ac2e87 05/01/2013 02:04 pm Igor Mammedov

target-i386: Introduce feat2prop() for CPU properties

This helper replaces '_' with '-' in a uniform way.
As a side effect, even custom mappings must use '-' now.

Signed-off-by: Igor Mammedov <>
[AF: Split off; operate on NUL-terminated string rather than '=' delimiter]...

31050930 05/01/2013 02:04 pm Igor Mammedov

target-i386: Introduce apic-id CPU property

The property is used from board level to set APIC ID for CPUs it
creates. Do so in a new pc_new_cpu() helper, to be reused for hot-plug.

Signed-off-by: Igor Mammedov <>
Reviewed-by: Eduardo Habkost <>...

8d6d4980 05/01/2013 02:04 pm Igor Mammedov

target-i386: Do not allow to set apic-id once CPU is realized

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

View all revisions | View revisions

Also available in: Atom