[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH v8 4/4] sPAPR: Implement sPAPRPHBClass::eeh_handle
Re: [Qemu-ppc] [PATCH v8 4/4] sPAPR: Implement sPAPRPHBClass::eeh_handler
Thu, 05 Jun 2014 15:00:17 +0200
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
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 <address@hidden>
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 :).