[23.10 FEAT] KVM: Improve memory reclaiming for z15 Secure Execution guests - qemu part

Bug #2006740 reported by bugproxy
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
High
Skipper Bug Screeners
qemu (Ubuntu)
Fix Released
High
Sergio Durigan Junior

Bug Description

Feature Description:

Currently, Secure Execution guest memory needs to be exported or destroyed, when a secure guest is rebooted or shut down. On the z15 this currently happens in a serialized manner, which takes long and also causes the host system to become irresponsive for extended periods, if very large guests are terminated. Changes to the KVM memory management will be required to improve the scalability.

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-201597 severity-high targetmilestone-inin2310
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
Frank Heimes (fheimes)
affects: linux (Ubuntu) → qemu (Ubuntu)
Changed in ubuntu-z-systems:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
Changed in qemu (Ubuntu):
importance: Undecided → High
Changed in ubuntu-z-systems:
importance: Undecided → High
Frank Heimes (fheimes)
tags: added: qemu-23.10
Changed in qemu (Ubuntu):
status: New → Incomplete
Changed in ubuntu-z-systems:
status: New → Incomplete
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2023-02-09 10:42 EDT-------
Please note: In addition to this qemu part, there is also a kernel and a libvirt part required to implement the feature "KVM: Improve memory reclaiming for z15 Secure Execution guests".

The two other parts (kernel and libvirt) are handled in the following bugs / LP entries:

Bug 193343 - LP1933180 : [23.04 FEAT] [VS2106] KVM: Improve memory reclaiming for z15 Secure Execution guests - kernel part
Bug 201598 - LP2006743 : [23.10 FEAT] [VS2106] KVM: Improve memory reclaiming for z15 Secure Execution guests - libvirt part

Revision history for this message
Christian Ehrhardt (paelzer) wrote :

Hi, we are working on qemu 8.0 right now, so I wanted to ask if it might by any chance be part of that already? If not - is there a known list of commits upstream after 8.0 to consider for this?

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2023-07-03 07:37 EDT-------
Hi,

most of the feature is in 8.0

you will need the following patches on top of 8.0:

80bd81cadd127c1e2fc784612a52abe392670ba4
2ca10faeb85e3c1b87e10bb46786445a5a879bbd (optional)
88693ab2a53f2f3d25cb39a7b5034ab391bc5a81

Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Incomplete → Triaged
Changed in qemu (Ubuntu):
status: Incomplete → Triaged
assignee: Skipper Bug Screeners (skipper-screen-team) → nobody
tags: added: server-todo
Frank Heimes (fheimes)
information type: Private → Public
Changed in qemu (Ubuntu):
assignee: nobody → Sergio Durigan Junior (sergiodj)
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Hi,

It seems that all patches mentioned in comment #3 are present in the latest qemu version that's shipped in Mantic (8.0.2). The hashes are a bit different because the ones provided in the comment belong to a development branch; these are the official hashes in the same order:

8ad637881f6ddf404bd554e149450a98ba8f5446
 2ca10faeb85e3c1b87e10bb46786445a5a879bbd (optional)
21b54a683d14c0c6f9af35536d9059c60b7449ca

@IBM, could you please double check and confirm that there is nothing else to be done here? I'll mark this bug as In Progress for now. Thanks.

Changed in qemu (Ubuntu):
status: Triaged → In Progress
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Triaged → In Progress
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2023-07-11 08:09 EDT-------
the commit IDs I provided are in master, the ones you provided are in stable-8.0, but it's indeed the same code.

if that's already integrated, there is nothing else to do, you are good to go

Revision history for this message
Frank Heimes (fheimes) wrote :

Thanks for the confirmation Claudio.
With that I'm updating this ticket to Fix Released.

Changed in qemu (Ubuntu):
status: In Progress → Fix Released
Changed in ubuntu-z-systems:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.