]> Git Repo - qemu.git/blobdiff - hw/s390x/s390-stattrib-kvm.c
s390x/zpci: drop msix.available
[qemu.git] / hw / s390x / s390-stattrib-kvm.c
index 480551c3db136c1ff0960bfbffb87438867a87df..c7e1f35524bc6161adf4370914942aa76e317830 100644 (file)
@@ -105,7 +105,8 @@ static void kvm_s390_stattrib_synchronize(S390StAttribState *sa)
     KVMS390StAttribState *sas = KVM_S390_STATTRIB(sa);
     MachineState *machine = MACHINE(qdev_get_machine());
     unsigned long max = machine->maxram_size / TARGET_PAGE_SIZE;
-    unsigned long cx, len = 1 << 19;
+    /* We do not need to reach the maximum buffer size allowed */
+    unsigned long cx, len = KVM_S390_SKEYS_MAX / 2;
     int r;
     struct kvm_s390_cmma_log clog = {
         .flags = 0,
This page took 0.027794 seconds and 4 git commands to generate.