Re: [Qemu-devel] [PATCHv3 1/7] vfio: Start improving VFIO/EEH interface

2016-03-08 Thread Alex Williamson
On Wed, 9 Mar 2016 11:56:57 +1100 David Gibson wrote: > On Tue, Mar 08, 2016 at 11:33:45AM -0700, Alex Williamson wrote: > > On Tue, 8 Mar 2016 13:10:23 +1100 > > David Gibson wrote: > > > > > At present the code handling IBM's Enhanced Error Handling (EEH) interface > > > on VFIO devices op

Re: [Qemu-devel] [PATCHv3 1/7] vfio: Start improving VFIO/EEH interface

2016-03-08 Thread David Gibson
On Tue, Mar 08, 2016 at 11:33:45AM -0700, Alex Williamson wrote: > On Tue, 8 Mar 2016 13:10:23 +1100 > David Gibson wrote: > > > At present the code handling IBM's Enhanced Error Handling (EEH) interface > > on VFIO devices operates by bypassing the usual VFIO logic with > > vfio_container_ioctl

Re: [Qemu-devel] [PATCHv3 1/7] vfio: Start improving VFIO/EEH interface

2016-03-08 Thread Alex Williamson
On Tue, 8 Mar 2016 13:10:23 +1100 David Gibson wrote: > At present the code handling IBM's Enhanced Error Handling (EEH) interface > on VFIO devices operates by bypassing the usual VFIO logic with > vfio_container_ioctl(). That's a poorly designed interface with unclear > semantics about exactl

[Qemu-devel] [PATCHv3 1/7] vfio: Start improving VFIO/EEH interface

2016-03-07 Thread David Gibson
At present the code handling IBM's Enhanced Error Handling (EEH) interface on VFIO devices operates by bypassing the usual VFIO logic with vfio_container_ioctl(). That's a poorly designed interface with unclear semantics about exactly what can be operated on. In particular it operates on a single