Statistics
| Branch: | Revision:

root / include @ f0513d2c

Name Size
  block
  disas
  exec
  fpu
  hw
  migration
  monitor
  net
  qapi
  qemu
  qom
  sysemu
  ui
config.h 52 Bytes
elf.h 47.3 kB
glib-compat.h 589 Bytes
libfdt_env.h 1 kB
qemu-common.h 13.6 kB
trace.h 93 Bytes

Latest revisions

# Date Author Comment
f0513d2c 05/01/2013 02:06 pm Igor Mammedov

target-i386: Introduce ICC bus/device/bridge

Provides a hotpluggable bus for APIC and CPU.

  • icc-bridge will serve as a parent for icc-bus and provide
    mmio mapping services to child icc-devices.
  • icc-device will replace SysBusDevice as a parent of APIC...
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 <>

c72bf468 05/01/2013 02:04 pm Jens Freimann

cpu: Move cpu_write_elfXX_note() functions to CPUState

Convert cpu_write_elfXX_note() functions to CPUClass methods and pass
CPUState as argument. Update target-i386 accordingly.

Signed-off-by: Jens Freimann <>
[AF: Retain stubs as CPUClass' default method implementation; style changes]...

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 <>

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 <>

13eed94e 05/01/2013 02:04 pm Igor Mammedov

cpu: Call cpu_synchronize_post_init() from DeviceClass::realize()

If hotplugged, synchronize CPU state to KVM.

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

2993683b 05/01/2013 02:04 pm Igor Mammedov

cpu: Introduce cpu_resume(), for single CPU

Also add a stub for it, to make possible to use it in qom/cpu.c,
which is shared with user emulators.

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

066e9b27 05/01/2013 02:04 pm Igor Mammedov

cpu: Introduce CPU hot-plug notifier

Hot-add CPU event will be distributed to acpi_piix4 and rtc_cmos.

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

View revisions

Also available in: Atom