Skip to contentSkip to conversation

another s390x bugfix

GIT PULL Applied Cornelia Huck 2 participants 3 messages Mar 23, 2017

lore
Share & tools
lore
#0 lore raw

The following changes since commit 55a19ad8b2d0797e3a8fe90ab99a9bb713824059:

Update version for v2.9.0-rc1 release (2017-03-21 17:13:29 +0000)

are available in the git repository at:

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

for you to fetch changes up to a352aa62a75fcb1db35a0c71a10af3b2c1f8b89f:

target/s390x: Fix broken user mode (2017-03-23 10:49:13 +0100)

----------------------------------------------------------------
Fix linux-user vs. cpu models.

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

Stefan Weil (1):
target/s390x: Fix broken user mode

 target/s390x/cpu_models.c | 2 --
 1 file changed, 2 deletions(-)
Signature · 1 line
2.11.0
#1 lore raw

[Qemu-devel] [PULL for-2.9 1/1] target/s390x: Fix broken user mode

From: Stefan Weil <[email protected]>

Returning NULL from get_max_cpu_model results in a SIGSEGV runtime error.

Message-Id: <[email protected]>

---
 target/s390x/cpu_models.c | 2 --
 1 file changed, 2 deletions(-)
target/s390x/cpu_models.c +0 -2
index 4ea3a2de80..1434d15315 100644
@@ -660,7 +660,6 @@ static void check_compatibility(const S390CPUModel *max_model,
 
 static S390CPUModel *get_max_cpu_model(Error **errp)
 {
-#ifndef CONFIG_USER_ONLY
     static S390CPUModel max_model;
     static bool cached;
 
@@ -680,7 +679,6 @@ static S390CPUModel *get_max_cpu_model(Error **errp)
         cached = true;
         return &max_model;
     }
-#endif
     return NULL;
 }
 
Signature · 1 line
2.11.0
#2 lore raw
In reply to Cornelia Huck
Quoted 15 lines · Cornelia Huck

The following changes since commit 55a19ad8b2d0797e3a8fe90ab99a9bb713824059:

Update version for v2.9.0-rc1 release (2017-03-21 17:13:29 +0000)

are available in the git repository at:

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

for you to fetch changes up to a352aa62a75fcb1db35a0c71a10af3b2c1f8b89f:

target/s390x: Fix broken user mode (2017-03-23 10:49:13 +0100)

----------------------------------------------------------------
Fix linux-user vs. cpu models.

Quoted 7 lines

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

Stefan Weil (1):
target/s390x: Fix broken user mode

 target/s390x/cpu_models.c | 2 --
 1 file changed, 2 deletions(-)

Applied, thanks.

-- PMM