Re: [Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-11-06 Thread Pierre Morel
On 06/11/2017 09:54, Christian Borntraeger wrote: On 11/06/2017 09:52 AM, Cornelia Huck wrote: On Mon, 30 Oct 2017 19:58:15 +0100 Halil Pasic wrote: On 10/30/2017 06:38 PM, Pierre Morel wrote: On 30/10/2017 18:08, Christian Borntraeger wrote: On 10/30/2017

Re: [Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-11-06 Thread Christian Borntraeger
On 11/06/2017 09:52 AM, Cornelia Huck wrote: > On Mon, 30 Oct 2017 19:58:15 +0100 > Halil Pasic wrote: > >> On 10/30/2017 06:38 PM, Pierre Morel wrote: >>> On 30/10/2017 18:08, Christian Borntraeger wrote: On 10/30/2017 05:59 PM, Cornelia Huck wrote:

Re: [Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-11-06 Thread Cornelia Huck
On Mon, 30 Oct 2017 19:58:15 +0100 Halil Pasic wrote: > On 10/30/2017 06:38 PM, Pierre Morel wrote: > > On 30/10/2017 18:08, Christian Borntraeger wrote: > >> > >> On 10/30/2017 05:59 PM, Cornelia Huck wrote: > >>> On Mon, 30 Oct 2017 14:48:23 +0100 > >>> Christian

Re: [Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-10-30 Thread Halil Pasic
On 10/30/2017 06:38 PM, Pierre Morel wrote: > On 30/10/2017 18:08, Christian Borntraeger wrote: >> >> On 10/30/2017 05:59 PM, Cornelia Huck wrote: >>> On Mon, 30 Oct 2017 14:48:23 +0100 >>> Christian Borntraeger wrote: >>> >>> FWIW, I am testing a guest patch

Re: [Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-10-30 Thread Pierre Morel
On 30/10/2017 18:08, Christian Borntraeger wrote: On 10/30/2017 05:59 PM, Cornelia Huck wrote: On Mon, 30 Oct 2017 14:48:23 +0100 Christian Borntraeger wrote: FWIW, I am testing a guest patch that enables zPCI without AIS. Its as simple as diff --git

Re: [Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-10-30 Thread Christian Borntraeger
On 10/30/2017 05:59 PM, Cornelia Huck wrote: > On Mon, 30 Oct 2017 14:48:23 +0100 > Christian Borntraeger wrote: > > >> FWIW, I am testing a guest patch that enables zPCI without AIS. Its as >> simple as >> >> >> diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c

Re: [Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-10-30 Thread Cornelia Huck
On Mon, 30 Oct 2017 14:48:23 +0100 Christian Borntraeger wrote: > FWIW, I am testing a guest patch that enables zPCI without AIS. Its as simple > as > > > diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c > index 7b30af5..9b24836 100644 > ---

Re: [Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-10-30 Thread Halil Pasic
On 10/30/2017 02:48 PM, Christian Borntraeger wrote: > > > On 10/30/2017 02:44 PM, Pierre Morel wrote: >> On 30/10/2017 13:44, Christian Borntraeger wrote: >>> >>> >>> On 10/30/2017 01:42 PM, Cornelia Huck wrote: On Mon, 30 Oct 2017 09:28:09 +0100 Christian Borntraeger

Re: [Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-10-30 Thread Christian Borntraeger
On 10/30/2017 02:44 PM, Pierre Morel wrote: > On 30/10/2017 13:44, Christian Borntraeger wrote: >> >> >> On 10/30/2017 01:42 PM, Cornelia Huck wrote: >>> On Mon, 30 Oct 2017 09:28:09 +0100 >>> Christian Borntraeger wrote: >>> Now I thought about that for a while and

Re: [Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-10-30 Thread Pierre Morel
On 30/10/2017 13:44, Christian Borntraeger wrote: On 10/30/2017 01:42 PM, Cornelia Huck wrote: On Mon, 30 Oct 2017 09:28:09 +0100 Christian Borntraeger wrote: Now I thought about that for a while and I start to think that we cannot implement ais in QEMU and cover

Re: [Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-10-30 Thread Christian Borntraeger
On 10/30/2017 01:42 PM, Cornelia Huck wrote: > On Mon, 30 Oct 2017 09:28:09 +0100 > Christian Borntraeger wrote: > >> Now I thought about that for a while and I start to think that we cannot >> implement ais >> in QEMU and cover all cases. >> One aspect was certainly

Re: [Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-10-30 Thread Cornelia Huck
On Mon, 30 Oct 2017 09:28:09 +0100 Christian Borntraeger wrote: > Now I thought about that for a while and I start to think that we cannot > implement ais > in QEMU and cover all cases. > One aspect was certainly passthrough (like you handled in patch 4). > Another

Re: [Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-10-30 Thread Christian Borntraeger
Now I thought about that for a while and I start to think that we cannot implement ais in QEMU and cover all cases. One aspect was certainly passthrough (like you handled in patch 4). Another aspect is that some interrupts might be injected from the kernel - even for emulated devices. e.g.

[Qemu-devel] [PATCH v1 0/5][RFC] Refactoring of AIS support

2017-10-04 Thread Pierre Morel
Currently AIS support has several problems: - AIS support in KVM is reported if KVM has AIS capability. - Testing if KVM FLIC attributes for AIS are supported does not take into account if AIS is supported by KVM. - KVM report supporting the AIS FLIC features but denies their usage if the