[PATCH RFC 00/22] EEH Support for VFIO PCI devices on PowerKVM guest
benh at au1.ibm.com
Tue May 6 17:14:59 EST 2014
On Tue, 2014-05-06 at 08:56 +0200, Alexander Graf wrote:
> > For the error injection, I guess I have to put the logic token
> > into QEMU and error injection request will be handled by QEMU and
> > routed to host kernel via additional syscall as we did for pSeries.
> Yes, start off without in-kernel XICS so everything simply lives in
> QEMU. Then add callbacks into the in-kernel XICS to inject these
> interrupts if we don't have wide enough interfaces already.
It's got nothing to do with XICS ... :-)
But yes, we can route everything via qemu for now, then we'll need
at least one of the call to have a "direct" path but we should probably
strive to even make it real mode if that's possible, it's the one that
Linux will call whenever an MMIO returns all f's to check if the
underlying PE is frozen.
But we can do that as a second stage.
In fact going via VFIO ioctl's does make the whole security and
translation model much simpler initially.
More information about the Linuxppc-dev