[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 1/5] s390x/kvm: Enable AIS from CPU model alw
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH v1 1/5] s390x/kvm: Enable AIS from CPU model always |
Date: |
Mon, 9 Oct 2017 11:09:49 +0200 |
On Wed, 4 Oct 2017 15:49:35 +0200
Pierre Morel <address@hidden> wrote:
> As this patchset will introduce AIS emulation, we always enable
> Adapter Interrupt Suppression, depending only from the CPU model.
>
> Signed-off-by: Pierre Morel <address@hidden>
> ---
> target/s390x/kvm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c
> index 931b85f..06fe56d 100644
> --- a/target/s390x/kvm.c
> +++ b/target/s390x/kvm.c
> @@ -2807,6 +2807,7 @@ void kvm_s390_get_host_cpu_model(S390CPUModel *model,
> Error **errp)
> if (pci_available) {
> set_bit(S390_FEAT_ZPCI, model->features);
> }
> + set_bit(S390_FEAT_ADAPTER_INT_SUPPRESSION, model->features);
> set_bit(S390_FEAT_ADAPTER_EVENT_NOTIFICATION, model->features);
>
> if (s390_known_cpu_type(cpu_type)) {
I would move that patch until after emulation has actually been
provided.