Statistics
| Branch: | Revision:

root / hw @ c3c4fe35

Name Size
  9pfs
  acpi
  alpha
  arm
  audio
  block
  bt
  char
  core
  cpu
  cris
  display
  dma
  gpio
  i2c
  i386
  ide
  input
  intc
  isa
  lm32
  m68k
  microblaze
  mips
  misc
  moxie
  net
  nvram
  openrisc
  pci
  pci-bridge
  pci-host
  ppc
  s390x
  scsi
  sd
  sh4
  sparc
  sparc64
  ssi
  timer
  tpm
  unicore32
  usb
  virtio
  watchdog
  xen
  xtensa
Makefile.objs 1.2 kB

Latest revisions

# Date Author Comment
c3c4fe35 06/02/2013 06:14 pm Michael S. Tsirkin

pvpanic: use FWCfgState explicitly

Use the type-safe FWCfgState structure instead
of the unsafe void *.

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

600c60b7 06/02/2013 06:14 pm Michael S. Tsirkin

fw_cfg: add API to find FW cfg object

Remove some code duplication by adding a
function to look up the fw cfg file.
This way, we don't need to duplicate same strings everywhere.
Use by both fw cfg and pvpanic device.

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

cac12210 06/02/2013 06:14 pm Michael S. Tsirkin

fw_cfg: fw_cfg is a singleton

Make sure we only have a single instance ever:
because if it isn't we can't find it so it's
useless anyway.

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

edf9735e 06/02/2013 06:14 pm Michael S. Tsirkin

apic: rename apic specific bitopts

apic has its own version of bitops, with the
difference that it works on u32 and not long.
Add apic_ prefix to avoid namespace clashes.

We should look into reusing standard bitops long-term,
but that's not entirely trivial....

a88b362c 06/02/2013 06:14 pm Laszlo Ersek

refer to FWCfgState explicitly

Currently some places use pointer-to-void even though they mean
pointer-to-FWCfgState. Clean them up.

Signed-off-by: Laszlo Ersek <>
Reviewed-by: Anthony Liguori <>
Signed-off-by: Michael S. Tsirkin <>

ec0503b4 06/02/2013 06:13 pm Michael S. Tsirkin

firmware_abi: move to include/hw/nvram/

firmware_abi.h with structs for OpenBIOS landed in hw/sparc/ by mistake
- move it to hw/nvram/ alongside fw_cfg.h. In addition to sparc it's
included from ppc mac_nvram.c and will need to include it from prep.c in...

cbef02f8 06/02/2013 06:13 pm Michael S. Tsirkin

dec.c - move to pci-bridge

Looks like dec.c is in pci-host by mistake.
Moving it over to pci-bridge.

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

68c0e134 05/30/2013 04:42 pm Michael S. Tsirkin

q35: set fw_name

PCI host bridges need to set fw_name to be discoverable
by bios for boot device selection.

In particular, seabios expects root device to be called
"/pci/@i0cf8", so let's set it up like that for Q35.

Cc:
Signed-off-by: Michael S. Tsirkin <>...

87d23f78 05/29/2013 04:16 pm Michael S. Tsirkin

virtio-pci: drop unused wmb macro

The implementation is wrong for kvm, and it's unused anyway.
Drop it.

Signed-off-by: Michael S. Tsirkin <>
Message-id:
Signed-off-by: Anthony Liguori <>

dafb82e0 05/29/2013 04:15 pm Jordan Justen

pc_sysfw: allow flash (-pflash) memory to be used with KVM

When pc-sysfw.rom_only == 0, flash memory will be
usable with kvm. In order to enable flash memory mode,
a pflash device must be created. (For example, by
using the -pflash command line parameter.)...

View revisions

Also available in: Atom