Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-17 Thread Halil Pasic
On Mon, 15 Apr 2019 18:43:24 -0400 Tony Krowiak wrote: > On 4/15/19 2:59 PM, Halil Pasic wrote: > > On Mon, 15 Apr 2019 12:51:23 -0400 > > Tony Krowiak wrote: > > > >> Having said that, I understand your concern about a driver hogging > >> resources. I think I can provide a solution that

Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-16 Thread Pierre Morel
On 16/04/2019 15:11, Tony Krowiak wrote: On 4/16/19 3:52 AM, Pierre Morel wrote: On 11/04/2019 23:03, Tony Krowiak wrote: Introduces a new driver callback to prevent a root user from unbinding an AP queue from its device driver if the queue is in use. This prevents a root user from

Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-16 Thread Tony Krowiak
On 4/16/19 3:52 AM, Pierre Morel wrote: On 11/04/2019 23:03, Tony Krowiak wrote: Introduces a new driver callback to prevent a root user from unbinding an AP queue from its device driver if the queue is in use. This prevents a root user from inadvertently taking a queue away from a guest and

Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-16 Thread Pierre Morel
On 11/04/2019 23:03, Tony Krowiak wrote: Introduces a new driver callback to prevent a root user from unbinding an AP queue from its device driver if the queue is in use. This prevents a root user from inadvertently taking a queue away from a guest and giving it to the host, or vice versa. The

Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-15 Thread Tony Krowiak
On 4/15/19 2:59 PM, Halil Pasic wrote: On Mon, 15 Apr 2019 12:51:23 -0400 Tony Krowiak wrote: Having said that, I understand your concern about a driver hogging resources. I think I can provide a solution that serves both the purpose of preventing problems associated with accidental removal

Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-15 Thread Halil Pasic
On Mon, 15 Apr 2019 12:51:23 -0400 Tony Krowiak wrote: > Having said that, I understand your concern about a driver hogging > resources. I think I can provide a solution that serves both the > purpose of preventing problems associated with accidental removal > of AP resources as well as allowing

Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-15 Thread Cornelia Huck
On Mon, 15 Apr 2019 12:51:23 -0400 Tony Krowiak wrote: > On 4/15/19 5:50 AM, Cornelia Huck wrote: > > On Fri, 12 Apr 2019 15:38:21 -0400 > > Tony Krowiak wrote: > > > >> On 4/12/19 5:43 AM, Cornelia Huck wrote: > >>> On Fri, 12 Apr 2019 08:54:54 +0200 > >>> Harald Freudenberger wrote: >

Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-15 Thread Tony Krowiak
On 4/15/19 5:50 AM, Cornelia Huck wrote: On Fri, 12 Apr 2019 15:38:21 -0400 Tony Krowiak wrote: On 4/12/19 5:43 AM, Cornelia Huck wrote: On Fri, 12 Apr 2019 08:54:54 +0200 Harald Freudenberger wrote: On 11.04.19 23:03, Tony Krowiak wrote: Introduces a new driver callback to prevent a

Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-15 Thread Cornelia Huck
On Fri, 12 Apr 2019 15:38:21 -0400 Tony Krowiak wrote: > On 4/12/19 5:43 AM, Cornelia Huck wrote: > > On Fri, 12 Apr 2019 08:54:54 +0200 > > Harald Freudenberger wrote: > > > >> On 11.04.19 23:03, Tony Krowiak wrote: > >>> Introduces a new driver callback to prevent a root user from

Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-12 Thread Tony Krowiak
On 4/12/19 5:43 AM, Cornelia Huck wrote: On Fri, 12 Apr 2019 08:54:54 +0200 Harald Freudenberger wrote: On 11.04.19 23:03, Tony Krowiak wrote: Introduces a new driver callback to prevent a root user from unbinding an AP queue from its device driver if the queue is in use. This prevents a

Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-12 Thread Cornelia Huck
On Fri, 12 Apr 2019 08:54:54 +0200 Harald Freudenberger wrote: > On 11.04.19 23:03, Tony Krowiak wrote: > > Introduces a new driver callback to prevent a root user from unbinding > > an AP queue from its device driver if the queue is in use. This prevents > > a root user from inadvertently

Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-12 Thread Harald Freudenberger
On 11.04.19 23:03, Tony Krowiak wrote: > Introduces a new driver callback to prevent a root user from unbinding > an AP queue from its device driver if the queue is in use. This prevents > a root user from inadvertently taking a queue away from a guest and > giving it to the host, or vice versa.

[PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-11 Thread Tony Krowiak
Introduces a new driver callback to prevent a root user from unbinding an AP queue from its device driver if the queue is in use. This prevents a root user from inadvertently taking a queue away from a guest and giving it to the host, or vice versa. The callback will be invoked whenever a change