On 09/10/2017 11:09, Cornelia Huck wrote:
On Wed, 4 Oct 2017 15:49:35 +0200
Pierre Morel <pmo...@linux.vnet.ibm.com> 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 <pmo...@linux.vnet.ibm.com>
---
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.
Yes, clear.
Thanks,
Pierre
--
Pierre Morel
Linux/KVM/QEMU in Böblingen - Germany