pseries: Remove XICS irq type enum type
Currently the XICS interrupt controller emulation uses a custom enum tospecify whether a given interrupt is level-sensitive or message-triggered.This enum makes life awkward for saving the state, and isn't particularly...
pseries: Fix and cleanup CPU initialization and reset
The current pseries machine init function iterates over the CPUs at severalpoints, doing various bits of initialization. This is messy; these canand should be merged into a single iteration doing all the necessary per...
pseries: Use new method to correct reset sequence
A number of things need to occur during reset of the PAPRparavirtualized platform in a specific order. For example, the hashtable needs to be cleared before the CPUs are reset, so that theyinitialize their register state correctly, and the CPUs need to have...
pseries: Add support for new KVM hash table control call
This adds support for then new "reset htab" ioctl which allows qemuto properly cleanup the MMU hash table when the guest is reset. Withthe corresponding kernel support, reset of a guest now works properly....
pseries: Clear TCE and signal state when resetting PAPR VIO devices
When we reset the system, the reset method for VIO bus devices resetsthe state of their request queue (if present) as it should. Howeverit was not resetting the state of their TCE table (DMA translation) if...
pseries: Reset emulated PCI TCE tables on system reset
The emulated PCI host bridge on the pseries machine incorporates an IOMMU(PAPR TCE table). Currently the mappings in this IOMMU are not clearedwhen we reset the system. This patch fixes this bug. To do this it adds...
pseries: Fix XICS reset
The XICS interrupt controller used on the pseries machine currently has noreset handler. We can get away with this under some circumstances, butit's not correct, and can cause failures if the XICS happens to be in thewrong state at the time of reset....
pseries: Small cleanup to H_CEDE implementation
The H_CEDE hypercall implementation for the pseries machine doesn't triggerquite the right path in the main cpu exec loop. We should set exit_requestto pop up one extra level and recheck state, and we should set the...
pseries: Remove C bitfields from xics code
The XICS interrupt controller emulation uses some C bitfield variables inits internal state structure. This makes like awkward for saving the statebecause we don't have easy VMSTATE helpers for bitfields.
This patch removes the bitfields, instead using explicit bit masking in a...
vfio_pci: fix build on 32-bit systems
We cannot cast directly from pointer to uint64.
Cc: Alex Williamson <alex.williamson@redhat.com>Cc: Alex Barcelo <abarcelo@ac.upc.edu>Reported-by: Alex Barcelo <abarcelo@ac.upc.edu>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
View revisions
Also available in: Atom