On 05.06.14 08:53, Gavin Shan wrote:
The patch implements sPAPRPHBClass::eeh_handler so that the
EEH RTAS requests can be routed to VFIO for further handling.

Signed-off-by: Gavin Shan <gws...@linux.vnet.ibm.com>

Just to make sure I grasp this correctly.

We have PHBs that are VFIO PHBs and PHBs that are emulation PHBs. Emulation PHBs can only have emulated devices attached. VFIO PHBs can only have a single IOMMU group's devices attached each. A container can not span 2 different VFIO PHBs.

Is this correct? If not the code below needs to take care of any abstraction we have in between and maybe limit scope a bit to make sure the guest doesn't kill devices on other PHBs :).


Alex


Reply via email to