Statistics
| Branch: | Revision:

root / hw @ 7c43bca0

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

Latest revisions

# Date Author Comment
f3c75d42 03/05/2014 04:07 am Aneesh Kumar K.V

target-ppc: Fix htab_mask calculation

Correctly update the htab_mask using the return value of
KVM_PPC_ALLOCATE_HTAB ioctl. Also we don't update sdr1
on GET_SREGS for HV. We check for external htab and if
found true, we don't need to update sdr1

Signed-off-by: Aneesh Kumar K.V <>...

7c43bca0 03/05/2014 04:07 am Aneesh Kumar K.V

target-ppc: Fix page table lookup with kvm enabled

With kvm enabled, we store the hash page table information in the hypervisor.
Use ioctl to read the htab contents. Without this we get the below error when
trying to read the guest address

(gdb) x/10 do_fork...
3c3b0dde 03/05/2014 04:07 am Alexander Graf

PPC: sPAPR: Only use getpagesize() when we run with kvm

We currently size the msi window trap page according to the host's page
size so that we poke a working hole into a memory slot in case we overlap.

However, this is only ever necessary with KVM active. Without KVM, we should...

0a61f3b4 03/05/2014 04:07 am Alexey Kardashevskiy

spapr-vlan: flush queue whenever can_receive can go from false to true

When the guests adds buffers to receive queue, the network device
should flush its queue of pending packets. This is done with
qemu_flush_queued_packets.

This adds a call to qemu_flush_queued_packets() which wakes up the main...

3b66da82 03/05/2014 04:06 am Alexey Kardashevskiy

spapr: print more detailed error message on failed load_elf()

This makes use of new error codes which load_elf() can return and
prints more informative error message.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Alexander Graf <>

5736245c 03/05/2014 04:06 am Aneesh Kumar K.V

target-ppc: Update external_htab even when HTAB is managed by kernel

We will use this in later patches to make sure we use the right load
functions when copying hpte entries.

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Alexander Graf <>

61de3676 03/05/2014 04:06 am Alexander Graf

qdev: Keep global allocation counter per bus

When we have 2 separate qdev devices that both create a qbus of the
same type without specifying a bus name or device name, we end up
with two buses of the same name, such as ide.0 on the Mac machines:

dev: macio-ide, id ""...
133e70ee 03/05/2014 04:06 am Alexey Kardashevskiy

spapr: support only ELF kernel images

Currently everybody uses ELF kernel images with "-kernel" option on
pseries machine but QEMU still tries to boot from an image even it
fails to recognize it is ELF. This produces undefined behaviour if
the user tries a kernel image compiled for another architecture....

6a2331d1 03/05/2014 04:06 am Alexey Kardashevskiy

moxie: fix load_elf() usage

At the moment in the case of error, load_elf() returns -1 so load_kernel()
will not signal error at all.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Alexander Graf <>

18674b26 03/05/2014 04:06 am Alexey Kardashevskiy

elf-loader: add more return codes

The existing load_elf() just returns -1 if it fails to load ELF. However
it could be smarter than this and tell more about the failure such as
wrong endianness or incompatible platform.

This adds additional return codes for wrong architecture, wrong...

View revisions

Also available in: Atom