Re: [libvirt] libvirt mdev migration, mdevctl integration

2019-12-10 Thread Cornelia Huck
On Tue, 10 Dec 2019 10:36:36 + Daniel P. Berrangé wrote: > On Tue, Dec 10, 2019 at 11:24:44AM +0100, Cornelia Huck wrote: > > On Tue, 10 Dec 2019 10:09:34 + > > Daniel P. Berrangé wrote: > > > > > On Mon, Dec 09, 2019 at 02:23:38PM -0600, Jonathon Jongsma wrote: > > > > mdevctl also

Re: [libvirt] libvirt mdev migration, mdevctl integration

2019-12-10 Thread Daniel P . Berrangé
On Tue, Dec 10, 2019 at 11:24:44AM +0100, Cornelia Huck wrote: > On Tue, 10 Dec 2019 10:09:34 + > Daniel P. Berrangé wrote: > > > On Mon, Dec 09, 2019 at 02:23:38PM -0600, Jonathon Jongsma wrote: > > > mdevctl also supports assigning arbitrary sysfs attributes to a device. > > > These attribu

Re: [libvirt] libvirt mdev migration, mdevctl integration

2019-12-10 Thread Cornelia Huck
On Tue, 10 Dec 2019 10:09:34 + Daniel P. Berrangé wrote: > On Mon, Dec 09, 2019 at 02:23:38PM -0600, Jonathon Jongsma wrote: > > mdevctl also supports assigning arbitrary sysfs attributes to a device. > > These attributes have an explicit ordering and are written to sysfs in > > the specified

Re: [libvirt] libvirt mdev migration, mdevctl integration

2019-12-10 Thread Daniel P . Berrangé
On Mon, Dec 09, 2019 at 02:23:38PM -0600, Jonathon Jongsma wrote: > On Mon, 2019-11-18 at 19:00 +, Daniel P. Berrangé wrote: > > On Mon, Nov 18, 2019 at 10:06:34AM -0700, Alex Williamson wrote: > > > Hey folks, > > > > > > We had some discussions at KVM Forum around mdev live migration and > >

Re: [libvirt] libvirt mdev migration, mdevctl integration

2019-12-09 Thread Jonathon Jongsma
On Mon, 2019-11-18 at 19:00 +, Daniel P. Berrangé wrote: > On Mon, Nov 18, 2019 at 10:06:34AM -0700, Alex Williamson wrote: > > Hey folks, > > > > We had some discussions at KVM Forum around mdev live migration and > > what that might mean for libvirt handling of mdev devices and > > potential

Re: [libvirt] libvirt mdev migration, mdevctl integration

2019-11-26 Thread Daniel P . Berrangé
On Tue, Nov 26, 2019 at 12:08:41PM +0100, Cornelia Huck wrote: > On Tue, 26 Nov 2019 10:54:59 +0100 > Boris Fiuczynski wrote: > > > On 11/25/19 6:14 PM, Cornelia Huck wrote: > > > Also, I'm wondering if we need special care for vfio-ap, although I'm > > > not sure if it is feasible to add migrati

Re: [libvirt] libvirt mdev migration, mdevctl integration

2019-11-26 Thread Cornelia Huck
On Tue, 26 Nov 2019 10:54:59 +0100 Boris Fiuczynski wrote: > On 11/25/19 6:14 PM, Cornelia Huck wrote: > > Also, I'm wondering if we need special care for vfio-ap, although I'm > > not sure if it is feasible to add migration support for it all. We > > currently have a matrix device (always same p

Re: [libvirt] libvirt mdev migration, mdevctl integration

2019-11-26 Thread Daniel P . Berrangé
On Tue, Nov 26, 2019 at 11:50:05AM +0100, Cornelia Huck wrote: > On Mon, 25 Nov 2019 17:47:26 + > Daniel P. Berrangé wrote: > > > On Mon, Nov 25, 2019 at 06:14:33PM +0100, Cornelia Huck wrote: > > > On Mon, 18 Nov 2019 19:00:25 + > > > Daniel P. Berrangé wrote: > > > > > > > On Mon, N

Re: [libvirt] libvirt mdev migration, mdevctl integration

2019-11-26 Thread Cornelia Huck
On Mon, 25 Nov 2019 17:47:26 + Daniel P. Berrangé wrote: > On Mon, Nov 25, 2019 at 06:14:33PM +0100, Cornelia Huck wrote: > > On Mon, 18 Nov 2019 19:00:25 + > > Daniel P. Berrangé wrote: > > > > > On Mon, Nov 18, 2019 at 10:06:34AM -0700, Alex Williamson wrote: > > > > An issue her

Re: [libvirt] libvirt mdev migration, mdevctl integration

2019-11-26 Thread Boris Fiuczynski
On 11/25/19 6:14 PM, Cornelia Huck wrote: Also, I'm wondering if we need special care for vfio-ap, although I'm not sure if it is feasible to add migration support for it all. We currently have a matrix device (always same parent) defined by the UUID, and adapters/domains configured for this matr

Re: [libvirt] libvirt mdev migration, mdevctl integration

2019-11-25 Thread Daniel P . Berrangé
On Mon, Nov 25, 2019 at 06:14:33PM +0100, Cornelia Huck wrote: > On Mon, 18 Nov 2019 19:00:25 + > Daniel P. Berrangé wrote: > > > On Mon, Nov 18, 2019 at 10:06:34AM -0700, Alex Williamson wrote: > > > Hey folks, > > > > > > We had some discussions at KVM Forum around mdev live migration and

Re: [libvirt] libvirt mdev migration, mdevctl integration

2019-11-25 Thread Cornelia Huck
On Mon, 18 Nov 2019 19:00:25 + Daniel P. Berrangé wrote: > On Mon, Nov 18, 2019 at 10:06:34AM -0700, Alex Williamson wrote: > > Hey folks, > > > > We had some discussions at KVM Forum around mdev live migration and > > what that might mean for libvirt handling of mdev devices and > > potenti

Re: [libvirt] libvirt mdev migration, mdevctl integration

2019-11-18 Thread Daniel P . Berrangé
On Mon, Nov 18, 2019 at 10:06:34AM -0700, Alex Williamson wrote: > Hey folks, > > We had some discussions at KVM Forum around mdev live migration and > what that might mean for libvirt handling of mdev devices and > potential libvirt/mdevctl[1] flows. I believe the current situation is > that lib

[libvirt] libvirt mdev migration, mdevctl integration

2019-11-18 Thread Alex Williamson
Hey folks, We had some discussions at KVM Forum around mdev live migration and what that might mean for libvirt handling of mdev devices and potential libvirt/mdevctl[1] flows. I believe the current situation is that libvirt knows nothing about an mdev beyond the UUID in the XML. It expects the m