Alex, here is a patch that uses the newly introduced KVM_CAP_S390_COW to get rid of the s390 specific ifdef mess in the main path and moves it into a separate function.
This patch also contains a diff agains linux-headers. What is the right approach to do that? Christian Borntraeger (1): s390: autodetect map private exec.c | 54 ++++++++++++++++++++++++++++++++------------- kvm-all.c | 6 +++++ kvm.h | 1 + linux-headers/linux/kvm.h | 1 + oslib-posix.c | 3 +++ 5 files changed, 50 insertions(+), 15 deletions(-) -- 1.7.10.2