Statistics
| Branch: | Revision:

root / include @ d87072ce

Name Size
  block
  disas
  exec
  fpu
  hw
  migration
  monitor
  net
  qapi
  qemu
  qom
  sysemu
  ui
config.h 52 Bytes
elf.h 53.2 kB
glib-compat.h 589 Bytes
qemu-common.h 13.9 kB
qemu-io.h 1.3 kB
trace.h 93 Bytes

Latest revisions

# Date Author Comment
d87072ce 10/14/2013 05:48 pm Michael S. Tsirkin

fw_cfg: interface to trigger callback on read

Reviewed-by: Gerd Hoffmann <>
Tested-by: Gerd Hoffmann <>
Reviewed-by: Igor Mammedov <>
Tested-by: Igor Mammedov <>
Signed-off-by: Michael S. Tsirkin <>

e732ea63 10/14/2013 05:46 pm Michael S. Tsirkin

qom: add pointer to int property helpers

Make it easy to add read-only helpers for simple
integer properties in memory.

Reviewed-by: Paolo Bonzini <>
Reviewed-by: Gerd Hoffmann <>
Tested-by: Gerd Hoffmann <>...

e82df248 10/14/2013 05:45 pm Michael S. Tsirkin

qom: cleanup struct Error references

now that a typedef for struct Error is available,
use it in qom/object.h to match coding style rules.

Reviewed-by: Paolo Bonzini <>
Reviewed-by: Gerd Hoffmann <>
Tested-by: Gerd Hoffmann <>...

5a03e708 10/14/2013 05:11 pm Marcel Apfelbaum

hw/pcie: AER and hot-plug events must use device's interrupt

The fields hpev_intx and aer_intx were removed because
both AER and hot-plug events must use device's interrupt.
Assert/deassert interrupts using pci irq wrappers instead.

Signed-off-by: Marcel Apfelbaum <>...

c31d04b5 10/14/2013 05:11 pm Marcel Apfelbaum

hw/pci: removed irq field from PCIDevice

Instead of exposing the the irq field,
pci wrappers to qemu_set_irq or qemu_irq_*
can be used.

Signed-off-by: Marcel Apfelbaum <>
Signed-off-by: Michael S. Tsirkin <>

008e0566 10/14/2013 05:11 pm Igor Mammedov

cleanup object.h: include error.h directly

qapi/error.h is simple enough to be included in qom/object.h
direcly and prepares qom/object.h to use Error typedef.

Signed-off-by: Igor Mammedov <>
Signed-off-by: Michael S. Tsirkin <>

a1ff8ae0 10/14/2013 05:11 pm Marcel Apfelbaum

memory: Change MemoryRegion priorities from unsigned to signed

When memory regions overlap, priority can be used to specify
which of them takes priority. By making the priority values signed
rather than unsigned, we make it more convenient to implement
a situation where one "background" region should appear only...

a53ae8e9 10/14/2013 05:11 pm Marcel Apfelbaum

hw/pci: partially handle pci master abort

A MemoryRegion with negative priority was created and
it spans over all the pci address space.
It "intercepts" the accesses to unassigned pci
address space and will follow the pci spec:
1. returns -1 on read
2. does nothing on write...

a8a9d30b 10/14/2013 05:11 pm Marcel Apfelbaum

hw/core: Add interface to allocate and free a single IRQ

qemu_allocate_irq returns a single qemu_irq.
The interface allows to specify an interrupt number.

qemu_free_irq frees it.

Signed-off-by: Marcel Apfelbaum <>
Signed-off-by: Michael S. Tsirkin <>

d98f08f5 10/14/2013 05:11 pm Marcel Apfelbaum

hw/pci: add pci wrappers for allocating and asserting irqs

Interrupt pin is selected and saved into PCI_INTERRUPT_PIN
register during device initialization. Devices should not call
directly qemu_set_irq and specify the INTx pin on each call.

Added pci_* wrappers to replace qemu_set_irq, qemu_irq_raise,...

View revisions

Also available in: Atom