Re: [PATCH v3 3/3] QEMU-AER: Qemu changes to support AER forVFIO-PCI devices

From: Gleb Natapov
Date: Tue Feb 05 2013 - 03:04:45 EST


On Sun, Feb 03, 2013 at 04:36:11PM +0000, Blue Swirl wrote:
> On Sun, Feb 3, 2013 at 2:10 PM, Pandarathil, Vijaymohan R
> <vijaymohan.pandarathil@xxxxxx> wrote:
> > - Create eventfd per vfio device assigned to a guest and register an
> > event handler
> >
> > - This fd is passed to the vfio_pci driver through the SET_IRQ ioctl
> >
> > - When the device encounters an error, the eventfd is signalled
> > and the qemu eventfd handler gets invoked.
> >
> > - In the handler decide what action to take. Current action taken
> > is to terminate the guest.
>
> Usually this is not OK, but I guess this is not guest triggerable.
>
Still not OK. Why not stop a guest with appropriate stop reason?

--
Gleb.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/