From 2aad88f4b05303531bc9aad6531258616d95af52 Mon Sep 17 00:00:00 2001 From: Gavin Shan Date: Fri, 20 Feb 2015 15:58:53 +1100 Subject: sPAPR: Implement sPAPRPHBClass EEH callbacks The patch implements sPAPRPHBClass EEH callbacks so that the EEH RTAS requests can be routed to VFIO for further handling. Signed-off-by: Gavin Shan Reviewed-by: David Gibson Signed-off-by: Alexander Graf --- hw/vfio/common.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/vfio') diff --git a/hw/vfio/common.c b/hw/vfio/common.c index 9db7d8d..148eb53 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -949,6 +949,7 @@ int vfio_container_ioctl(AddressSpace *as, int32_t groupid, switch (req) { case VFIO_CHECK_EXTENSION: case VFIO_IOMMU_SPAPR_TCE_GET_INFO: + case VFIO_EEH_PE_OP: break; default: /* Return an error on unknown requests */ -- cgit v1.1