Skip to contentSkip to conversation

s390x bugfix (needed for stable)

GIT PULL Applied Cornelia Huck 2 participants 3 messages Sep 22, 2017

lore
Share & tools
lore
#0 lore raw

The following changes since commit 0a8066f0c068f1e318a1aacd7864fc00e455a37b:

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20170921' into staging (2017-09-21 17:42:27 +0100)

are available in the git repository at:

git://github.com/cohuck/qemu tags/s390x-20170922

for you to fetch changes up to 3f2d07b3b01ea61126b382633ab4006320923048:

s390x/ais: for 2.10 stable: disable ais facility (2017-09-22 09:25:21 +0200)

----------------------------------------------------------------
Fix an s390x migration breakage up for 2.10 stable. This will be fixed properly for 2.11.

----------------------------------------------------------------

Christian Borntraeger (1):
s390x/ais: for 2.10 stable: disable ais facility

 target/s390x/kvm.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
Signature · 1 line
2.13.5
#1 lore raw

[Qemu-devel] [PULL 1/1] s390x/ais: for 2.10 stable: disable ais facility

From: Christian Borntraeger <[email protected]>

The migration interface for ais was introduced with kernel 4.13 but the capability itself had been active since 4.12. As migration support is considered necessary lets disable ais in the 2.10 stable version. A proper fix and re-enablement will be done for qemu 2.11.

Message-Id: <[email protected]>

---
 target/s390x/kvm.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
target/s390x/kvm.c +7 -2
index 720cb1d833..ebb75cafaa 100644
@@ -311,8 +311,13 @@ int kvm_arch_init(MachineState *ms, KVMState *s)
         }
     }
 
-    /* Try to enable AIS facility */
-    kvm_vm_enable_cap(s, KVM_CAP_S390_AIS, 0);
+    /*
+     * The migration interface for ais was introduced with kernel 4.13
+     * but the capability itself had been active since 4.12. As migration
+     * support is considered necessary let's disable ais in the 2.10
+     * machine.
+     */
+    /* kvm_vm_enable_cap(s, KVM_CAP_S390_AIS, 0); */
 
     qemu_mutex_init(&qemu_sigp_mutex);
 
Signature · 1 line
2.13.5
#2 lore raw
In reply to Cornelia Huck
Quoted 16 lines · Cornelia Huck

The following changes since commit 0a8066f0c068f1e318a1aacd7864fc00e455a37b:

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20170921' into staging (2017-09-21 17:42:27 +0100)

are available in the git repository at:

git://github.com/cohuck/qemu tags/s390x-20170922

for you to fetch changes up to 3f2d07b3b01ea61126b382633ab4006320923048:

s390x/ais: for 2.10 stable: disable ais facility (2017-09-22 09:25:21 +0200)

----------------------------------------------------------------
Fix an s390x migration breakage up for 2.10 stable. This will be fixed properly for 2.11.

Quoted 8 lines

----------------------------------------------------------------

Christian Borntraeger (1):
s390x/ais: for 2.10 stable: disable ais facility

 target/s390x/kvm.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Applied, thanks.

-- PMM