On Thu, Jun 18, 2015 at 09:37:24PM +1000, Alexey Kardashevskiy wrote: > This moves SPAPR bits to a separate file to avoid pollution of x86 code. > > This enables spapr-vfio on CONFIG_SOFTMMU (not CONFIG_PSERIES) as > the config options are only visible in makefiles and not in the source code > so there is no an obvious way of implementing stubs if hw/vfio/spapr.c is > not compiled. > > This is a mechanical patch. > > Signed-off-by: Alexey Kardashevskiy <[email protected]> > Reviewed-by: David Gibson <[email protected]>
So, I sent a R-b for this earlier, and I think the patch won't break
anything.
But on consideration I don't really see the point of this. The parts
that are split out into vfio/spapr.c aren't really spapr specific,
just used a bit more heavily with the spapr model. That may not even
remain the case if guest-visible x86 IOMMUs become more common.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
pgpX47PGXDHLA.pgp
Description: PGP signature
