Re: [PATCH v12 12/17] s390/vfio-ap: allow hot plug/unplug of AP resources using mdev device

2020-12-01 Thread Halil Pasic
On Tue, 1 Dec 2020 17:12:56 -0500 Tony Krowiak wrote: > On 12/1/20 12:56 PM, Halil Pasic wrote: > > On Tue, 1 Dec 2020 00:32:27 +0100 > > Halil Pasic wrote: > > > >>> > >>> On 11/28/20 8:52 PM, Halil Pasic wrote: > >> [..] > > * Unassign adapter from mdev's matrix: > > > >

Re: [PATCH v12 12/17] s390/vfio-ap: allow hot plug/unplug of AP resources using mdev device

2020-12-01 Thread Tony Krowiak
On 12/1/20 12:56 PM, Halil Pasic wrote: On Tue, 1 Dec 2020 00:32:27 +0100 Halil Pasic wrote: On 11/28/20 8:52 PM, Halil Pasic wrote: [..] * Unassign adapter from mdev's matrix: The domain will be hot unplugged from the KVM guest if it is assigned to the guest's matrix. *

Re: [PATCH v12 12/17] s390/vfio-ap: allow hot plug/unplug of AP resources using mdev device

2020-12-01 Thread Halil Pasic
On Tue, 1 Dec 2020 00:32:27 +0100 Halil Pasic wrote: > > > > > > On 11/28/20 8:52 PM, Halil Pasic wrote: > [..] > > >> * Unassign adapter from mdev's matrix: > > >> > > >>The domain will be hot unplugged from the KVM guest if it is > > >>assigned to the guest's matrix. > > >> > > >>

Re: [PATCH v12 12/17] s390/vfio-ap: allow hot plug/unplug of AP resources using mdev device

2020-12-01 Thread Halil Pasic
On Mon, 30 Nov 2020 19:18:30 -0500 Tony Krowiak wrote: > +static bool vfio_ap_assign_apid_to_apcb(struct ap_matrix_mdev > *matrix_mdev, > +unsigned long apid) > +{ > +unsigned long apqi, apqn; > +unsigned long

Re: [PATCH v12 12/17] s390/vfio-ap: allow hot plug/unplug of AP resources using mdev device

2020-11-30 Thread Tony Krowiak
On 11/30/20 6:32 PM, Halil Pasic wrote: On Mon, 30 Nov 2020 14:36:10 -0500 Tony Krowiak wrote: On 11/28/20 8:52 PM, Halil Pasic wrote: [..] * Unassign adapter from mdev's matrix: The domain will be hot unplugged from the KVM guest if it is assigned to the guest's matrix. *

Re: [PATCH v12 12/17] s390/vfio-ap: allow hot plug/unplug of AP resources using mdev device

2020-11-30 Thread Halil Pasic
On Mon, 30 Nov 2020 14:36:10 -0500 Tony Krowiak wrote: > > > On 11/28/20 8:52 PM, Halil Pasic wrote: [..] > >> * Unassign adapter from mdev's matrix: > >> > >>The domain will be hot unplugged from the KVM guest if it is > >>assigned to the guest's matrix. > >> > >> * Assign a control

Re: [PATCH v12 12/17] s390/vfio-ap: allow hot plug/unplug of AP resources using mdev device

2020-11-30 Thread Tony Krowiak
On 11/28/20 8:52 PM, Halil Pasic wrote: On Tue, 24 Nov 2020 16:40:11 -0500 Tony Krowiak wrote: Let's hot plug/unplug adapters, domains and control domains assigned to or unassigned from an AP matrix mdev device while it is in use by a guest per the following rules: * Assign an adapter to

Re: [PATCH v12 12/17] s390/vfio-ap: allow hot plug/unplug of AP resources using mdev device

2020-11-28 Thread Halil Pasic
On Tue, 24 Nov 2020 16:40:11 -0500 Tony Krowiak wrote: > Let's hot plug/unplug adapters, domains and control domains assigned to or > unassigned from an AP matrix mdev device while it is in use by a guest per > the following rules: > > * Assign an adapter to mdev's matrix: > > The adapter

[PATCH v12 12/17] s390/vfio-ap: allow hot plug/unplug of AP resources using mdev device

2020-11-24 Thread Tony Krowiak
Let's hot plug/unplug adapters, domains and control domains assigned to or unassigned from an AP matrix mdev device while it is in use by a guest per the following rules: * Assign an adapter to mdev's matrix: The adapter will be hot plugged into the guest under the following conditions: 1.