This QEMU patch is to be used in conjonction with the following patch series in LINUX.
vfio: ap: ioctl definitions for AP Queue Interrupt Control The LINUX patch series handle all the interception in KVM and we do not need to take care of the interception in QEMU. The goal of this patch is to define the apqi CPU feature which will be proposed by KVM when the AP Interrupt Control facility is to be available in the guest. This feature must be turned on by QEMU to intercept AP instructions on the KVM guest. The QEMU command line to turn this feature on looks something like: qemu-system-s390x ... -cpu xxx,apqi=on ... Pierre Morel (1): s390x/cpumodel: Set up CPU model for AQIC interception target/s390x/cpu_features.c | 1 + target/s390x/cpu_features_def.h | 1 + target/s390x/cpu_models.c | 1 + target/s390x/gen-features.c | 1 + 4 files changed, 4 insertions(+) -- 2.7.4