Re: [PATCH v6 21/33] KVM: s390: gmap: Make prefix handling optional

From: Christian Borntraeger

Date: Wed Aug 12 2026 - 15:10:36 EST


Am 12.08.26 um 17:36 schrieb Steffen Eiden:
Guard guest prefix handling behind `KVM_S390_MANAGES_S390_GUEST`. This
enables other KVM implementations to use gmap without implementing
prefix handling. The prefix handling is integrated deeply in the gmap
implementation. Therefore, provide safe default implementations for the
guarded functions.

No functional changes.

Signed-off-by: Steffen Eiden <seiden@xxxxxxxxxxxxx>

Reviewed-by: Christian Borntraeger <borntraeger@xxxxxxxxxxxxx>