[25.04 FEAT] [VS2214] KVM: Enable dynamic update of vfio-ap mediated devices for management applications - libvirt part

Bug #2097487 reported by bugproxy
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
High
Skipper Bug Screeners
libvirt (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Feature Description:

The configuration of a vfio-ap matrix device can be updated while being in use, e.g. by a running KVM guest. However, presently this configuration change can't be performed using the higher level management interfaces and tools, like mdevctl and the libvirt nodedev API. Neither it is possible to observe the dynamic updates at the higher levels. This can lead to confusion and hard-to-debug problems in the field.
We want to enable mdevctl and libvirt to be used to perform dynamic updates of vfio-ap matrix devices. To achieve this, it will be necessary to enable mdevctl to support dynamic updates in principle, but also requires support in the vfio-ap driver to support bulk updates in sysfs (of multiple APQNs in one operation),? enhancements to the ap-check callout of s390-tools to exploit? the vfio-ap specific sysfs interfaces and perform the actual update. Finally, the libvirt nodedev API must be extended to support a modify operation.

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-211457 severity-high targetmilestone-inin2504
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2025-02-05 18:55 EDT-------
This is included in libvirt v10.1.0

The related upstream commits are:

47e57159b3 virmdev: prepare type and attributes for dual state
c877908e14 node_device: refactor mdev attributes handling
c65c078655 node_device: remove unnecessary checks in virNodeDeviceDefFormat
e67bca23e4 nodedev: add an active config to mdev
6fcf613c6f tools: add option inactive to nodedev-dumpxml
e2c5c47439 nodedev: add persistent and transient filter on list
4476751e53 tools: add switches persistent and transient to nodedev-list
e4abc0789c virsh: doc fix on nodedev-list
69f9e7dbc2 api: add virNodeDeviceUpdate()
582f27ff15 nodedev: Implement virNodeDeviceUpdate
8cb1616226 virsh: add nodedev-update
d36ce2f252 nodedev: allow modify on define of a persistent node device

git tag --contains 47e57159b3
v10.1.0
...

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

Thank you for the detailed list of commits.
Since plucky includes libvirt 10.10.0-4ubuntu2,
I'm updating this ticket to "Fix Released" (hence closing as done).

affects: linux (Ubuntu) → libvirt (Ubuntu)
tags: added: libvirt-24.04
Changed in ubuntu-z-systems:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
Changed in libvirt (Ubuntu):
assignee: Skipper Bug Screeners (skipper-screen-team) → nobody
Changed in ubuntu-z-systems:
importance: Undecided → High
Changed in libvirt (Ubuntu):
importance: Undecided → High
Changed in ubuntu-z-systems:
status: New → Fix Released
Changed in libvirt (Ubuntu):
status: New → Fix Released
tags: added: libvirt-25.04
removed: libvirt-24.04
Frank Heimes (fheimes)
information type: Private → Public
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.