pseries: Don't try to munmap() a malloc()ed TCE table
For the pseries machine, TCE (IOMMU) tables can either be directlymalloc()ed in qemu or, when running on a KVM which supports it, mmap()edfrom a KVM ioctl. The latter option is used when available, because it...
PPC64: Add support for ldbrx and stdbrx instructions
These instructions for loading and storing byte-swapped 64-bit values havebeen introduced in PowerISA 2.06.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>Signed-off-by: David Gibson <david@gibson.dropbear.id.au>...
pseries: Update SLOF firmware image
This patch updates the SLOF firmware image used on the pseriesmachine. The new version adds support for Cirrus VGA and virtfs, aswell as including a number of bugfixes.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>...
pseries: Remove unused constant from PCI code
The 'bars' constant array was used in experimental device allocation codewhich is no longer necessary now that we always run the SLOF firmware.This patch removes the now redundant variable.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>...
Bad zero comparison for sas_ss_flags on powerpc
All architectures work the same way, and all check for sas_ss_flags ==0. The powerpc lines are wrong, and do the check the other way round(it's a qemu internal check, which is done wrong only for thisarchitecture, it's more a typo than a bug). It's NOT ppc specific,...
PPC: 405: Fix ppc405ep initialization
When trying to run a ppc405 guest, it segfaults quite quickly, trying toaccess timers that weren't initialized. Initialize them properly instead.
Reported-by: Andreas Faerber <afaerber@suse.de>Signed-off-by: Alexander Graf <agraf@suse.de>
ppc: Add missing 'static' to spin_rw_ops
spin_rw_ops is only used in hw/ppce500_spin.c.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Acked-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Alexander Graf <agraf@suse.de>
target-lm32/microblaze: Drop second CPU{LM32, MB}State typedef
Commit 9b9a970a23625de4ae6b7461906a9a0d98d3ca95(target-lm32/microblaze: Typedef struct CPU{MB,LM32}State)introduced necessary typedefs for cpu_mmu_index() and mmu.hrespectively.
On some GCC versions this leads to "error: redefinition of typedef"....
Merge remote-tracking branch 'afaerber/qom-cpu.v5' into staging
vnc: Limit r/w access to size of allocated memory
This fixes memory reads and writes which exceeded the upper limitof allocated memory vd->guest.ds->data and vd->server->data.
Cc: Anthony Liguori <aliguori@us.ibm.com>Signed-off-by: Stefan Weil <weil@mail.berlios.de>...
View all revisions | View revisions
Also available in: Atom